Twenty-eighth Symposium on Information Theory in the Benelux Enschede/ The Netherlan s May 24-25/ 2007 Proceedings of the 28th Symposium on Information Theory in the Benelux Enschede, The Netherlands, May 24-25 2007 Previous symposia l. 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 1l. 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-Ia-Neuve, Belgium ISB N 90- 71048-1 0-1 16. 1995 Nieuwekerk aid IJssel, 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 2l. 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 CIP-gegevens Koninklijke Bibliotheek, Den Haag (NL) Proceedings Proceedings of the 28th Symposium on Information Theory in the Benelux Edited by Raymond Veldhuis and Harm Cronie, Enschede Werkgemeenschap voor Informatie- en Communicatietheorie ISBN:978-90-365-2509-1 II The Twenty-eighth Symposium on Information Theory in the Benelux has been orga- nized by the Signals and Systems Group University of Twente Enschede, The Netherlands on behalf of the Werkgemeenschap voor Informatie- en Communicatietheorie and the IEEE Benelux Information Theory Chapter. Organizing committee Raymond Veldhuis Harm Cronie Fokke Hoeksema 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. iii 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 28th, takes place in Enschede, The Netherlands, and has been orga- nized by the University of Twente, The Netherlands. As organizers, we are very pleased that we will have two exquisite guest lectures: Prof. Amin Shokrollahi from the École Polytechnique Fédérale de Lausanne, Switzer- land, who will speak about Fountain Codes and Prof. David MacKay from the Uni- versity of Cambridge, UK, who will speak about Hands-free Writing. We are confident that this, together with the 40 regular contributions, will make this year's symposium an inspiring scientific event, offering ample opportunity to strengthen personal contacts with colleagues in The Benelux and outside, and to exchange knowledge, experience and insights, thus supporting the aims of the WIC. Raymond Veldhuis, Harm Cronie, Fokke Hoeksema, eo-chairs Enschede, May 2007 v Contents Invited presentations 1 Amin Shokrollahi - Fountain Codes 1 David MacKay - Information-Efficient Writing 1 Error-control coding 3 Decoding error-correcting codes with Grobner bases S. Bulygin, R. Pellikaan . 3 A novel iterative demodulation and decoding scheme with convolutional coding and co-ordinate interleaving, N.F. Kiyani, J.H. Weber . . . . . . . . . . . . . . . . . . . . . . . . .. 11 Systems iheoreiic methods in decoding, M. Kuijper, J.W. Polderman . . . . . . . . . . . . . . . . . . . . . . .. 19 On the application of FEC to counter packet loss caused by buffer overflow, F. Vanhaverbeke, M. Moeneclaey, K. Laevens, N. Degrande, D. De Vleeschauwer ... . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 27 Security 35 A unifying view on template proteetion schemes, 1. Buhan, J. Doumen, P. Hartel, R. Veldhuis 35 A beehive approach to e-commerce mobile agents, M. van Hensbergen, B. Gedrojc, J.e.A. van der Lubbe . . . . . . 43 Properties of self-dual and dual-reciprocal polynomials over inite fields, e.J.A. Jansen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 Robust anonymous fingerprinting, J. Prins, Z. Erkin, R. Lagendijk 59 Communications 67 Communication by energy modulation, A. Martinez . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 67 Undetected error probability for data services in a terrestrial DAB single fre- quency network, R. Schiphorst, F.W. Hoeksema, C.H. Slump . . . . . . . . . . . . . .. 75 On the diversity-multiplexing tmdeoff for frequency-selective MIMO channels, D. Slock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 85 Error-correcting coding for uplink control information in UTRA Release 7, L. Tolhuizen, M. Baker . . . . . . . . . . . . . . . . . . . . . .. 93 vii Classification 101 Applicatioti of random processes technique to biometrie authentication, V.B. Balakirsky, A.R Ghazaryan, A.J.H. Vinck . 101 Human motion analysis using simultaneous tmjectory and body detection and modeling, W. Lao, J. Han, P.H.N. de With . 109 Analysis of least squares estimators under Bernoulli-Laplacian mixture priors, A. Pizurica, W. Philips . 117 Better than best: matching score based face registration, L. Spreeuwers, B. Boom . 125 Source coding 133 Evaluation of bit rate exchange between temporal and SNR scalability in MPEG4/SVC by subjective quality tests, M.A.J. Barzilay, J.R. Taal and RL. Lagendijk . . .. ' . 133 On the generation of side information for D VC, S. Borehert, RP. Westerlaken, R Klein Gunnewiek, RL. Lagendijk 141 Switching between predietors with an application in density Estimation, T. van Erven S. de Rooij, P. Grünwald . 149 Scalable video compression for embedded systems 'in surveillance; M.J.H. Loomans, C.J. Koeleman, P.H.N. de With . 157 Poster session 165 Binding Weak Features To Support Opportunistic Person Identification, O. Ambekar, E. Pauwels, B. Schouten . 165 Measuring uistantaneous directed dependencies in inieractinq oscillators, B. Bauwens, B. Wyns, D. Devlaminek, G. Otte, L. Boullart, P. Santens 175 A MAP approach to landmarking, G. Beumer, R Veldhuis 183 Investigating the boosting framework for face recognition, B. Boom, R van Rootseler, R Veldhuis . 189 A maximum hiding capacity tool for image steganography, F. M. EI-Sadek . 197 A moving listener in a virtual audio enoironmeni w'lth par·ticularly irregular reuerberaiioti decay, J.J. Embrechts, S. Lesoinne, N. Werner . . . . . . . . . . . . . . . . . . 205 Component ordering in independent component analysis based on data power, A. Hendrikse, R Veldhuis . . . . . . . . . . . . . . . . . . . . . . . . . 211 Feasibility of eneryy detection for dynamic spectrum access, F.W. Hoeksema, R Schiphorst, C.H. Slump . . . . . . . . . . . . . . . 219 Enforcing the tolerance to noise of a quantum key distribution protocol with continuous variables, E. Karpov, R Garcia-Patrón, N.J. Cerf . . .. 227 Optimizing multiplayer gaming protocols for heterogeneous network environ- ment, J. Levendovszky, G. Kiss, S. Molnár, L.T. Thanh, E.C. van der Meulen 235 Vlll Using LDPC codes fOT quanturn key distribution, K.-C. Nguyen, N.J. Cerf . . .. . . 251 Subliminal channels in the private informaiion retrieval proiocols, M.L. Patterson, L. Sassaman . . . . . . . . .. . 257 Digital communication using wideband Gaussian noise earners, Z. Peng, R. Srinivasan . 265 Stereoscopie and multiple-perspective video streaming system, G. Petrovic, P.H.N. de With . 273 Combined multiple transmit antennas and multilevel modulation techniques, U.H. Rizvi, G.J.M. Janssen, S. Ben Slimane . 281 Performance of a source-independent model on unequal error proteetion for JPEG2000 images, E. Salemi, C. Desset, A. Dejonghe, J. Cornelis, P. Schelkens . 289 Optimal decision fusion for verification of face sequences, Q. Tao, R. Veldhuis . . . . . . . . . . . . . . . . . . . : . . . 297 An energy-efficient multichannel MAC for cognitive radio networks, M. Timmers, A. Dejonghe, S. Pollin, L. Van der Perre, F. Catthoor 305 Spectral minutiae represeniation; H. Xu, A.M. Bazen, R.N.J. Veldhuis, T.A.M. Kevenaar, A.H.M. Akker- mans . 313 Classification with the CTW algorithm, H. Yang, M. Stassen, T. Tjalkens 321 ix Index Akkermans, A.H.M., 313 Hoeksema, F.W., 75, 219 Ambekar, 0., 165 Jansen, C.J.A., 51 Baker, M., 93 Janssen, G.J.M., 281 Balakirsky, V.B., 101 Barzilay, M.A.J., 133 Karpov, E., 227 Bauwens, B., 175 Kevenaar, T.A.M., 313 Bazen, A.M., 313 Kiss, G., 235 Ben Slimane, S., 281 Kiyani, N.F., 11 Beumer, G., 183 Klein Gunnewiek, R., 141 Boom, B., 125, 189 Koeleman, C.J., 157 Borchert, 5., 141 Kuijper, M., 19 Boullart, L., 175 Buhan, I., 35 Laevens, K., 27 Bulygin, S., 3 Lagendijk, RL., 59, 133, 141 Lao, W., 109 Catthoor, F., 305 Lesoinne, S., 205 Cerf, N.J., 227, 251 Levendovszky, J., 235 Coruelis, J., 289 Loomans, M.J.H., 1b'{ Lubbe, J.C.A. van der, 43 De Vleeschauwer, D., 27 Degrande, N., 27 Martinez, A., 67 Dejonghe, A., 289, 305 Meulen, E.C. van der, 235 Desset, C., 289 Moeneclaey, M., 27 Devlaminck, D., 175 Molnár, S., 235 Doumen, J., 35 Nguyen, K.-C., 251 EI-Sadek, F.M., 197 Embrechts, J.J., 205 Otte, G., 175 Erkin, Z., 59 Erven, T. van, 149 Patterson, M.L., 257 Pauwels, E., 165 Garcfa-Patrón, R., 227 Pellikaan, R, 3 Gcdrojc, B., 43 Peng, Z., 265 Ghazaryan, A.R, 101 Petrovic, G., 273 Grünwald, P., 149 Philips, W, 117 Han, J., 109 Pizurica, A, 117 Hartel, P., 35 Polderman, J.W., 19 Hendrikse, A., 211 Pollin, S., 305 Hensbergen, M. van, 43 Prins, J., 59 x Rizvi, U.H., 281 Rooij, S. de,149 Rootseler, R van, 189 Salemi, E., 289 Santens, P., 175 Sassaman, L., 257 Schelkens, P., 289 Schiphorst, R., 75, 219 Schouten, B., 165 Slock, D., 85 Slump, C.H., 75, 219 Spreeuwers, L., 125 Srinivasan, R, 265 Stassen, M., 321 Taal, J.R, 133 Tao, Q., 297 Thanh, L.T., 235 Timmers, M., 30S Tjalkens, T., 321 Tolhuizen, L., 93 Van der Perre, L., 305 Vanhaverbeke, F., 27 Veldhuis, R, 35, 183, 189, 211, 297, 313 Vinck, A.J.H., 101 Weber, J.H., 11 Werner, N., 205 Westerlaken, R.P., 141 With, P.H.N. de, 109, 157, 273 Wyns, B., 175 Xu, H., 313 Yang, H., 321 Xl Invited presentations Amin Shokrollahi, École Polytechnique Fédérale de Lausanne - Fountain Codes A Fountain code is a code of fixed dimension and a limitless block-length. This is a class of codes with many interesting properties and applications. In this talk I will introduce several classes of probabilistic Fountain Codes, including LT- and Raptor Codes, show tools for their design and analysis, and discuss how they are used today to solve various data transmission problems on heterogenous unreliable networks. I will also talk about the theory of these codes when transmission takes place over non-erasure channels, and low-complexity algorithms are used for their decoding. David MacKay, University of Cambridge - Informat- ion-Efficient Writing Keyboards are inefficient for two reasons: they do not exploit the redundancy in normal language; and they waste the fine analogue capabilities of the user's motor system (fingers and eyes, for example). In this talk I'll describe the latest developments in "Dasher" , a free software project intended to rectify both these inefficiencies. http://www.dasher.org.uk/ 1 Decoding error-correcting codes with Gröbner bases Stanislav Bulygin Ruud Pellikaan Technical University of Kaiserslautern Eindhoven University of Technology Department of Mathematics Department of Mathematics P.O. Box 3049, 67653 Kaiserslautern P.O. Box 513, NL-5600 MB, Eindhoven Germany The Netherlands bulygin©mathematik.uni-kl.de g.r.pellikaan©tue.nl Abstract The decoding of arbitrary linear block codes is accomplished by solving a system of quadratic equations by means of Buchberger's algorithm for finding a Gröbner basis. This generalizes the algorithm of Berlekamp-Massey for decoding Reed- Solomon, Goppa and cyclic codes up to half the true minimum distance by intro- ducing the unknown syndromes as variables. The complexity of this algorithm is exponential and the complexity coefficient is measured under the assumption that the over-determined system of quadratic equations is semi-regular using the results of Bardet et al. [5J. The complexity is compared to existing bounded distance decoding algorithms. Our method can be extended to complete and generic decoding, and to finding the minimum distance and the complete weight distribution. 1 Introduction In this paper we consider bounded distance decoding of arbitrary linear codes with the use of Gröbner bases. The decoding of cyclic codes up to half the BCH distance is well-known by Peterson, Arimoto and Gorenstein-Zierler, by means of the syndromes Si of a received word and the error-Iocator polynomial with coefficients O"i. They satisfy generalized Newton identities. These equations form a system of t linear equations in the unknowns ell, ... ,ell with the known syndromes SI, ... ,S21 as coefficients, if the defining set of the cyclic code contains 2t consecutive elements. Gaussian elimination solves this system of equations with complexity O(n3). This complexity was improved by the algorithm of Berlekamp-Massey and a variant of the Eudidean algorithm due to Sugiyama et al, Both these algorithms are more efficient than solving the system of linear equations, and are basically equivalent but they decode up to the BCH error- correcting capacity, which is often strictly smaller than the true capacity. All these methods do not correct up to the true error-correcting capacity. The Gröbner bases techniques were addressed to remedy this problem. These methods can be divided into the following categories: - Unknown syndromes by Berlekamp [7] and Tzeng-Hartmann-Chien [22, 23, 25], - Power sums by Cooper [14, 15, 16] and Chen-Reed-Helleseth- Truong [10, 11, 12], - Newton identities by Augot-Charpin-Sendrier [1, 2, 3]. Our method is a generalization of the first one. Recent work on the second method is by Mora-Sala [24] for cyclic codes. The second method was generalized to arbitrary 3 linear codes by Lax-Fitzgerald [18, 19]. The theory of Gröbner basis is about solving systems of polynomial equations in sev- eral variables and can be viewed as a common generalization of linear algebra that deals with linear systems of equations in several variables and the Euclidean Algo- rithm that is about polynomial equations of arbitrary degree in one variable. The polynomial equations are linearized by treating the monomials as new variables. In this way the number of variables grows exponentially in the degree of the polynomials. The complexity of computing a Gröbner basis is doubly exponential in general, and exponential in our case of a finite set of solutions. The complexity of our algorithm is exponential and the complexity coefficient is measured under the assumption that the over-determined system of quadratic equations is semi-regular using the results of Bardet et al. [5] applied to algorithm F5 of Faugère [17]. The complexity is compared to existing bounded distance decoding algorithms such as exhaustive search, syndrome decoding and covering set decoding. Our method can be extended to complete and generic decoding, and to finding the minimum distance and the complete weight dis- tribution. 2 Unknown syndromes and an MDS basis Let bi, ... , b., be a basis of IF~. Now B is the n x n matrix with bi, ... , b., as rows. The (unknown) syndrome u(B, e) of a word e with respect to B is the column vector u(B, e) = BeT. It has entries ui(B, e) = bi . e for i = 1, ... , n. The matrix B is invertible. So the syndrome u( B, e) determines the error vector e uniquely, since '. . . B-lu(B, e) = B-1 BeT = eT. From now on the following abbreviations ure) and ui(e) are used for u(B, e) and ui(B, e), respectively. Define the coordinatewise star product of two vectors x, y E IF~ by x * y = (X1Y1, ... , xnYn)' Then bi * b, is a linear combination of the basis bl,·· ., b.,, that is there are constants Mijl E IFq such that 11. b, * bl = LM'.1lbl' 1""1 The elements Mijl E IFq are called the siructure constants of the basis bl>'" , b.; Define the nxn matrix of (unknown) syndromesU(e) of a word e by u'ij(e) = (bi*bj)·e. The relation between the entries of the matrix U (e) and the vector u (e) of unknown syndromes is given by 11. Uij(e) = L MijlUl(e). 1=1 Lemma 2.1 The rank ofU(e) is equal to the weight of e. For the proof we refer to [9]. 4 Let bj , ... , b., be a basis of lF~. Let B; be the r x ti matrix with bI, ... , b, as rows. Let B = Bn. We say that bj , ... , b., is an ordered MDS basis and B an MDS matrix if all the t x t submatrices of B, have rank t for all t = 1, ... , n. Let Ct be the code with B, as parity check matrix. If B is an MDS matrix, then Ct is an MDS code for all t. Let U be the ti x n matrix with entries Uij. Let Uu,v be the u x 'U matrix with entries u; with 1 ::; i ::;u and 1 < j < 'U. Proposition 2.2 Suppose that B is an MDS matrix. Let w = wt(e). Ij u. 2: w, then rank(Uuv(e)) = min{v,w}. For the proof we refer to [9]. Hence Unv(e) has rank v if v::; wt(e), and its rank is wt(e) if u » wt(e). In case n ::; q MDS bases are known to exist. Let x = (Xl," . , xn) be an n-tuple of mutually distinct elements in lFq- Define b i == (Xl i-l , ... i-I) , Xn . Then b-, ... , b., is an MDS basis and is called a Vandermonde basis and the correspond- ing matrix is denoted by B(x) and is called a Vandermonde matrix. In particular, if 0:' E lF~is an element of order nand Xj = O:'j-l for all i, then bI,.' ., b., is called a Reed- Solomon (RS) basis and the corresponding matrix is called a RS matrix and denoted by B(O:'). If bI, ... , b., is an RS basis of JF;, then bi * bj = bi+j-l and Uij (e) = Ui+j-l( e). 3 Decoding up to half the minimum distance Without loss of generality we may assume that after a finite extension of the finite field 1Fq we have n ::;q. Let bI," . ,bn be a basis of JF;. From now on we assume that the corresponding matrix B is an MDS matrix. Let C be an lFq-linear code with parameters [n, k, dl. Choose a parity check matrix H of C. The redundancy is r = n - k. Let hl, ... ,h, be the rows of H. The row hi is a linear combination of the basis bI,'" ,bn. So there are constants aij E lFq such that n it; = 2: b aij j. j=l In other words H = AB where A is the r x n matrix with entries aij. Let y = c + e be a received word with c E C a codeword and e an error vector. The syndromes of y and e with respect to H are equal and known: s;(y):= it;. y = it;. e = s;(e) and they can be expressed in the unknown syndromes of e with respect to B: n s;(y) = 2: a;juj(e), j=l 5 since hi = ~;'=jaijbj and bj· e = uj(e). The system E(y) of equations in the variables Uj, ••• ,Un is given by: The system E(t) of equations in the variables Uj, .•• ,Un, ~, ... , Vt is given by The system E(t, y) of equations is the union of E(t) and E(y). It consists of n - k linear equations in n variables and n quadratic equations in n + t variables. The linear equations are independent and can be used to eliminate n - k variables. Thus we get a system of n quadratic equations in k + t variables. Theorem 3.1 Let B be an MDS matrix with structure constants Mijl. Lei H be a parity check matrix of the code C such that H = AB. Let y = c + e be a received word with c in C the codeuiord sent and e the error vector. Suppose that the weight of e is not zero and at most (d(C) - 1)/2. Let t be the smallest positive integer such that E(t, y) has a solution (u, v) over some extension IFqm of IFq. Then wt(e) = t and the solution is unique satisfying u = u(e). For the proof we refer to [9J. 4 Simulations and experimental results All computations in this section were undertaken on an AMD Athlon 64 Processor 2800+ (1.8MHz), 512MB RAM under Linux. The computations of Gröbner bases were realized in SINGULAR 3-0-1 [20, 21J. The command std was chosen as more ef- fective than slimgb. The file Err.lib containing the algorithms used can be found at [8J. Here we present some results on decoding with the use of Theorem 3.1 for binary random codes. First we determine the minimum distance of a random code with a similar procedure and than perform decoding of some given number of received words. The number of errors that occur in these received words equals the error capacity of the code. The results are given in the following table, with in the columns: the parameters of the code, the error-correcting capacity, time to compute the minimum distance, total time to decode with Grobner bases, the number of received words, äJIU the average time to decode with Gröbner bases, respectively. The time is provided in seconds. Code 11 err. cap. I rnindist. I GB dec. I no, of rec. I average I [25,l1,4J 1 2.99 1.10 300 0.0037 [25,11,5J 2 21.58 2.89 300 0.0096 [25,8,5J 2 0.99 1.84 300 0.0061 [25,8,6J 2 3.38 1.79 300 0.0060 [25,8,7J 3 12.26 6.94 300 0.0231 [31,15J 2 - 10,76 300 0.0359 [31,15J 3 - 11.19 10 1.119 6 We only cite the time needed for GB computations in the decoding. They are responsi- ble for approximately 90% of the overall decoding time. The rest is spent on auxiliary operations and manipulations. The bar ».» means that a computation took more than 1000 sec. and we were not able to compute the minimum distance in a short time, so we assumed the error capacity. We are able to correct even more errors in larger codes. Next table shows timings for binary [120,10], [120,20], [120,30J and [150, 10J codes, where 1 means one second or less. As the behavior of decoding seems to be more or less the same for all error-vectors of a given weight, we have used only one received word in the table below. I no. of err. 11 [120,40] I [120,30J I [120,20J I [120,10J I [150,lOJ I 2 1 1 1 1 1 3 13 1 1 1 1 4 313 9 1 1 I 1 5 - 62 1 1 1 6 - 200 5 1 3 7 - 933 14 1 4 8 - - 32 1 4 9 - - 74 1 4 10 - - 183 2 6 11 - - 633 3 6 12 - - - 4 6 13 - - - 5 8 14 - - - 6 8 15 - - - 14 10 16 - - - 20 11 17 - - - 29 16 18 - - - 71 16 19 - - - 139 34 20 - - - 327 53 21 - - - 483 84 22 - - - - 133 23 - - - - 241 24 - - - - 513 5 Complexity of the algorithm In general it is very hard to estimate the complexity of the algorithms, which compute Gröbner bases. Only the worst-case complexities are known. In practice, however, these algorithms can perform much better. As parameters for the complexity we take the number of variables l, the number of equations m and the maximum degree of the polynomials which occur in the system considered. Bardet et al. [5] consider a generalization of regular sequences to the over-determined 7 case, namely semi-regular sequences. In particular, they study the index of regularity ireg of quadratic semi-regular systems which gives an upper bound for the complexity of algorithm F5 of Faugère [17]. The idea is that polynomial equations in several variables are linearized by treating monomials as new variables. In this way we get an infinite number of variables. The index of regularity estimates the maximum number of variables needed in the computation of a Gröbner basis. Let a > 1 be fixed. In [5] it is shown that the index of regularity is ireg = A . l + o(l), for a semi-regular system of m = [al] homogeneous quadratic equations in i variables, where 1 A = ex - - - Ja(a - 1). 2 The F5 algorithm performs Gaussian elimination on a matrix of size The complexity of solving a N x N linear system of equations is O(NW), where w < 2.39 is the exponent in the advanced Gaussian elimination algorithms. The total number of arithmetic operations in IF q performed by the matrix version of F5 is bounded by O ( m .'2reg. (i + -.; - 1)w) 2reg . Bardet et al. [5] write"... over a finite field of positive characteristic we conjecture that the proportion of semi-regular sequences tends to 1 as the number of variables tends to infinity". Thus we think that it is reasonable to conjecture that our systems also possess this property asymptotically. Now the complexity of our method is estimated by assuming that they are semi-regular asymptotically. We concentrate on the system for decoding up to half the minimum distance, the so-called bounded hard decoding. We compare our estimates with esti- mates for the known algorithms for such decoding as given in [6]. The relative minimum distance of an rn, k, d] linear code is <5 = din and the information rate R is defined by R = kin. We use the fact [13] that virtually all linear codes lie on the Gilbert- Varshamov bound. Now our method gives a quadratic system of m = n equations in l = k + t variables, where t = L(d - 1)/2J. Hence a = 1/(R + <5/2). The following notion is our measuring instrument. Given a decoding algorithm for a code C of rate Rover IFq of complexity Compl(C), the complexity coefficient CC(R) * is defined as CC'(R) = logq(Compl(C)). The complexity coefficient for our method under the asyrnptotic semi-regularity assumption is computed as follows: A+l w . log 2· -- . H2 (1) -- q a A+l ' where A = a - ~ - Ja.(a. - 1) and 0: = I/(R + <5/2) and <5 = H;;l(l- R), with Hq the q-ary entropy function. It turns out that in the binary case the complexity of our method is worse than exhaus- tive search. But with increasin!i alphabet our method is better. Figure 1 depicts the complexity coefficients for q = 2 0 of exhaustive search (ES), syndrome decoding (SD), systematic coset search (SCS), covering polynomials (CP) and covering sets (CD), see [6, 13], and our method using quadratic equations (QED). 8 0.5 0.4 1 Figure 1: Comparison of complexities for q = 210 Acknowledgment The first author would like to thank "DASMOD: Cluster of Excellence in Rhineland- Palatinate" for funding his research, and also personally his Ph.D. supervisor Prof.Dr. Gert-Martin Greuel and his second supervisor Prof. DI. Gerhard Pfister for continuous support. This work has been continuously inspired by the Special Semester on Groebner Bases, February 1 - July 31,2006, organized by RICAM, Austrian Academy of Sciences, and RISC, Johannes Kepler University, Linz, Austria. References [1] D. Augot, P. Charpin, N. Sendrier, "The minimum distance of some binary codes via the Newton's Identities," Eurocodes '90, LNCS 514, p 65-73, 1990. [2] D. Augot, P. Charpin and N. Sendrier, "Studying the locator polynomial of mini- mum weight codewords of BCH codes," IEEE Trans. Inform. Theory, vol. IT-38, pp. 960-973, May 1992. [3] D. Augot, M. Bardet, J.-C. Faugère "Efficient Decoding of (binary) Cyclic Codes beyond the correction capacity of the code using Gröbner bases," INRIA. Report, no. 4652, Nov. 2002. [4] M. Bardet and J.-C. Faugère and B. Salvy, "Complexity of Gröbner basis com- putation for semi-regular overdetermined sequences over GF(2) with solutions in GF(2)," INRIA Report, no. 5049, 2003. [5J M. Bardet and J.-C. Faugère and B. Salvy and B-Y. Yang "Asymptotic Behaviour of the Index of Regularity of Quadratic Semi-regular Polynomial Systems," in MEGA 2005, Eighth International Symposium on Effective Methods in Algebraic Geometry, Porto Conte, Alghero, Sardinia (Italy), May 27th - June 1st, 2005. [6J A. Barg "Complexity issues in coding theory," in Handbook on Coding Theory, V.S Pless and W.C. Huffmann eds., pp.649-754, 1998 [7] E.R. Berlekamp, Algebraic coding theory, Mc Graw Hill, New York, 1968. [8] S. Bulygin, Err.lib, http://www.mathematik.uni-kl.de;-bulygin/files/Err.lib. 2006. 9 [9] S. Bulygin and Pellikaan, "Bounded distance decoding of linear error-correcting codes with Gröbner bases," submitted to Journal Symbolic Computations. [10] X. Chen, l.S. Reed, T. Helleseth and T.K. Truong, "Algebraic decoding of cyclic codes: a polynomial point of view," Contemporary Math. vol. 168, pp. 15-22, 1994. [U] X. Chen, l.S. Reed, T. Helleseth and T.K. Truong, "Use of Gröbner bases to decode binary cyclic codes up to the true minimum distance," IEEE Trans. Inform. Theory, vol. IT-40, pp. 1654-1661, Sept. 1994. [12] X. Chen, l.S. Reed, T. Helleseth and T.K. Truong, "General principles for the algebraic decoding of cyclic codes," IEEE Trans. Inform. Theory, vol. IT-40, pp. 1661-1663, Sept. 1994. [13] J.T. Coffey and R..M. Goodman and P.G. Fm'rell "New approaches to reduced- complexity decoding" , Discrete Applied Mathematics, no.33, pp.43-60, 1991. [14] A.B. Cooper Ill, "Direct solution of BCH decoding equations," Communication, Control and Signal Processinq, Elsevier Sc. Publ., pp. 281-286, 1990. [15] A.B. Cooper Ill, "Finding BCH error locator polynomials in one step," Electronic Letters, vol. 27 ,pp. 2090-2091, 1991. [16] A.B. Cooper, "Toward a new method of decoding algebraic codes using Gröbner bases," Trans. 10th Army Conf. Appl. Math. and Camp." pp.I-Ll , 1993. [17] J.-C. Faugère, "A new efficient algorithm for computing Groebner bases without reduction to zero F5," in Proceedings of ISSAC, T.Mora, ed., pp.75-83, 2002. [18] J. Fitzgerald, "Applications of Gröbner bases to Linear Codes," Ph.D. Thesis, Louisiana State University, 1996. [19] J. Fitzgerald and RF. Lax, "Decoding affine variety codes using Gröbner bases," Designs, Codes and Cryptography, vol. 13, pp. 147-158, 1998. [20] G.-M.Greuel and G.Pfister, "A SINGULAR. Introduetion to Commutative Alge- bra", Springer- Verlag, 2002. [21] G.-M. Greuel, G. Pfister, and H. Schönemann. SINGULAR 3.0. A Computer Alge- bra System for Polynomial Computations. Centre for Computer Algebra, University of Kaiserslautern (2005). http://www.singular.uni-kl.de. l22J C.R.P. Hartmann, "Decoding beyond the BCH bound," IEEE Trans. Inform. Theory, vol. IT-18, pp. 441-444, May 1972. [23] C.RP. Hartmann and K.K. Tzeng, "Decoding beyond the BCH bound using mul- tiple sets of syndrome sequences," IEEE Trans. Inform. Theory, vol. IT-20, pp. 292-295, Mar. 1974. [24] T. Mora and M.Sala, "On the Groebner bases for some symmetric systems and their application to Coding Theory," 1. Symb. Camp., vol. 35, no.2, p.177-194, 2003. [25] K.K. Tzeng, C.RP. Hartmann and RT. Chien, "Some notes on iterative decod- ing," in Proc. 9th Allerton Conf. Circuit and Systems Theory, Oct. 1971. 10 A Novel Iterative Demodulation and Decoding Scheme with Convolutional Coding and Co-ordinate Interleaving Nauman F. Kiyani Jas H. Weber Delft University of Technology Delft University of Technology Fac. EEMCS, WMC Group Fac. EEMCS, WMe 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 A novel iterative demodulation and decoding (ID) scheme is proposed for bit interleaved coded modulation (BICM) using co-ordinate interleaving (also known as signal space diversity (SSD)) and the rotation of a signal constellation in a fading channel. A soft-input soft-output demodulator is extended to incorporate SSD and iterative demodulation. It is shown that a well-considered choice of rotation angle for a specific signal constellation and labeling using SSD over a Rayleigh fading channelleads to a significant gain over conventional BICM-ID. FUrthermore, the optimum rotation angle is found to be dependent upon the symbol labeling and the number of iterations performed between the decoder and the demodulator for convolutional codes. 1 Introduction Parallel concatenated "turbo" codes (PCe) [1] combine separate component codes through interleavers and by using iterative decoding (ID) can achieve big coding gains while keeping the decoding complexity to a manageable degree. The "turbo princi- ple" is generally applicable to a wide range of algorithms in digital communications, e.g., efficient demodulation [2]. It has been generally accepted that demodulation and decoding should be combined in a single entity for improved performance in fading channels [3]. The severe degradation of performance in fading channels is determined by the deep fades of the received signal power. It is well known that diversity can be used to mitigate these effects. The diversity order can be increased to the minimum number of distinct bits rather than channel symbols by using bitwise interleaving in bit interleaved coded modulation (BICM). This allows a coded modulation system with moderate complexity to have large diversity order and achieve coding gain in fading environments [3]. Furthermore, in [2,4] it was shown that iterative decoding (ID) can increase the minimum intersignal Euclidean distance of Bl Clvl, while retaining the desirable Hamming distance. The diversity order can also be increased by combining BleM with coordinate interleaving (also known as signal space diversity (SSD)) and constellation rotation [5,6]. In [5] and [6], the convolutional codes using coordinate interleaving were shown to have improved performance over the conventional BICM and trellis coded modulation (TeM). 11 ~-~-(_. ~~\" Figure 1: System Model. In this paper, we propose an iterative demodulation and decoding technique for convolutional codes using SSD and rotated MPSK constellations. "Ve analyze the effect of symbol mappings and the number of iterations on the optimum rotation angle in a block Rayleigh fading channel. A symbol to bit de-mapper for multi-level modulation schemes is extended to incorporate iterative demodulation with SSD. Different signal mappings for QPSK, as an example constellation, under various rotation angles and different code rates are considered. The novel proposed scheme using optimally rotated constellations is shown to outperform BICM-ID. The paper is organized as follows. Section 2 introduces the system model and outlines the main blocks. In Section 3 the principle of iterative demodulation and decoding in combination with SSD is presented. The performance curves of the new concatenated scheme are presented in Section 4, followed by conclusions in Section 5. 2 System Model The block diagram of a system using iterative demodulation and decoding with SSD is shown in Figure 1. The encoded bits are interleaved using a pseudo-random in- terleaver represented by 1[" and are mapped onto symbols using rotated constellations with pre-defined mappings. The pseudo-random interleaver is used to break the se- quential fading correlation between consecutive bits that are being transmitted. The in-phase(I) and the quadrature phase (Q) components are separately interleaved and transmitted through the Rayleigh fading channel. The channel dynamics are explicitly taken into account by considering a block independent fading model. I and Q in- terleaving uncorrelates the in-phase and quadrature components. At the receiver, the components are de-interleaved and along with channel state information (CSI) are iter- atively used by the symbol to bit de-mapper and the decoder to generate the estimates of the transmitted bits. The subsequent subsections describe the various blocks in more detail. The specific details of the iterative symbol to bit de-mapping and decoding are further discussed in Section :J. 2.1 Rotated MPSK Constellations A complex modulation scheme such as MPSKjMQAM can be seen as two (real) M- ary pulse amplitude modulations (MPAMs) in parallel - one on the I channel and the other on the Q channel. A conventional M-ary phase shift keying (MPSK) signal constellation is denoted by SM = {SI = e27f(IIM)j : I = 0,1, ... , M - I}, where the energy has been constrained to unity. Clockwise rotation over an angle () leads to the constellation st = {SI = e(27f(ljM)-B)j : I = 0, 1, ... , M - I}. (1) The symbol mapping and the associated bit-maps of QPSK under consideration in this paper are given in Table 1. 12 Table 1: Symbol representations and bit-maps for unrotated QPSK and 8PSK constel- lations. QPSK symbols So = 1 SI = j S2 =-1 s3 =-j I,Q representation (1,0) (0,1) (-1,0) (0, -1) bit-map (Gray) 00 01 11 10 bit-map (Natural) 00 01 10 11 2.2 I and Q component Interleaving In case of N symbol transmission, each taken from the rotated constellation stI' let the sequence of J components X = (XQ, Xl, ... ,XN-l) and the sequence of Q components Y = (Yo, Yl, ... ,YN-l) be interleaved by the J interleaver 77and the Q interleaver p, respectively, resulting in the sequences i = 'f}(x) = (xo,X1, ... ,iN-I) and y = ptV) = (i)o, ih,· .. ,YN-l). The transmitted waveform for the rotated and interleaved system is given by n-: s(t) L XiP(t - iTs) cos (21rfct) i~O N-l + LYiP(t-iTs)sin(21rfct). (2) i=O where (t) = {I,D::::: T" t ::::: P , 0, otherwise, T; is the symbol period and fe is the carrier frequency. Separate interleaving of J and Q components results, for each symbol, in transmitting the J component Xi during one fade interval and the Q component Yi during another fade interval. This kind of interleaving adds diversity in the system as x, and Yi experience independent fading. Therefore, a system using SSD and rotation no longer exhibits equi-probable symbol error probabilities as is the case with conventional MPSK schemes. 2.3 Rayleigh Fading Channel The transmission is assumed to be over a block independent Rayleigh fading channel with perfect eSI available at the receiver. The baseband input/output relation per channel use is given by hiii + ii;, hiYi + ii~, (3) where the hi are normalized and independent Rayleigh fading factors with E [(hi)2] =1 and probability density function pta) = 2ae- , a > 0, and ii; and a2 are indepen- iif dent and identically distributed (i.i.d) Gaussian random variables with zero mean and variance No/2. 13 3 Iterative Demodulation and Decoding A serial concatenation of an iterative receiver is employed as shown in Figure 1. The received sequences fI and fQ are de-interleaved resulting in r! = T7-1 (fI) and rQ = p-l(fQ). We assume that perfect CSI is available, i.e., the fading sequence h = (ho, hl, ... , hN-I) and thus the de-interleaved fading component sequences hl = Ti-I (h) and hQ = p-I(h) are known at the receiver. The de-interleaved components are used by the soft-input soft-output demodulator (indicated as "symbol to bit de-mapper") to generate the extrinsic information which is passed to soft-input soft-output a pos- teriori probability module [7](indicated as "SISO decoder"). Throughout this section interleave/de-interleave operations correspond to tt and 7r-I, respectively, as shown in Figure 1. 3.1 Iterative Symbol to Bit De-mapping for MPSK Constel- lations Assuming perfect CSI, the soft demodulator computes the log likelihood ratios (LLR) at iteration 'q' of bi,m which is the mth bit of the ith received symbol where m = 1,2, ... , log2 M; i = 0, 1, ... , N - 1, denoted by M (bi,m), as in [8], which is modified to incorporate signal space diversity and feedback from the SISO decoder and is given by log2 lvI [lq-l (b )} i\.q (bi,m) = mag< { Ei,l + L. (-l)'"k. i,k IES~ k=l,kof= 2 log2 M [lq-l (b )} -max { Eil + L (_1)5"k. i,k. lES},. 'k=l,bf= 2 (4) In equation (4), S:;' = {I : Sl,m = O} and S;" = {I : Sl,m = I}, Sl,k denotes the kth bit in the lth symbol in the symbol set stI' [lq-l (bi,k) is the interleaved extrinsic LLR-value of bit bi,k calculated by the SISO decoder in the previous iteration, and Ei,l is defined as - Ei,l 1 = - No (I Ti[ - hi[[1Sl2 + 1T.;Q - hiQ sIQ12) . (5) In the first iteration [la (bi,k) = 0; Vi, k, is assumed. On the subsequent passes (i.e., iterations q ::::2), the extrinsic information of the hits [lq-l (hi,k) if: lisP-clas a priori information by the symbol to bit de-mapper. Since we have bit interleaving, we may assume that the probabilities of the bits that compose the symbol are independent [8J. From equation (4), it is pellucid that when recalculating the bit metrics for one bit, we only need to use the a priori probabilities of the other bits in the same channel symbol. 3.2 Iterative SISO Decoder The SISO decoder [7] is used for convolutional decoding and to generate the extrinsic LLR values of the coded bits for iterative demodulation and decoding. The a priori probability of the information bits is unavailable and is not used in the entire process. The extrinsic information passed from the symbol to bit de-mapper is de-interleaved 14 ""I~-~-----------;:==O=G<:=",=~ 10-"~-~---"- -_o.=S--r==;,,,:=.::!y =:;l .. Natl.FaI 1s1lleration ~ n. .-c ~:~!lIon 2nd Ileflltion 2ndlteration ~ 3n:I11I!I1Ulon 3rdlleralkm ..... e - - -o~ 4thlter.ltlon 41h1ter.d1on 5In1ler.ulon ;:; Sthller.l!IOI'I 'o_-'r~/,.,..~. . ..'-~'1 f 10' _-&.c_O- ;:.,-;7"~1l-_. "o...a-<._o- -?-..,.__-s-~R'?~;~ .~,'~"'''' __~~_..Q'.f;'Z. ffi /. " -, ",-. _--J eo ~,/ ,;,-- ...0,.,... "~~ />,.<. --=-----e 10-f;()!:----é"c--:20=----.ó"'c--<~O .. --=50O-~60--=7:-0 10-.0!:----é1Oc--:20=----::o--7::--=50::--~60-~--=aoO-~90· Figure 2: BER performance of QPSK Figure 3: BER performance of QPSK SSD-ID over different rotation angles. SSD-ID over different rotation. angles. Rate ~ convolutional codes are used. A Rate ~ convolutional codes are used. A maximum of 5 iterations are performed maximum of 5 iterations are performed using Gray and Natural labeling in using Gray and Natural labeling in Rayleigh fading channel at Ebi No = 6 Rayleigh fading channel at Ebi No = 6 dB. dB. 10-T,,~-;.è;.5--;--5"'.5--:---;:,O-5 -;---:7~.5--:---;:,.;-5 ~ 10",!- -.;';;.5--:---;:5.5;-7~6'"".5--;-~7.5;-7---;,C;.5-! ""IN, [dBJ Eb/NO [dB] Figure 4: BER performance of QPSK Figure 5: BER performance of QPSK SSD-ID in comparison with BICM-ID SSD-ID in comparison with BICM-ID system. Rate ~ convolutional codes are system. Rate ~ convolutional codes are used. A maximum of 5 iterations are used. A maximum of 5 iterations are performed using Gray and Natural la- performed using Gray and Natural la- beling in Rayleigh fading channel. beling in Rayleigh fading channel. 15 and used to calculate the extrinsic information of the coded bits by the SISO decoder. The regenerated bit metrics are interleaved and passed to the symbol to bit de-mapper and we iterate the demodulation and decoding. The final output is the hard decision based on the extrinsic bit probability of the inforrnation bits which is also the total a posteriori probability. We also employ in our simulations punctured convolutional codes in which all the transmitted bits are a subset of a lower rate code. This permits an increase in the code redundancy by incremental transmission, and can be combined with ARQ schemes. 4 Results and Discussion Figures 2, 3, 4 and 5 show as an example the performance of a system employing SSD and iterative demodulation and decoding (SSD-ID) in a Rayleigh fading channel with QPSK modulation using different symbol mappings. The fading is considered to be constant for a block length and independent from block to block. We use a rate ~, 16-state convolutional code with generator polynomials (37,21). The code is puncture-d to a desirable rate according to the puncture pattern given in Table 2. Each data block contains 2000 information bits. A maximum of 5 iterations are performed between the symbol to bit de-mapper and the SISO decoder. Table 2: Puncture patterns for the 16-state punctured convolutional codes [9] Code Rate (R) Puncturing Pattern ! 1111 2 1111 ~ 1111 lxIx Figures 2 and 3 show the bit error rate (BER) as a function of various rotation angles for QPSK modulation scheme, rate ~ and ~, employing SSD using iterative demodu- lation and decoding at Ebi No = 6 dB. The BER curves were obtained by simulating the transmission of randomly generated code words for a fixed Ebi No using different rotation angles. There are only two symbol mappings possible for a QPSK constella- tion, i.e., Gray and Natural. The signal constellation shows best performance at 0° and 25° for Gray and Natural labeling, respectively, when 5 iterations are performed. The optimum rotation angle changes after the first iteration for both mappings. No further improvement in performance can be obtained with Gray and Natural labeled constellations after 2 and 3 iterations, respectively. The optimum rotation angle is the same for code rates ~ and ~ as shown in the Figures 2 and 3. Figures 4 and 5 show the comparison of the SSD-ID with BICM-W system for rate ~ and ~ using Gray and Natural mapped constellations, respectively. Gray labeled BICM-ID does not show any performance gain after multiple iterations irrespective of the code rate. SSD-ID system outperforms BICM-ID system over all iterations and all mappings, e.g., the Gray labeled optimally rotated SSD-ID system has a performance improvement of 1.9 dB at a BER of 1 x 10-4 at 5th iteration as shown in Figure 4. 5 Conclusions In this paper we presented a novel iterative demodulation and decoding scheme for convolutional codes over Rayleigh fading channel using SSD. A symbol to bit de-mapper 16 for iterative demodulation was introduced. The performance of the proposed scheme was compared with the BICM-ID by employing optirnized MPSK constellations and different symbol to bit mappings. It was shown that a well considered choice of rotation angle and signal constellation labeling can provide significant performance improvement over the conventional BICM-ID system. The choice of an optimum rotation angle was seen to be dependent on the signal constellation mapping and quite interestingly on the number of iterations performed at the receiver. Acknow ledgement This work was supported by STW under MeAT project DTC.6438. References [1] C. Berrou, A. Glavieux, and P. Thitimajshima, "Near Shannon limit error- correcting coding and decoding: Turbo-codes," in Proc. ICC"93, May 1993, pp. 1064~1070. [2] X. Li and J. A. Ritcey, "Bit-interleaved coded modulation with iterative decoding and 8PSK signaling," IEEE Trans. on Comm., vol. 50, no. 8, pp. 1250~1257, Aug. 2002. [3] G. Caire, G.Taricco, and E. Biglieri, "Bit-interleaved coded modulation," IEEE Trans. Information Theory., vol. 44, no. 3, pp. 927~945, May. 1998. [4] A. Chindapol and J. A. Ritcey, "Design, analysis, and performance evaluation for BICM-ID with square QAM constellations in Rayleigh fading channels," IEEE Joumal on Selected Areas in Comm., vol. 19, no. 5, pp. 944~957, May 2001. [5] Z. A. Khan and B. S. Rajan, "Bit and co-ordinate interleaved coded modulation," Proc. IEEE Global Telecomm. Conj., vol. 3, pp. 1595~1599, Nov-Dec. 2000. [6J A. Chindapol and J. A. Ritcey, "Bit-interleaved coded modulation with signal space diversity in Rayleigh fading," Proc. 33rd Asilomar Conf. Signals, Systems, Compuiers., vol. 2, pp. 1003~1O07, Oct. 1999. [7] S. Benedetto, D. Divsalar, G. Montorsi, and F. Pollara, "A soft-input soft-ouput APP module for iterative decoding of concatenated codes," IEEE Trans. Informa- tion Theory, vol. 28, pp. 56~67, Jan. 1982. [8] A. Stefanov and T. M. Duman, "Turbo coded modulation for systems with transmit and receive antenna diversity over block fading channels:system model, decoding ap- proaches and practical considerations," IEEE Joumal on Selected Areas in Comm., vol. 19, no. 5, pp. 958~968, May 2001. [9] J. Hagenauer, "Rate compatible punctured convolutional codes (RCPC codes) and their applications," IEEE Trans. on Comm., vol. 36, no. 4, pp. 389~400, April1988. 17 Systems theoretic methods . In decoding Margreta Kuijper Jan Willem Polderman The University of Melbourne University of Twente Dep. Electr. Electronic Eng. Fac. EEMCS, Math. Syst. Contr. Th. VIC 3010 P.O. Box 217, 7500 AE Enschede Australia The Netherlands margreet©ee.unimelb.edu.au j.w.polderman©ewi.utwente.nl Abstract In this paper we show how ideas based on system theoretic modeling of linear behaviors may be used for decoding of linear codes. In particular we show how Sudan's bivariate interpolation approach to list decoding of RS codes allows a system theoretic interpretation. 1 Introduction The purpose of this paper is to illustrate the potentialof the system theoretic framework in decoding of linear codes. There has been a growing interest to establish relationships between the area of coding theory and the area of system theory, particularly the behavioral approach. In [8] it is shown how the theory on behavioral modeling leads to a transparent interpretation of various existing decoding methods as well as to the derivation of an insightful decoding algorithm. In particular, the Berlekamp-Massey algorithm is interpreted as behavioral modeling for single-input-single-output partial realization, a result that was first presented in [141. A multivariable version of this algorithm is derived in [3, 15] and put to work in [6, 4, 5] to achieve increased error correction of the closely related BCH codes. In more recent work, it is shown how the Welch-Berlekarnp algorithm [8, 7] can be interpreted as a special instance of behavioral modeling for single-input-single-output interpolation. This work has been extended to errors-and-erasures decoding in [13]. In this paper we place the list decoding approach of [18, 19] in a behavioral frame- work, see also [10]. We find that we are able to interpret this approach as behavioral modeling for multivariable interpolation. This enables us to generate insightful decod- ing algorithms in a straightforward way. In this paper we restrict ourselves to the early results of [18, 19], that is, interpolation with multiplicity one. The exposition is largely based on [11]. For more details and proofs we refer to [11, 12]. Our approach can also deal with the more general case where the data points are to be interpolated with multiplicities larger than one. See [12]. Finally, we are currently developing a similar framework for codes over finite rings, see r9J. A crucial difference between the area of coding theory and the area of system theory is the fact that the alphabets used in coding theory are finite whereas the alphabets used in system theory are usually infinite, typically the real/complex numbers. In this paper we address the implications of finite fields for behavioral modeling. 2 Behaviors over finite fields In this section we review some basic concepts and results of the behavioral approach to a linear system over a field lF. For most of these it makes no difference whether lF is 19 finite or infinite. The only exception pertains to the differentiation operator as we will see below. The reader is referred to [17] for more detailed discussions. Following [17] a dynamical system is a triple 2: = (1[, W, ffi). Here 1[ can be thought of as the time axis, W is the signal alphabet, and ffi, the behavior of the system, is a subset of WT (the set of functions from 1[ to W). Relevant choices for our purposes are 1[ = Z+, W = ]Fq,and ffi a linear subspace of W'lr We define u, the shift operator, acting on elements in WT as (uw)(k) = w(k + 1). An important class of systems are those whose behaviors are defined as the kernel of a polynomial matrix in u. Let R(ç) E ]F9xQ[ç]be a 9 x q matrix in the indeterminate ç and with coefficients in F. Then we define the behavior corresponding to R(ç) as ffi = {w : Z+ ---+ lFq I R(u)w = O}. (1) It is easy to see that ffi is linear. Moreover, ffi is time-invariant, that is, for every trajectory w in ffi the shifted trajectory uw is also in ffi. The class of behaviors in q variables that admit a representation of the form R( u)w = 0 is denoted by £q. Representations of the form R( u)w = 0 are, for obvious reasons, referred to as kernel representations. In the general theory of behaviors many other representations are of interest. For our purposes only kernel representations are of interest. It appears that different matrices RI(Ç) and R2(ç) may define the same behavior. The following result classifies the set of matrices that define a given behavior IB. Lemma 2.1. For i = 1,2 let R;(Ç) E lF9iXq[ç] and denote the corresponding behasnars by IBi. If ffil C IB2, then there exists a matrix F(ç) E ]F!l2X9'[ç] such that R2(Ç) = F(ç)RI(Ç). A matrix U(ç) E ]F9X9[ç]is said to be unimodular if there exists V(Ç) E lF9X9[ç] such that U(ç)V(Ç) = V(ç)U(Ç) = I, equivalently, if det U(Ç) is a nonzero constant in lF. A direct consequence of the above lemma is the following. Theorem 2.2. Let R;(ç) E lF9Xq[ç]define the same behavior (i = 1,2), i.e., RI(U)W = o if and only if R2(U)W = O. Then there exists a unimodular matrix U(Ç) E lF9X9[ç] such that R2(ç) = U(ç)RI(ç). Theorem 2.2 makes it possible to choose out of the many representations of a given behavior one that is particularly convenient for the application at hand. Examples are upper or lower triangular forms. Also, by means of appropriate unimodular premul- tiplication one may create zero rows to end up with a matrix in which the remaining nonzero rows are independent over lF[';-]. The nonzero rows form a matrix with fewer rows and is said to be of full row rank. A form that is crucial in the application of the behavioral approach to coding theory is the row reduced form. Definition 2.3. Let R(ç) E lFgxq[ç] and denote the rows of R(ç) by ri(ç), i = 1, ... ,g. The row deqrees dl, ... , dg are defined as di = maxj=l, .. .q deg Tij (Ç). Define the diagonal matrix D(ç) = diag(çd1, ••• ,çdg) and write R(ç) = D(Ç)Ra + RI(Ç) with D(Ç)-l RI(Ç) strictly proper, meaning that in everyentry of D(ç)-l RI (ç) the degree of the denom- inator exceeds the degree of the numerator. Then, R(ç) is said to be row reduced if Ra is of full row rank as a matrix over lFgxq. The matrix Ra is called the leading row coefficient matrix. The next two theorems are well-known results from behavioral theory. Theorem 2.4. Let R(ç) E lFqxq[ç] be a square matrix with row degrees dl, ... , dq. Denote the sum of these row degrees by d. Then R(ç) is TOW reduced if and only if deg det R(ç) = d. 20 Theorem 2.5. Let R(Ç) E IFgxq[~Jbe of full row rank. There exists a unimodular matrix U(Ç) such that U(~)R(~) is row reduced. In the sequel we use a modified version of row reducedness of which the above is a special case. This is the notion of "weighted row reduced". Definition 2.6. Let nI, ... ,nq be nonnegative integers. Define N(~) = diag(çnl, ... ,Co). (2) The weighted row degrees of R(ç) are defined as the row degrees of R(Ç)N(~). The matrix R(~) E IFgxq[çJ is called (nI, ... , nq) weighted row reduced if R(~)N(ç) is row reduced. The following two theorems are generalizations of Theorem 2.4 and Theorem 2.5. Theorem 2.7. Let R(Ç) E IFqxq[~Jbe a square polynomial matrix of full row rank and let nb ... ,nq be nonnegative integers. Let N(~) be defined as in (2). Then R(Ç) 'is (nI, ... , nq) weighted row reduced ij and only ij deg det R(~) + deg det N (ç) equals the sum oj the weighted row degrees oj R(~). Theorem 2.8. Let R(Ç) E IFgxq[~J be oj full row rank and let nI, ... ,nq be nonnegative integers. There exists a unimodular matrix U(~) such that U(E,)R(~) is (nI, ... , nq) weighted row reduced. Notice that (0, ,0) weighted row reduced is just row reduced. 'vVemainly consider (0, r: -1,2(/1;-1), , (q -1) (/"£-1)) weighted row reduced. We shall refer to this special case as simply weighted row reduced whenever there is little danger of confusion. The next two results show that row reducedness indicates minimality. This obser- vation turns out to be crucial in the behavioral interpretation of the decoding scheme of [18J. Lemma 2.9. Let R(~) E IFgxq[E,J be row reduced and let m E Z+ be the minimal row degree of R( E,). Then every linear combination over lF[~J of the rows oj R( E,) has row degree at least m. Corollary 2.10. Let R(E,) E IFgxq[E,]be weighted row reduced and let m E Z+ be the minimal weighted row degree of R(E,). Then every linear combination over IF[E,] oj the rows of R(E,) has weighted row degree at least m. As remarked, behaviors are represented by polynomial matrices. The question arises how, for a given polynomial matrix, the behavior can be determined explicitly. Let us now continue to determine an explicit expression for a behavior over a finite field in terms of its polynomial representation. Our key players are trajectories ui, : Z+ _, IF defined by wi(k) := A~ where Ai E IF. Theorem 2.11. Let R(Ç) E IFqxq[ç], let det R(~) be a polynomial of degree n, and let ~ = {w : Z+ _, IF I R(())w = O}. Then ~ is an n-dimensional subspace of (IFq)z+. Ij with Ai E IF, then all trajectories in ~ are of the form rr=l (~- the roots oj det R( E,) are mutually distinct and belong to lF, say det R( E,) = Ai), n w(k) = 2:)iA~, i=l with bi E IFq such that R(Ai)bi = O. 21 In the above we investigated explicit expressions for trajectories satisfying a given polynomial representation. In the sequel we are interested in the converse, namely building representations from given trajectories. For this purpose we use the theory of exact modeling of behaviors as first introduced in [20]. We here recall a few of the main ideas. Given a finite number of trajectories Wj : Z+ -> lFq (j = 1, ... , N) we may seek to build a system whose behavior contains these specific trajectories. A behavior 8 is called an unfalsified model for the data set D = {WI, ... , WN} if D ç 8. A model 81 is called more powerful than a model 82 if 81 ç 82. From a modeling perspective it appears sensible to look for the smallest behavior that contains the N trajectories. A model 8* is called the most powerful unfalsified model (MPUM) for D, if 8* is unfalsified for D and D ç 8 ==> 8* ç 8. In [21] it is shown that for D = {WI,"" WN} such an MPUM exists. In fact, a general procedure for the iterative construction of a kernel representation for 8* is presented. We here recall this procedure; its workings can be easily understood from Lemma 2.1. Procedure 2.12. ((21}) Initially define Ro(ç) := I (where I is the identity matrix). Proceed iteratively as follows for k = 1, ... ,N. Define, after receiuinq {W1, W2, ... , Wk}, the k-th error trajectory ek as ek := Hk-1 (U)Wk' Compute a kernel represeniaiion Vk(u)w = 0 of the MPUM for {ed. Then define Rk(Ç) := Vk(ç)Rk-1(Ç). Theorem 2.13. ((21}) For k = 1, ... , N, the kernel represeniaiioti Rk(U)W = 0 of the above procedure, represents the MJJ UM for {WI, W2, ... , wd· Remark 2.14. For general trajectories Procedure 2.12 may be cumbersome to run. However, for exponential trajectories the procedure is easy and convenient to perform. The trajectories to which we apply Procedure 2.12 are exponential as we shall see in Section 4. 3 Behavioral interpolation for decoding Let {6,'" ,çn} be a subset of a finite field F with the ç;s mutually distinct. An (n, K:) RS code is defined as a set of codewords of the form c = (m(6), ... , m(çn)), with m(ç) E lF[çlrunning through the set of polynomials of degree < K. The codeword c is transmitted through a channel where errors may occur so that the received word r is not necessarily equal to the transmitted codeword c. The decoding problem consists of reconstructing the original polynomial m(ç) from the received word r. In list decoding a list of possible polynomials m(ç) is generated. The breakthrough idea of [18] is to use bivariate polynomials for list decoding. Definition 3.1. Let Q(ç,7]) = L,;EI,jEJ %Ç;rf E lF[ç,'1]] be a bivariate polynomial. The (wç,w,.,) weighted degree ofQ(ç,'I]) is defined as wdeg(w w ) Q(ç, Tl) = ma.x {iwç + jw,., ~, ~ 'EI,]EJ I q;j =} O}. Lemma 3.2. Let (ç;, Tl;) (i = 1, ... , n) be elements oflF2 with the ç;s mutually distinct. Let Q(ç, 1)) E lF[ç,7]] be a bivariate polynomial with wdeg(l,l<_l)Q(ç, 1)) = £ such that Q(ç;,7];) = 0 for i = 1 ... , n. Let m(Ç) be a polynomial of degree < K such that #{i I m(ç;) = 7];}:::::£ + 1. Then 1) - m(Ç) divides Q(ç, 7]). 22 Proof. The univariate polynomial Q(f" m(ç)) clearly has at least I! + 1 zeros. On the other hand, deg Q(ç, m(ç)) cannot exceed I! since by assumption wdeg(1,K-l) Q(f" Tf) = e. Since a polynomial of degree not exceeding I! can only have more than e zeros if it is the zero polynomial, it follows that Q(ç, m(Ç)) is the zero polynomial. This now implies that Tf - iii(f,) divides Q(ç, Tf). 0 In the sequel we are only concerned with the (1, ",-1) weighted degree and therefore we refer to it as just the weighted degree. The next corollary expresses the main idea of the Sudan list decoding approach. Corollary 3.3. Let Q(ç, Tf) E JF'[f" Tfl be a bivariate polynomial of weighted degree I! such that Q(l;i, 1')i) = 0 for i = 1 ... , n. Let r = (1')1, ... , 1')n) be a received word. Denote the corresponding transmitted message polynomial by m(f,). If r contains less than n -I! errors then 1') - m(Ç) divides Q(f" Tf)· The main idea of Sudan's list decoding approach is to construct a polynomial Q(I;,1')) such that Q(l;i, Tfi) = O. It makes sense to minimize the weighted degree of this poly- nomial as this maximizes the number of errors that can be corrected that way. In the decocting process all factors of the form ïl -iii(Ç) are subsequently extracted to produce a list of candidate polynomials m(l;) of degree < n, The next step is then to produce a sublist of most likely message words by computing the corresponding codewords and comparing with r. It has been shown in the literature [16] that in most cases this sublist consists of only one polynomial. This is due to the geometric structure of the code. Roughly, our approach is structured as follows. We write the polynomial Q(ç, Tf) to be constructed as Q(f" Tf) = 2:!o dj(Ç)rf for an appropriate choice of M. With the n data points (I;i, Tfi) (i = 1, ... , n) we associate n trajectories w, : Z+ -7 JF'M+l. We then determine the Most Powerful Unfalsified Mcdel B of these trajectories. Then we construct a weighted row reduced matrix R(f,) that represents IB (the notion of "weighted row reduced" is defined in Section 2). From R(f,) we select a row d(f,) of minimal weighted row degreeand finally we define Q(ç, Tf) = 2:!o dj (f,)rf , where the d,(f,)s are the entries of d(Ç). It turns out that Q(f" Tf) constructed in this way is a bivariate polynomial of minimal weighted degree that interpolates the data points (f,i, Tfi) for i = 1, ... ,n. 4 Minimal interpolation as behavioral modeling In this section we reformulate the problem statement as introduced in Section 1 in terms of behavioral modeling. It turns out that we can apply the behavioral theory in a straightforward way as follows. First we write Q(I;,Tf) as Q(f"Tf) = 2:!odj(ç)1')} The upper limit M has to be chosen with care, for too small an M may result in a Q(f" Tf) that is not of minimal weighted degree. We comment on the choice of M later. What we are aiming at is Q(f,i, Tfi) = 0, i.e., 2:!o dj (I;i)rd = O. Another way of stating this is that we are looking for a polynomial vector d(f,) = [do(f,), ... , dM(Ç)] such that 23 In the light of Theorem 2.11 this is equivalent to for i = 1, ... , n. (3) Apparently the aim is to find an integer M and a polynomial vector d(~) E lFIX(M+l)[~] of minimal weighted degree such that d(a)Wi = 0 for i = 1, ... , n. Of course a trivial solution is Q(~, TI) =rr=l(~- ~i). This solution has weighted degree nand may serve as an upperbound on the minimal weighted degree. As a consequence we can take n M = ma.x{j E N Ij:::; --}. (4) /'i,-1 The idea is now to find a representation R( Ç) of the MPUM of Wl, ... , Wn that is weighted row reduced. It then turns out that for d(Ç) we can take a row of R(~) of minimal weighted degree. We explain this in more detail below. Theorem 4.1. Let ~ be the MPUM of WI, ... , Wn defined in (3) with M defined by (4). Let R(ç) E lF(M+l)X(M+l)[ç] be a weighted row reduced representation of ~ and let d(Ç) = [do(Ç') dM(ç)] be a row of R(Ç) of minimal weighted degree. Define Q(Ç', T) = L.~o dj (ç)rf . Then Q(ç, T) is a polynomial of minimal weighted degree with Q(Çi, T)'i) = 0 for i = 1, ... , n. Proof. Let Q(Ç') E lF[ç, T)] be such that Q(Çi, T)i) = 0 for i = 1, ... , n. Write Q(ç, T) = L.~odj(Ç')~ and d(ç) = [do(Ç') dM(Ç)]. Then [do(a) dM(a)] Wi = 0 for i = 1, ... , n. It follows from the definition of MPUM that d( a)w = 0 for all W E ~. It follows from Lemma 2.1 that there exists F(Ç') E lF1X(M+l)[ç] such that d(Ç) = F(Ç')R(ç). It now follows from Corollary 2.10 that the weighted row degree of d(Ç) is larger than or equal to the weighted row degree of d(ç). This means that the weighted degree of larger than or equal to the weighted degree of Q(Ç', T). e«. T) is D 5 Conclusions In this paper we have presented a systems theoretic approach to list decoding using the concept of behavior. The contribution lies in the behavioral solution to the bivari- ate interpolation problem associated to the decoding problem. Particularly attractive from a conceptual point of view is the modularity of the proposed solution. With the received word a set of trajectories is associated. These trajectories in turn generate a behavior fê. This behavior may be represented as the kernel of a matrix of poly- nomials in the shift. After transforming this matrix into weighted row reduced form a row of minimal weighted row degree is selected. Finally, the interpolating bivariate polynomial is obtained from that row in a straightforward fashion. In [11] we also present an algorithm that is iterative in the data points. At each step weighted row 24 reducedness is guaranteed so that the transformation to weighted row reduced at the end is superfluous. The algorithm is in fact a reformulation of [16J. It produces as a by product a parametrization of all interpolants. Some questions remain. Although we only need one row of minimal weighted row degree, we compute the complete weighted row reduced representation of the behavior IB. Having that matrix at our disposal, the question arises whether the other rows may help in the decoding process. In particular, the row of minimal weighted degree may not be unique and we may ask ourselves what additional useful information about the transmitted codeword is possibly carried by the other rows. References [IJ G.D. Forney, Jr. Minimal bases of rational vector spaces, with applications to multivariable linear systems. SIAM J. Control, 13:493-520, 1975. [2J T. Kailath. Linear Systems. Prentice Hall, Englewood Cliffs, N.J, 1980. [3J M. Kuijper. An algorithm for constructing a minimal partial realization in the multivariable case. Systems & Control Letters, 31:225-233, 1997. [4J M. Kuijper. The Berlekamp-Massey algorithm, error-correction, keystreams and modelling. In G. Picci and D.S. Gilliam, editors, Dynamical Systems, Control, Coding Computer Vision: New trends, Interfaces, and Interplay, Progress in Sys- tems and Control Theory, pages 321-342. Birkhäuser, 1999. [5J M. Kuijper. Further results on the use of a generalized B-M algorithm for BCH decoding beyond the designed error-correcting capability. In Proceedings of the 13th Symposium on Applied Algebra Algebraic Algorithms, and Error-Correcting Codes (AAECC), pages 98-99, Hawaii, USA, 1999. [6J M. Kuijper. Parametrizations and finite options,. In J.W. Polderman and H.L. Trentelman, editors, The Mathematics of Systems and Control: from Intelligent Control to Belunnoural Systems (Festschrijt on the occasion of the 60th birthday of Jan C. Willems), pages 59-72, 1999. [7J M. Kuijper. A system-theoretic derivation of the Welch-Berlekamp algorithm. In Proceedings 2000 IEEE International Symp08ium in Information Theory, page 418, Sorrento, Italy, 2000. [8J M. Kuijper. Algorithms for decoding and interpolation. In Brian Marcus and Joachim Rosenthal, editors, Codes, Systems, and Graphical Models, volume 123 of The IMA Volumes in Mathematics and its Applications, pages 265-282. Springer- Verlag, 2001. [9J M. Kuijper, R. Pinto, and J.W. Polderman. The predictable degree property and row reducedness for systems over a finite ring. Linear Algebra and its Applications, 2007. To appear. [10J M. Kuijper and J.W. Polderman. A behavioral approach to list decoding. In D. Gilliam and J. Rosenthal, editors, Proceedings of 15th International Symposium on Mathematical Theory of Networks and Sy8tems, pages 1-13, UniversityofNotre Dame, Indiana, USA, 2002. [11J M. Kuijper and J.W. Polderman. Behavioral models for list decoding. Journalof Mathematical and Computer Modeling of Dynamical Systems (MCMDS), 8:429- 443,2002. 25 [12] M. Kuijper and J.W. Polderman. Reed-Solomon list decoding from a system theoretic perspective. IEEE Trans. Inf. Th., IT-50:259-271, 2004. [13] M. Kuijper, M. van Dijk, H. Hollmann, and A J. Oostveen. A unifying system- theoretic framework for errors-and-erasures Reed-Solomon decoding. In S. Boztas and I.E. Shparlinski, editors, Applied Algebra, Algebraic Algorithms and ErTOr- Correcting Codes, LN in Computer Science 2227, pages 343-352. Springer, 2001. [14] M. Kuijper and J.C. Willems. On constructing a shortest linear recurrence relation. IEEE Trans. Aut. Control, 42:1554-1558, 1997. [15] M. Kuijper and J.C. Willems. An algorithm for computing a shortest linear re- currence relation for a sequence of matrices: generalizing the Berlekamp-Massey algorithm. In Proceedings 1998 IEEE International Symposium on Information Theory (ISIT'98, MIT Cambridge, USA), page 441, 1998. [16] R. Nielsen and T. Hoeholdt. Decoding Reed-Solomon codes beyond half the min- imum distance. In J. Buchmann, T. Hoeholdt, T. Stichtenoth, and H. Tapia- Recillas, editors, Coding Theory, Cryptography and Related Areas, pages 221-236, Berlin, 2000. Springer-Verlag. [17] J.W. Polderman and J.C. Willems. Introduetion to mathematical systems theory: a behavioral approach, volume 26 of Texts in Applied Mathematics. Springer, New York NY, USA, 1997. [18] M. Sudan. Decoding of Reed-Solomon codes beyond the error correction bound. 1. Compl, 13:180-193, 1997. [19] M. Sudan. Decoding of Reed-Solomon codes beyond the error correction diameter. In Proceedinqs of the 35th Allenon Conference on Communication Control and Computing, 1007. [20] J.C. Willems. From time series to linear system. part II: Exact modelling. Auto- matica, 22:675-694, 1986. [21] J.C. Willems. Paradigms and puzzles in the theory of dynamical systems. IEEE Trans. Aut. Control, 36:259-294, 1991. 26 On the application of FEe to counter packet loss caused by buffer overflow Frederik Vanhaverbeke, Marc Koen Laevens, Natalie Degrande, Moeneclaey Danny De Vleeschauwer TELINIDIGeOM Alearel-Lucent, Copernicuslaan 50, Ghent University, Sint- B-2018 Antwerp, Belgium Pietersnieuwstraat 41, {koen.l aevens,natalie. degrande, B-9000 Gent, Belgium danny. de _ v leeschauwer }@alcatel- {fv,mm }@telin.ugent.be lucent.be Abstract In this paper we investigate the impact of Forward Error Correction (FEC) on the packet loss ratio when packetized video flows are transported over a network in which packets are at the risk of getting lost due to buffer overflow. The use of FEC in these circumstances is a mixed blessing. On the one hand, it increases the packet rate associated to each video flow (due to FEe overhead), and hence, it increases the original load on the network, which in turn results in a higher buffer overflow probability. On the other hand, FEe allows for the reconstruction of lost packets, which alleviates the problem of buffer overflow. We find in this paper that the beneficial effect of many Reed-Solomen FEC codes on the packet loss ratio outweighs the detrimental effect (caused by the load increase) up to original loads in excess of 95%. What is more, for lower original loads the overall effect of FEe coding can take the packet loss ratio down by several orders of magnitude as compared to a system without FEe coding. 1. Introduetion Conceptually a packet-based network transporting video often has a tree structure (see figure I): in its simplest form it consists of I) a common link between an ingress node (in which the video flows are injected) and a fan-out node, and 2) individuallinks from the fan- out node towards each individual user. For video flows transported over a packet-based network the Packet Loss Ratio (PLR) seen by the video decoder needs to be kept low enough as each packet that is unavailable to the decoder translates in a visible distortion and users do not tolerate a high rate of visible distortions. On the one hand, the individual links towards the various users are in many network technologies prone to packet loss caused by transmission errors on these links. Forward 27 Error Correction (FEC) [1] schemes have been considered to combat this kind of packet loss (see e.g., [2,3,4]), and it is well known that these schemes can compensate for packet loss on those links at the expense of some additional delay and overhead bit rate [5]. _~ user 1 ,---------~ ------ er 2 Video Ingress node common: Fan-out ::. - - -~ us source L.__W_i_th_b_u_f_fe_r__jI-~:':'li:':'n:':'k=__'~ __~?_~e j _ -._ user M Figure 1: Tree structure of the packet-based network. On the other hand, the common link between the ingress node and the fan-out point is usually free of transport errors, but since it needs to transport all packets of all individual video flows destined for different users there may be some contention in the ingress node. Indeed the arrival of the packets of the aggregate of all video flows in the ingress node is governed by a random process and it may occur that a packet arrives at the time an earlier packet is still being transported. Therefore, a "First In First Out" (FIFO) buffer is foreseen in the ingress node to temporarily store packets awaiting transport over the common link towards the fan-out node. Since this buffer has a limited storage capacity, it may happen that an arriving packet sees a full buffer and consequently is lost. The overflow probability depends on the buffer size and the traffic characteristics of the aggregate of all flows. In this paper we examine whether a FEC scheme can alleviate packet loss caused by buffer overflow. At the source we group K consecutive packets and expand this set by means of a (K,N) FEC code. That is to say, for the set of K information packets we calculate (N-K) parity packets that allow for the recovery of (information) packets that are lost due to buffer overflow. In doing so, we are able at the receiver to recover some (information) packets that have been lost (due to buffer overflow). The drawback, however, is that FEC introduces an overhead bit rate (made up of the parity packets) which increases the overall load in the ingress buffer - and theassociated packet loss due to buffer overflow - vis-a-vis the original system without a FEC scheme. So, in summary, although FEC coding provides us with a means to fight packet losses due to buffer overflow, it backfires as it results in an increase in buffer load and a concomitant increase of PLR due to overflow. The pivotal question is now how these two influences work out together. Put otherwise, we would like to know whether or not the overall impact of FEC is beneficial or detrimentaL The aim of this paper is to sort this question out. In section IT, we give the mathematical framework used to evaluate the coding-loading tradeoff that is central in this paper. Section III presents the results of the evaluation along with a discussion. And finally in section IV, we draw our conclusions. 28 2. FEC to Counter Packet Loss As explained in the introduction, the impact of FEC on a buffer system is twofold. On the one hand, it increases the load, which leads to a higher probability of buffer overflow. But on the other hand, FEC makes it possible to recover lost (erased) packets. We quantify the impact of both effects in tbe following sections, after we have justified the simplifying assumptions we made. 2.1 System under study Users receive a video flow over a network with a tree topology. All packetized video flows are fed into an ingress node, travelover a common link towards a fan-out node and are further transported over an individual link towards the end-user. The videos are of Higb Definition Television (HDTV) quality requiring a bit rate of about 7.6Mb/s. With tbe usual payload size of (7xI88=) 1316 bytes, this results in a packet rate of about 720 packets/so As we do not concentrate on the individual user links in this paper, we assume that they are error-free. We further assume that enough users are connected to the fan-out node that a Poisson process with arrival rate /I, closely approximates the packet arrival process to the buffer in the ingress node (see figure 2). Since all video packets are of constant size a deterministic process would be the best model for the departure process, but for reasons of analytical tractability' we assume that the departure process is a Poisson process with departure rate 11. When the buffer has 1 server and L buffer places, the buffer in tbe ingress node is modeled by tbe MlMIl/L buffer system, wbich according to [6] has an overflow probability given by: PLRoverjlow = p': ~ (1) no-FEe 1- pL+1 where p (= }jf.1) is the load, and where the subscript 'no-FEC' refers to the fact tbat no FEC coding is applied. In figure 3 we illustrate the behavior of PLR:;~":;~ as a function of the load p and for various buffer sizes L. From this figure we can see that the buffer overflow probability curve sharply increases if the load is increased over the range p E [0.5;1], in particular for buffer sizes L in excess of about 40. Although eq. (1) gives the overflow probability associated with the aggregate, i.e., the probability that a packet of the aggregate flow gets lost, we assume that there is no unfairness, and hence, that eq. (1) is also the PLR seen by the individual video flows. I Note that we also evaluated a more realistic MlD/lIL system. However, the results yielded by both systems turned out to be very similar, apart from a shift in numerical values. We restrict our attention here to the M/M/l1L system as it is more instructive because of the higher visibility. 29 parity packets ·---------1\--- - (N,K) RS FEe packet codeword - -,-----------------------ï BUFFER I ~ ~ Di ~ ~ ~ DD --\-~J-------- - - - - .;- - - information packets But possibly recovered incoming packets erased through FEe decoding of those as long as buffer full packets that make it through Figure 2: The use of FEe to fight packet loss due to buffer overflow. It bears mentioning that when a buffer overflows there is possibly a high correlation in the overflow process (especially when the load is high), i.e., the conditional probability that a packet (of the aggregate) is lost given that the previous packet (in the aggregate) was lost is higher than the unconditional packet loss probability. However, in this paper we only consider the case where the total load p is constituted of many sources each contributing only a small fraction to the total load, such that between consecutive packets of one particular video many packets of other flows are fed into the buffer. As such one individual source "observes" the queue at time instants far enough apart to consider the packet loss of consecutive packets of this individual source as statistically independent. 0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5 load rho Figure 3: Packet loss rate due to buffer overflow in a MIM/l/L system. 30 To be able to compensate for lost packets we add FEe packets at the source (see figure 2). In this paper we consider only Reed-Solomen (RS) codes [7], because they have the best possible performance in terms of erasure restoration capability (i.e., they are maximum distance codes). We collect lOOms worth of packets, i.e., K = 72 packets and add N-K parity packets. The application of RS codes enables us to reconstruct all packets of each packet codeword of N packets (data and parity packets) with no more than N-K erased (i.e., lost) packets. 2.2 PLR increase due to buffer overflow with FEC By observation of figure 3 one can expect a substantial increase in PLR due to buffer overflow when the load is increased in an MlM/lI/L system. A load increase is, unfortunately, an inevitable byproduct of the introduetion of FEe. Indeed, since N packets need to be sent instead of K in the time interval that the video source produces K packets, the use of a (K,N) FEe code introduces a load increase with a factor (N/K). Based on (1), we can state that the application of (K,N) FEe coding pushes the PLR the individual flow sees up to PLRoverflow_( N)L l-Np/K (2) FEe -PK l-(Np/K)L+1 where p (still) stands for the load caused exclusively by the information packets. 2.3 PLR reduction thanks to FEC Of course, the overhead introduced by FEe serves a purpose, which is that it allows for the restoration of erased (lost) packets. Since in this paper we restrict our attention to (K,N) RS codes, up to (N-K) erased packets can be restored in each packet codeword. This means that the recei ver can recover all erased packets of a RS codeword set of N packets as long as the number of lost packets does not exceed (N-K). Since, as explained above, we can characterize the packet loss process experienced by a particular video flow by the PLR alone, we can decouple the erasures in the information packets from those in the parity packets, implying that the probability that n information packets (n>ü) are erased is given by: N~ N~ Pritifo [n, p, N, K] = Ipdara[n]ppariIY[i]= pdara[n] X IppariIY[i] (3) i=max{N-K -(n-I).O) i=max{N-K -(n-l).O) where pdata[n] and pparity[i] are the probabilities that n information packets, respectively i parity packets, are erased. With p = PLR;;%,ow, we can derive these values easily as: 31 · ppartl.Y[i] = (N -KI· i y' (1- p) N - K . -I (4) Finally, if we would like to determine the final PLRFEC of the information packets after restoration of erasures by means of FEe decoding, we have to resort to the following expression: PLRFEC(p,N, K) = J:_ ±n.prin!O[n,p, N,K] (5) K 11=1 which, with (3) and (4), gives: PLRFEC(p,N,K)=-Ln 1 K (KJ pl1(l_p)K-I1.. {N-K L (N-KJ. pi(l_p)N-K-i } (6) K 11=1 n l=max{N-K-(n-ll.01 I 3. Results Based on the expressions (2) and (6), we can evaluate the relationship between the load p of the information packets and the PLR after decoding. We restricted our attention to a set of RS codes with K = 72, and a number of parity packets (N-K) = 1, 3, 5, 7, 10, 14, and 19. We determined the resulting impact of these FEe codes on the PLR after decoding (given by (6» for buffers with size L ranging from about 5 to 145, and compared this to systems without coding. In figure 4 we illustrate the performance for a buffer with typical size L = 40. For values of p below about 0.9, we can see a huge reduction of the PLR from the use of RS coding. Several codes even allow for a reduction of the PLR up to loads in excess of 95%. To better understand the impact of the different codes on the PLR, we show in figure 5 the maximum value Pmax(L) of the load p under which the various RS codes outperform the non-coded systems as a function of the buffer capacity L. From this figure it is plain that the strongest codes have the highest value of Pmax for buffers with little capacity (L < 20). Nevertheless, for buffers with more storage capacity the strongest codes are beaten by more moderate ones. For instance, at L = 40, the highest value of Pmax is achieved for the (72,75) RS code. At even higher values of L (L > 50), the weakest code (72,73) appears to outdo all other codes in terms of Pmax. Apparently, at higher values of L, the higher correction ability of the most powerful codes is not as able to counter the higher increase in overhead - and concomitant increase in packet loss due to buffer overflow - as the less powerful codes. Stated alternatively, at higher values of L the minor increase in overhead of the less powerful codes is more than compensated by the restoration capability of the FEe codes up to higher values of P than is the case with the stronger codes. The underlying reason for this is that the steepness of the loss curve (see eq. (1» increases rapidly with increasing L (as 32 illustrated in figure 3), such that increases in overhead (as with the stronger codes) get punished more severely at higher values of L than was the case with lower values of L. Note that this phenomenon seems to be valid only for high loads, as figure 4 clearly demonstrates that the stronger codes outperform the weaker ones at lower values of p. ê 1= E ~I 1= < =, - -- C r , - ,= I -- ,- r -- , -- Ë! -- ~ --,-1= Ë - r- ; - r- r .=1= 1.00E·10 +-,--'--,--"+-'-'L.!...-'-j--'--'--"--'-+-" 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 1.05 1.1 1.15 Load information packets (rho) Figure 4: Impact of FEC on PLR: L = 40. 4. Conclusions The object of this paper was to evaluate the impact of Forward Error Correction (FEC) coding on the packet loss ratio due to buffer overflow in a network transporting video flows. From the evaluation it was obvious that FEC coding - in particular Reed-Solomon (RS) coding - has real merit in fighting the problem of buffer overflow for a M/M/1fL system. Nevertheless, although RS codes can reduce the packet loss ratio with several orders of magnitude their usefulness remains limited to loads below a certain value Pma:;.. This value Pmax, however, can be quite high (typically in excess of 95% and close to 100%). Finally, the performance of various FEC codes is not solely determined by the correction power of the FEC codes. In fact, the code that reaches the highest values for Pmax is dependent on the buffer size L. For values of L in excess of 50, the RS code with the lowest overhead seems to be superior to the stronger codes in terms of pmax. 33 I: 0.55+-Hl~,-4--+-~~--~~-+--~~~-+--~~~--~~~~~+-~-4--~~~--~4-~-+ ) , o 20 40 60 80 100 120 140 Storage capacity buffer (L) Figure 5: Maximum buffer load p where FEC trumps no-FEe. References [1] G.e. Clark and l.B. Cain, Error-correction coding for digital communications. Plenum Press, 1981. [2] Digital Video Broadcasting (DVB); Transport of MPEG-2 TS based DVB Services over lP based Networks, ETSI TS 102034 v1.3.1, (2007). [3] Multimedia Broadcast Multicast Service - Protocols and Codecs, 3GPP Technical Specification 26.346. [4] Forward Error Correction for Real-time Video/Audio Transport Over lP Networks, SMPTE Specificatien 2022-1. [5] M. Watson, M.-L Charnpel, AL-FEC evaluation report for DVB-IPI, DVB-IPI report TM-IPI2217, August 2006. [6] L. Kleinrock, Queueing Systems, Volume 1, Theory, Wiley, New York, 1975. [7] S. B. Wicker and V. K. Bhargava, Reed-Solomon codes and their Applications, IEEE Press, 1994. 34 A unifying view on template proteetion schemes lleana Buhan Jeroen Doumen Fac. EEMCS, DIES Group Fae. EEMCS, DIES Group University of Twente University of Twente The Netherlands The Netberlands ileana.buhan@utwente.nl jeroen.doumen@utwente.nl Pieter Hartel Rayrnond Veldhuis Fac. EEMCS, DIES Group Fae. EEMCS, SaS Group U niversity of Twente U niversity of Twente The Netherlands Tbe Netherlands pieter.hartel@utwente.nl r.n.j.veldhuis@ewi.utwente.nl Abstract We show that there is a direct relation between the maximum length keys extracted from biometrie data and the error rates of the biometrie system. This information can be used a-priori to evaluate the potentialof the biometrie data in the context of a specific cryptographic application. We model the biometrie data more naturally as a continuous distribution and we give a new definition for the fuzzy extractor that works better for this type of data. We give three examples in this sense. 1 Introduetion Template proteetion can be used to store securely the biometrie identity of a user. A protected template reveal almost nothing about the biometrie data. If a database with secured biometrie data is compromised, the attacker cannot learn anything about the biometrie data. Moreover if such an intrusion is detected the biometrie is not lost, since at any time the proteetion scheme can be reapplied on the original data. As one needs measurements to obtain biometrie data, another inherent problem with biometrics is noise. One cannot use biometrie data directly as a password (or key), since classical cryptography cannot cope with the noisiness of the biometrie data. Uniform and reproducible randomness is the main ingredient for a good password. Unfortu- nately, biometrie measurements do not fit this directly. Template proteetion schemes can be applied as a transformation function on biometrie data to make the password reproducible. By this transformation, biometrics can be used as passwords. Authors estimate the error rate of their system in terms of FAR and FRR, but when it comes to evaluating the strength of the resulting binary sequence different authors have different opinions. Monrose et al. [6) compute the guessing entropy while Zhang et al. [9) try to estimate the number of effective bits in the resulting key and propose a weighting system for choosing the best combination. Chang et al. [3) analyze the security of a sketch by investigating the remaining entropy of the biometrie data, when the sketch is made public. The same approach is taken by [2). Fuzzy extractors [4) where proposed as a general model capable of describing any template proteetion scheme that assumes a discrete source initial data. 35 Contribution. Fuzzy extractors [4] were proposed as a general model capable of describing any template proteetion scheme that assumes a discrete source initia! data. In this paper we extend the scope of the classical fuzzy extractors to continuous source data. We propose CS-fuzzy extractors as a unifying view on template proteetion schemes. This give us new insights. We show that the length and the quality of the bio-key de- pends on the amount of distinguishing information that can be extracted from the initial data. This gives a bound on the number of uniformly distributed bits that can be ex- tracted from a given set of data. This irtformation can be used a-priori to evaluate the potential ofthe biometrie data in the context of a specific cryptographic application. We model existing template proteetion schemes in the framework of cs-fuzzy extractors. 2 Preliminaries Notation and Definitions. We will use UI to denote the set of uniformly distributed binary sequences of length I. When referring to keys extracted from biometrie data we are interested in the probability that an adversary can guess the value of the key on the first try. The min-entropy or the predictability of a random variable X denoted by Hoo(X) and defined as Hr",(X) = -log2(maxxP(X = x)). The nun-entropy tells us the number of nearly uniform bits that can be extracted from the variable X. The Kolmogorov distance or statistical distance between two probability distributions A and E is defined as: SD(A, E) = supvlPr(A = v) - Pr(E = v)l. For modelling the process of randomness extraction from fuzzy data Dodis et al. [4] define the notion of a fuzzy extractor. A fuzzy extractor extracts robustly a binary sequence s from a noisy measurement w' with the help of some public string Q. Enrollment is performed by a function Gen, that on input of the noise free biometrie w and the binary string s , will compute a public string Q. The binary string s can be extracted from the biometrie data itself as in [8] or can be generated independently as in [5]. During authentication, function Reg takes as input a noisy measurement w' and the public string Q and it will output the binary string s if wand w' come from the same user. For a discrete source M endowed with a metric d, the formal definition of a fuzzy extractor [2, 4] is: Definition 1 (Fuzzy extractor) An (M, m, I, t, €) fUZ<.7extractor is a pair of random- ized procedures, (Gen, Reg), where: Gen is a (necessarily randomized) generation function that on input wEM extracts a private string sE {O, l}t and a public string Q, such thatfor all random variables W over M such that Hoo[W] 2: m and dependent variables (s, Q) <-- Gen[w], it holds that SD[(s,Q), (UI, Q)] S €; Reg is a regeneration function that given a word w' E M and a public string Q outputs a string s E {O, I}l, such thatfor any words w, w' E M satisfying d(w, w') :S tand any possible pair (s,Q) <-- Gen[w] , it holds that s = Reg[w', Q]. Distribution modelling. The biometrie identity of a user is described by multiple fea- tures. We assume that the features are independent. For simplicity, we consider a sin- gle feature. Let Sa (tbe subscript a meaning authentic) be the cumulative probability distribution that describes a user in the system. We denote with S9 the cumulative probability distribution of the whole population, the subscript means global. Therefor, pdfg = IxSg(x) and pdfa = IxSa(X) represents the probability density function of the global distribution and the user distribution, respectively. Error rates. The error rates of a biometrie system are determined by the accuracy with 36 which the matching engine can determine the similarity between a measured sample w' and the expected value w of distribution Sa [1]. We can construct two hypotheses: [Ho] the measured w' is coming from the authentic user; [HIl the measured w' is not coming from the authentic user; The matching engine has to decide whether Ho or HI is true. To express the accuracy of a biometrie system the termsfalse acceptance rate, FAR andfalse rejection rate, FRR are used. The false acceptance rate is a Type 1 error and represents the probability that Ho will be accepted when in fact fh is true. Thefa/se rejection rate is a Type II error and represents the probability that the outcome of the matching engine is HI but Ho is true. We have a false acceptance every time another user, from the distribution S9 is generating a measurement which is in the acceptance region described by the interval (Tl, T2). We can then write FAR = 1;'2 pdf9(x)dx = Sg(T2) - Sg(TIl. Every time user Sa produces a sample that is in the rejection area, he will be rejected, thus FRR =1- 1;'2 pdfa(x)dx = 1 + Sa (Tl) - Sa(T2). Dodis et al. [4] assume that the data source M is discrete for the definition of fuzzy extractor. However, the class of template pro- tection schemes that uses continuous sources does not fit this model. The subject of next section is the extension of fuzzy extractor definition to continuous source distributions. 3 Fuzzy extractors for continuous distributions We show in this section if we consider the case of a continuous distribution there is a natural link between the parameters of a fuzzy extractor (M, m, l, t, E). 3.1 From continuous to discrete sources Definition 1 relies on a source M with min-entropy m. How can we construct a source with min-entropy m out of a continuous distribution Sg? A common solution is to divide the measurement axis into intervals. Each interval d; has associated a discrete string Si. Example. In the setting of figure 1 the result of this division is the discrete distri- bution Dg = (di),i = l..n, n = 8 in this picture.The public string Q contains the representation of the quantization. The probability of selecting an interval is com- puted as Pi = Pr[Dg = di] = Id; (pdfgIQ)(x)dx where the integral is taken over the interval di. The continuous distribution Sg has been transformed into the discrete distribution Dg = (di), i = 1, ... , n where n=8. A user Sa can be described by only one authentic interval. We chose the authentic interval di for which the value Pauth = Id, pdfa(x)dx is maximized. In figure 1, d7 best describes user Sa. Now we are able to speak of the min-entropy of Dg denoted by m and defined as m = - log2 Pmax where Pmax = maxi(Pr'[Dg = di])' The effective key space size of a biometrie was linked to Pauth in [7]. The effects of the discretization on the error rates, the FAR and the FRR are shown in figure 1. If we associate to user Sa the discrete variable d7 the FAR for this user will be equal to Pauth, in figure 1 the doubledashed area. The proba- bility of a false rejection is determined by what is left from the distribution of Sa after removing Pauth, in figure I the dashed area. 3.2 Relating min-entropy m and FAR The above construction using the biometrie data creates a tight relation between the rnin-entropy m of distribution Dg and the error rates of the biometrie system. For the 37 I _----1--'-- - FAR /-- pd!g i Lt=82$-:/ ' _------;- : !~;:"z='--.--- dl d2 d3d4 d5 d6 d7 dB Measurements Figure 1: Effects on the error rates of discretization of a continuous distribution output sequence s to have a small chance of guessing the correct value from the first try we have to maximize the min-entropy by lowering the values of all the probabilities Pi. Unfortunately, by lowering Pi we increase the FRR . Proposition 1 For the above defined distribution Dg we have m :::: -log2 FAR with equality when Pauth = Pmax. Proof We take Pma.1:= maxip«, Since Pm=: 2: Pauth, we know that: m = -log2Pmax .::::-log2Pauth = -log2FAR Corrolary 1 FAR:::: 2-m with equality when Pauth = Prnax. Fact: m is maximized when the probabilities associated with the discrete distribution Dy are uniform. 3.3 Relating threshold tand FRR According to definition 1 the Reg[w', Q] procedure will output the same binary sequence s as Gen[w] whenever wand w' are close. This means that wand w' probably belong to the same user. In definition I this is written as d(w, w') < t, where d is some metric, for example the Euclidian distance or the set difference metric. The value of t, does not say anything about the acceptance or the rejection probability of a user which, we feel, is more relevant. Also a suitable metric is not always available in the case of continuous sources. The probability of correctly identifying that two measurements belong to the same user is the opposite of a Type II error, thus the detection probability Pd = 1- FRR is a suitable generalization of the threshold t. 3.4 Relating min-entropy m and length l to E We show in this section that given the number of bits 1 that we want to extract, and the ruin-entropy, m = Hco(Dg) for a feature we can estimate E, the distance of the output sequence distribution to the uniform distribution. We are interested in the statis- tical distance between the ideal distribution of s where the generated key is distributed 38 uniformly, i.e. in UI, and the actual distribution of s given the helper data Q. é = SD[(S, Q), (UI, Q)] sup IP(s E SIQ E Q) - P(s E UdQ E Q)I s Looking at the last term, since the uniform distribution is independent of the helper data, we can write P(s E UtiQ E Q) = P(s E Uz) = z-l. Introducing the notation P( s IQ) := P (s E SIQ E Q), this gives f = s~p Ip(sIQ) - =l sUPs(P(sIQ) - 2-1) when P(sIQ) 2: 2-1 m;x { sup,,(2-1 _ P(sIQ) when P(sIQ) < 2-1 Note that the true value of E will be the largest of these two cases. Studying the first case, we get while in the second case we get with equality when there exists a key sequence that is never attained. If we compare the two cases, we see that the first case represents the value of E if 2-m - 2-1 > 2-1, i.e. when m S I - 1. To conclude, this shows that E can be bounded from above in terms of the ruin-entropy m and Ias follows: ES E(m, I) = {~-l 2-rn _ 2-1 if if if tri==L, 1-1 < m < I, SI-I. 3.S CS-fuzzy extractors The above relations lead us to the following definition of the fuzzy extractors for con- tinuous sources. Definition 2 An (S9' m, I, FRR) cs-fuezy extractor (continuous sourcefuzzy extractor) for the user distribution Sa is a pair of randomized procedures, "generate", Geil, and "regenerate", Reg, with thefollowing properties: Gen is a (necessarily randomized) generation function that on an input Sa extracts a private string s E {O, 1}1 and a public string Q, such that for any user distribution Sa if (s, Q) t- Gen[Sa] then SD[(s,Q), (UI, Q)] S E(m, I), where E(m, I) is defined above. Reg is a regeneration function that given a measurement Ui sampled from Sa and a public string Q outputs a string s E {D,1}I, s = Reg[u', Q], where (s,Q) t- Gen[Sa]' with probability equal to the detection probability, Pd = 1 - FRR. Cs-fuzzy extractors preserve the mechanism of the generate and regenerate functions as proposed in the original fuzzy extractors definition. The link between the used param- eters in each model was described in the preceding sections, thus any fuzzy extractor is also a es-fuzzy extractor. 39 3.6 Examples In the following we take three template proteetion schemes for continuous source data from the literature and show that they can be fitted in our model. All schemes are described for one feature only. Reliable component scheme One of the most intuitive schemes in the area of template proteetion is the reliable component scheme proposed by Tuyls et al. [8J. Gen During enrollment M samples (Wl, W2, .. WM) are measured. This is followed by quantization, where a sequence (QI, in, .. qM) is computed. Here, each measured value Wj, j = l..M is compared to the imposter mean J.Lg. If Wj :s; J.Lg then qj = 0 else qj = 1. A feature is called reliable if all qj are equal. Only in that case will the feature be used. The public string Q consists of the positions of the reliable cornponents. Reg During authentication, a noisy version of w, w' is measured. For each reliable component (we look at Q) its value is compared to J.Lg. The result represents the key. This scheme will extract I bit from every reliable component, with probability equal to l-FRR. We write the reliable component as a (5g, 1, 1, FRR) es-fuzzy extractor where fl"g e -(x2-;;~a)2 dx J.La > J.Lg FRR = -00 _(x_"a)2 ' { fCO e 2aa dx J.La < J.Lg. JJ).9 ' Shielding functions Linnartz et al. [5] were among the first to suggest how to get keys from continuously distributed sources. Their technique is inspired by watermarking. They propose a multiple quantization level system with odd-even bands, see figure 2. Gen For one feature, the bit s is embedded by shifting the mean W of the template distribution to the center of the closest even-odd q interval if the value of the key bit s is a I, or to the center of the closest odd-even q interval if the value of the key bit s is a O. The public string Q, called helper data is computed: Figure 2: Shielding function discretization; embedding a 0 value key bit. (2n+~)q-w when s =1 Q- { - (2n- ~)q-w when s=o 40 Where n E Z and is chosen such that: -q < Q < q. Reg is defined as: I when 2nq::;w'+Q«2n+l)q Reg[w', Q] = ' { 0, when (2n - I)q ::; w' + Q < 2nq During authentication a noisy feature w' is extracted. The key bit is 1 if tbe sum of the noisy feature and the helper data is in an odd-even interval and is Ootberwise. Whenever the measured value has an error greater than 1 we can get an error in the key computa- tion. This scheme can be written as a: .s: ;a e-x2 dx. (3+4i) is; I, 1, FRR) os-fuzzy extractor where FRR = a« 2v'2l:~o f(l~~~) 2..12 ;:;: The FRR depends on the quantization step q. When q is larger, the noise tolerance is higher as well. On the other hand, if q is smaller, the FAR goes down. Tbe output sequence is uniform in this scheme as well. Chang multi-bit scheme. Chang et al. [3] select the distinguishable feature of a user to extract multiple bits from eaeh of these features. For each feature the left and the right boundaries, Land R of the impostor distribution are selected so that with high probability a measurement from any user falls in this interval. Gen The selected FAR determines for each feature an authentic region, see figure 3, delimited by Tl, T2. The whole region L, R is divided in segments that have a length equal to the segment determined by Tl and T2. A label is associated with each segment. It can happen that some redundant segments are added to the left and to the right of L respectively R to use all labels of a given length. In figure 3 three more segments with the labels 000, 100 and 011 can be added, here the genuine interval has label lOl. The public string Q contains the description of the intervals and the associated labels. Reg Every time a user submits his biometrie data to the system his feature will fall in /\ I\ I I \\ I I \ ~o !Pc/fa \ .o il- Authenticzone I fb -, ! \ \\ _- __'-i --r--- -i_7: PI_ ~. ___ _P4- -1'-- I I pd/g )~~/J. P -/'L/I\. --~----- e j I Tl T I 001 I 110 i 111 101 010 I Measuremnts R Figure 3: Chang discretization one of the published intervals. The label associated with this interval represents the key ofthis user. An authentic user will be in the authentic area with probability I-FRR. This process is repeated fr every user, for every feature. Thus they have defined T 1'9+ I 2;T11 IL-RI an (Sq, m, i, FRR) where m = 1092 f IT2-T I pdf(Sg)dx and I = l09217' -T I' The JJ.9-~ 2 1 mathematical relation for FRR is 1 - f~2 pdf(Sg)dx. 41 4 Conclusion and Future Work Fuzzy extractors are a theoretical tool for modelling and comparing template proteetion schemes which use a discrete source. We generalize the definition to es-fuzzy extrac- tors, which can also handle the continuous source cases. We applied our model on three template proteetion schemes. Biometrie authentication systems are evaluated using the false acceptance rate and the false rejection rate. The link between the two was hitherto not obvious even though they refer to the same data. In this paper we show, that there is a natural connection between the false acceptance rate, false rejection rate and the pa- rameters used to evaluate a template proteetion scheme implemented on the same data. We also show that the error rates have a direct influence on the length and robustness of the key extracted from the features of a user. In this paper we only consider the one dimensional case. However, biometrie data contains multiple features for each user. As future work we want to investigate the influence of various feature aggregation methods on the length and robustness of the key. References [1] Ruud Bolle, Jonathan Connell, Sharanthchandra Pankanti, Nalini Ratha, and An- drew Senior. Guide to Biometrics. SpringerVerlag, 2003. [2] Xavier Boyen. Reusable cryptographic fuzzy extractors. In Vijayalakshmi Atluri, Birgit Pfitzmann, and Patriek Drew McDaniel, editors, ACM Conference on Com- puter and Communications Security, pages 82-91. ACM, 2004. [3] Yao-Jen Chang, Wende Zhang, and Tsuhan Chen. Biometrics-based cryptographic key generation. In ICME, pages 2203-2206. IEEE, 2004. [4] Yevgeniy Dodis, Leonid Reyzin, and Adam Smith. Fuzzy extractors: How to gen- erate strong keys from biometrics and other noisy data. In Christian Cachin and Jan Camenisch, editors, EUROCRYPT, volume 3027 of Lecture Notes in Computer Science, pages 523-540. Springer, 2004. [5] Jean-Paul M. G. Linnartz and Pim Tuyls. New shielding functions to enhance pri- vacy and prevent misuse of biometrie templates. In Josef Kittier and Mark S. Nixon, editors, AVBPA, volume 2688 of Lecture Notes in Computer Science, pages 393- 402. Springer, 2003. [6] Fabian Monrose, Michael K. Reiter, Qi u, and Susanne WetzeI. Cryptographic key generation from voice. In IEEE Symposium on Security and Privacy, pages '7.0'?-'I.1··\, '70n1 [7] L. O'Gorman. Comparing passwords, tokens, and biometrics for user authentica- tion. Proceedings ofthe IEEE, 91(12):2021-2040, 2003. [8] Pirn Tuyls, Anton H. M. Akkermans, Torn A. M. Kevenaar, Geert 1an Schrijen, Asker M. Bazen, and Rayrnond N. J. Veldhuis. Practical biometrie authentication with template protection. In Takeo Kanade, Ani! K. lain, and Nalini K. Ratha, editors, AVBPA, volume 3546 of Lecture Notes in Computer Science, pages 436- 446. Springer, 2005. [9] Wende Zhang, Yao-Jen Chang, and Tsuhan Cben. Optimal thresholding for key generation based on biometrics. In ICIP, pages 3451-3454, 2004. 42 A Beehive Approach to e-Commerce Mobile Agents Martin van Hensbergen Bartek Gedrojc, Jan c.A. van der Lubbe Fox-IT Delft University of Technology Forensic IT Experts Fac. EEMCS, ICT Group Delft Delft The Netherlands The Netherlands hensbergen@fox-it.com {B.Gedrojc, J.C.A.vanderlubbe}@tudelft.nl Abstract In tbis paper we introduce a practical mobile agent scenario which could be used as a basis for an e-commercc setting. Our approach is not based on a centralized trusted environment but on tbe use of multiple agents; analogue to a beehive where there is one queen who makes the decisions and multiple drones that do the work. Our results provide privacy of the itinerary of the mobile agents, protects the agents' code and the query. We also provide a mechanism to skip certain hosts without the intervention of the user. 1 Introduetion We consider the problem of conducting e-comrnerce in a secure way using mobile agents in an untrusted environment. Mobile agents are autonomous pieces of software that run on remote hosts in order to carry out a task on behalf of its user. The code of the agent itself, together with some other data, is transported over the internet as opposed to only data. The agents we consider operate in an e-comrnerce environment where the goal is to purchase a desired item for a user. They visit a collection of hosts, which can be malicious, curious or honest, that may or may not sell the article in question, ask them for an offer and eventually decide which offer is the best. This best offer is then digitally signed by the agents to commit themselves to the offer made by the host. 1.1 Security issues and related works Since the agents are executed on other computers than that of the user, namely those of the merchants, the execution of the agent may be tampered with to bias the output of the agent in favor of the merchant. Therefore, the agent may want to hide certain information from the merchant, like its maximum price it is willing to pay for an item and which other merchants it will ask for a bid, in order to give as little information away as possible. Of the possible attacks that malicious hosts can mount, the internal replay attack is one of the most easy to realize attacks. Especially if the agent outputs some value (e.g. whether or not it agrees to an offer made) to the host. In this case, the malicious host can use the agent as an oracle to extract private information (e.g. the decision-logic and parameters) from it by executing it a numerous times with different inputs and observing the outputs. For a very concise review on the possible security risks with agents, please refer to [12, 13]. Mobile agent technology is blending of a number of technologies, in particular artificial intelligence and mobile code. Mobile code is the transfer of code or function call, from one host (sender) to another (the recipient), which is executed on the recipient's side. It is often used in cases where band-width limitations make it more efficient to send code to the data than vice versa. In combination with artificial intelligence, mobile code may be more autonomous and may travel a more complex path to execute more complex functions. 43 The transfer of code from one computer to another computer and the execution thereof poses a number of security issues. The two main categories of these issues are the malicious code problem and the malicious host problem. In the first category we find problems that deal with protecting the executer of the mobile code from the sent code. As an example, the recent numerous outbreaks of computer worms and trojans [5] show that executing malicious software can have enormous negative consequences. A number of techniques have been suggested, and used, to alleviate some of these issues, like sandboxing (8) and the use of certificates which states what agents should be able to do or not do [16]. The problems in the latter category concern with the successful execution of the sent code by a host, which you mayor may not trust. Since the mobile code is transported to hosts that you may not trust and may have incentives to manipulate or spy on the code or data the agent carries, proteetion mechanisms must be in place to prevent, or detect, tampering of code, replaying the code multiple times (to clone it or observe behavior) or spying out of certain secret data carried by the code. Much literature is available which deals with different aspects of the malicious host problem [3, 1). Although not many papers deal with privacy of itineraries of multi-hop agents, different approaches are known regarding the prevention of altering itineraries. Ensuring that an agent transports itself to the proper next destination can be done e.g. by Mutual Itinerary Recording (11), whereby multiple agents validate each-other's itinerary. On moving on to the next host in its itinerary, an agent relays the previous destination, current destination and next destination -through an authenticated channel -to another agent on another host, which records this and warns for any discrepancies. Drawbacks of this scheme include the cost of setting up such an authenticated channel, as well as the communication overhead through that channel. Some suggest a notion like a Trusted Agent Proxy server [6], which is a trusted middleman server that anonymises authenticated agent entities in agent itineraries and providing a trusted base from which agents are sent to untrusted environments. Having a trusted element within your malicious environment is a good way of mitigating risks but it is quite a stringent require- ment. Another method of protecting the agent's code from tampering and inspection, as suggested in [lO]and [9], is to use trusted hardware in the agent platforms which can execute encrypted functions. But the cost of requiring such hardware can be prohibitive. The use of code-signing schemes, as used in e.g. Agent TeL [7], is also a recognized method to prevent alteration of the mobile agent's code. But unfortunately, only the code is au- thenticated by the author, while agents usually take different parameters that are specified by the user of the agent and not the author. These parameters should also, somehow, be authenticated and protected. In this paper, a number of issues are addressed in the malicious host setting which deal with the proteetion of agent's itinerary, preventing replay attacks and minimize the risk of loss of private data. 2 The agent model In this section we will define our problem statement in section 2.1. Then we give an high-level description of our approach in section 2.2 and in section 2.3 discuss the main cryptographic techniques which will be used in the solution to the problem. 2.1 Problem statement Rather than concentrating on one particular problem of the agent's execution, a number of different aspects of the security of agents are addressed. An agent consists of, among other things, the agents' code, an itinerary and a query. The code is the program itself which will be executed by the host. The itinerary is a list of hosts 44 that the agent will visit in order to obtain information. The query describes what the agent is looking for on behalf of the user. Furthermore it is required that the itinerary, query and code of the agent be protected from malicious hosts. Malicious hosts should not be able to change any of these without being detected before signing the final bid. We want to minimize the amount of network traffic that the agents generate, while at the same time let the agent visit as many of the hosts in its itinerary as possible. In order to minimize the traffic of the agent, it is assumed that the agent visiting the hosts is a multi-hop agent. For the travel route of the agents we do not all ow a star topology, where the agent returns after each hop to a central host where it gets its new destination. The main reason being that, if the total number of hosts to visit by the agent equals n, this method requires 2n communication hops to complete its route. Rather, we want to let host i in the itinerary send the agent to the next host i + 1 immediately so that the number of communication hops equals n. Especially for large n this is beneficial. In practical situations it is possible that a host Hi in the agent's itinerary may not accept agents due to malfunctioning, being too busy, etc. Measures should be in place to deal with these situations such that if the agent is on host Hi-1 and cannot be sent to Hi, it can skip the malfunctioning host without human-intervention. However, this requirement should not imply that host Hi_1 should always know the locations beyond host Hi or before Hi-2• A host should only know where the agent comes from and where it has to go next (because it has to send it to that host). The internal replay attack being the most easy to mount attack, the agent model should prevent these attacks from being fruitful. Again, the actual replaying cannot be prevented but it should not be worthwhile to do so. 2.2 Approach The key to our approach is the use of multiple agents for one goal with strict separation of tasks for each agent. Considering the fact that a decision process of selecting the best offer can only begin after all necessary information is collected, it seems natural to split the task of data collecting and decision making into two separate agents. Analogous to a beehive where there is one queen who makes the decisions and multiple drones that do the actual work, we shall speak of drone agents and queen agents. These two types of agents can shortly be characterized as: • Drone An agent that can only collect data but does not have any decision making logic • Queen An agent that takes the output of the drone(s) and makes a decision based on that data The greatest adversaries an agent faces are the malicious hosts, as these can mount any type of attack possible on the agent, whereas a curious host will execute the agent correctly but will try to learn any secrets it may finds. For this reason one doesn't want to expose an agent with decision logic to these malicious hosts as this would make the agent's secrets very vulnerable to attack. The gathering of information is a rather neutral activity however and sending only a drone to collect the information will keep the decision logic well away from the malicious hosts. The queen, which does carry the decision logic, will not pass any malicious hosts. Rather, it is executed on a fixed - at most curious - host HQ and is quite immobile compared to the drone. The queen will thus travel only to a curious host where it waits for the drone's arrival. Once the drone and queen are together they will make a decision on the best offer. There is also a third agent involved, called the helper-agent, which will be involved when the drone cannot be sent to its next destination. This helper-agent will also reside on a curious host (which can either be the same or a different host as where the queen resides) but will not 45 move from there. The helper-agent is only needed when a host Hi in the drone's itinerary does not function, otherwise the helper-agent will just shut down after a pre-determined time. We can thus define three layers of trust in our agent model. The first layer is the trusted layer; all hosts in this layer are completely trusted. Only the host of the user (the instantiator of the agents) is situated in this layer, which allows for the instantiation of the agentes) to occur in a safe environment. The second layer is a curious layer where the helper-agent and queen reside, while the third layer is the malicious layer where the drones operate. Agents do not move from the curious to the malicious environment and only the drones move from the malicious to the curious environ- ment at the end of its data collection task. We assume that none of the hosts in the malicious environment collude with the hosts in the curious environment (although we will show in some cases what happens if this assumption is not valid). Note that the above implies that one knows a-priori of the hosts in the curious layer that they are, indeed, curious and not malicious; something you don't always know in advance. The rationalization of the existence of such hosts can be by considering them as being an Agent Ser- vice Provider (ASP), much like there are Internet Service Providers. An ASP is an independent service provider that, maybe in exchange for a fee, hosts agents for subscribers. This ASP does not take part in the bidding scheme -it just provides computing power for agents to execute. As it is a service provider, it is not in its business advantage to tamper with its customers' agents so it is reasonable to assume that the agents are executed correctly. However, the ASP might be curious ( perhaps not as an entity, but maybe individual system administrators working for the ASP might not be trusted). 2.3 Cryptographic techniques In order to protect different aspects of the agent model a variety of cryptographic techniques and concepts is needed. None of the protocols are described at algorithm level, which means that a suitable algorithm can be chosen whenever a hash-function or encryption algorithm is used. The encryption of a value v with a symmetric encryption algorithm using key K is denoted as EK (v), whereas the encryption of the value using the public key of a particular host Hi is denoted as EH,(V) (or EpH(v)). A digital signature over a value v with host HIs private key will be denoted by Sigu,(v). Secret Sharing Scheme. For the storage of the secret parameters in the queen a public key encryption algorithm is used. Since this storage will need to be decrypted once the drone has reached the queen, a secret sharing algorithm is used to split the decryption key in two parts; one which is given with the drone and one which is given to the queen e.g. [14,2]. Without the presence of the drone, the host which executes the queen cannot decrypt the secret data stored in the queen. Threshold Signature Scheme. Since the agents need to sign the best bid at the end of the journey, a signing key must be stored by the agents. For obvious reasons this key cannot be placed in the drone. Placing the signing key in the encrypted storage of the queen, while better suited, bas the drawback that the signing key will be reconstructed in its entirety on a curious host. To counter this a threshold signature scheme is chosen e.g [4]. With a threshold signature scheme, the signing key is split into two parts. Each patty in the signature process can use its share to create a partial signature on a message. These partial signatures can then later be combined to create one complete signature. In our model we let the merchants partially sign their bids all with the same share and give that to the drone. Once the queen finds the best offer, it creates a partial signature of that same offer with its share and combines the two partial signature to one complete signature. This way, the complete signing key is never reconstructed in one place. 46 Hash Chaining. Is a method of providing integrity of data when this data is being augmented by multiple parties. The within this section described hash chaining technique is taken from [15]. The protocol described here will need some modifications for our agent model, but the principles will remain the same. Each host Hi that the drone visits will add its offer Oi to an encrypted storage in the agent. By using hash chaining, host Hi not only adds its offer to the storage, but also makes a commitment that he adds it to the proper storage, by including a hash of the previous storage state. Each host Hi will follow the following protocol for storing its offer Oi to the storage. • Encapsulated offer: (1) • Chaining relation: ho h(oo, HIJ (2) hi h(Oi-l, Hi+l), 1:; i < n (3) Here, 00 is initial information (e.g. identitiy of the agent), Oi the offer of host Hi, Di the encap- sulated offer from host Hi, Ti a random number generatated by Hi, EpQ (v) is the encryption of value u with the public key of the queen and h(.) a cryptographic hash function. The encrypted storage will consist of the chain Do, Ol, ... , On. The essence of the protocol is that a host Hi signs both its offer and a hash value taken over the last encapsulated offer and the next destination of the agent. If a malicious host Hi would like to delete, for example, an offer Ok(k < m), from the storage, then this will be detected during verification of the hash chain because the committed value hk+l will not verify. 3 Protocol This section will describe the protocols to instantiate the drone, queen and helper agents, the bidding protocol, the help-protocol and the decision protocol. The complete process of creating agents, sending them out and gaining the results is called a mission. 3.1 Instantiation of the Agents For each mission, three agents will be constructed. Let the itinerary of the drone be given by the hosts HI, H2' H3, ... ,Hn, HQ where Hi(l :; i :;n) are merchants and HQ is the location of the host which executes the queen. Let Hp denote the location of the host which hosts the helper-agent. Fix a security parameter m :; 1 which denotes the maximum amount of succeed- ing hosts that may fail so that the drone can still continue its journey. The case m = 0 does not require a helper agent so we ignore this case. Denote the parameters which describe the item(s) that the agent seeks with Q and the secret decision parameters or logic by F. Mission instantiation . • Generate a public key PQ, which will be used to encrypt the Queen's data, and split the corresponding private key in two parts SQl and SQ2 using a secret sharing scheme . • Generate a secret signing key S, which will be used to sign the best offer by the merchants, and split the signing key in two parts 8 I and 82 using a threshold signature scheme. Drone instantiation. In this protocol, h is a strong cryptographic hash function which generates d bit bashes (with d sufficiently large) and Tik means the first k bits of the bit-string T. 47 1. Choose a k such that 2k = I{Hi}1 and k < d/2. 2. For each host Hi to visit, generate a symmetric encryption key K, and a (small) random nonce r, (1 ~ i ~n), such that rdk #- rjlk for j < i and a random nonce ru. 3. Calculate iteratively the itinerary as I" = HQ (4) I, = [EpH, (Kj, ril, EK, (Hi+l, SQ2' Ii+1)] with i = ti - 1, ,n - m (5) I, = [EpH, (Ki, ril, EKi(Hi+l' Ii+I)] with i = n - m-l, ,1 (6) Store h, PQ, SQ2 and the location of the helper-agent in the drone and send it to HI' Queen instantiation protocol . • Calculate the encrypted storage: EpQ (HI, ni, H2' n2, .... Hn, nn, F, 52) • Store the encrypted storage together with SQ] in the queen Helper agent instantiation protocol. Calculate and store the following lookup-table: Table 1: Helper agent lookup-table, Look-up key value verification with t = 1, ... ,m and i = 1, ... ,n - 1. 3.2 Execution of the Agents When the agents are initialized, the queen and helper-agent are sent to their respective agent service providers. The helper-agent awaits instantiations of the helper protocol and is deacti- vated after a pre-determined period, so helper agents will not leave the ASP once they are there. The queen awaits the coming of the drone or gets deactivated after a pre-determined period whichever comes first. The drone is sent to HI and continues its journey from there. Offer collection protocol - drone at merchant. When a drone is executed on a host Hi, the following protocol is ,executed 1. Host Hi uses its private key to decrypt the first element of 1;, as given in (??) and (??), to obtain Ki, which can be used to decrypt the second element of l, to obtain Hi+l and the rest of the (encrypted) itinerary. 2. Host Hi creates an offer Oi and uses 52 to partially sign its offer, denoted by Cj,2 3. Host Hi calculates using PQ the encapsulated offer using the following hash chaining relations: If help-protool was not needed: o, = SigHi(EpQ(oi,Ti,cd,hil,O ~ i ~n. (7) hi = h(Oi-l, Hi) (8) 48 If help-protocol was needed to skip t hosts: O, = SigH, (EpQ(oj, Ti, Ci,2), ni+l, ni+2, ... , niH), hi) (9) hi = h(Oi-[, Hi+t+d (10) 4. The hash chain, Ii+1 and agent are sent to the next destination. In case step 4 fails, the help of the helper-agent is called and the following help-protocol is used: Help protocol - drone at merchant communicating with helper-agent. l. Hi sends a help request to the helper agent consisting of the tuple Ti, 1I2, ... n; .n, where Ti is the value included in I, and HI, H2' ... , tt, are the hosts it wishes to skip 2. P checks if 1 ::; 5 ::; m and if Ti Ik is part of its lookup table. If not, it aborts. 3. For each k = 1, ... ,S execute step 4 4. P verifies if h(TiIIHk) = hi,k 5. Preturns EKi(EpH,(Ki+"ni+S)) to Hi Decision protocol - drone and queen at HQ. Once the drone reaches the queen, they will together decide on the best offer. For this to work, the following steps must be undertaken: l. SQ! from the drone and SQ2 from the queen are combined to obtain SQ 2. The queens encrypted storage is decrypted using SQ, thereby obtaining the decision logic, the other half of the signing key SI and the itinerary that the drone should have followed 3. For each encapsulated offer that the drone has collected execute steps 4 - 6 4. Decrypt O; to get actual offer Di 5. Verify if signed by a host which was included in itinerary, if verification fails: abort 6. Verify if each signer is only represented once 7. For each host Hi E ID that did not do an offer, verify if n, is present in encrypted storage. If verification fails: abort. 8. Input the offers 01,02, ... , On into F to determine b offer Ob 9. Use 52 to partially sign Ob and combine with Cb,! to make the signature complete. 4 Conclusion In this paper we have introduced a practical mobile agent scenario which could be used as a basis for an e-commerce setting. By defining strict tasks for each agent, we prevent sensitive data from being exposed to the possibly malicious merchants during the bidding process. Even though we use a multi-hop agent with fixed itinerary to travel to the different merchants, mer- chants see only a very small part of the agent's itinerary. In case of failures in the agent's itinerary, a help protocol can be executed to overcome this difficulty. If all of the hosts function properly this help protocol is not needed. Protocols are described in a general so that different algorithms could be used depending on other (performance and storage) factors. 49 References [1] J. Algesheimer, C. Cachin, J. Camenisch, and G. Karjoth. Cryptographic security for mobile code. In Proceedings of the IEEE Symposium on. Security and Privacy, page 2. IEEE Computer Society, 2001. [2] G.R. Blakely. Safeguarding cryptographic keys. In Proceedings AFIPS 1979 National Computer Conference, pages 313-317. AFIPS, 1979. [3] C. Cachin, J. Camenisch, J. Kilian, and J. Müller. One-round secure computation and secure autonomous mobile agents. In Proceedings of the 27th International Colloquium on Automata, Languages and Programming, pages 512-523. Springer-Verlag, 2000. [4] Y.G. Desmedt and Y. Franke!. Perfect homomorphic zero-knowledge threshold schemes over any finite abelian group. SIAM J. Discret. Math., 7(4):667-{j79, 1994. [5] G. Gebhart. Wormpropagation and countermeasures. The SANS Institute Security Read- ing Room, 2004. [6] M. Giansiracusa. Mobile agent proteetion mechanisms, and the trusted agent proxy server (taps) architecture. Technical report, Information Security Institute (lS1), 2003. [7] R.S. Gray. Agent tel: A flexible and secure mobile-agent system. Technical report, Hanover, NH, USA, 1998. [8] C. Lai, L. Gong, L. Koved, A. Nadalin, and R. Schemers. User authentication and autho- rization in the Java platform. In 15th Annual Computer Security Applications Conference, pages 285-290. IEEE Computer Society Press, 1999. [9] H. Lee, J. Alves-Foss, and S. Harrison. The construction of secure mobile agents via evaluating encrypted functions. Web Intelli. and Agent Sys., 2(1): 1-19,2004. [10] S. Loureiro, L. Bussard, and Y. Roudier. Extending tamper-proof hardware security to untrusted execution environments. In CARDIS'02, 5th IFIP/USENIX International Con- ference on Smart Card Research andAdvanced Applications, November 21-22, 2002 - San Jose, USA, Nov 2002. [11] Volker Roth. Mutual proteetion of co-operating agents. In Secure Internet Programming, pages 275-285, 1999. [12J T. Sander and C. F. Tschudin. Protecting mobile agents against malicious hosts. Lecture Notes in Computer Science, 1419:44-{j0, 1998. [13J T. Sander and C. F. Tschudin. Towards mobile cryptography. In Proceedings of the IEEE Symposium on Security and Privacy, Oakland, CA, USA, 1998. IEEE Computer Society Press. [14J A. Sharnir, How to share a secret. Commun. ACM, 22(1l):612-{j13, 1979. [15J D. Singelée and B. Prenee!. Secure e-commerce using mobile agents on untrusted hosts. Technical report, COSIC Internal Report, 2004. [16J H. K. Tan and L. Moreau. Certificates for mobile code security. In SAC '02: Proceedings of the 2002 ACM symposium on Applied computing, pages 76-81, New York, NY, USA, 2002. ACM Press. 50 Properties of Self-dual and Dual-reciprocal Polynomials over Finite Fields Cees J.A. Jansen, DeltaCrypto BV Jv Riebeeckstraat 10, 5684 .EJ Best, The Netherlands, cja@iae.nl Abstract The theory of jumping finite state machines as described in [1, 2, 3] introduces the duality operator on polynomials over finite fields. It has been observed that the periods and jump indices of such polynomials satisfy certain criteria. For the binary case proofs are available in [3]. Jumping was extended to LFSMs over GF(q) in [2]. Based on that work this paper focuses on properties of self-dual and dual-reciprocal polynomials over GF(q). The results are important for selecting the characteristic polynomials of finite state machines over GF( q) used in stream cipher cryptography. Keywords: Finite state machine, sequence generation, irreducible polyno- mial, jump index, finite field. 1 Introduction In [1, 3J a new way of multiple clocking binary Linear Finite State Machines (LFSMs) is introduced, which makes use of a property of the associated characteristic polynomial called the Jump Index. Also, an involution operation on polynomials was introduced, which characterizes the natural one clock multiple step (or jumping) behaviour of LFSMs. In [2J the theory of jumping LFSMs is generalized from GF(2) to general Calois fields GF(q), focussing on the cardinality of the polynomial sets obtained by application of the duality and reciprocal operators on irreducible polynomials. In that paper it was shown that the polynomial x2-ax+ lover GF(q) determines the structure and cardinality of the polynomial sets, i.e. these sets are completely determined by the cardinality of the finite field and the constant a. This paper seeks to fill in the gaps that still existed in the theory after publication of [2]. Here we focus on properties of irreducible polynomials with special properties that arise from the two operators, viz. self-dual and dual reciprocal polynomials. In particular, three issues are addressed: • Existence conditions on the degrees of the polynomials for sets of cardinalities less than given by the period of x2 - ax + 1. • Conditions on the periods and jump indices of irreducible polynomials belonging to these smaller sets. 51 • The existence of self-reciprocal and self-a-dual polynomials. Building on the theory introduced in [2] we can show properties of the periods and jump indices of such polynomials, as well as conditions on the their degrees for these polynomials to exhibit these properties. The theory described is important for the design of stream cipher systems designed over non-binary fields as an example will illustrate. The organization of this paper is as follows. In Section 2 the root sequence as defined in [2] will be revisited leading to a Möbius transformation of polynomial roots, which we will call the Key Equation. Symmetry properties will also be derived. Sections 3 and 5 address the phenomenon of short cycles in the root sequence, with the special case of dual-reciprocal polynomials discussed in Section 4. Section 6 analyzes the existence of self-dual and self-reciprocal polynomials. Finally, the paper concludes with Section 7. 2 The Key Equation The key equation arises with the repeated application of the combined operation (* _La) on irreducible polynomials of degree ~ 2, as discussed in [2]. Taking the reciprocal or the so-called a-dual of an irreducible polynomial are both involutions. However, the combined operation has a cycle that depends on the period of the polynomial x2 - ax+ 1 over GF(q). In this section we will first identify the key equation of the root sequence, and discuss some of its properties. 2.1 The root sequence Let f(x) be an irreducible polynomial of degree n over GF( q) and let a denote one of its roots. Also, let Pi denote one of the roots of the polynomial obtained after i applications of (* _La) (* first, followed by _La)· Clearly, Po = a, PI = a - ~, etc. It was shown in [2] that the sequence of roots Pi satisfies a recurrence relation Pi = ~, with Vo = 1, VI = a, etc., and v, satisfying the second degree linear recursion V'i+2 = aVi+! - Vi' In order to get more insight into the behavior of the sequence Pi the contribution of the original root a and the linear recurrence relation are split. Proposition 1 Let Pi be as defined before, then (1) 'with Co = 0, C±! = ±1, C±2 = ±a, and C,; satisfying the linear recursion C,;+2 = aC,;+1 - C,; of second degree over GF(q). The proof of this proposition is easily achieved by induction. Hence, the coefficients Ci satisfy the same characteristic equation as the Vi, but in this case the c; are elements from GF(q). Consequently, all solutions for the sequence of C,; are obtained by solving the linear recurrence relation C,;+2 = aCi+1 - C,; over GF(q). Equation (1) is called the Key Equation in the remainder of this paper. 52 2.2 The coefficient sequence The characteristic polynomial which the c-sequence satisfies is again the second degree polynomial Cc( x) = x2 - ax + 1. It is a straightforward exercise to find the solutions to the linear recurrence the C; satisfy. We suffice by giving the results here: J ~:=~~,# 7'1 1'2 = 1 (2) c, Cc(x) = (x - i1'i-l, 1')2 Here, r E GF(q), and 1'1 and 1'2 are distinct elements from GF(q) if Cc (x) is reducible, but are conjugate elements from GF(q2) if Cc(x) is irreducible. The case with one root r of multiplicity two can only occur for a = 2 or a = -2 in fields of odd characteristic, whence r = 1or r = -1 respectively. From the first couple of values Co, C±1, and 8:2 and writing the recursion equation as C; = aC'i+! - Ci+2 it immediately follows that C_i = -Ci' Let J.L denote the period of the c-sequence, or, equivalently, the order of Cc' Then we have the following symmetry: C!!f+i -C!7J-il J.L even Cm.+l :r- -Crn.;-l) J.L odd (3) Even periods For odd periods J.L, the period m of the root sequence is equal to J.L. However, for even periods J.L, we have that m = ~. This can be seen as follows. If J.L is even then the H. H. order of the roots 1'l and 1'2 is also even, and so Tl = Ti = -1 mod q. This gives the following symmetry relation. Ti - r§ . = ---- = -c; mod q (4) Tl - 1'2 The case of a single root of multiplicity two resulting in J.L even occurs only for a = -2, as for a = 2 the period J.L = q, which is odd (and a = ±1 is not meaningful for fields of characteristic twó). For a = -2, we have that J.L = 2q and consequently 1'~ = (-l)q = -1 mod q. Therefore, the same symmetry relation as (4) is obtained: CH.+i = (!!:. + i)T~+i-l = -(q + i)Ti-l = -c; mod q (5) 2 2 From these relations it is obvious that c~ = Co = O. One of the consequences of the relation C~+i = -c; is already mentioned in [2], namely that m = ~. This can be seen from the key equation (1), i.e. P~+i = Pi' Another symmetry that will be useful ill the next sections is the following. C'!1;+l 4 = C'!1;_l } 4 ~ even (6) C~+! = C~-l C~ CH.H = C~ 4 =C~} 4 ~ odd (7) 4 4 53 These relations follow from (4) by replacing -c; by CJ-I-i and substituting i = ~ - 1 for ~ is even, resp. i = ~ for ~ odd. Now that the characteristics of the coefficient sequence have been determined, we go back to the root sequence to examine the existence of shorter cycles. 3 Short Cycles of the Root Sequence The sequence of roots Pi has a maximum cycle length of m determined by the charac- teristic polynomial Cc(x) of the coefficient sequence. Shorter cycles are also possible, however, if for some value of i, we have that Pi is a root of the original polynomial, i.e. Pi = aqk, 0 ::; k < 11, where n is the degree of the polynomial. The case of k i = 1, so PI = pgis special, in that the corresponding two polynomials are called a dual-reciprocal pair. For such a pair of polynomials the reciprocal of a polynomial is identical to the a-dual. * k From the recurrence relation Pi+! = a- it now follows that Pi+l = P£ . By raising both sides to the power qk repeatedly, one obtains Pj _- a qjk , 0 ::; J. < _ m. (8) However, as Pm = Po = a, we have that aq=k = a. But aqn = a, so km = 0 mod 11. As kl I- 0 mod 11 for j < m and 0 ::; k < 11, and ruling out the trivial case k = 0, m must be a divisor of 11. Hence, we have shown that a necessary condition for the existence of dual-reciprocal polynomial pairs is that their degree is a multiple of the maximum period m of the root sequence, which itself is only determined by a and q. The above existence condition for dual-reciprocal polynomial pairs (in fact meaning a short cycle of period 1 of the root sequence) can be extended to arbitrary sub cycles >. > l. Clearly, >'Im for any sub cycle. In a similar fashion as above one arrives at (9) Consequently, a necessary condition for irreducible polynomials of degree n forming a sub cycle of >'Im under the combined operation (* l_a) is that the degree n must be a multiple of 'X'. 4 Dual-reciprocal Polynomials In this section we investigate the properties of a-dual-reciprocal irreducible polynomial pairs. The two polynomials are each others reciprocal and also each other a-duals. These polynomials exist under the conditions derived in the previous section. Of in- terest are their periods and jump indices. As before let a be a root of fI(x), one of the irreducible polynomials of an a-dual- reciprocal pair ls, 12 of degree n. As the reciprocal is identical to the a-dual, we have a - a = (a-1)qk, for some k with 0 ::; k < n. Therefore, from the definition of the jump index, its jump index Ja must be equal to -l mod ord(a). This obviously holds for both polynomials with their own values of k, say kl and k2. The two polynomials 54 are duals so their jump indices must be eachother's multiplicative inverses modulo the period of the polynomials. Hence we have proven the following proposition. Proposition 2 Two irreducible polynomials of degree n over GF(q) forming an a-dual- reciprocal pair have jump indices given by (10) The values that kj and k2 can take on are further restricted as can be seen from the following reasoning. In the previous section we have shown that km = mod n, ° ° leading to min. Now let mln and nm = ~, then km = mod nmm, for 0 < k < nmm and m > l. Clearly, the equation holds for all values of k that are multiples of nm, i.e. k = l~ with ° < I < m, provided that I is co-prime with m. Hence, k; = l'inm, with °< li < m and gcd(li, m) = l. Moreover, from kl + k2 = n it follows that 11 + l2 = m. The number of different values k; and also li amounts to 4J(m), where 4J denotes the Euler totient function. The periods of irreducible dual-reciprocal polynomial pairs are restricted to certain values. Consider the product PO' PI' .. Pm-I of all m roots. Using the key equation (1) we obtain I [JO' PI ... P -I = Ge"'-Ce-l = +1 odd IJ. m-I r- J-1. COO-C_i r- 1) Pi = c,"'-C~<_1 (11) ,-0 PO'PI"'P/!.-l= 2 l[ CQO:'-C_l =-levenj.t of Pi = a Qik By substitution from (8) we arrive at (12) Note that for the earlier derived restrictions on the values of k = lnm, it is evident that the set of m numbers {O, k, 2k, ... ,(m - l)k} is equivalent modulo n to the set {O, nm, 2nm.,"" (m - l)nm}. Hence, the variable k in (12) can be replaced by nm, and this equation now leads us to a fundamental property of the periods of irreducible dual-reciprocal polynomials. Proposition 3 Let f(x) be an irreducible polynomial of degree n = nmm. over GF(q), belonging to a pair of a-dual-reciprocal polynom.ials, where m is the period of the Toot sequence as explained above. The period of f(x) satisfies the following condition. per fl(1 + q-' + q2-. + ... + q(m-l)-.), odd f..t (13) It can be seen that for non-binary finite fields the period of dual reciprocal polynomials can never be maximal, as it has to divide (qn - l)/(qnm - 1) for nm 2: l. This fun- damental property makes these polynomials not very suitable for use in cryptographic sequence generators. 55 5 General Sub Cycles The dual-reciprocal polynomials treated in the previous section form a special case with À = 1 as was mentioned in Section 3. For À > 1, with Àlm a similar approach as in the previous section could lead to useful properties of the periods and jump indices of the polynomials whose roots are represented by a root in the root sequence Po, PI, ... ,PÀ-!' k As an example, consider À = 2, so m is even. So now we have P2 = for some pg k with 0 < k < n, and we find that P2j = aq . Also, '¥'In and the ki take on values jk k; = tin'"" with n'", = ~, and 0 < ti < 'q', gcd(ti, "Ji) = 1. The number of distinct ki and ti equals cp ('¥') .m - To obtain an expression similar to (12) we use the following relation m-c I ~-1 ~-l IT Pi = IT P2.i IT P2j+l = ±1 (14) i=O j=O j=O together with 1 ap2 - 1 P2j+1 = a - - = ---,--,:e_J __ P2j P2j to obtain !f-l ~-l ~-1 IT (ap2j -1) = IT (aa qjk -1) = IT (co - n-" = ±1. (15) j=O i=c j=O This finally leads us to a similar expression as (12): (16) This expression is not as useful as (12), because it does not give direct information about the period of a, but rather about the period of the product of the two roots Po and PI, as POPI = ao: - 1. If J;, i.e. the jump index to the base a of the reciprocal, exists, then aa - 1 = al-J~, and this may be used to obtain periods or jump indices of the corresponding polynomials. For arbitrary values of À satisfying Àlm the approach shown above can be used to derive a general expression similar to (16): (17) Here, we used the fact that POPI' .. Pj_1 = cja - Cj-I. Note that (17) indeed reduces to (11) for À = m. As an example, consider degree n = 4 irreducible polynomials over GF(7) with the jump index taken to the base a = 3. From these parameters it follows that J.L = 8 and so m = 4. The following four polynomials form a set under * and ..la: X4 + X + 2, x4+4x3 +4, x4+5x3 +6x2 +x+4, and x4+2x3 +5x2 +3x+2. All four polynomials are non-primitive and have period 1200. Applying (17) gives (3a-1)50 = -1, and therefore per(3a -1)1100. Assume a is a root of the first polynomial, i.e, 04 + a + 2 = 0, then it turns out that h = 253 and J; = 397. Hence, al-Jó = a804, and as gcd(804, 1200) = 12, we have that per(3a - 1) = 1200/12 = 100, in agreement with (17). Obviously, 56 knowledge of the period of a root product may significantly help to find the jump index in this À = 2 case. In this example gcd(1 - J;, 1200) = 12, leading to only <,b(100) = 40 possible values for 1 - J;. The case À > 1 is subject of further research. 6 Self-dual and Self-reciprocal Polynomials The results from Section 5 of [3] can be extended from GF(2) to GF(q) without diffi- culty. The results are as follows: • Self-reciprocal and self-dual irreducible polynomials exist only for even degrees. • Self-reciprocal irreducible polynomials of degree 2n have no jump index for n > 1 and have periods dividing qn + 1. • Self-dual irreducible polynomials of degree 2n have jump indices with value qn and periods greater than qn + 1. From these properties it is clear that self-dual primitive polynomials, which appear to exist, are useful, because of their given jump index. What happens if we start our root sequence with a root of a self-dual or a self- reciprocal irreducible polynomial? Like in the binary case there will be no closed cycle, but rather we have a chain starting with a self-dual or self-reciprocal polynomial and ending with one. In the remainder of this section we investigate the following situations: 1. Begin and end with a self-reciprocal polynomial. 2. Begin and end with a self-dual polynomial. 3. Begin with a self-reciprocal polynomial and end with a self-dual polynomial or vice versa. The roots of the root sequence are written as p;(a) to denote their dependence on the polynomial root a. Suppose that po(a) = a, Pe(a) are the first and the final root resp. in the chain exhibiting self-reciprocity. Then (18) Similarly, if the first and final roots exhibit self-duality we have (19) Also, if the first and final roots exhibit self-reciprocity resp. self-duality and vice versa we find in the same way as above (20) (21) 57 Using the key equation (1) and the symmetry properties of the coefficient sequence, given by (4), (3) and (6), we find the exact value for e in the above equations (18) till (21) that is independent of the value of the polynomial root Q!. mi 1, m = J.k odd u. e= mil, m = ~ odd m, even f.J, (22) 1 '?" m = ~ even m, even f.J, Note that for the cardinality of the sets of polynomials, one should bear in mind that the combined operator yields two polynomials, except if one of the polynomials is either self-dual or self-reciprocal. Therefore, for any given m one always observes polynomial sets of cardinality 2À, with Àlm for the degrees n being multiples of T' in which the polynomials form cycles of length À. However, for even degrees, one also observes polynomial sets in which the polynomials form chains of length m starting and ending with a self-dual or self-reciprocal polynomial. Also note that chains of shorter length cannot occur because of (22). Starting with a self-dual or self-reciprocal polynomial and cycling back (as discussed in Section 3) is clearly impossible, as this would lead to polynomials with two different reciprocals or duals. 7 Conclusions This paper completes the extension of the theory of jumping finite state machines from the binary field GF(2) to arbitrary finite fields GF(q). In particular useful properties such as period and jump index of self-dual and dual-reciprocal polynomials over GF(q) have been established and existence conditions have been identified. The results of this paper are important for selecting the characteristic polynomials of finite state machines over GF(q) used in stream cipher cryptography. Several top- ics, such counting the total number of polynomial sets of given cardinalities and the existence conditions of single period and primitive sets are left for future research. 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.: Aetas de la VII Reunión Espafiola sabre Criptologia y Seguridad de la Información. Volume Tomo 1. Servicio de Publicaciones de la Universidad de Oviedo (2002) 11-29. [2] 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. [3] Jansen, C.J.A.: Stream cipher design based on jumping tinite state machines. Cryptology ePrint Archive, Report 2005/267 (2005) http://eprint.iacr.org!2005/267 ;. 58 Robust Anonymous Fingerprinting Jeroen Prins Zekeriya Erkin Reginald Lagendijk j.p.prins@student.tudelft.nl z.erkin@tudelft.nl r.l.lagendijk@tudelft.nl Delft University of Technology Faculty of Electrical Engineering, Mathernaties and Computer Science Information and Communication Theory Group Mekelweg 4, 2628 CD Delft, The Netherlands Abstract Fingerprint.ing is an essential tool to shun legal buyers of digital content from illegal redistribution. An efficient, anonymous fingerprinting scheme has been proposed by Kuribayashi and Tanaka to provide a secure and efficient protocol for both buyer and merchant [2J. However, the underlying watermarking scheme is based on basic quantization index modulation (QIM). Unfortunately, QIM wa- termarking is relatively fragile to even the simplest attacks, such as additive noise attacks and amplitude scaling. In order for this fingerprinting scheme to provide sufficient guarantees for the merchant, the buyer must be unable to remove the fingerprint without significantly degrading the purchased digital content. In this paper, we use robust watermarking techniques with the anonymous fingerprint- ing approach proposed by Kuribayashi and Tanaka. In particular, we consider rational dither modulation (RDM). We show that homomorphic properties of the 0 kamoto-Uchiyama cryptosystem also allow for creating an anonymous fin- gerprinting scheme based on RDM. 1 Introduction Intellectual property proteetion is a severe problem in today's world. To de- ter people from illegal redistribution, a fingerprinting scheme embeds the buyer's identity by using watermarking techniques. In conventional fingerprinting schemes, the buyer's identity is embedded into the digital content by the merchant and the fingerprinted copy is given to the buyer afterwards. When the merchant encounters redistributed copies of this fingerprinted content, he can retrieve the malicious buyer's identity and hold him accountable for illegally sharing the con- tent. However the buyer did not commit to the identity information embedded by the merchant and will be unwilling to reveal his identity during embedding, as it is used as proof that the buyer cheated. To protect the identity of the buyer during embedding, anonymous fingerprinting schemes have been proposed [3, 6J. In these schemes the buyer provides the merchant his encrypted identity. The merchant embeds the encrypted identity of the buyer into the (encrypted) image data by exploiting the homomorphic property of the cryptosystem. Fi- nally, the encrypted fingerprinted image is sent to the buyer, who decrypts the fingerprinted image. Kuribayashi and Tanaka suggested to use a cryptosystem with a large mes- sage space to reduce complexity. They introduced a secure fingerprinting scheme 59 based on the additively homomorphic Okamoto-Uchiyama cryptosystem [4J. Kurib- ayashi and Tanaka used a basic quantization index modulation (QIM) tech- nique as the underlying watermarking scheme. Since QHvI essentially modulates (integer-valued) quantization levels to embed inforrnation bits into a signal, QIM can elegantly be implemented in an additive homomorphic encryption scheme. However, QlM has limited robustness compared to other watermarking tech- niques. In this paper, we use the ideas in [2J to build an anonymous version of state- of-the-art watermarking technique: Rational Dither Modulation (RDl'vI) [5J. RDM is robust against additive noise and fixed gain attacks. vVe apply RDM on dithered versions of the signal to be fingerprinted as so to improve robustness against requantization attacks. vVe have also adapted Distortion- Compensated QlM (De-QlM) to the Kuribayashi-Tanaka fingerprinting scheme in [7J. 2 Watermarking and Encryption Basics 2.1 Quantization Index Modulation Quantization Index Modulation (QlM) is a relatively recent watermarking tech- nique. It has become popular because of the high watermarking capacity and ease of implementation. The QlM algorithm embeds a watermark bit w by quantizing a signal sample x with an even or odd valued quantizer, depending on w. These quantizers with a step size .6. E N are denoted by Qt;.-even(-) and Qt>.-odd(·), respectively. The watermarked signal sample y is: u = { Qt>.-even(x), if 11) = 0, (1) Qt;.-odd(X), if ill - 1. The quantizers Qt;.-even(-) and Qt>.-odd(·) avoid biasing the values of y, i.e. the expected (average) value of l' and y are identical. The trade-off between em- bedding distortion and robustness against additive noise attacks is controlled by the value of.6.. The detection algorithm requantizes the received signal sam- ple z with both Qt;.-even(-) and Qt;.-odd(·)' The quantized value Qt;.-even(z) or Qt>.-odd(Z) with the smallest distance to the received sample Z deterrnines the embedded watermark bit. A drawback of QIM is its sensitivity to gain attacks, in which signal samples are multiplied with a gain factor p. If the ga.in factor p is constant for all samples, the attack is called a fixed gain attack. In e;ain attacks, the detector does not posses the factor p, which causes a mismatch between embedder and decoder's quantization la.ttices, affecting the detector's performance dramatically [ij. 2.2 Okarnoto-Uchiyama Encryption Scheme Okarnoto- Uchiyama is a probabilistic public key cryptosystern based on com- posite numbers [4J. The Okarnoto-Uchiyama cryptosystem has the additive homomorphic property such that given two encrypted messages E(ml, rr) and E(m2,r2), the following equality holds: (2) 60 Here x denotes integer modulo n multiplication. In the rest of this paper we denote the en- and dectyption of a message with E(m) and D(c), respectively, omitting the random factor T. In the scope of this paper, the Okamoto-Uchiyarna scheme is used for enciphering signal samples, which do not need to be integer values. In this case, a rounding to nearest integer precedes the encryption and thus, E(-) denotes both the rounding and the encryption. 3 Original Fingerprinting Scheme The fingerprinting scheme in [2) is carried out between a buyer and a merchant, and has as objective to securely embed the buyer's identity information into the merchant's data such as an audio, image or video signal. The buyer decomposes his k-bit identity IV into bits as ~V = (wo, Wl, ... , Wk-J). Where necessary, we assume that the probability P[Wj = 0] anel P[Wj = 1] are equal. After decom- position, the buyer encrypts each bit with his public key using the Okamoto- Uchiyarna cryptosystem such that E(W) = (E(wo), E(W1),"" E(Wk-l))' These encrypted values are sent to the merchant. The merchant first quantizes the samples of the signal that the buyer wishes to obtain, using a quantizer with coarseness 2L'l., i.e. x' = Q2~(X) where the quantizer step size L'l. is a positive integer to ensure that the quantized value is not affected by encrypting it. He then encrypts all quantized signal samples with the public key of the buyer, yielding E(x'). The merchant selects watermark embedding positions, using a unique secret key. In order to embed a single bit of information 'Uij into one of the quantized and encrypted value E(X') at a selected watermark embedding position, the merchant performs the following operation: if x 2: Q2~(X), (3) if x < Q2~(X). The result is an encrypted anel watermarked signal value y, as can be readily seen by the following relation: if x 2: Q2~(X), (4) if x < Q2~(X). The encrypted signal - with the buyer's identity information embedded into it in the form of a watermark - is finally sent to the buyer. Obviously, only the buyer can decrypt the watermarked signal values. In order for the system to be secure, the relation between the buyer's identity information bits Wj and the . signal values y (audio samples, image or video pixels) into which the information bits are embedded, should be kept secret from the buyer. Note that all signal values x will have to be encrypted, also the ones that do not carry a bit Wj of the buyer's identity inforrnation, as so to hide the watermarking positions. If this were not the case, attacking the watermark would be extremely simple, for instance by just replacing the encrypted watermarked signal values y with the average of their plain-text neighboring values. 61 4 Robust Anonymous Fingerprinting From the perspective of the merchant, the embedding of the buyer's identifica- tion information must be as robust as possible in order to withstand malicious and malevolent signal processing operations of the watermarked signal. The watermarking scheme used in the Kuribayashi and Tanaka secure fingerprinting protocol described in Section 3, is known to be very sensitive to any type of signal processing, and is in fact relatively easy to break. Wc propose to increase the robustness of the Kuribayashi and Tanaka secure fingerprinting protocol by ap- plying their approach to an advanced quantization-bnsed watermarking scheme, namely RDM. So far we have embedded the bits of the identity information into signal values without specifying what these signal values actually arc. In the rest. of this paper we will use block-DCT transform coefficients of images to embed the identity bits into. A particular block-DCT coefficient into which wc embed all information bit Wj will be abstractly denoted by x«. 4.1 Subtractive Dither QIM The basic QIM watermarking scheme used by Kuribayashi and Tanaka as de- scribed in Section 2.1 can be easily broken, because the buyer can find the em- bedding positions Xi without checking all possible (for instance (l~~r)) combi- nations. After all, the embedding positions are those signal values x; that have been (heavily) quantized to Ql>.-even(Xi) and Ql>._od.d(xi),and which have a con- stant difference value equal to b., i.e. the quantizer coarseness parameter. This allows the buyer to attack only the embedding positions, leaving the rest of the signal untouched. This results in the removal of the identity fingerprint with little overall distortion in the signal. A common solution to this weakness of the basic QIM watermarking scheme is to add dither to x; before embedding and subtracting it after embedding. As a consequence, the quantization levels and their constant difference b. can no longer be observed, obscuring the embedding positions Xi. The resulting watermarking scheme, illustrated in the dashed box of Figure 1, is called subtractive dither QIM (SD-QIM). In QIM terminology, prior to quantizing the signal amplitude x; to an odd or even value depending on the information bit 'Wj, a small amount of dither di is added. After quantization of Xi + di, the same amount of dither is subtracted. It is desirable that the dither can be used in cooperation with the QIM's uniform quantizers Ql>.-oddO and Ql>.-è'Ven(-), whicli use a quaul.izal iou "l';'l-."ize of 2,"., as in the basic QIM. It has been shown [8] that a suitable choice for the PDF of the random dither di is a uniform distribution on [-b., b.]. In order to embed the buyer's identity information bit E( Wj) into coefficient x; using the Kuribayashi- Tanaka protocol in combination with subtractive dither, we evaluate the following equation to embed: E(t;) = {E(Q2l>.(Xi + di)) X E(wj)D., if Xi ~ QU,(Xi), E(Q2l>.(Xi + di)) X (E(wj)l>.)-l, if Xi < Q2l>.(Xi), E(Yi) = E(ti) x E(d;)-l (5) After decryption, the buyer obtains the image into which his identity information is embedded in certain DCT coefficients Yi according to the following subtractive 62 dither QITvIscheme: Q6-even(Xi + di) - di, ifWj = 0, (6) Qll-odd(X·i + di) - di, if lUj = 1. The quantizer must round DCT coefficients Xi + di to integers because of the ensuing encryption eperation. If the signal values of DCT coefficients Xi are sufficiently large, this is not a restrietion at all. For smaller values of Xi, however, using integer values may be too restrictive, We propose to address this by scaling all coefficients Xi with a constant factor c before embedding. Scaling has no effect, as long as the samples are not scaled beyond the message group size of the used encryption scheme. The message group size is, however, usually very large because of security requirements. As a conscqucnce of scaling Xi, the dither cL; and all encrypted bits E (Wj) of the decomposed identity of the buyer also have to be scaled by c. The resulting embedding equation can bc summarized as follows: if Xi 2: Q2dxi), (7) if Xi < Q26(Xi). Tbe scaling factor c has to be communicated to the buyer, so that the buyer can rescale the entire image after decryption. 4.2 Rational Dither Modulation SD-QIM provides a significant improvement in attack resistance compared to the basic QIM scheme, Nevertheless, the SD-QIM algorithms is known to be very sensitive to gain or valuemetric attacks. Because of tbe use of the scaling factor c in SD-QIM in order to reduce the reduce the sensitivity to integer-rounding be- fore encryption, the buyer has an excellent opportunity to perform a gain attack on the watermarked signal. Tbe gain effect causes tbe quantization levels used at the detector to be misaligned with those embedded ill the purchased and ille- gally distributed digital data, effectively making the retrieval of the watermarked identity bits impossible [1]. In [5], Perez-Gonzalez et al. proposed the usage of QIM on ratios between signal samples as so to make the watermarking system robust against fixed gain attacks. The resulting approach, known as Rational Dither Modulation (RDM), is robust against both additive noise and fixed gain attacks. The RDM embedding scheme is illustrated in Figure 1. The robustness against fixed gain attacks is achieved by normalizing the signal value (or DCT coefficient) Xi by 'U(Yi-1), which is function that combines L previous watermarked signal values. The QIM watermark embedding will then take place using the normalized signal values vC':,·-d' yielding: if Wj = 0, (8) if Wj = 1, where the multiplication of the quantization results with V(Yi-1) is required to 'invert' the normalization operation. Another way of viewing RDM is that is is equivalent to using QIM with a signal amplitude dependent quantization coarseness ·U(Yi-l) . 6.. 63 The normalization of Xi takes place on a function of (Ui-l,Y·i-2, ... ,Yi-L)- This is preferable, because the watermarked values Yi are available during wa- termark detection. In the Kuribayashi- Tanaka protocol the watermarked DCT coefficients Yi are only available to the merchant in an encrypted form E(Yi). Un- fortunately, the merchant cannot make use of V(Yi-1) as a normalization factor, because homomorphic division is not defined in the cyclic group of the encryption scheme. Consequently, wc will have to use the original signal/coefficient values (Xi-I, Xi-2,· ., xi-d, which will have the same statistics as (Y'i-l, Yi-2,· .. , Yi-L) for sufficiently large value of L. Figure 1: Rational Dither Modulation Since RDM applies QIM on the ratio V(X:_l)' attention should be paid Lu Llte integer rounding process. Since v(x:-tl will usually be around (the real number) 1.0, the rounding to an integer will almost always yield (the integer) 1, introduc- ing unacceptably large watermarking distortions. Therefore, the scaling of the ratio with a factor c becomes essential in RDM. Furthermore, after quantization of the ratio v(X:-d' the result needs to be multiplied with v(Xi-d. Thanks to the homomorphic property, this can be carried out by an exponentiation in mod- ulo arithmetic with v(Xi-d in the encrypted domain. To this end, obviously V(Xi-1) has to be an integer, requiring another rounding step. We denote the rounded value of V(Xi-1) bYVint(Xi-1). Using again the notation di for the uniformly distributed dither, the RDM embedding equations become: E(ti) E(Yi) E(t;)"lindX,-ll. (9) With the above scheme we have succeeded in adapting the RDM watermark- ing scheme one of the most recent, QiM watermarking approaches - Lu Lire constraints set by the Kuribayashi-Tanaka protocol. 5 Experimental Validation In this section we experimentally evaluate the performance of the RDM water- marking schemes with differingscaling factors c. The buyer's identity information will be embedded into the DC DCT coefficients of 8x8 blocks, Per image we em- bed 64 bits of identity information into 64 DC DCT coefficients that are pseudo randomly selected based on a secret key only known to the merchant, In all ex- periments we use the 256 x 256 pixels gray-valued Lena image. We only evaluate 64 the effect of integer rounding and the scaling parameter c on the performance of RDM_ For more experiments sec [7]. In our graphs, each point shown is based on 20 measurements, and each measurement is a complete, new iteration of the Kuribayashi- Tanaka protocol. Rational dither modulation (RDi'vI) depends all a sufficiently large scaling factor c in order to achieve a quantization coarseness l:. lower than 1. The scaling factor c deterrnines the possible resolution of l:._ We arc interested to see which resolution is required, in order to achieve good performance. Although the results depend on the data and the strength of the added noise, the trend of these results will be observed for other cases and data as well, because the signal coefficients Xi are norrnalized before embedding. , _--. . . u, .. 10-2. . ::.:" ....... . : . . . ... . . ..... _-.. '?:~~-~- -5 0 10 WNA {dBl, 0Il =: 15 Figure 2: RDM bit error rate (BER) as function of the watermark-to-noise ratio (ViTNR) with additive noise (an = is). Figure 2 shows the bit error rate (BER) performance of RDM as a function of the watermark-to-noise ratio (\VNR) for the plain text and Kuribayashi-Tana.ka versions of RDM. The different curves reflect different values for the scaling factor c. Because of the complexity of the analytical expression of the watermark distortion O'~ in [5], we measured the watermark distortion directly from the data. Figure 2 shows that the value of the scaling factor c determines the points of the Pe-WNR curve which are attainable by the Kuribayashi-Tanaka RDM scheme. With a scaling factor c = 10, only WNRs with 0 dB or higher are reachable (see 'KT RDM, c = 10' curve in Figure 2, which starts at 0 dB), allowing for very little flexibility in choosing the optimal embedding strength for a specific application. A scaling factor of 100 performs much better, but 1000 approximates the original RDM closely. 65 6 Conclusion Kuribayashi and Tanaka proposed a reasonably efficient anonymous fingerprint- ing protocol in [2], however the underlying QIM based watermarking system is fragile to even the simplest attacks like intensity scaling. Therefore, we have pro- posed an adaptation of RDM, which has increased robustness against gain and requantization attacks, to the anonymous fingerprinting scheme of Kuribayashi and Tanaka. A few improvements eould be made. Due to attacks on the digital content or transmission errors, the buyer's identity will be extracted with noise. In that case, error correction codes can improve the ability of the merchant to recover the full identity information. Implementing more robust watermarking techniques with limited function- ality of homomorphic cryptosystems seems to be a real challenge. However we believe that the improved anonymous fingerprinting technique proposed in this paper is a notable improvement for the anonymous fingerprinting scheme of Kuribayashi and Tanaka. References [1] F. Bartolini, M. Bami, and A. Piva. Performance analysis of ST-DM wa- termarking in presence of nonadditive attacks. IEEE Transaciions on Signal Processing, 52(10):2965-2974, 2004. [2] M. Kuribayashi and H. Tanaka. Fingerprinting protocol for images based on additive homomorphic property. IEEE Trarisactions on Image Processing, 14( 12) :2129~2139, 2005. [3] N. Memon and P. Wong. A buyer-seller watermarking protocol. IEEE Trans- actions on Image Processing, 10-4:643-649, ZOOL [4] T. Okamoto and S. Uchiyama. A new public-key cryptosystem as secure as factoring. In Eurocrypt, pages 308-318, 1998. [5] F. Perez-Gonzalez, C. Mosquera, M. Barni, and A. Abrardo. Rational dither modulation: A high-rate data-hiding method invariant to gain attacks. IEEE Transnetsons on Signal Processing, .53(10 Part 2):3960-3975, 2005. [6] B. Pfitzmann and M. Waidner. Anonymous fingerprinting. In Eurocrypt, volume 1233, pages 88-102, 1997. [7] J. P. Prins, Z. Erkin, and R. L. Lagendijk. Anonymous Fingerprinting with Robust QIM Watermarking Techniques. Submitted to: EURASIP Journal of Injormaiion Security, 2007. [8] 1. D. Shterev and R. L. Lagendijk. Amplitude scale estimation for quantization-based watermarking. IEEE Transactions on Siqnal Processinq, 54(11):4146-4155, 2006. 66 Communication by Energy Modulation Alfonso Martinez Technische Universiteit Eindhoven Eindhoven, The Netherlands alfonso.martinez@ieee.org Abstract Two models derived from the coherent Gaussian channel are studied. In each, information is sent by energy modulation. For continuous energy the model is the additive exponential noise (AEN) channel, whose capacity equals that of a Gaussian channel at identical noise and signal energy levels. The second model is a quantized version of the AEN channel. Bounds to its capacity are derived and computed when photons are used as energy unit. 1 Introduction: The Additive Energy Channel In this paper, we study two variations on the discrete-time Gaussian channel. In both cases, the output variable at time k, Zk, is (1) made up of a signal component Xk, a function (possibly stochastic) of the corresponding input Sk, and an additive noise component Wk; the input is used under an energy constraint, as we shall see below. The discrete-time component may arise from an application of the sampling theorem to a bandlimited waveform or, more suited to our purposes, appear as a Fourier mode as in Orthogonal Frequency Division Multiplexing. In the coherent additive white Gaussian noise (AWGN) channel both input and output are complex numbers, and the instantaneous signal energy is given by ISkI2. At the receiver, both amplitude and phase are assumed to be known, an assumption which holds for practical communication systems operating at radio and microwave frequencies, but loses its validity at optical frequencies. We aim at studying how sensitive information-theoretic results are to variations in this underlying model. In our case, we consider non-coherent communication, in the sense that information is sent by modulating the signal energy ISkl2 of the discrete-time component rather than the complex amplitude Sk itself. A non-coherent alternative, such as the additive energy model, might turn out to be more accurate under some circumstances, such as strong phase noise. Further, since the cost in channel capacity incurred by carrier synchronization is somewhat difficult to include in AWGN models, alternative models which do not require this synchronization may indirectly estimate the amount of communication resources to be spent to acquire the carrier. More specifically, we describe and define two models for communication by energy modulation, the additive exponential noise channel (AEN) and of the additive energy channel (AE-Q), and determine their respective channel capacities. 1.1 The AEN channel A discrete-time channel with additive exponential noise was studied by Verdu [1]. We establish a correspondence with the AWGN channel of input s~ by setting the input of 67 the AEN channel to Sk = Is~12. Primed variables refer to an AWGN channel, whereas unprimed variables refer to the additive energy channels. In both AWGN and AEN channels the signal component at the channel output of Eq. (1), Xk, coincides with the input Sk. The correspondence with the AWGN channel, 8k = !sir, leads to a natural constraint on the average energy per channel use Es> L~=l Sk S nEs: where Es is a constraint in the AWGN channel. The AEN noise Wk is obtained from the AWGN value by taking the squared mod- ulus, i. e. Wk = Iw~ 2 1 , and has thus an exponential density of mean Ew = (J2, where (J2 is the variance of the Gaussian noise. Inputs and outputs, viz. Sk, Wk, and Zk in Eq. (1), are non-negative real numbers. It is important to remark that the AEN output is not the output of a non-coherent AWGN channel, that is Zk 1= Iz~12. When the AWGN channel appears in the modelling of an underlying waveform channel, it is possible to translate the difference Zk 1= Iz~12 into a condition on the physical waveform channel, as we next briefly sketch. Let us consider two complex-valued functions, x'(t) and W'(t), respectively signal and additive Gaussian noise. The discrete-time AWGN channel is a common discrete- time model for such a continuous-time channel. By construction, an energy measure- ment in a short interval will have the form flxlCt) + w'Ct) 12 dt = flxlCt) 12dt + flwlct) 12dt + f 2 Re(x'(t)w'*Ct)) dt. (2) If the phase of x' Ct) varies so fast that there is no coherence between it and the noise term w'Ct), the last summand vanishes identically, and we obtain an equation flxlCt) + w'Ct)12 dt = flxl(t)12 dt + flwlCt)12 dt, (3) which corresponds to the AEN model. We conclude that the AEN model naturally appears in the limit of strong phase noise, or equivalently full incoherence between the continuous-Lime signal x'Ct) and noise W'(t). When there is some coherence a beat term remains and the non-coherent AWGN channel model is recovered. 1.2 The AE-Q channel The quantized additive energy channel (AE-Q) generalizes the AEN channel by assum- ing that energy is discrete, an integer number of quanta of energy EO each. More formally, the output Zk is an integer number of quanta of energy, each of energy EO. As in the AEN channel, the output is the sum of a signal and an additive noise components. At time k, the output Zk is given by k = 1, ... ,n, (4) where the numbers Zk, Xk and Wk are now non-negative integers, i. e. {O,1, 2, ... }, and the energy has value ZkEO. Similarly, the noise and signal energies are XkEO and WkEO. The input is a non-ne§ative real number Sk :2: 0, related to its AWGN and AEN equivalents by SkCO = Is~1 , where s~ is the AWGN value. The total energy constraint becomes L~=l Sk S nEs> where Es is the average number of quanta per channel use. The additive noise Wk has a geometric distribution, the natural discrete counterpart of the exponential density in the AEN channel. Its mean is Ew, where EwcO = (J2 = Ew, the average noise energies in the AWGN and AEN channels. The distribution is Prw(m) = -- 1 ( -- Ew ) m (5) 1+ Ew 1 + Ew 68 The signal component at the output Xk has a Poisson distribution of parameter Sk, (6) The mean and variance of the Poisson distribution are Ski the mean and variance of the geometric distribution Eu> and Ew{l + Ew). We finally mention that the AEN model is recovered in the limiting case where the number of quanta becomes very large, and consequently the Poisson noise becomes negligible. In the opposite extreme, of large signallevel, the model degenerates into a discrete-time Poisson channel, often used to modeloptical transmission systems [2]. 2 Bounds to the Channel Capacity The capacity C (in nats per channel use) of the AWGN channel is C(SNR) = log(I + SNR), (7) where SNR is the signal-to-noise ratio, SNR = Es/u2 It coincides with the capacity of the equivalent AEN channel [IJ, with the definition SNR = Es/ Ew· The proof follows similar lines in both channels, being built around the fact that the Gaussian (exponential) density maximizes the entropy among all (non-negative) random variables with fixed variance (mean). The counterpart for discrete non-negative random variable states that the geometric distribution achieves the highest entropy among all distributions with a fixed mean. For a mean t, the entropy, denoted by Hceom(t), is [3J given by Hceom(t) = (1 + t) log(l + t) _ tlogt. (8) Our first result is the following Theorem 1. The capacity G(Es, Ew) of the AE-Q channel is upper bounded by G(ES) Ew) ::; Heeom(Es + Ew) _ Heeom(Ew), (9) uihere H Geom(t)is the entropy of a geometric distribution of mean t. We have also the following corollary, Corollary 1. For finite values of ES! Gt(Es,Ew) is bounded by log (1 + + _E_s -) Ew 1 < GL(ES) Ew) < log (1 + ~).Ew (10) The capacity of the AE-Q channel is therefore strictly upper bounded by the capacity of an additive exponential noise channel of signal-to-noise ratio SNR = Es/Ew. P'TOof. For any input Ps( s) the mutual information clearly satisfies J(S; Z) = H(Z) - H(ZIS) (11) ::; HGeom(Es + Ew) _ H(X(S) + wIs), (12) as the geometric distribution has the highest entropy under the given constraints. Then, H(X(S) + wIS) ;:::H(WIS) = H(W), (13) 69 because the entropy of a sum of two independent random variables, such as Wand S, is larger than the entropy of each of them (Exercise 18 of Chapter 2 of [3]). Therefore, 1(S; Z) S HGeom(£s + £w) - H(W) (14) = HGeom(Es + (w) - HGeom(Ew)· (15) As this holds for all inputs the theorem follows. o We now move on to prove the formulas comparing the upper bound with the ca- pacity of the additive exponential noise channel. Proof. First, we prove the strict inequality (16) for all values of Es> 0, Ew ~ O. Using the definition of CdEs> £w), we have (1 + £. + £w) 10g(Es + £w) - (1 + £. + £w) 10g(1 + £. + Ew) - (1 + £w) 10g(Ew) + (1 + £w)log(1 + Ew) > 0, (17) that is, Es + £w ( ) £", (1 + Es + E",) log > 1 + Ew log --. (18) 1 + Es + tw 1 + tw Proving this is equivalent to proving that the function x f(x) - (1 +x) log 1 + x = (1 + x)logx - (1 + x)log(1 +x) (19) is monotonically increasing for x > O. Its first derivative f'(x) is f'(x) = logx + 1 + x -log(1 + x) - 1 (20) x = ~ - log ( 1 + ~), (21) which is positive since 10g(1 + x') S x' for positive x'. We now proceed to prove the second strict inequality. For Es > 0, £w 2: O. (22) Using the definition of CL(E., £w) and cancelling common terms, (Es + Ew) 10g(1 + Es + Ew) - (Es + Ew)logfe, + tw) - Ew10g(1 + tw) + Ew log Ew > 0, (23) a condition equivalent to 1+ £s + Ew 1+ £w (l's + Ew)log > Ewlog --. (24) Es + Ew Ew 70 This equation is true whenever the function f(x) (25) is monotonically increasing for x > o. Equivalently, its first derivative J'(x), J'(x)=log ( 1) 1+- x +x-4=log 1+~ _..L (1) 1+- x ---1' x+ 1 (26) must be positive for x > o. This condition may be rewritten as log (I -xl) _1_ + > x+ i ' (27) or, exponentiating in both sides, 111 1 + - > e"+1 > 1 + --, (28) x x+1 where the last inequality holds true since et > 1 + t. Hence f'(x) > 0 since x + 1 > x. o Our second upper bound is in Theorem 2. The capacity C(Es, Ew) of the AE-Q channel is upper bounded by (29) Note that this formula does not depend on the additive noise tw, as it will become apparent from it being derived from the discrete-time Poisson channel. The proof of Theorem 2 is similar to that of Theorem 1. It exploits that a genie has knowledge of the exact value of the additive noise component, which is effectively absent. Proof. The variables S, X(S), and Z(X) form a Markov chain in this order, S -> X(S) -> Z = X(S) + W. (30) Hence, by the data processing inequality [3], I(S;Z) ::::;I(S;X(S)), (31) that is the mutual information achievable in the discrete-time Poisson channel, which was upper bounded in [2] by this expression. 0 Our lower bound is derived the mutual information achievable by a specific input, the one which achieves the largest output entropy, as given in Proposition 1. In the Additive Energy-Quantized channel the output eniropu H(Z) is maximized when the input density Ps( 8) is given by (Es PS8)=( Es + Ew )2exp (8) --- Es + Ew Ew ( +--88), Es + Ew s:2: O. (32) 71 As a particular case we recover the exponential input, which maximizes the entropy of a Poisson distribution [4]. The proof and the form of the density are very similar to the result in the additive exponential noise channel [1], and we not discuss it further. We need the following upper bound to the entropy of a random variable Y with a given variance Var Y, attributed in Cover's book [3] to Massey and Willerns (indepen- dently), H(Y)::; ~lOg27re(varY+ :2)' (33) We have then the following Theorem 3. A lower bound to the capacdy G(Es, Ew) of the AE-Q channel is G(ES) Ew) 2 Heeom(€s + Ew) - ~HGeorn(Ew) Es + Ew - _Es_ Es + Ew (! 2 log 27re + ~ log 2 (Ew(1 + Ew) + _l:_) X 12 x e 'w(1+'w)+"Ik ee+ew r ( 0, Ew(1 + Ew) + f2)) . (34) Es+ Ew where I'(U, z) is an incomplete gamma function, I'{O, z) = .Co., t+e:' dt. Proof. We choose as an input the density in Eq. (32) in Proposition 1. By definition, the mutual information with this input is H(Z) - H(Z[S). (35) By construction, the output is then geometric with mean Es+E.wand the output entropy therefore H(Z) = HGeom(Es + Ew). We next estimate the second term, the conditional entropy. H(Z[S) = 1' ' H(Z[s)ps(s) ds (36) = 1= o H(Z[s) (( Es Es + Ew )2 exp( __ Es s_) + Ew + ~O(S)) Es + Ew ds (37) = --H(Z[s Ew = 0) + ( Es )2 [ = H(Z[s) exp ( ---) S , ds. (38) Es + Ew Es + Ew • 0 Es + Ew The first summand is the entropy of a geometric distribution, ~H(Z[s = 0) = ~HGeom(€w). (39) Es + Ew Es + Ew The second summand is upper bounded by the conditional version of Eq. (33), using the values of the variance of the channel output, 1 H(Z[s) < ~ log z-re (s + Ew(l + fw) + 1 2) (40) = ~ log 27re + ~ log (s €w(1+ + Ew) + 11 ). 2 (41) Computing the integral gives the desired lower bound. o 72 Both values CL and CH are monotonie increasing functions of 1"". For low values of ts) the former is tighter, and for higher values of ts, the latter gives the best bound. The exact meaning of "low" is relative, but a good rule of thumb can be derived as follows. First, assume that 1"5 and tw are both large, and so is their ratio Es/Ew. Then, equating the two upper bounds in their asymptotic form, we obtain after some algebra log (ES) Ew ~ 1 2"IOg(Es), (42) or <2· ~ Es and therefore Es ~ E~. Identifying ts/Ew with the AWGN signal-to-noise 10-2), the difference with the simulated values becomes larger. In this region, also errors occur which have a larger distance than the minimum distance. 8A maximum number of XOR operations (worst case) is assumed in the proposed bound (equa- tion 2). So, if it is assumed that on average only 50% of the XOR operation are executed, the proposed bound provides for low BER values equal results as the bound of equation 4. 9This is de Pud after Reed-Solomon decoding and before the eRe comparison. As the BER after Reed-Solomon is not known, it is assumed that the eRe check is always correct. 82 for low BER values, the bound differs a factor 2 compared with the simulated undetected error probability. Moreover, the undetected error probability is calculated for DAB data sub chan- nel using a realistic user scenario of 10 million users. This value is calculated both for a normal data sub channel (Pud = 5.10-13) and for an Enhanced Packet Mode (EPM) data sub channel (Pud = 6.10-4°) which uses a Reed-Solomon code for extra protection. The latter system can be considered as a system without undetected errors and in the normal data sub channel only l l.O packets with un- detected errors are received on average each year in a user scenario of 10 million users. More research is needed to investigate if the proposed bound for CRC codes can also be used for other CRC codes. Acknowledgements The authors wish to express their appreciation to Niels Moseley whose comments and suggestions improved this paper significantly. References [1] ETSI. Radio Broadcasting Systems; Digital Audio Broadcasting (DAB) to mobile, portable and fixed receivers. ETSI EN 300 401 Vl.4.l, 2006. [2] R Schiphorst and C. H. Slump. Non-recognizable Error Probabilitu in a Terrestrial DAB Single Frequency Network. In Twenty-seventh Symposium on Informatioti Theory in the Benelux, Noordwijk, The Netherlands, pages 25-29, June 2006. [3] W. Hoeg and T. Lauterbach. Digital Audio Broadcasting: Principles and Applications of Digital Radio. John Wiley & Sons, second edition edition, 2003. [4] ETS!. Digital Audio Broadcasiinq (DAB); Signal strengths and receiver pa- rameters; Targets for typical operation. ETSI TR 101 758 V2.l.l, 2000. [5] R Schiphorst. A T-DAB field trial using a low-mast infrastructure. Sig- nals and Systems Group, University of Twente, Enschede, The Netherlands, December 2006. [6] A.S. Tanenbaum. Computer Networks. Prentice Hall, fourth edition edition, 2003. [7] http://mathworLd.woLfram. com/ Bi-nomi al.Iri s ir-iout i on . h tml . [8] J.K. Wolf, A.M. Michelson, and A.H. Levesque. On the probability of Unde- tected Error for Linear Block Codes. IEEE Transactions on Communications, COM-30, 1982. [9] G.D. Forney Jr. Concatenated Codes. The M.LT. Press, 1966. [10] http://itpp.so'Urceforge. net/. [n] R-D. Lin and W.S. Ches. Fast Calculation Algorithm on the Undetected Er- rors Probability of CRC Codes. Proceedings of the 19th International Con- ference on Advanced Information Networking and Applications (AINA'05), 2005. 83 On the diversity-multiplexing tradeoff for frequency-selective MIMO channels Dirk Slock Mobile Communications Department Eurecom Institute BP 193, 06904 Sophia Antipolis Cdx, France slock©eurecoID.fr Abstract We have previously (ISIT'05) introduced the optimal Diversity versus Multiplex- ing Tradeoff (DMT) for a FIR frequency-selective i.i.d. Rayleigh MIMO channel. This tradeoff is the same as for a frequency-flat MIMO channel with the larger of the number of receive or transmit antennas being multiplied by the delay spread. In this paper we provide alternative proofs and insights into this result. In par- ticular, we consider the ordered LDU decomposition instead of the usual eigen decomposition of the channel Gram matrix. Popular approaches for frequency- selective channels use OFDM techniques in order to exploit the diversity gain due to frequency selectivity. We show that the minimum number of sub carriers that need to be involved in space-frequency coding to allow achieving the opti- mal tradeoff is the delay spread times the smaller of the number of transmit or receive antennas, thus answering a question that was open hitherto. Although the no-CSIT jfull-CSIR case is considered here, we propose an alterative DMT interpretation based on negligible CSIT. This CSIT allows to exploit the ordered LDU decomposition. 1 Introduction Consider a linear modulation scheme and single-carrier transmission over a Multiple Input Multiple Output (MIMO) linear channel with additive white noise, as shown in Fig. 1. The multiple (subchannel) outputs will be mainly thought of as corresponding to multiple receive antennas. After a Rx filter (possibly noise whitening), we sample the received signal to obtain a discrete-time system at symbol ratel. After stacking the samples corresponding to multiple subchannels in column vectors, the discrete-time communication system is described by L-I Yk = H(q) ak + v« = L Hlak-l + v«, (1) 1=0 L-I where H(q) = L HI «'. q-IXk = Xk-I (q-I is the unit sample delay operator). The 1=0 coefficients HI are NT x N, matrices. L is the channel delay spread. We introduce the SNR variable p = ::S = ~. We consider the i.i.d. Rayleigh channel model in which Nt(Jv O"v the entries of HI, I = 0, ... ,L - 1 are i.i.d. Gaussian: Hr t ~ N(O,I). 1In the case of additional oversarnpling with integer factor, we would veetori e the samples to get a per antenna vector received signal se uence at symbol rate. 85 Figure 1: MIMO channel model. 2 Diversity and Outage Basics The SINR is random due to its dependence on the random channel h. In [1], it was demonstrated that at high SNR outafie only depends on the SINR distribution behavior near zero (this was also observed in l2]). This result is quite immediate. Indeed, let us introduced the normalized SINR 1 through SINR = p, and consider the dominating term in the cumulative distribution function (cdf) of T Probf-y s; Eg = CEk (2) for small E > Q. Then the outage probability for a certain outage threshold a is ProbfSINR ::; ag = C (~) k = Cap) k (3) from which we see that k is the diversity order and g = C1/k is the coding gain (reduction in SNR required for identical outage probability). When 1 is obtained as a combination of independent li, we get the diversity orders k that are indicated in the table below. 1 k L:ili ~iki 1I1i:J.X..; li i:»; mini "'ri mini k; ITili mini k; 3 Diversity vs Multiplexing Background In [2], Zheng and Tse introduced a scenario of SNR-adaptive modulation and coding schemes (MCS) with hence varying diversity and spatial multiplexing (or normalized rate). Scheme C(p) is a family of codes (MCS) of block length T (one code for each SNR level), that supports a bit rate R(p). This scheme is said to achieve spatial multiplexing r and diversity gain d if the data rate and the average error probability satisfy lim R(p) = r !im In Peep) = -d (4) pt ln(p) , pi ln(p) . For each r , d" ('r) is defined to be the supremum of the diversity order achieved over all possible schemes. The maximal diversity gain is defined by d:nax = d* (0) and the 86 maximal spatial multiplexing gain is r;" x = sup r : d*(r) > Dg. For a Flat MIMO channel (L = 1), with T :::::Nt, the optimal trade-off curve d*(r) (DMT) is given by the piecewise-linear function connecting the points (k, d*(k)), k = 0, 1, ... , q, where d*(k) = (p - k)(q - kj, q = minf NT> N, , P = maxf Nr, N, as shown in Fig. 3. The optimal DMT can be achieved by a family of codes 'with non-vanishing determinant [3], such as e.g. the spaoe-time spreading codes of [4]. ___..--- (1, (N r - l)(N, - l» (2, (N r - 2)(N, - 2» / (e-, itv; - rJ(N, - T» ,1 r": N,), 0) Spatial Muf ciptcxi.ng Gain: r- Figure 2: Optimal Diversity vs, Multiplexing tradeoff (DMT) for freq.-fiat MIMO eh. For SIMO jMISO frequency selective channels, the optimal trade-off curve is given by the linear function d*(r') = Lp (1 - r) [5]. For SIMO, the DMT can be achieved by using QAM at the Tx and MMSE DFE at the Rx citeMedlesSlock:isit04, see also [6] for the DMT of various 8IMO linear and decision-feedback equalizers. 4 Flat MIMO DMT via LDU First of all, for STC schemes with non-vanishing determinant (see e.g. [3] or also [4]), we have Pe(p) = Probf errorq = Probf error,outageg + Probf error, na outageg ~ Probfoutageg = Paut(p) (due to the faster decay of Probferror, no outageg), hence d*(r) = daut(r) and an outage analysis suffices. In what follows, assume w.I.o.g. NT ::::: N, (otherwise replace H by HY). Now introduce the LDU (Lower Diagonal Upper triangular factorization) [7] of the channel Gram matrix: (5) where L = [L;,j] has unit diagonal, D diagf dl, ... , dq , di :::::O. The second factorization in (5) corresponds to the Cholesky decomposition. Let H = [hl' .. hq] = h1:q, and introduce the projection matrices PH = H(HHH)#HH, PH = I -PH' Then we can write dHl = kPh hH! 2 { Li+1j+1 (6) = h!lPh hj+J/kPh hj+l 2 ] ] The Cholesky factorization of a Wishart matrix (such as HH H) leads to di+! ~ ~ X~(P-i) { L ,j+l ~ (7) H1 ~ (0, {72), i>j 87 which is also known as Bartlett's decomposition [8]. Note that det(HHH) = det(D) = q IT di' A proof of the DMT via the LDU decomposition has been provided in [9], in i=l which the DMT for Flat MIMO has been extended to the partial CSIT case. The key starting point in [9] is the Matrix Determinant Expansion lemma: det(Iq + P HHH) = 1+ t ,-1 pi ( L (I ,... ,1,)2 (L, ... ,q) det(DI <.. NT Note that even though we consider to be in the no CSIT case, the whole DMT approach in fact assumes that the receive SNR is known at the transmitter. Indeed, the whole DMT idea is one of adaptive modulation and coding, though adapting only to the average SNR, and hence requires some minimal feedback. At the very high SNR considered in the DMT analysis, the capacity becomes unbounded. So, in a duplex transmission system, feedback consisting of a finite amount of bits per symbol period or even per transmission block constitutes a negligible perturbation of the capacity, and hence can be assimilated to the no CSIT case. This is the point of view we shall follow in this subsection. Straightforward space-time coding techniques use N, L as blocklength in time or number of subcarriers in frequency. Tx antenna ordering CSIT can be used to limit transmission to the N; best transmit antennas when N, > Nr. If indeed we assume the channel column pivoting order to be known at the Tx, then to transmit at rate r = k, the Tx will only use the columns (Tx antennas) h1:k+1 with diversity order that of dk+1 (weakest): (p - k)(q - kl· So, ordering CSIT is especially handy when N; > NT (d; = 0, i > NT)' it allows to simplify the space-time coding to the N; « Nt) Tx antennas scenario. Note: the ordering is based on the global spatia-frequency SIMO channel power f 2:;zdi(z) after Gram-Schmidt orthogonalization, not to be confused with per subcarrier ordering. 6 Concluding Remarks In this paper we introduced fust an alternative proof of the DMT of frequency-flat MIMO channels by using the ordered LDU factorization instead of the basic LDU or eigen decompositions. Then we extend the use of this ordered LDU factorization to the frequency-selective channel. Some remarks are in order. 91 H(z) and Ht(z) have the same capacity, but transmission can only be done from the transmit side =? ordering CSIT can be handy (MIMO Tx selection diversity); e.g. case 4 x 2: with ordering CSIT, one can apply the Golden code instead of using double Alamouti. The existing diversity-rate tradeoff: defined at high SNR, and only focuses on diversity order and not on coding gainjSNR offset. To observe the frequency-selective MIMO DMT, one needs to go to very high SNR (e.g. 50dB, due to bad coding gain of products of fading variables of equal div. order). Hence, work at finite SNR required. Correlation of fading variables only influences (decreases) the coding gain, not the diversity order. Extension to include temporal diversity: when coding gets performed over multiple data blocks in which the channel varies with non-singular covariance of the temporal variation, then the diversities (at any multiplexingjrate) of the blocks simply add up. Acknowledgment The Eurecom Institute's research is partially supported by its industrial partners: BMW, Bouygues Telecom, Cisco Systems, France Télécom, Hitachi Europe, SFR, Sharp, ST Microelectronics, Swisscom, Thales. The research work leading to this paper has also been partially supported by the European Commission under the 1ST 6FP research network of excellence NEWCOM and by the French RNRT projects Lao Tseu and OPUS" References [IJ Z. Wang and G.B. Giannakis. "A Simple and General Parameterization Quanti- fying Performance in Fading Channels," IEEE Trans. Comm., 51(8), Aug. 2003. [2J L. Zheng and D. Tse. "Diversity and multiplexing: a fundamental tradeoff in multiple-antenna channels," IEEE Trans. Info. Theory, 49(5), May 2003. [3J S.A. Pawar P. Elia, KR. Kumar and H. Lu. "Explicit space-Lime codes that achieve the diversity-multiplexing gain tradeoff," In Proc. IEEE ISIT 2005, Ade- laide, Autrelia, Sept 2005. [4J A. Medles and D. Sloek. "Achieving the Optimal Diversity-vs-Multiplexing Trade- off for MIMO Flat Channels with QAM Spaoe-Time Spreading and DFE Equal- ization," IEEE Trans. Info. Theory, 52(12), Dec. 2006. [5J L. Grokop and D.N.C. Tse. "Diversity jMultiplexing Tradeoff in IS1 channels," In IEEE ISIT 2004, Chicago, Illinois, Jun-Jul 2004. [6J D.T.M. Slack. "Diversity and Coding Gain ofLinear and Decision-Feedback Equal- izers for Frequency-Selective SIMO Channels," In Proc. IEEE Int 'I Symp. Info Theory (ISIT), Seattle, USA, July 2006. [7J G.H. Golub and C.F. Van Loan. "Matrix Computations," Johns Hopkins Univer- sity Press, 3rd edition, 1996. [8J R.J. Muirhead. "Aspects of Multiuariate Statistical Theory," Wiley & Sons, 1982. [9J A.W.e. Lim and V.K.N. Lau. "On the Fundamental Tradeoff of Spatial Diversity and Spatial Multiplexing of MIMO Links with Imperfect CSIT," In Proc. IEEE Int'l Symp. Info Theory (ISIT), Seattle, USA, July 2006. [lOJ A. Medles and D.T.M. Sleek. "Decision-Feedback Equalization Achieves Full Di- versity for Finite Delay Spread Channels," In Proc. IEEE Int 'I Symp. Info Theory (ISIT), Chicago, USA, June 27 - July 2 2004. 92 Error-correcting coding for uplink control information in UTRA Release 7 Ludo Tolhuizen" Matthew Bakert 1 Introduetion In this paper, we describe our work on error correction coding for uplink control information that resulted in some codes adopted by 3GPP, the 3rd Generation Partnership Project [1]. In Section 2, we give a short description of the 3GPP context and of the motivation for the present work. In Section 3, we describe how our codes have been constructed. The codes are closely related [20,10,6] and [20,7,8] codes (as usual, an [n, k] code denotes a binary linear code of length n and dimension k, while an [n, k, d] code is an [n, k] code with minimum (Hamming) distance d). Both codes have the largest possible minimum distances given their lengths and dimensions. The [20,7] code has the additional feature of unequal error proteetion (VEP); one specific information bit can always be retrieved correctly in case of 4 or less bit errors, although in some such cases it would not be possible to retrieve the transmitted codeword completely, as the minimum distance of the code is only 8. In Section 4, we show simulation results for various codes in an Additive White Gaussian Noise (AWGN) channel using maximum likelihood decoding. These results show the benefits of the application of UEP. 2 Motivation The 3rd Generation Partnership Project (3GPP), a global collaboration establisbed in Decem- ber 1998, is responsible for defining the specifications for the UTRA (Universal Terrestrial Radio Access) 3rd generation cellular communications system. The initial release of the UTRA specifications was completed in 1999, since when a number of important extensions to UTRA have been developed to enhance further the system's capabilities. These extensions include HSDPA (High Speed Downlink Packet Access) to deliver peak data rates of up to 14Mbps for packet data services. 3GPP is now completing Release 7 of the specifications, which includes a major upgrade to HSDPA to double the peak data rate using Multiple In- put Multiple Output (MIMO) operation - the first time that MIMO has been employed in a cellular communications system. "Philips Research Europe - Eindhoven, High Tech Campus 37, 5656 AE Eindhoven, The Netherlands; e-mail: ludo.tolhuizen@philips.com tPh.ilips Research Europe· Redhill, Cross Oak Lane, Redh.ill, Surrey, RHl 5HA, England, UK; e-mail: bakermp2@prl.research.philips.com 93 The MIMO scheme selected for HSDPA is known as Dual Transmit Antenna Array (D- TxAA). This uses up to two orthogonal transmission beams to transmit up to two independent data streams simultaneously to the mobile terminal. The mobile terminal is required to signal to the base station the preferred precoding vector for the base station to form the first beam, while the second beam (if one is transmitted) is formed deterministically using a precoding vector that is orthgonal to that used for the first beam. The mobile terminal's indication of the preferred precoding vector for the first beam is termed the Precoding Control Information (PC!). Additional signalling from the mobile terminal to the base station is required to support Adaptive Modulation and Coding (AMC), which is a key technology used in HSDPA to en- able efficient transmission of high data rates. AMC relies on accurate reporting to the base station ofthe prevailing quality of the radio channel, based on measurements made at the mobile terminal. For the MIMO enhancement to HSDPA in Release 7, each of the two data streams that may be transmitted simultaneously requires independent channel quality mea- surements to be signalled to the base station. These are termed Channel Quality Indications (CQI). Considering both PCI and CQI, the amount of channel-related uplink signalling infor- mation that is required in Release 7 is thus more than doubled compared to the single CQI report required for the original version of HSDPA. For reliable PCI and CQI signalling in the uplink in support of the Release 7 MIMO operation, two binary error correcting codes of length 20 had to be designed. The first code is used when the mobile terminal indicates PCI together with either one or two jointly-coded CQI values indicating its preferred number of data streams depending on the current radio channel conditions. In this situation, 10 information bits are encoded, viz. 2 PCI bits and 8 CQI bits. With the second code, which is used to indicate the PCI and CQI in the event that only one bit stream is used, 7 information bits are encoded, viz. 2 PCI bits and 5 CQI bits. Note that the CQI reported for the first beam in the case of dual-beam transmission would not necessarily be the same as the CQI reported for a single beam, because in the case of dual-beam transmission the mobile terminal would have to take into account the interference between the beams. The mobile terminal may therefore be configured to transmit alternately the two types of codeword described above, thus providing the base station with suitable CQI for the mobile terminal's preferred number of beams as well as CQI appropriate to the case when the base station chooses to schedule only a single data stream to the mobile terminal even though the mobile terminal would prefer to receive two streams. To store the rows of the generator matrices for the two error correcting codes, in principle 10+7=17 row vectors would be required. However, in our design, six of the seven rows of the generator matrix for the [20,7] code are also used in the generator matrix of the [20,10] code, enabling both codes to be implemented by storing a total of only eleven vectors, thus yielding a useful reduction in complexity for the mobile terminal. It is also possible to design pairs of codes for which all rows of the generator matrix for the [20,7] code are also rows of the generator matrix of the [20,10] code; however, it was shown that the the storage of one additional row (i.e. 11 instead of 10) as described in this paper can give a useful improvement in performance, thus providing a sound trade-off between performance and complexity. 94 3 Code construction In this section, we explain our construction that resulted in the codes adopted by 3GPP. The explicit generator matrix of the [20,10J code is in [3, Sec. 2:1J, while the generator matrix for the [20,7J appears in [3, Sec. 2.2J I . Our construction starts from a [22,1 0,8J code Co that for example can be obtained by shortening the [24,12,8J extended Golay code in two positions. We assume that Co has a systematic generator matrix Go, that is, Go is of the form Go = (IlO lP) , where 110 denotes the lOx 10 identity matrix. We now puncture Co in the positions 9 and 10, that is, we leave out bits 9 and 10 from all codewords. The resulting code Cl is our [20,lOJ code. Clearly, its minimum distance d is at least 8 - 2 = 6; as a [20,1O,7J code does not exist, d = 6. The code Cl has a non-systematic generator matrix G 1 of the form Our [20,7] code C2 is derived from the 7 top rows of Gl. First, we consider the code gen- erated by the 7 top rows of Gl. We claim that this code has minimum distance at least 8. To see this, note that the 7 top rows of Go generate a [22,7,8] code, for which all codewords have zeroes in positions 9 and 10, and so puncturing in positions 9 and 10 does not reduce the minimum distance of this subcode. 2 Clearly, the 7 top rows of G, all have a zero in position 8.We employed this "unused" po- sition as follows. As generator matrix G2 for C2, we take the 7 top rows of Gl, with one modification: we set one bit in column 8 equal to 1, namely the bit in the row corresponding to the most significant bit (MSB) of the CQI value. Because of this, two words from the code generated by G2 for which the MSB of the corresponding CQI values are distinct, differing in position 8 and in at least 8 other positions, i.e., their Hamming distance is at least 9. As a consequence, in case of 4 bit errors, we cannot guarantee correct retrieval of the entire code- word, but we can guarantee correct retrieval of the MSB of the transmitted CQI value. Our [20,7] code thus exhibits a simple form of unequal error proteetion [6]. More information on unequal error proteetion codes, including some optimality results for the codes presented here, is contained in the appendix. For the reader's convenience, we give G2 explicitly: 0110111000101 0011011100011 0010110111001 G2 = (hIP3), whrere P3 = 0001011011101 0000101101111 0110001011011 1111000101101 We remark that the bottom row of G2 corresponds to the MSB of the CQI value. I Note that references [2)- [5) all can be found at the 3GPP website [1]. 2In fact, the 8 top rows of Cl generate a [20,8,8] code, but that is not relevant for our purposes. 95 4 Simulationresults In this section, we present simulation results for various [20,7] codes proposed in 3GPP [2], [3], [4], [5], in an Additive White Gaussian Noise channel, using maximum likelihood de- coding (so each received vector is decoded to the codeword at minimum Euclidean distance). The graphs are labelled with the number of the number of the 3GPP document describing the corresponding code. Because of lack of space, no simulation results for the various [20,10] code proposals are presented; all these codes, however, performed more or less similarly. Recall that our code generated as described above can be specified with 11 rows for the two generator matrices. The other codes can be specified with only 10 rows; this includes the code from [3, Sec. 2.1] that is generated by 7 rows ofthe generator matrix for our [20,10] code as described in Section 3. The information bits from the [20,7] codes describe two distinct parameters, namely precoding information (two PCl bits) and channel quality indication (five CQI bits). In Figures 1 and 2, we show simulation results for the following performance criteria, dealing with these two parameters separately: • pcr block error rate (PCr BLER), the probability that the retrieved pcr value differs from the transmitted one - see Figure I • cQr block error rate (cQr BLER), the probability that the retrieved cQr value differs from the transmitted one - see Figure 2 PCIBLER (20.7)codes . ,--,063581 ....: ''''6- 071095Sec 2.1 . a: ~ III U 0.. 10" 10~L_--~--~--~----~--~--~--~--~ -3 -2.5 -2 -1.5 -1 -0.5 0.5 Eb/NO [dB] Figure 1: rcr BLER The simulated codes are as follows: • 063581: baseline code originally proposed in 3GPP, giving baseline performance (minimum distance only 6). • 071095 Sec. 2.1: code generated from 7 rows of the generator matrix of the [20,10] code described in section 3; note that all words of this code have a 0 in position 8. 96 • 071095 Sec. 2.2: code adopted by 3GPP, generated from 6 rows of the generator matrix of the [20,10] code described in section 3, plus an eleventh row. • 071118: alternative code derived from 7 rows of a [20,1 0] generator matrix. • 071133: another alternative code derived from 7 rows of a [20,10] generator matrix. CQIBLER (20,7) codes 10' f:-:-~~~-:-r:~-:-:C:-:-:-~~~'1====o:===il ,-,063581 ----6-- 071095 Sec 2.1 . . ~ 071095 Sec 2.2 . 071118 ... 071133 10~3L_~_2~.5~~_2~-_~1~.5---_~1---_~0~.5--~--~0~.5--~ Eb/NO [dB] Figure 2: CQI BLER As a further performance metric, in Figure 3 we show the root-mean-square error of the cQr value, i.e., the square root of the average Euclidean distance between the transmitted cQr value and its retrieved. The CQI rrns captures the important fact that a small deviation between the transmitted and retrieved cQr values has less overall system impact than a large deviation, A large error in the retrieved cQr value would result in the base station trans- mitting data using a modulation and coding scheme (MCS) which is significantly wrong for the prevailing radio channel conditions. A much-too-high CQI value would result in a high probability of the mobile terminal being unable to decode the received data, while a much- too-low CQI value would result in significant wastage of potential throughput capacity. In order to avoid any confusion, we spell out how the cQr rms has been computed. Let us as- sume we simulate decoding of N transmitted codewords. We denote with ai the CQI-value corresponding to the i-th transmitted codeword, and with ai the CQI-value retrieved from decoding the i-th received vector. The CQI rms is then computed as cQr rms In Figure 3, we also plotted the "quantization rms", the rms of the difference of a uniformly distributed variable in [0,1] and its rounding to the nearest integer (so this number equals )2 . Jo~t dt = y'i7i2 ;:::;0.2887), This number approximates 2 the rms of the quantization 97 error due to rounding a cQr value in [0,32] to its nearest 5-bits integer, that for high SNR dominates the rms error between the reported cQr value and the actual channel quality. rms (20,7) codes 4.51-~-~-~-~-i===::======ïl -_._~.._. 063581 "." -"9---- 071095 Sec, 2.1 071095 Sec. 2,2 -. -----$-- _._~ 071118 3.5. --"0 071133 -- Quantizalion rms 0.5 Figure 3: cQr rms The simulation results show that for a large range of SNRs, our [20,7] code ("071095 Sec. 2.2") performs at least as well as the alternative codes in terms of PCI BLER. It shows a slightly better performance in terms of cQr BLER than the other proposed [20,7] codes, and a relatively large improvement in terms of cQr rms value performance. All other proposed codes, expect for the code from [2], have minimum distance 8, like our code; the better cQr rms value performance of our code is due to the extra proteetion offered to the most significant bit of the cQr value. 5 Conclusions We have described the construction of the block code adopted by 3GPP for the proteetion ofuplink signalling to support MWO in UTRA Release 7. Both [20,10] and [20,7] codes are provided, with the advantage that both codes can be described by only eleven vectors of length 20. This yields a useful reduction in complexity for the mobile terminal compared to the 17 length-20 vectors that would be required if the [20,10] and [20,7] codes had been totally unrelated. Both codes have the largest possible minimum distance, given their length and dimensions. The [20,7] code offers some extra proteetion to the most significant bit of the channel quality indicator value. We presented simulation results showing the benefits of this unequal error proteetion feature. 98 Appendix: Unequal error proteetion If a numerical value is transmitted, it is more relevant to correctly retrieve its most significant (high order) digits than its least significant (loworder) digits. In such a situation, it can be of interest to protect the high order digits better against channel errors than the low order digits. Unequal error proteetion of different message digits was introduced by Dunning and Rob- bins [6], who proposed the following yardstick for measuring the unequal error proteetion (VEP) capabilities of a generator matrix of a code 3. Definition Let G be a binary k x n matrix. The separation vector s( G) is the vector (Sj(G), S2(G), ... , Sk(G)), where Si(G) = min{wt(IDG) I ID E {O, l}k, mi = I}. Here, as usual, wt(x) denotes the Hamming weight of the vector x. We now explain the relevance of the separation vector of a matrix G. Assume that G is used for encoding. Consider two strings of information digits m and fi that differ in posi- tion i. As their difference has a non-zero in position i, the vector (ID - fi)G has weight at least Si(G). That is, mG and mG have Hamming distance at least Si(G). Hence, in case of L!(Si(G) - I)J or less errors, the i-th information digit can be retrieved correctly. If s(G) does not have constant entries, some information digits are better protected against errors than others. Note that the minimum distance of the code generated by G equals the smallest component of s(G). Optimality results We have designed two codes, viz a [20,10,6] code and a [20,7] code; the latter code has a generator matrix G2 such that s(G2) ?:: (8, ... ,8,9) (here and henceforward, inequalities between vectors are to be read component-wise). We proceed to show that our codes in some sense have optimal UEP capabilities. To make this more precise, we introduce the following function: for any vector s of length k, we define n(s) := min{ nl there is a binary k x 71 matrix G such that s( G) ?:: s}. We will make use of the following generalization of the Griesmer bound [7, Corr. 14]: if Sj?:: S2 ... ::::Sk, then (1) We use (z", yb) to denote a vector of length a + b that starts with a times the symbol x and ends with b times the symbol y. First, we show that there does not exist a 7 x 20 matrix G such that s( G) ?:: (10,76) or s((G) :2: (9,9,75). In other words, the separation vector of a generator matrix of a [20,7,d :::: 7] code can have at most one component exceeding 8, and this component cannot exceed 9. Our [20,7] code is thus in a sense VEP-optima!. JFor simplicity, in this paper we restrict ourselves to binary codes 99 According to the generalized Griesmer bound (1), we have that n(10,76) ;::: 10 + n(46) = 21, where thefinal equality follows from the fact that a [11,6,4] code exists, but a [10,6,4] code does not exist. Again according to (1), we have that n(9, 9, 75) 2: 9 + n(5, 45) ;::: 21, where the final inequality follows from [7, Table IJ. Our [20,10,6] code does not have any UEP properties at all. We show that a [20,IO,d 2: 5] code cannot enjoy many UEP properties. According to (1), we have that n(8,59) ;::: 8 + n(39) = 21, so the largest component of the separation vector of a generator matrix for a [20,10, d 2: 5] code is at most 7. Using (1), we also have that n(72,58);::: 7+n(4,38);::: 21, where the final inequality follows from [7, Table I]. We conclude that the separation vector of a generator matrix for a [20,10, d ;::: 5] code can have at most one component exceeding 6. As we have to encode two CQI values with the [20,10] code, it is not very interesting to have just one information bit that is protected better. References [1] http://www . 3gpp. org [2] Qualcomm Europe, "Definition of HS-DPCCH coding for FDD MIMO operation in Rel-T, 3GPP TSG-RAN WGl # 47, RI-063581, Nov. 6, 2006. [3] Philips, "Evaluation of block codes for CQI reporting in Rel-7 MIMO", 3GPP TSG- RAN WOl # 48. RI-07I095. [4] Ericsson, "Improved Subset Coding for Type-B CQIJPCI Information", 3GPP TSG- RAN WG 1 # 48, RI-071118. [5] InterDigital, "FEC Coding for Type-A and Type-B CQIIPCI Information", 3GPP TSG- RAN WG 1 # 48, R 1-071133, Feb. 12-16, 2007. [6] L.A. Dunning and W.E. Robbins, "Optimal encoding of linear block codes for unequal error protection", Information and Control, Vol. 37, May 1978, pp. 150-177. [7] W.J. van Gils, "Two topics on linear unequal error proteetion codes: bounds on their length and cyclic code classes", IEEE Trans. Inform. Th., Vol. 29, No. 6, pp. 866-876, November 1983. 100 Application of Random Processes Technique to Biometrie Authentication Vladimir B. Balakirsky Anahit R. Ghazaryan A. J. Han Vinck Institute for Experirnental Mathernatics, 45326 Essen, Germany v.b.balakirsky©!tue.nl, a.ghasaryanïêrambler.ru. vinckéêiern.uni-due.de Abstract We present a biometrie authentication algorithm with 3 possible outputs: accept the claimed identity, reject the claimed identity, and no answer. The algorithm is based on the model of non-stationary random processes and tr ansforrn ations of realizations of the processes to q-ary vectors whose components are uniformly distri buted over the set {O, ... , q - I}, where q is fixed. An application of the algorithm brings the false acceptance and the false rejection rates that do not depend on the probability distribution over the templates space and exponen- tially decrease with the number of independent biometrie parameters available to an observer. 1 Introduction There are many situations where an object is characterized by some list of parameters of different nature. Examples include biometrie measurements when the list can consist of the height of the person, the calor of hairs, the weight, etc. [IJ. These parameters are written in a vector and stored in a database under the name of the person. The claimed identity of a person is then checked by comparison of the vector consisting of results of his measurements and the corresponding vector fetched from the database. The difficulties of organizing such a procedure are caused by the fact that independent measurements of the same parameter of a person usually bring different results. There- fore one has to develop criteria that specify contributions of non-equal components of two vectors to the binary decision: the claimed identity should be either accepted or rejected. By the point that components of two vectors under considerations are measured in different units, one has to find an artificial space where results of two measurements can be compared. We develop mathematical model of non-stationary random processes assuming that components are outcomes of random experiments with specified proba- bility density functions (PDF's). Different components are assumed to be independent. The PDF also determines the probability distribution function (PD) whose value be- longs to the interval [0, IJ for any PDF. This observation allows us to unify parameters: the value of each parameter is considered as the argument of the corresponding PD and it is replaced by the value of function. Our analysis of the approach above is presented via evaluation of the false accep- tance and the false rejection rates, where the false acceptance rate is the probability that the claimed identity is accepted while people are different, and the false rejec- tion rate is the probability that the claimed identity is not accepted while parameters lThis work was partially supported by the DFG. 101 are measured for the same person. The basic result is the point that our approach guarantees these rates to be exponentially decreasing functions with the number of parameters under certain conditions. Furthermore, we prove a universal estimate on the false rejection rate that does not depend on the PDF's of parameters. 2 Statement of the problem and a general authen- tication algorithm We will use notation of probability theory where capitalletters denote random variables and random processes. Let X = (X(1), ... ,x(n)) and Y = (y(1), ... ,y(n)) be random processes, where (X(1), y(l)), ... , (x(n), y(n)) are independent pairs of random variables. Suppose that the PDF's of random variables X(t) and y(t) be given as functions fJt) and f~t) in such a way that the PD's are strictly increasing functions over the set R. This property will be indicated as FJt),F?J E F, where FJt) = (FJtJ(x),x ER) and FSt) = (F?)(y),y ER). Let f;;~(ylx), x, yE R, be introduced as a kernel of the integral transformation (1) and let F;~~(ylx) ~ 1~ f;;~(y/I.7:)dy', yE R, denote the conditional PD for all x E R. Suppose that x = (x(l), ... ,x(n)) E Rn and y = (y(1), ... ,y(n)) E Rn are realizations of the processes X and Y. Denote (fx(x), fy(Y), fYlx(Ylx)) (ITf£t)(x(t)), ITfPJ(y(t)), ITf;;~(y(t)lx(t))), (2) t=1 1=1 1=1 and formulate two problems. I: Is it true that x and y are realizations of independent processes and the value of the joint PDF is expressed as fx(x)Jy(y)? The question corresponds to the case when the vector x contains biometrics of a person from the database, and the vector y contains biometrics of a person chosen at random. D: Is it true that x and y are realizations of dependent processes and the value of the joint PDF is expressed as fx(x)fYlx(ylx)? The question corresponds to the case when the vector y contains a noisy version of biometrics x of some person from the database. 102 General solutions to the liD problems can be specified by sets I,1) C Rn X Rn. The answers are positive if (x,y) E I and (x,y) E 1) in the I and the D problem, respectively. The peculiarities of our situation as compared to the situation considered in the hypotheses testing direction [2] are caused by the fact that sets I and 1) have to be disjoint. In other words, these sets cannot be assigned independently, and an algorithm for testing the independenee in the I problem depends on the specificatien of the dependency in the D problem. However, one can overcome these difficulties if the "no answer" output is allowed in the case when (x,y) E In1). 'vVeaccept such an assumption and translate it to a general authentication algorithm as follows. Given the claim that x and y describe biometrics of the same person, assign two sets, I,1) C Rn X Rn, and denote (3) Set "accept the claim", if(x,y) E .fn1), Decision = "no answer" , if (x, y) E In 1), (4) { "reject the claim", if(x,y) E 1). Notice that the acceptance and the rejection decisions in (4) are non-symmetric, since we reject the identity if (x,y) E {In1),.fn15}. If only the I problem is considered, then it can be viewed as testing of hypotheses f = fx,y or f i= fx,y, and the performance of an I algorithm is characterized by the error probability (5) where X denotes the indicator function: X{S} = 1 if the statement S is true and x{S} = 0 otherwise. Similarly, if only the D problem is considered, then it can be viewed as testing of hypotheses f = fx,Ylx or f i= fx,Ylx, and the performance of a D algorithm is characterized by the error probability (6) Certainly, assignments I,1) = R" X Rn bring the probabilities ITi(I) and ITd(1) equal to zero. However, combining the I and the D problems impose three hypotheses: 1) f = fx,y; 2) f = fx,Ylx; 3) f i= fx,y and f i= fx,Ylx' Then the performance is also characterized by the probabilities ITid(1) /), l n XRn fx(x)fy(y)x{(x,y) E 1)}dxdy, (7) ITdi(I) /), l n XRn fx(x)fYlx(ylx)x{(x, y) E I}dxdy. (8) Roughly speaking, we want all four probabilities to be small. For example, the problem can be formulated as follows: given the PDF's satisfying (1), (2), construct sets I, 1) in such a way that 103 We will present a specific construction of the sets I, 'D that are pararneterized by non-negative numbers 00 and Ol. Independently of the PDF's, the probabilities rqI) and IId('D) are expressed through 00, Ol, and auxiliar'y integer q, and they exponentially decrease with the number of observations n. Notice also that the same value of IIi(I) and IId('D) can be obtained for different parameters 00 and Ol. These parameters have to be assigned to minimize IIid('D) and IIdi(I). The result of optimization depends on the PDF's under considerations. 3 The ç transformations of random variables and the conditional distortions between biometric vec- tors Suppose that X is a continuous random variables with the PD F E :F and let q be a fixed positive integer. Denote Q ~ {O,... , q - I} and n(q-1) Q(n) ~ U {c/(nq)}. c=o Introduce the Çx, çy, and ÇYlx iransformations in the following way. For all x, y E R, let çAx) = LqFx(x)J, çAy) = lqFy(y)J, çYlx(ylx) = lqFYlx(ylx)J, (9) where L z J denotes the integer part of z E R. The Çx transformation is illustrated in Fig.1. Notice that equalities (9) determine a uniform distribution over the set Q: (10) Furthermore, for all x E R, FYi~((j+1)/qIX) Pr{çYlx(Ylx) = j} = i F';;~(ilql,,) fYlx(ylx)dy = l/q, jE Q. (11) Let us apply transformations (9) to components of the processes X and Y by substituting (Fx, Fy,FYlx(x)) = (F~t),F~t),F;~2(x(t»)), t = l,,,.,n. Set I çx(x(t») - çy(y(t») I q I çx(x(t») - çylx(y(t)lx(t») I q and define n n t..i(x, y) ~ L t.. x(t), y(t»), t..d(x, y) ~ L t..d (x(t), y(t») i( 1=1 t=l as the conditional distortions between x and y. 104 FAx) 3 2 1 0 al 0 a3 X x Figure 1: Example of the transformation i: ~ çx(i:) = 3 for q = 4, where al = Fx-l(1/4) and a3 = F:,,-1(3/4). Introduce the (.6.lç)-authentication algorithm as follows. Fix two thresholds) Óoand Ól. Given the claim that x and y describe biometrics of the same person, compute .6.i(x,y), 6d(X,y), and denote I 6 {(x,y) E Rn X Rn: 6i(X,y) E (nóo,nól)}' (12) V 6 {(x,y) E R" X Rn: 6d(X,y) E (nóo,nól)}. (13) Follow rules (4), where sets I, 1) are defined in (3). 4 Performance of the (6.IÇ")-algorithm Given a PD over the set Q(l) specified by some vector p = (Po, ... ,Pg-I), introduce the generating function q-l Gp(w) ~ LPcwc, ceeü where W is a formal variable, and express the n-th power of the polynomial Gp(w) as (Gp(w)f = L wp(ó)w nqó . ÓEQ(n) The equalities (10), (ll) immediately bring the following universal statement (the claimed performance does not depend on the PDF's under considerations). Proposition 1. Let f3 = (,60, ... ,f3q-d be the vector having componenis 1 f3c~q\l{i,jEQ: li_jl=c}l=qq~c.{ 2" ~j(c={Ol', ... ,q- l} . z cE 105 If the sets I and D are defined by (12)! (13), then, for all (F~ll, ... , F.Jnl), (F;!), ... , FSn»), (F(l)(x(i») ... F(n)(x(n»)) E F" ylx , 'ylx , (14) where the probabiiiiies lIi(I) and lId(D) are defined in (5), (6). Results of the analysis of the probabilities lIid(D) and lIdi(I) are less universal in a sense that they depend on the specific PDF's. For all t = 1, ... ,n, introduce two PD's 1 set Q(l) b yt h e vectors f3(t)id = ((J(t)id,O"'" (J(t») over the (t) ((J(t) (t) id,q-l andf3di = di,O,···,{Jdi,q-l)' where (Ji~~c r fJt)(x)f~t)(y)X{ JRXR I çAx) - çYlx(ylx) 1= c }dxdy, (3à~~c r fJt)(x)f;;~(ylx)x{ JRXR I çx(x) - çy(y) 1= c }dxdy. For p(t) = f3(t)id' f3(t)di' t = 1, ... , n, 1et us express the product .'of n polynomials Gp(1) (W ) , ... , Gp(' as n Proposition 2. If the sets I and D are defined by (12), (13), then, for all (FP), ... , F~n)), (FP), ... , FSn)), (F;t:(x{l)), ... , F;~)(x(n»)) E F", L 5EQ(n)n(50,5.) IJ!~i:i,···,~id)(S), L 5EQ(n)n(50,o] 1 IJ! ~~'i ,..,~~~) (S), where the probabilities lIid(D) and IIdi(I) are defined in (7), (8). In particular, if = f3id and f3~? = f3di for all t = 1, ... ,n, then f3f~) IIid(D) L 6EQ(n)n(So,o.) IJ!!3id(S), (15) lIdi (I) L 5EQ(n)n(oo,o,) IJ!~di(S). (16) 5 Numerical illustrations Let (g>n,a2(x),x E R) denote a Gaussian PDF with the mean m and the variance (52. We also write go-2(X) ~ go-2(xIO) and denote the corresponding Gaussian PD by (Go-2(X), xE R). Suppose that q = 4 and that (f~t)(x), f~t)(y),f;;~(ylx)) = (g2(X),g2.5(y),gx,O.5(Y)) (17) 106 .15 .10 .05 Jo J1 Figure 2: The probabilities Wp(J) for (n,q) = (32,4); the PDF's are defined in (17). for all t = 1, ... ,n. Notice that (G21 (1/4), G21(2/4), G21(3/4)) (-0.954,0, +0.954), (G2.~(1/4), G2.~(2/4), G2.~(3/4)) (-1.066,0, +1.066), (Go.~(1/4), Go.~(2/4), Go.~(3/4)) (-0.477,0, +0.477). To solve the I problem we map the r-th components of the vectors x and y to the q-ary elements according to the rules: 0, jf .r(t) ::; -0.954, ~x (x(t)) = { 1, 2, 3, if x(t) E (-0.954,0], if x(t) E (0, +0.954), if x(t) ;::: +0.954, (18) 0, if y(t) ::; -1.066, ~y (y(t)) = { 1, 2, 3, if y(t) E (-1.066,0], if yet) E (0, + 1.066), if y(t) ;::: +1.066. (19) To solve the D problem we map the t-th component of the vector x to the q-ary element according to (18) and replace (19) with the rule: 0, if y(t) - X(t) < -0.477, ~ (t)1 (t)) _ 1, if yet) - x(t) E (-0.477,0], ylx y x - 2, if yet) - x(t) E (0, +0.477), { 3, if y(t) - x(t) ;::: +0.477. The constructed q-ary vectors are then used to determine the values of the conditional distortions and their comparisons with the thresholds. One can check that, for any vector p specifying a PD on the set Q(1), the PD (wp(5),5 E Q(n)) simulates the binomial distribution over the set Q(n) with the mean q-1 5(p) ~ ~(cl q)pc. c=o 107 These PD's determine the performance of the ll.lç-algorithm according to (14) and (15), (16). An example for (n, q) = (32,4) and the PDF's defined by (17) is shown in Fig.2 where we also illustrate possible assignments of parameters Óo and Ol under the conditions IIid(V) ~ IIi(I) and IIdi(I) ~ IId(V). Notice that in this case, f3id (0.666,0.320,0.013,0.000), f3 = (0.250,0.375,0.250,0.125), f3di = (0.094,0.222,0.288,0.396) and (O(f3id)' 0(,13), O(f3di)) = (0.188,0.312,0.498). As a result one can reliably distinguish between hypotheses under consideration. References [1] R. M. Bolle, J. H. Connell, S. Pankanti, N. K. Ratha, A. W. Senior, Guide to Biometrics. New York: Springer, 2004. [2J S. Kullback, Information Theory and Statistics. New York: Dover, 1968. 108 Human Motion Analysis Using Simultaneous Trajectory and Body Detection and Modeling lWeilun Lao, I Jungong Han 1,2Peter H.N. de With 1Eindhoven University of Technology 2LogicaCMG Netherlands P.O. Box 513 P.O. Box 7089 5600MB Eindhoven, Netherlands 5600JB Eindhoven, Netherlands {w.lao,jg.han}@tue.nl P.H.N.de.With@tue.nl Abstract In this paper, we propose a scheme to combine trajectory-based detection and body-based estimation to analyze human behavior in video scene. Our scheme is applied for a fast and automatic detection of pick-up/drop-off events within surveillance videos in indoor areas. A moving person is tracked globally using the mean-shift algorithm and modeled locally using an axis skeleton in a monocular video sequence. We detect and rectify the stationary pick-up/drop-off objects. The spatial-temporal relationship between object and person is measured and exploited to detect a pick-up/drop-off event. Our experimental results accu- rately estimate the human-motion trajectory and infer the posture. The system operates at real-time speed (around 20 frames/second). 1 Introduction Ilumau-behavior analysis in visual surveillance has been investigated worldwide for about two decades [1, 2]. Recent advances in human-body modeling promise to create a wide variety of new applications including human-pose recognition, abnormal-event detection, person-specific identilication and human computer interactions. Since there can be large variations in the camera setting and the environment, it is necessary to propose a robust approach for semantic analysis. Moreover, for ambient intelligence, this technology may spread to the consumer area where an efficient/fast motion analysis is highly required. Extensive research has been conducted in automated surveillance, especially in moving object detection and tracking. A number of well-known visual surveillance systems have become available. At an earlier stage, most surveillance systems were focusing on understanding the event through the study of trajectories and positions of persons using a-priori knowledge about the scene. The system VSAM developed at CMU [3] can monitor activities over various scenarios, using multiple cameras that are connected as a network. It can detect and track multiple persons and vehicles within cluttered scenes and manage their activities over a long period of time. The real-time visual surveillance system W4 [4] employs the combined techniques of shape analysis and body tracking, and models different appearances of a person. This single-camera 109 system attends to detect and track groups of people as well as monitor their behaviors, even in the presence of partial occlusion and in outdoor environments. However, the above systems generally suffer from the problem that their monitoring performances mainly rely on the detected trajectory of the concerned objects. In addition, the results are not sufficient for event analysis in some cases. For example, in a shopping scenario a person takes a can of drink, pays for it and leaves the shop. The person's detected trajectory is very similar to other behavior when the person just browses in the shop and leaves without buying anything. Thus having only the trajectory information is insufficient for recognizing or classifying different activities. Therefore, research increasingly touches upon human-motion semantic analysis at the level of individual body parts [5] or shape silhouette [6]. The local properties of the detected person are estimated, thus the developed systems can produce the semantic recognition of dynamic human actions. Unfortunately, these approaches are not always feasible for surveillance because the body posture is insufficiently analyzed. Our aim is to more reliably analyze the body configuration and the posture. In a video scene, the available body observations contain noise, outliers, ambiguities, and do not easily yield accurate information. The currently applied surveillance systems typically are based on assumptions such as multiple cameras, manual initialization, controlled/simplistic motions or simplified background. Recently, research concentrates on human-motion analysis from uncalibrated monocular video sequences by incorporating specific prior knowledge [7, 8]. It is our opinion that an elegant combination of the trajectory of human motion and the body-part analysis can provide more semantic understanding. 2 Dual-Module Architecture It is our intention when combining the trajectory-based estimation and body-based analysis, to capture the human motion and model the body using an axis skeleton. Both modules will be processed in parallel. The proposed scheme in the section can be applied in a surveillance system when the heuristic human-object relationship is exploited. In our case study of pick-up/drop-off object detection, the spatial distance between person and object and the temporal duration of the detected stationary object are essential. The objective ofthis ongoing work is to analyze the object/scene without any a-priori information about the camera system or the person involved. The block diagram of our proposed scheme has a bottom-up nature and is shown in Figure 1. It consists of three different levels. First, at the pre-processing level, each image covering an individual body is segmented to extract the human silhouette. Second, at the modeling level, both the trajectory-based and body-based modules are processed in parallel. The position of the moving object in every frame is extracted. Then the system initializes the local body-part analysis. Meanwhile, the body-based modeling updates the trajectory. After this, the human geometry and kinematics are modeled. Finally, the outcome of modeling level is fed into the semantics level for a 110 1-------------1 , Pick-up/drop-off , ,__ ~v~'lt_d~~es:tj_q_n __ : / " :---Sïätionar)' ölijëöl-- / human pose' ~detection ', estimation/ : - Spatial-temporal , " ----- / , person-object , :_0.9sltjLng : Video input Figure 1: Block diagram of our dual-module human-motion analysis system. specific-case analysis with supplementary domain knowledge. The proposed scheme is applied to a case study of pick-up / drop-off object detection. A stationary-object detector is activated. It can quickly identify stationary foreground objects by looking for pixel regions that consistently deviate from the background for a set of time intervals. The detected stationary objects are qualified for the possibility of a "pick-up" or "drop-oft" event. The spatial-temporal relation (especially the distance) between person and object is produced by the synergy of the trajectory-based and body-based analysis. Then this heuristic information is used to trigger attention or warnings. We also conduct further analysis of the corresponding person. The axis skeleton of the person is extracted from the silhouette. This paper discusses a preliminary implementation of the whole system. Each component involved is described in more detail in Section 3. The seamless integration of different components and their extension to other cases, e.g. human abnormal behavior detection, are being developed in ongoing work. 3 Component Algorithms After the segmentation of foreground objects, the human-motion analysis is imple- mented based on two simultaneously running modules: trajectory-based and body- based processing. Let us now discuss the algorithms of these processing modules and the succeeding event detection incorporating specific domain knowledge. III 3.1 Background modeling Modeling the background is generally the first module of detection and/or analysis of moving objects in a video sequence. We apply an adaptive background subtraction. The basic idea is to maintain a statistical background model at every pixel. When the intensity of every individual pixel in the current frame differs significantly from the background model (above a threshold), it is labeled as foreground. Foreground pixels are then grouped together to present potentially moving objects. Our algorithm is based on a weighted average of all pixel values in the previous frames, as expressed in the following equation B(t) _ { I(t) for t = 0, (1) - w x B(t - 1) + w x I(t) for t » 0, where B(t) denotes the background model value at time t, I(t) stands for the image pixel value at time t, and w is a weighting parameter between 0 and l. 3.2 Trajectory-based module The trajectory-based module estimates the human position over time in the move- ment, which is regarded as the fundamental function of surveillance systems. In our trajectory-based module, we apply the mean-shift algorithm for a tracking person based on its appearance model represented as a calor histogram. After the detection of a new person in the image domain, we calculate its histogram model. In subsequent frames for tracking that person, we shift the person object to the location whose histogram is the closest to the previous frame. To acquire a coler-histogram appearance model, the position of every 2D target- object blob obtained from the previous detection phase is used. For every pixel in the blob, we convert it from RGB calor space to HSV calor space. We use the HSV calor space because it emphasizes chrominance elements more than intensity elements. Every pixel in the blob will give a vote to a bin in the histogram. In subsequent frames, we intend to find the target location whose neighborhood calor-density function is most similar to the model's density function. This is equivalent to maximizing the Bhattacharyya Coefficient associated with the model and the candidate distributions, which can be achieved by mean-shift iterations [9]. After the trajectory is located, we can conduct the body-based analysis at the location of the person in every frame. 3.3 Body-based module The body-based module models the human activity in more details in the form of axis skeleton, skeletal-joint angles or joint positions. But the sensitivity of body- level analysis is affected by many factors of uncertainty including occlusion, camera perspective, illumination and underlying algorithmic limitations. 112 We model the body by using an axis skeleton, which is used to infer the relative orientation of body parts and body posture. This major axis of the foreground region is determined by applying a Principal Component Analysis (PCA) to the foreground pixels. The direction of the major axis is given by an Eigenvector v associated with the largest Eigenvalue of its covariance matrix. It is actually a best fitting axis which goes through the median coordinate of the foreground pixels. The axis is computed by minimizing the sum of squared perpendicular distances from all the foreground pixels to the axis. The design of a robust method to locate the head and different body parts using low-resolution images is still under development. 3.4 Pick-upjdrop-off event detection To perform the pick-up/drop-off event detection, we combine the trajectory-based and body-based modules. This detection is important in the security and surveillance monitoring of special areas. When the moving objects are tracked in the potential pick-up/drop-off events, a stationary-object detector runs in parallel using the same background modeL The detector looks for foreground pixels that deviate from the background for a certain du- ration of time. To quantify the duration, we employ a time-duration cost function. The function produces a feature called the stationary-object confidence C(x,y), in which each pixellocation (x, y) holds the confidence that the pixel belongs to a stationary object. The confidence values are mapped into an interval of [0,30], where 0 indicates a background pixel with maximum confidence and 30 points at a stationary-object pixel. In the beginning, the confidence values for all pixels C(x, y) are initialized to O. For every input frame in the video, the confidence value of every pixel C(x, y) is calculated based on the comparison of pixel value i(x,y) to its corresponding background model b(x, y)l',o- with mean J.L and variance 0". An upgrade counter U(x, y) at each pixel records the number of consecutive i(x, y) values that do not fit to the background model at that pixel. This counter is reset to zero when it is observed that i(x, y) falls within the expected background model at (x,y). Also, a downgrade counter D(x, y) is executed to count the number of consecutive i(x, y) that fit to the background model at (x, y). Then we can generate the confidence function C by: C(x,y) = { C(x,y) + U(x,y) x C(x, y) - D(x, y) x T f if i(x, y) does not fit b(x, y)l',o-, if i(x, y) fits b(x, y)l',o-, (2) where F is the frame rate of the video sequence and T is the "pick-up j drop-off event waiting time" parameter in seconds for declaring a pixel stationary. Pixels belonging to a stationary object will not fit to the background model and remain different from the background for as long as that object stays in place, causing the corresponding C(x, y) value to be increased at every frame till it reaches the maximum confidence l13 value 30 by the time that the object is picked up or dropped off for t seconds. In parallel with the computation of the confidence function for the stationary-object pixels, color values for i(x, y) can be used to build a color distribution for the stationary object. The appearance model can be used to distinguish the actual stationary object from other occluding foreground objects. All the pixels belonging to a stationary object are processed by connected component analysis prior to locating the stationary object. The distance between the tracked person and the located objects is also explored. If it is within a threshold distance, we can infer that the object is attached by the person and the pick-up/drop-off event detection is triggered. 4 Experimental Results In our experiments, we have tested the algorithm in five different sequences with more than 2,500 frames. The test color images have a resolution of 352 x 288 samples. The video sequences were recorded at 25 frames/so In the test video, a person conducts the pick-up and drop-off event with different objects including a magazine, a bag and a trash container. We have investigated the pre-processing steps of the automatic silhouette extraction. The first 80 frames of every sequence are used for generating the background model. Some examples of our experimental results are illustrated in Figure 2. The first column of images shows the detected trajectory of a person over time (see the floor). In the more detailed views at the right, the images show the person on a local scale. The axis skeleton of the person is extracted from the silhouette. The detected person is highlighted by a black bounding box. The attended object is also visualized accordingly. In our experiments, all the pick-up/drop-off events are successfully detected and the related objects are correctly located. The system is implemented in C++ on a 1.6 GHz PC with OpenCV. The proposed detection system operates at real time (around 20 frames/second). 5 Discussion on Algorithmic Extensions and Cam- era Usage Currently, the area ëoveriug LIt.::. extracted person i$ raL hel sinall in the im Ag/\ :-;0 that it is not easy to locate different body part accurately. When this is possible, we are able to investigate in detail how the person commits the pick-up or drop-off activity. This is essential for surveillance applications. For example, if we want to detect whether a robber raises a gun and threats a shop keeper, the location and movement of the individual body parts are important. In this case, only the whole-body trajectory is not sufficient for behavior analysis. In fact, the objective of wide area monitoring and surveillance and detailed object extraction and analysis are in contrast with each other. To identify people at a distance, we need to use a highly zoomed camera. However, 114 Figure 2: Two examples of detected person and object involved in pick-up/drop-off event detection. the overall field of view decreases when the camera zooms in. Therefore, we cannot only rely on a static camera in the surveillance system. To solve the above dilemma, we have to extend our current system to analyze a specific human behavior at a local scale. We note that this body-part analysis component is always missing in existing surveillance systems. We believe that both trajectory and local body-part information are important in semantic analysis in a surveillance system. If we are able to extract foreground objects at high resolution, we can model and analyze the behavier by using more sophisticated techniques [8]. Also, the skeleton reconstruction can be implemented when the local joint position of body is estimated [10]. We are currently working on a master-slave camera system, where an active pan-tilt-zoom camera is applied to focus on a object when it appears in the scene. The selection of the object for investigation depends on its distance to the master camera and its behavior. 6 Conclusions We have proposed a novel dual-module scheme for human motion analysis that com- bines the trajectory-based estimation and body-based analysis, to capture the human motion and model the body. The trajectory-based module provides a platform for per- forming body-based analysis. The tracking module is efficient as it is based on proven technology using computing and comparing local color histograms within a bounding box. The body-based module updates the tracking process, by inferring the posture of the human body and describing this efficiently by a single axis skeleton. This skele- ton will be extended into a more realistic body model in near future. Based on the above scheme, a fast and practical method was presented for the automatic detection 115 of pick-up/drop-off event from a surveillance video in indoor areas. This detection was performed according to the spatial-temporal distance between the object and the person. By measuring and analyzing the distance between the trajectories of persons and objects, we are able to detect pick-up/drop-off events in a simple way. Our system operates at real-time speed (around 20 frames/second). The presented system is still immature. However, after finding a more detailed skeleton model and a more advanced model for the person-object relationship, it should be possible to apply the complete detection and system to more challenging scenarios. To achieve further semantic analysis in a more generic surveillance application, our scheme can be utilized provided that the domain knowledge of associated objects and persons is partly pre-defined and behavior constraints can be derived and specified. References [1] T. B. Moeslund, A. Hilton and V. Kruger, "A Survey of Advances in Vision-Based Human Motion Capture and Analysis" , Computer Vision and Image Understanding, vol. 104, pp. 90-126, 2000. [2] W. Hu, T. Tau, L. Wang and S. Maybank, "A Survey on Visual Surveillance of Object Motion and Behaviors" , Trans. Systems, Man and Cybernetica, vol. 34, pp. 334-352, 2004. [3] R.T. Collins, A.J. Lipten, T. Kanade, H. Fujiyoshi, D. Duggins, Y. Tsin, D. Tolliver, N. Enomoto and O. Hasegawa, "A System for Video Surveillance and Monitoring", Technical Report CMU-RI-TR-00-12, CMU, 2000. [41 I. Haritaoglu, D. Harwood and L. Davis, "W4: Real-Time Surveillance of People and Their Activities", Trans. Pattern Analysis and Machine Inteligence, vol. 22, no. 8, pp. 809-830, 2000. [5] S. Park and .J.K. Aggarwal, "Simultaneous Tracking of Multiple Body Parts of Interacting Persons", Computer Vision and Image Understanding, vol. 102, pp. 1-21,2006. [6] M. Leo, T.D'Orazio, I. Gnoni, P. Spagnolo and A. Distante, "Complex Human Activity Recognition for Monitoring wide Outdoor Environments", International Conference on Pattern Recognition, vol. 4, pp. 913-916, 2004. [7] T. Xiang and S. Gong, "Beyond 'Trucking: Modellmg Actlvity ami Ulllle!"LallJ~üg Be- havior", Intel. .Journal Computer Vision, vol. 67, pp. 21-51, 2006. [8] W. Lao, J. Han and P.H.N. de With, "A Matching-Based Approach for Human Motion Analysis", Internation Conferent on Multimeda Modeling, LNCS 4352, pp. 405-414, 2007. [9] R. Collins, "Mean-Shift Blob Tracking through Scale Space" , Computer Vision and Pat- tern Recognition, pp. 234-240, 2003. [10] W. Lao, J. Han and P.H.N. de With, "Multi-Module Human Motion Analysis from Monocular Video", In Proceedings of SPIE Electronic Imaging (El), 2007. 116 On least squares estimators under Bernoulli-Laplacian mixture priors Aleksandra Pizurica and Wilfried Philips Ghent University Image Processing and Interpretation Group Sint-Pietersnieuwstraat 41, B9000 Ghent Belgium sanja@telin.ugent.be, philips@telin.ugent.be Abstract Several recent wavelet denoising methods use priors that are mixtures of two truncated Laplacian-shaped distributions, where a Bernoulli random variable controls switching between the central part of the d.istribution (describing the "insignificant" data) and its tails (describing the so-called "signalof interest"). The existing works combine this prior with heuristic shrinkage rules, and in this paper we derive the m.inimummean squared error (MMSE) estimator. The de- rived expressions generalize previous related MMSE estimators under Laplacian priors and point out a new relationship between the asymptotic behavior of these estimators and the soft-thresholding. The new results also enable a comparison and demonstrate potentials of Bernoulli-Laplacian priors with respect to more common Bernoulli-Gaussian (normal-mixture) priors. 1 Introduction A Bayesian estimator assumes a prior distribution for the quantity being estimated. For sparse signal representations, like the wavelet domain, effective priors include mix- tures of two distributions where one distribution models the statistics of "significant" coefficients and the other distribution models the statistics of "non-significant" coeffi- cients [1-7], with a Bemoulli random variable mixing the two distributions. Examples are the mixture of two normals [1], the mixture of a normal and point mass at zero [2-5] and the mixture of a Laplacian and point mass at zero [6,7]. We address related, but somewhat different priors that are mixtures of two truncated (Laplacian) densities and that appear in several recent multiresolution denoising papers and books, like [8-11]. In this approach, the distribution of significant coefficients is defined by tails of a (gen- eralized) Laplacian and the distribution of nonsignificant coefficients by the remaining central part of the distribution (scaled to integrate one). We call this prior Bemoulli- Laplacian (B-L). The existing works used B-L prior within a heuristic shrinkage rule only, which prevented its fair comparison to other, more common priors in Bayesian denoising. This paper derives the minimum mean squared error (MMSE) solution under the B-L prior, and it also generalizes some of the previous results on MMSE estimation under Laplacian priors and Laplacian mixture priors from [6,7]. The paper has two main objectives. First, it searches a justification for rather heuristical shrinkage rules adopted in [8-11] and also gives the expressions which enable direct upgrading (re- stating) these methods within the MMSE criterion. Secondly, this paper also shows 1A. Pizurica is a postdoctoral research fellow of FWO Flanders. 117 that the B- L model leads to a wavelet shrinkage rule which behaves as a sort of soft thresholding for large coefficients. From a practical point of view in image denoising, we show experimentally that the B-L mixture prior yields a better mean squared error performance than more common normal mixtures [1] and mixtures of a Laplacian and point mass at zero [7]. 2 Problem outline Consider a classical problem of estimating the unknown digital signal (3i (i 1...n) from the measurement noise Ei, where the observations are Yi = (3i + Ei, i = 1, ..., n ( 1) and the noise samRles Ei are independent identically distributed normal random vari- ables Ei ~ N(O, (7). We assume the unknown noise-free signal is sparse and well modelled by a Laplacian distribution, which is a typical problem in wavelet domain image denoising [12]. If the input noise is additive white Gaussian, then (1) holds in each wavelet subband provided that the wavelet transferm [13,14] is orthogonal. Let T (4) where T is a threshold that defines the signal of interest. The corresponding mixture densities f((3IHn) and f((3IH,) are truncated Laplacians (rescaled in order to integral one). This prior appeared previously with a heuristic estimator = P(Hlly)y iJ its and spatially adaptive extensions. In [9, p.154], this rule that we call ProbShrink, has been described as posterior expected hard thresholding. In this paper, we show that the Probilhrink rule can be interpreted as an approxi- rnative MMSE and we also derive the exact MMSE estimator under the corresponding prior. The noise standard deviation will be, as is conventional, estimated from the median of the absolute values of the coefficients at the highest level [7,16]. We shall not consider the specification of the the threshold T and the prior probability P(H1) because these issues have already been addressed elsewhere. In particular, the thresh- old T was in [8-11] chosen as T = (7 motivated by the oracle reasoning by Donoho and collaborators. The prior probabilities of the two hypotheses, have been analyzed in different forms: fixed per subband [1,11] or spatially varying, based on hidden Markov 118 modelling (HMM) [17], Markov Random Field (MRF) modelling [8-10,18] or local spatial/spectral activity indicators [11]. We shall present here denoising results for the case where P(H)) is fixed per subband, but notice that the derived expressions can be in the same way combined with more complex, spatially adaptive prior probabili- ties. For example, the expressions we derive here can be "plugged" into the spatially adaptive MRF-based approaches of [8,10] and spatially adaptive denoiser based on the same prior from [11] to restate these methods within the MMSE criterion. 3 The least squares estimator under B-L prior As discussed above, our estimator is determined by the conditional means E(,BIy, Ho) and E(,8ly, HI) and the Bayes factor TI under the B-L prior. First, we normalize the noise standard deviation to u = l. Proposition 1 Assume the wavelet coefficients in a given sub band follow model (1) with u2 = 1, i.e., Yi = ,8i + Ei, i = 1, ... , n, where Ei are i.i.d. N(O, I). Also, assume that the noise-free coefficients ,8i are i.i.d. Laplacian random variables f(,8) = (À(2) exp( -ÀI,8I) and define the hypotheses Ho and HI as in (4): Ho: 1,81::; T and HI : 1,8 > T. Let rjJ(y) and (y) denote the probability density function and the cumulative distributions of the standard normal distribution N(O,l) and define \(I (a; t) = (a + t) - (t). The conditional mean of,8 given y under HI (the signalof interest is present) is Àr _ (y; À; T) - e-(T /2+>.T) (eTY - e-Ty) / V21r 2 E(,8ly, Hd =y - ( . À' T) r+ y, , (5) where r +(y; À; T) = e(y->.)2/2(y - À - T) + e(y+>.)2/2( -y - À - T) r _ (y; À; T) = e(y->.)2/2(y - À - T) - e(y+>.j2 /2( -y - À - T). The conditional mean of ,8 given y under Ho (the signalof interest is not present) is 2 Xp : (y; À; T) + e-(T /2+>.T) (e - e-Ty) / V21r TY E(,BIy, Ho) = y - ( .).,. T) (6) p+ y,/, where p+(y; À; T) = e(y->.)"/2W(À - y; T) + e(y+>.)2/2\{1(À + y; T) p_(y; À; T) = e(y->.)2/2W(À - y; T) - e(y+>.)2/2W(À + y; T). The conditional densities of noisy coefficients are f(yIHo) = AoV21rrjJ(y)p+(y; À; T) and f(ylHd = Al V21rrjJ(y)r +(y; À; T), with Ao = (V2)e>'T /(e>'T - 1) and Al = (À/2)e>'T, and the likelihood ratio is TI = f(yIHI) = (e>'T _ 1) r +(y; À, T) . (7) f(yIHo) p+(y; À, T) Proof: See Appendix. A subband-adaptive formulation for P(HI) from [11] is P(HI) = 1 - J~T f(j3)d,8 = exp( -ÀT). In this case, for T = 0 our estimator reduces to E(,8ly) = E(,8ly, HI) = y - Àr _(y; À, O)/r +(y; À, 0), which is the MMSE estimate under the Laplacian prior from [6]. For arbitrary u (see the bottom of Appendix) we have (7"2 Àr _(y/u; (7" À; T) - CJe-(T2/2+u>.T) (eTy/u - e-Ty/U)/V21r E(,8ly,HI)=y- (/. À'T) . (8) r+yCJ,CJ, and the conditional mean is E(,8ly) = y - CJ2Àr _ (y/ CJ;CJÀ, O)/r +(y/CJ; CJÀ, 0). 119 4 Results and Discussion The following analysis of the derived estimator yields two interesting results: (1) we es- tablish a new relationship between the MMSE estimators under (Bernoulli-)Laplacian priors and the classical soft-thresholding and (2) we explicitly expose the approxima- tions that relate the intuitive probabilistic shrinkers of [8-11] to the MMSE estimator under the same prior. The conditional means E(,8ly, HI) and E(,8ly, HI) are illustrated in Fig. 1. For large Iyl. E(,BIy, Ho) approaches +T (when y > 0) or -T (when y < 0). We observe that the values of E(,8ly, HI) for large Iyl do not depend on the value of T and that E(,8ly, HI) tends to the soft-thresholding estimates. It has been shown before that the maximum a posteriori (MAP) estimator under the Laplacian prior is equivalent to soft-thresholding with the threshold 172À [12,19]. The following proposition describes a similar result for the MMSE estimator of large magnitude coefficients. Propositiori 2 For large Iyl, E(,8ly, HI) and E(,8ly) approach the MAP estimate of ,8, i.e., lim E(,8ly, Hl) = lim E(,8ly) = sgn(y)(lyl- 2 17 À) (9) Iyl~oo Iyl~oo Proof: This follows from (8) ifwe note that limy~oo (Y-À-T) = limy~_oo ( -y- À - T) = 1, and limy~_oo (y- À - T) = limy~oo ( -y - À - T) = -1, which yields limy~±oo r _(V; À; T)/r +(y; À; T) = ±1 and limy~±oo(eTY-e-TY)/r +(y; À; T) = o. Notice that this asymptotic behavior has a practical im{lortance because it is achieved already at moderately high coefficient values (see Fig. I). The derived MMSE solution and the illustration of the conditional means in Fig. 1 /3 allowalso a new interpretation ofthe so-called ProtrShrink rulefrom [11]: = P(H]ly)y and the related shrinkers of [8-10]. Obviously, the ProlxShrink estimator can be inter- preted as an approximation of the MMSE estimate, which follows from the simplifi- cations: P(Holy)E(,8IHo, y) ~ 0 and E(,BIHI, y) ~ y. Fig. 1) shows that E(,8IHo, y) is close to zero for relatively small y. For large y, the product P(Holy)E(,8 Ho, y) again tends to zero because E(,8IHo, y) is confined to finite values ±T, while (7) yields limlyl~oo P(Holy) = limlyl~oo 1/(1 + /1:'7) = 0 for any non-zero prior ratio u. Fig. 1 also illustrates that the simplification, E(,8IHl, y) ~ Y is reasonable for relatively small y, while for larger magnitudes (Iyl > 172 À) a more accurate linear approximation is E(,BIHI,Y) ~ sgn(y)(lyl- (J2À). The proposed prior has two parameters: threshold T and the scale parameter À of the underlying Laplacian model. As explained in Section 2 we use T = 17 and the scale parameter is estimated in each subband [10]: À = [0.5((J; - (72)]-1/2, where 17~ is the variance of the noisy coefficients. Table 1 lists experimental peak-signal-to-noise ratio (PSNR) results for several shrinkers under two mixture priors: the analyzed Bernoul!i-Laplacian (B-L) prior and the iuio-tiormals mixture of [1], that we denote here as Bernoulli-Gaussian (B-G): f(,8) = P(Hl)cjJ(,8; (Jl) + P(Ho)cjJ(,8; (72). A standard wavelet denoising procedure was applied: the noisy images were decomposed using a five-level orthogonal wavelet trans- form with the Daubechies' wavelet symmlet with eight vanishing moments [13]. In each wavelet subband the noise-free wavelet coefficients were estimated using the cor- responding shrinkers for each of the analyzed methods. The inverse wavelet transform was applied to reconstruct the denoised image. The parameters of both priors were cal- culated adaptively for each subband. For the B-L prior we used the subband-adaptive formulation [11] P(H]) = 1- (À/2) J::". exp( -ÀI,8l)d,8 = exp( -À(7). For the B-G prior, we used the default estimation of the hyperparameters from [11. Several conclusions can be drawn from the results in Table 1. Compared to the MMSE estimator, ProtiShrink: under the same prior yields a minor performance loss (usually less than O.ldB). For the MAP estimator this performance loss is up to 0.3dB. The results also demonstrate that 120 200 - - T=O.50 .... T=1.0u 150 - T=1.5a 100 50 ·50 ·100 ·150 ·200 ·200 ~100 100 200 Y (a) Figure 1: An illustration of E(fJly, Ho) and E(fJly, HI) at the finest resolution scale for different T. For large y the conditional mean under HI: E(fJly, HI) tends to the soft-thresholding function with the threshold (72 À. the Bernoulli-Laplacian prior yields a significant improvement with respect to the two- norm als mixture, which is often higher than 1dB. The difference in the performance of our method when using the estimated (7 versus a priori known (7 is negligible (on the tested images 0.01 to O.ldB). Table 2 compares the performance of the analyzed prior with the mixture of a Lapla- cian and point mass at zero (here denoted as B-L-PM prior) from [7]. The posterior mean and the posterior median estimators under this prior were shown to outperform a range of other estimators on one dimensional (I-D) signals and are currently used as benchmarks for 1-D signal denoising. We used EBayesThr'esh software available online from authors of [7] and ran simulations on four standard test signals: Blocks (bik), Bumps (bmp), Doppler- (dop) HeaviSine (hea). The squared errors for each estimator were averaged over 100 replications of 512-point signals. Like in [7], for "low noise" the ratio of the standard deviations of noise and signal is 1/7; for "high noise" this ratio is 1/3. The posterior mean outperforms the posterior median which agrees with the conclusions of [7]. In all cases except Blocks with low noise level, the proposed estimator achieves the smallest error. The gain of the new estimator is bigger for the higher noise level. Notice that the B-L-PM prior can be seen as a special case of our prior, for T = O. 5 Conclusion We developed the MMSE estimator for the so-called Bemoulli-Laplacian mixture prior, which has been used in several earlier denoising methods, but combined with other, more intuitive wavelet shrinkers. Here derived results enable an interpretation and also a direct extension of these earlier methods within a well-established mean-squared error criterion. Our results also generalize some of the previous results on MMSE estimation with Laplacian priors, which can be seen as limiting cases in our approach. We also demonstrated a significant potentialof Bernoulli-Laplacian priors as compared to the more common mixtures of two normals and mixtures of Laplacian and point mass at zero. It should be interesting to investigate, in a future work, polynomial approximations of the developed estimator. 121 6 Appendix: Proof of the proposition 1 Under the assumed Bernoulli-Laplacian prior, we have with Aa = (>.,/2)e>'T /(e>'T - 1) and Al = (A/2)e>'T. We write and (10) where (y; A, T) 1: e>./3cp(y - (3)d(3 + 1= e->./3q;(y - (3)d(3 t: mH] = KIf] (y; A, T) = (3e>'/3q;(y - (3)d(3 + I" (3e->./3cp(y - (3)d(3 -00 JT T mHo(Y; A, T) = JO e>.{3cp(y - (3)d(3 + Jor e->'Bcp(y - (3)d(3 -T KHo(Y; A, T) = ja -T ;3e>.{3cp(y _ ;3)d;3 + rJo T ;3e->./3q;(y - ;3)d;3. (12) On a nonnegative interval [a, b], one ean verify [6J I(y; a; b, A) = l b e->./3cp(y - ,B)d(3 = J2;"cp(y)eCY->'f/2[(b - y + À) - (a - y + À)](13) H(y; a; b, À) = l b (3e->'/3cp(y - (3)d(3 = J2;"cp(y)e(Y-W/2 [vke-(a-y+>')2/2 - vke-(b-Y+>.)'/2 + (y - À) ((b - y + À) - (a - y + À))]. (14) Using these identities, we find trin, (y; À, T) = I(y; T, 00, À) + I( -y; T, 00, À) = J2;"q;(y)r +(y; À; T) (15) and KHt (y; À, T) = H(y; T, 00, À) - H( -y; T, 00, À) = J2;"q;(y) [vke -(r;+>.T) (eTY - e-TY) + yr +(y; À; T) - Àr _ (y; À; T)] (16) where r +(y; À, T) = e(y->.)2/2<1>(y - À - T) + e(Y+>'f/2<1>( -y - À - T) r _ (y; À, T) = e(y->.)2/2<1>(y - À - T) - e(Y+>')' /2<1>( -y - À - T). (17) Substituting (15) and (16) into (10) yields E((3ly, Hl) from (5). 122 Table 1: Experimental PSNR[dB] results of several Bayesian wavelet shrinkers and two different mixture priors: Bernoulii-Lcplccian (B-L) prior and Bernoulli-Caussian (B-G) prior from [1], which is a mixture of two-normals. Wavelet type: Daubechies' least asymetrical wavelet with eight vanishing moments. Standard deviat.ion of noise Standard deviat iou of noise Prior Estimator 10 15 20 25 10 15 20 25 BOAT LENA noisy image 28.15 24.62 22.10 20.17 28.13 24.60 22.12 20.16 B-L MAP 32.00 29.92 28.42 27.37 33.43 31.47 30.18 29.23 B-L ProbShrink [lIJ 32.13 30.05 28.63 27.63 33.69 31.70 30.39 29.41 B-L MMSE 32.23 30.14 28.70 27.70 33.62 31.65 30.39 29.41 B-G [IJ MMSE 31.01 29.04 27.66 26.68 32.84 30.97 29.66 28.74 Now we introduce lJr(a; T) = (a), to express mHo(Y; À, T) = I(y; 0, T, À) + I( -v; 0, T, À) = .,j'2;q;(y)p+(y; À; T) (18) awl KHo(Y; À, T) = II(y; 0, T, À) - II( -v; 0, T, À) = .,j'2;q;(y) [- vb e - ( r;+>.T) (eTY - e-TY) + yp+(y; À; T) - Àp_(y; À; T)] (19) where p+(y; À, T) = e(y->.)2/2lJr(À - y; T) + e{Y+>')"/21Jr(,\ + y; T) p_(y; À, T) = e{y->.)2/2W(À - y; T) - e{y+>.)2/2W(À + y; T). (20) Substituting (18) and (19) into (10) yields E(,Bly, Ho) from (6). Finally, the conditional densities of noisy wavelet coefficients are f(yIHo) = AomHo(Y; À, T) and f(yIHr) = AlmHl (y; À, T), with Aa = ()..,j2)e>'T j(e>'T - 1) and Al = (Àj2)e)'T, which yields 1) = f(yIHl)j f(yIH1) from (7). This completes the proof of Proposition 1. 0 For arbitrary CT, we replace the integrals I(y; a, b, À) and II(y; a, b, À) from (13),(14) by b (y_~2 'I(y; a, b, À, CT) and 'I'I(y; a, b, À, CT), resp., where 'I(y; a, b, À, CT) = Ja e->.{3O'~e- 2a d(3 and 'I'I(y; a, b, À, CT) = J: (3e->'{3O'~e-(y;;;t d(3 and use the change of variable zî' = ~. References [I] H. A. Chipman, E. D. Kolaczyk, and R. E. McCulloch, "Adaptive Bayesian wavelet shrinkage," J. of the Amer. Statist. Assoc, vol. 92, pp. 1413-1421, 1997. [2] F. Abramovich, T. Sapatinas, and B. Silverman, "Wavelet thresholding via a Bayesian approach," J. of the Royal Statist. Society B, vol. 60, pp. 725-749, 1998. [3] M. Clyde, G. Parmigiani, and B. Vidakovic, "Multiple shrinkage and subset selection in wavelets," Biometrika, vol. 85, no. 2, pp. 391-401, 1998. 123 Table 2: Sums of squared errors, averaged over 100 replications of 512 point signals. The wavelet transform is four-level orthogonal. The maximum standard deviation of entries given columnwise. LOW NOISE HIGH NOISE Prior Estimator bik brnp dop hea bik bmp dop hea B-L ProbShrink (MMSE) 16.03 2.59 0.37 12.82 72.47 11.35 1.36 48.32 B-L-PM [71 PostMean (MMSE) 14.81 2.60 0.42 13.46 90.06 12.46 1.55 51.93 B-L-PM [71 PostMedian 17.41 3.25 0.52 13.98 107.84 15.53 1.84 50.42 maximum standard deviation 3.68 0.60 0.09 3.14 19.30 2.15 0.26 9.27 [4J B. Vidakovic, "Wavelet-based nonparametrie Bayes methods," in Practical Noriparametric and Semiparametrie Bauesian Statistics, ser, Lecture Notes in Statistics, D. D. Dey, P. Müller, and D. Sinha, Eds. vol. 133, Springer Verlag, New York, 1998, pp, 133-155. [5] A, Benazza-Benyahia and J.-C. Pesquet, "Building robust wavelet estimators for multicomponent images using Steins' principle," IEEE Trans. Image Proc. (in press), [6J M. Hansen and B. Yu, "Wavelet thresholding via MDL for natural images," IEEE Trans, Inform. Thcor-y, vol. 16, no. 5, pp. 1778-1788, Aug. 2000. [7J 1. Johnstone and B. Silverman, "Empirical Bayes selection of wavelet thresholds," Annals of Statistics, vol. 33, no. 4, pp.1700-1752, 2005. [8J M. Jansen and A. Bultheel, "Empirical Bayes approach to improve wavelet thresholding for image noise reduction," 1. Amer. Stat. Assoc., vol. 96, no. 454, pp. 629-639, 2001. [9J M. Jansen, Noise Reduction by Wavelet Thresholding, Springer-Verlag, New York, 2001. [10J A. Piáurica, W. Philips, 1. Lemahieu, and M. Acheroy, "A joint inter- and intrascale statistical model for wavelet based Bayesian image denoising," IEEE Trans. Image Proc, vol. 11, no. 5, pp. 545-557, May 2002. [11] A. Pizurica and VI/.Philips, "Estimating the probability of the presence of a signalof interest in multiresolution single- and multiband image denoising," IEEE Trans. Image Processing, vol. 15, no. 3, pp. 654-665, March 2006. [12] P. Moulin and J. Liu, "Analysis of multiresolution image denoising schemes using generalized Gaussian and complexity priors," IEEE Trans. Inform. Theory, vol. 45, pp. 909-919, Apr. 1999. [13J 1. Daubechies, Ten Lectures on Wavelets, Philadelphia: SIAM, 1992. [141 S. Mallat, A wavelet tour' of signal processing. Academic Press, London, 1998. [15J E, P. Simoncelli and E. H. Adëlson, "Noise removal via Bayesian wavelet coring," in Proc. IEEE Internat. Conf. Image Proc. ICIP, Lausanne, Switzerland, 1996. [16J D, L. Donoho and 1. M, Johnstone, "Adapting to unknown smoothness via wavelet shrinkage," J. Amer. Stat. Assoc., vol. 90, no. 432, pp. 1200-1224, Dec. 1995, [17J M. S. Crouse, R. D. Nowak, and R. G, Baranuik, "Wavelet-based statistical signal processing using hidden Markov models," IEEE Trans. Signal Proc. vol. 46, no, 4, pp. 886-902, 1998, [18J M. Malfait and D. Roose, "Wavelet-based image denoising using a Markov random field a priori model," IEEE Trans. Image processing, vol. 6, no. 4, pp. 549-565, 1997. [19J M. Nikolova, "Estimées locales fortement homogènes," Camp, Rendus Acad. Sci. Paris-Ser I, vol. 325, pp. 665-670, 1997. 124 Better than best: matching score based face registration Luuk Spreeuwers Bas Boom 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 Netherlands l.j.spreeuwers@ewi.utwente.nl b.j.boom©ewi.utwente.nl Raymond Veldhuis University of Twente Fac. EEMCS, Signals and Systems Group Hogekamp Building, 7522 NB Enschede The Netherlands r.n.j.veldhuis@ewi.utwente.nl Abstract For most face recognition systems, proper registration of the faces to a common coordinate system is of great importance to obtain acceptable performance. Gen- erally, for this purpose, landmarks are selected that can be located reliably, like the centres of the eyes, the tip of the nose and the centre or corners of the mouth. Many of the published results of face recognition methods are based on registra- tion using manually selected landmarks, which is often regarded as the "gold standard". In this paper we show that using a matching score based registration approach, we can significantly improve upon face identification and verification results obtained using registration with manuallandmarks. For recognition using PCAjMahanalobis Cosine, we obtained up to 9% improvement in identification rate on the FERET data base. 1 Introduction In most face recognition systems the following stages can be distinguished: 1. Preprocessing 2. Feature extraction 3. Calculation of a matching score 4. Classification The first step, preprocessing, generally consists of pose normalisation or registra- tion, some form of normalisation of illumination and selection of a region of interest (ROl). The registration casts a facial image into a reference coordinate system by rotating, scaling and translating the original image. Once the face is in a reference coordinate system, a ROl is defined to exclude the background. Typically, an elliptical ROl is used that contains the face from forehead to chin and from cheek to cheek. The second step, feature extraction, is used to obtain a meaningful and compact description of a facial image. Well known methods are PCA [7] (principle component analysis), 125 PCA+LDA [5, 2](linear discriminant analysis), LBP [1] (local binary patterns) and wavelets in EBGM (elastic bunch graph matching) [8]. The third step, calculation of a matching score, is used to compare the features of a probe image with those of a reference image. The outcome can be a distance measure, e.g. Euclidian distance or the Mahanalobis distance, or a similarity measure like the likelihood ratio [2]. The final step is the classification, which is done by e.g. thresholding the matching score to determine if it is a match or by e.g. selecting the best score of all reference individuals in a list. In order to be able to compare face recognition systems, often a fixed method is chosen for the preprocessing, based on registration using manually located landmarks. On the one hand this allows one to compare only the recognition part of the systems independently of the quality of the preprocessing stage. On the other hand, if the land- marks are located carefully, accurate registration is possible and the results obtained with such a registration method might be considered an upper-bound of what is at- tainable with a certain face recognition system. However, the accuracy of the manually located landmarks cannot easily be assessed and the influence of these errors on the recognition results is unclear. The basic idea of matching score based registration is straightforward: instead of determining the registration parameters (rotation, translation and scaling) using landmarks, they are determined by maximising or minimising an object function. For matching score based registration the object function is the matching score of the face recof?11itionsystem. Our first results on matching based registration were published in [4J, where significant improvements in verification rates are reported relative to an automatic landmark based registration approach [3]. The objectives of this paper are to: • investigate if matching score based registration results in improvement in recog- nition rates for both verification as well as identification relative to landmark based registration using manually located landmarks • provide more insight into the results of matching score based registration The remainder of this paper is structured as follows: in section 2 first the matching score based method and the face recognition methods used are described in more detail. Next the evaluation methods are described. Subsequently, in section 3 the experiments and results are presented. Finally, section 4 contains conclusions. 2 Methods 2.1 Matching score based registratton As mentioned in the introduction, the basic idea of matching score based registration is simple: vary the registration parameters rotation, scaling and translation until the best matching score is obtained, where the matching score is a measure of similarity or a distance measure between two facial images. This process is illustrated in fig.l. It is to be expected that the best matching score results if the registration is cor- rect. For small deviations from the correct registration parameters, we would normally expect a smooth degradation of the matching score. We performed experiments to test this and they confirmed this assumption. For larger deviations from the correct registration parameters we may expect to find local optima. This was also confirmed by our experiments. However, the matching score also depends on other factors like differences in illumination, facial expression and recording time between the input and 126 registration parameters features of reference image Figure 1: Box diagram of the matching score based registration approach the reference images. These factors that cause variations of images of the same individ- ual are called within class variations as opposed to the differences between images of different individuals which are called between class variations. If within class variations result in only slightly worse matching scores relative to errors in registration, then the global optimum remains approximately the same. If, however, within class variations have a large impact on the matching score, the global optimum may change signifi- cantly for images of the same individual ("genuine"). Also, it becomes more likely, that the comparison of certain images of different individuals (" imposters") yields a better matching score than comparison of images of the same individual. To conclude, matching score based registration will likely work well with face recognition methods, which are relatively insensitive to within class variations while for methods that are sensitive for within class variations, it can even make results. The implementation of the matching score based face registration is straightforward. Since we want to find out if matching score based registration yields better results than landmark based registration and we may assume that the manual landmarks result in a registration close to the optimum, we only have to search the parameter space for registration in a small area around the parameters defined by the manual landmarks. This search is in our case done by an iterative direction search for each of the 4 param- eters (scaling, rotation, translation in x and y). In each direction a fixed number of parameter values was chosen and for each the matching score was calculated and the best score selected. For the face recognition we chose feature extraction based on PCA, where all principle components were retained. For the matching score the Euclidian distance and the Mahanalobis Cosine distance were selected. The first is known for its sensitivity to illumination and other within class variations while the latter is known to perform better in these circumstances. Since the optimisation procedure is rather slow, it is not feasible to compute a full score matrix (i.e. compare each input image with all images in the reference or gallery set). Instead, the best n candidates were selected based on the matching score using the landmark based registration and those were registered using matching score based registration. In our case we set n = 10. Note that this is likely to give a pessimistic view of the results, because sometimes the correct match may not be between the 10 selected candidates and is hence excluded from improvement by matching score based registration. 2.2 Evaluation methods For evaluation of the identification performance, rank curves were generated. In rank curves the recognition rate is plotted as a function of the rank in a sorted list of scores. E.g. rank 1 means only the best score is considered, rank 2 means the 2 best scores are 127 considered etc. If matching score based registration improves scores, then the curves should lie above the curves for landmark based registration. Since only the 10 best candidates were registered using matching score based registration, we can only expect differences between the landmark based and matching score based registration results for rank 1-10. Verification performance was evaluated by generating ROe graphs. In ROe graphs, the recognition rate (RR) is plotted as a function of the FAR. The better the curve, the more it lies in the top left. If matching score based registration improves scores, then the curves should lie above the curves for landmark based registration. To obtain insight in what happens to the matching scores by using matching score based registration, normalised histograms were generated of the genuine scores, the imposter scores and of the best score of the imposters. Here we expect the distributions to move to the left (matching score based registration minimises the distance measures used) and for improvement, the distributions of the genuine scores should move more to the left than the other distributions. 3 Experiments and results 3.1 Data For evaluation we used the well-known FERET data set [6j' The training set used consists of 428 images, the gallery (reference or enrolled set consists of 1196 images and there are 4 test sets: fafb, fafc, dup1 and dup2. The set fafb (1195 images) consists of samples with mainly variation of facial expression relative to the gallery, set fafc (194 images) contains images with variation in illumination, dupl (722 images) contains images that were taken between 1 minute and 1031 days after their respective gallery matches and dup2 (234 images) is a subset of dupl with only images with time difference of at least 18 months. 3.2 Parameter choices For feature extraction peA was used and all principle components were retained (428=size of training set). The search range for the registration parameters, all rela- tive to the parameters obtained using landmark based registration, was as given in the following table: parameter min max step remarks x-translation -0.05 0.05 0.005 as fraction of distance between eyes y-translation -0.05 0.05 0.005 as fraction of distance between eyes scaling 0.95 1.05 0.005 rotation -0.05 0.05 0.005 radians The number of iterations in the 4 directions was set to 25, so for each registration 25 * 4 * 10 = 1000 matching scores had to be calculated. As mentioned before, matching based registration was only performed on the 10 images from the gallery with the highest scores for landmark based registration. 3.3 Identification results Figure 2 shows the rank curves for the 4 test sets. For the Euclidian distance measure, there is very little difference between results of the landmark based and the matching score based registration methods, except for dup2 which shows a clear improvement. 128 For fafc the matching score based results are even slightly worse. For the Mahanalobis Cosine distance measure, however, all rank curves for matching score based registra- tion lie above those for landmark based registration. For dupl and dup2 a rank 1 improvement of 9% is obtained. Because only the 10 best images are used for match- ing score based registration, above rank 10 the curves for manual and matching score based registration coincide. rank curve for fafb data set rank curve for fafe data set _'_._. J _ c ~ 0.8 ~ 0.8~ ~ c Manual. EucJidian -- c .g 0.6 MSB. EucJidian .g 0.6 .~ G.4 Manual, Mahanalobis Cosine . .~ 0.4 o MSB, Mahanalobis Cosine' o u !:! 0.2 ~ 0.2 O'---'----'.-~-.....L.-..J--...L._--'--' o c::.~~_. _.. ~..._. ---L_-L._-'----''----~_j 2 4 6 8 la 12 14 2 4 6 8 10 12 14 rank rank rank curve for dup I data set rank curve for dup2 data set c l'! 0.8 " ~ 0.8 .g 0.6 c .g 0.6 .§, 0.4~ 'aOD 0.4 o 0 u ~ 0.2 !:! 0.2 OL-c-.....L.-~---'---'---'--'--' 0 2 4 6 8 10 12 14 2 4 6 8 10 12 14 rank rank Figure 2: Rank curves for matching score based and landmark based registration The results are in accordance with our prediction that better face recognition meth- ods (i.e. less sensitive to within class variances) give better results with matching score based registration. 304 Verification results Figure 3 shows the RaC curves for the 4 data sets. For all data sets matching score based registration gives a clear improvement for both the Euclidian as well as the Mahanalobis distance measure (the curves for matching score based registration lie well above those for landmark based registration). For the fafc data set, improvement for the Euclidian distance measure is marginal and the results are quite bad anyway. This again supports the hypothesis that matching score based registration works better well for "good" distance measures. Improvements can especially be observed for FAR below 0.01. On the average, the improvements for the Mahanalobis Cosine distance measure are larger than those for the Euclidian distance. 3.5 Histogr-ams of matching scores In order to study the differences of the distributions of the matching scores between landmark based registration and matching score based registration, the normalised histograms of the matching scores for the genuine, imposters and best imposters were plotted. The best imposter is the imposter with the best matching score. The overlap of the genuine and imposter distributions give a measure of the verification performance 129 ROC for fafb data set ROC for fafc data set P2 0.8 rs- 0.8 2 0.6 e 0.6 c: 0 0.4 Manual, Euclidian -- 0.4 MSB, Euclidian :~ 00 0.2 Manual. Mahanalobis Cosine - -- - - -- 0 0.2 u o L_.._.:M=SB""-,M=a~ha:-on..-:a,,,l ~ ,.,b",is,-,C:::_o",s",in",e:.__._~.........J 0 le--04 0.001 0.01 0.1 1e-04 0.001 0.01 0.1 false acceptance rate (FAR) false acceptance rate (FAR) ROC for dup 1 data set ROC for dup2 data set P2 P2 rs- 0.8 rs- 0.8 2 B ec 0.6 ec: 0.6 .§ '2 0.4 .'"'2 0 0.4 Ol) 00 0 0.2 0 0.2 u Cl ~ :': false acceptance rate (FAR) false acceptance rate (FAR) Figure 3: ROC curves for matching score based and landmark based registration while the overlap ofthe genuine and the best imposter score distributions give a measure for the identification performance. In the graphs on the left of fig. 4 we observe that for the Euclidian distance measure the distributions are more or less Gaussian and that the distributions of the genuine and best imposter scores are moved to the left by matching score based registration. Because these are distance measures this means the matching scores improve. The dis- tribution of the imposters remains the same, because to only 10 out of approximately 1195 imposters matching score based registration is applied. Except for the fafc data set, the overlap of the genuine and imposter and the genuine and best imposter dis- tributions becomes slightly smaller by matching score based registration, indicating a slight improvement in recognition for both verification as well as for identification. For the fafc data set, the identification becomes worse, because the best imposter score distribution is shifted left more than the genuine score distribution. For the Mahanalo- bis Cosine distance measure (right graphs), the improvements are stronger and even present for the fafc data set. Furthermore, we can observe that the distributions for this distance measure are not Gaussian. The asymmetry seems to be beneficial for both identification as well as verification, because the right tail of the genuine distribution goes to 0 faster for matching score based registration scores. 3.6 Further experiments Some further experiments were performed to investigate the improvements by matching score based registration of genuine samples which were not between the 10 candidates selected using landmark based registration. It appeared that the scores of some of these samples was improved dramatically. E.g. in the fafb data set for a certain test sample, the genuine sample from the gallery set was originally at rank 72 with Mahanalobis Cosine distance of -0.10. After matching score based registration it surpassed rank 1 (-0.479) and got a matching score of -0.622. The range of the Mahanalobis Cosine distance measure is [-1,..,1]. Visual inspection of the matching score based and land- mark based registered images revealed hardly any differences. Apparently, very slight 130 Eucl. dist, histograrns for fafb Mahanalobis dist. histograms for fafb >. u 0.3 >. u 0.3 .,'" 0.25 Man,genuine -- MSB,.genuine ........ '"" 0.25 '"er., 0.2 Imposter .. _-_.. " .., er 0.2 . u 0.3 c-, u 0.3 '"... 0.25 iJ 0.25 " cr' 0.2 t~\ : " cr' 0.2 ~ Ot: " . u 0.35 .," 0.25 c 0.3 " cr' "" er 0.25 0.2 ~ " . u 0.3 c-, 0.3 c Q) 0.25 ., 0 c 0.25 "e- Q) 0.2 "Q) er 0.2 l (1) QP(l) QP(O) + 3 134 Here T enumerates the temporallayer, and QP(O) is the QP setting for the lowest temporallayer, from which all others are derived. The above-mentioned QP settings result in PSNR differences between key and non- key pictures of up to 4 dB (measured on luminance information) depending on the video content. The large difference in qua.lity is not only due to less texture detail of the (hierarchical) B-frames, but is mostly caused by inaccuracies of the sub-pixel motion prediction. Since these errors are, however, less than ~ pixel, motion in the reconstructed sequence still appears smooth and the subjective quality is therefore hardly affected [5]. In the context of our research, it is important to realize that due to the larger QP values, B-frames in high temporal layers require only a minimal amount of bit rate. This is particularly true for video sequences with static content. We anticipated, how- ever, that especially for static content frame rate reduction would allow for increasing the subjective quality of the sequence. We therefore may already expect that spa- tiotemporal bit rate exchange via temporal scalability will not be as efficient as often postulated in literature. 3 VQM Software The VQM software is used to grade the compressed video sequences with reference to the original sequences. We use the double stimulus impairment quality scale, ranging from 1 (very bad, maximum impairment) to 5 (perfect, no impairment). A viewer does not easily notice VQM grade differences below 0.2. The final grade is calculated from a set of computed intermediate parameters, the details of which can be found in [2]. As a side result, the VQM model computes percentages of blurriness, jerky motion, global noise and block distortion confirming our own informal subjective evaluations. The intermediate parameters for computing the VQM grade are computed on spa- tiotemporal regions and not individual frames, evaluating both temporal and spatial impairments at the same time. One important parameter is the absolute temporal- information loss, a measure for the amount of jerky motion. Another important pa- rameter is the spatial-information loss. This parameter basically computes the spatial quality compared to the original sequence and is a measure for the amount of blurri- ness. The low PSNR values of high level B-frames due to errors in motion compensation (barely influencing subjective quality) might affect the VQM grade slightly since com- parison with the reference sequence is made. It should therefore be noted that the VQM might slightly under gra.de higher framerate sequences compared to lower frame rates. 4 Scenarios and Results 4.1 Test Setup The objective of our experiments is to measure the loss or gain in overall (visual) quality when reducing the frame rate while at the same time keeping the encoded bit rate constant. We carry out experiments for different bit rates and sequences. Since we wish to evaluate the effectiveness of a temporal scalable video stream at different bit rates, we obtain the different bit rates by employing three Fine Granular Scalability (FGS) enhancement layers. Spatial scalability as employed in the JSVM is not the objective of our work and therefore not used. We used 240 frames of CIF-format sequences at 30 fps. The sequences contain different amount of motion and texture information namely: foreman (medium texture and medium irregular motion), mobile (high texture and low natural motion), football 135 FOREMAN CIF 30 MOBILE CIF 30 BR!DGE CIF 30 38,-------------------, 30,-------------------------, 36 ._._ __ .. _ __ _._._ .. --'., 37-1----------------1 29+-------------...,--,-----j 35+------------------1 36 +_----------_____1 29+-------------~ 34·r-------------_____1 ~35+_----------_____1 S 27+-------------~ 33+------------------1 cr34+----------i 26 -1--------------1 32+-----------1 ~ 33 -1---------1 25+----------i ).. 32 .I-r--,-------I 24 +---------1 31 -1-----=----1 31 23 30 +-----1 3O+-'----'"'- __ ~L---L,,-~-J.-J>LJ__.; ~+-'-~~~~u.~~~~ 29 -1-'---""-""--,--'-- 100 200 500 100 200 500 50 100 200 500 Bitrate (kbiUs) Bitrare (kbiVs) Bitrare (kbltls) (a) (b) (c) 4.5T"?" __ -'.F~0_'CRE:c.M::..::AN.:.cC::..::IF_:3c:_0 --, 4.5,- ::.:.MO:.:Bc::IL=.E C:c.IF__:30::.._ --, BRIDGE CtF30 " ~ 3+-------r4'~.~~ > 2.5 100 200 500 100 200 500 50 100 200 500 Bitrata (kblUS) Bitrate (kbtvs) ünratc (kbitl:;;) (d) (e) (f) Figure 2: Y-PSNR results for foreman (a), mobile (b) and bridge (c) and VQM results for foreman (d), mobile (e) and bridge (f). 0=7.5 fps, ~=15 fps, .=30 fps. (medium texture and high irregular motion), and bridge (medium texture and barely any motion). The bit rates selected tor ,(.b, Ib and 30 fps are 100, 200 and 500 kuil/tl. For the static video bridge we also evaluated 50 kbit./s. In order to make fair comparisons, the decoded 7.5 fps and 15 fps sequences were temporally up-converted to 30 £ps. We do this in two different ways. The first up- conversion is by simple frame repetition, which is a method most display devices will use. The second up-conversion utilizes an advanced temporal interpolating method to obtain the original 30 fps, Details of this method are outside the scope of this paper [7J; we consider the results to be an upper bound to the quality that can be achieved by advanced temporal post processing. 4.2 Optimization of the JSVM Encoder Settings The effectiveness of temporal scalability to reduce bit rate is dependent on the amount of data needed for the higher layer B-frames. There are various encoder settings that infiuence the quality of these B-frames. The mode decision parameters (QPMD) in- fluence the coding mode chosen for the macro-blocks. Every temporal layer has an individual QPMD parameter to be set. For more information about these parameters the reader is referred to [7J. The layer dependency of the QP parameters is given by Eq. (1), which influences the optimal setting of QPMD. The relation between QP and QPMD is chosen as described in [8J. The QP parameter is configured such that the en- coded bit rates cover the desired range of 100 to 500kbit/s. Selecting a specific QP(O) indirectly defines the smallest rate of the lowest FGS layer (base layer) and the largest rate of the highest FGS layer since each FGS layer corresponds to a QP-decrease of 6 [4J. The coding efficiency at high bit rates is affected by using a low base layer bit rate. This is inherent to the SVC and inevitable since we want to encode the sequence for relatively low bit rates and a wide range. Our comparisons are, however, still fair 136 FOREMAN CIF 30 4.5 . M_OB_ILE~:~ _ 4.5 4.5 3.5 3.5 2.5 2.5 100 100 200 200 500 500 100 200 500 100 200 500 modified modilied modified Bitrate (kbiVs) Binale (kbiVs) BJtraie (kbitls) (a) (b) (c) Figure 3: Frame repetition and advanced interpolation of foreman (a) and mobile (b). In (C), VQM Grade for mobile with similar QP setting for all temporallayers. 0=7.5 fps frame repetition, 0=7.5 fps interpolated, 011=15fps frame repetition, !jJ=15 fps interpolated, .=30 fps. since sequences with the same bit rate are compared. 'vVeused closed loop (thus no MCTF) encoding of the GOPs, closing the loop at both base layer and the highest FGS layer. Other encoder parameters are identical to the settings applied in the Palma test conditions included in the reference software [1]. Finally, the Quality Level Assigner taal of the JSVM is used in order to optimize the rate distortion curve of the extracted sub-streams. This is especially useful for our experimental setup since this tool is used for a scalable bit stream containing progres- sive refinement NAL (Network Abstraction Layer) units. A quality layer identifier is assigned to each NAL unit that can be used during the extraction of a sub-stream with desired bit rate [1]. 4.3 Results Figures 2(a), (b) and (c) show the Y-PSNR values of foreman, mobile and bridge respectively for the encoded bit rates, and the three frame rates. Y-PSNR gain is observed for the remaining frames of all the lower frame rate sequences due to exchange from temporal to SNR quality. Results of our VQM evaluation using frame repetition on the 7.5 and 15 fps are shown in Figure 2(d), (e) and (f). The football sequence shows results similar to foreman [10]. Figure 2 and all our other experiments show that exchanging bit rate freed by lowering the frame rate for an increase in spatial quality of the remaining frames, does not lead to a higher overall subjective quality for any sequence, except for the static bridge sequence and the 100 kbit /s version of mobile. However, even for bridge the VQM grade for lower frame rates is only marginally better, in most cases below the 0.2 grade-difference threshold. Informal subjective evaluations confirm the VQM grading results. Figure 3(a) and (b) show the VQM result for foreman and mobile using advanced temporal frame interpolating on the 7.5 and 15 fps coding results. When there is a lot of jerky motion due to low frame rate, the sequences are graded significantly higher than when using simple frame repetition. However, interpolation of low/regular motion video does not improve the subjective quality much compared to simple frame repeti- tion. Although for fast/irregular motion video the interpolated sequences are graded higher than frame repetition, they are not graded higher than the 30 fps sequences. Apparently, not all spatiotemporal details of the dropped frames can be recovered, not even with advanced post processing techniques. 137 4.4 Modified Settings for the QP of Frames There is a big difference in PSNR of individual frames due to the layer-dependent QP parameter. Frames in higher temporal layers therefore contain relatively less inforrna- tion. We have modified the reference software to give all temporal layers the same QP setting. This on one hand leads to a smoother PSNR over the frames, but on the other hand also to less average PSNR quality at the same rate. However, the effect on subjective quality when using constant-QP settings was not yet clear. For mobile we have compared the standard encoder using layer-dependent QP- setting with the "modified" encoder using similar QP-settings for all temporallayers. We did that at 100, 200 and 500kbit/s decoding bit rates at 15 and 30fps. The results are shown in Figure 3(c). We see that results labeled as "modified" have an overall lower VQM quality. But we also see that most of this reduction is for 30fps sequences, while the sequences for which the 15fps sub-stream is extracted have roughly kept their quality. In conclusion, having constant-QP settings does not favor temporal scalability over SNR scalability, especially when we consider that subjective perceptual quality is not much affected by layer-dependent QP settings. 5 Discussion and Conclusion The usefulness of temporal scalability as a tool for increasing subjective video quality by temporal to spatial bitrate exchange is questionable. High temporallayer Bsframes can, in general, be encoded very efficiently. These frames have a lower quantization parameter and PSNR value than their reference frames. Encoding all temporal layers with identical QP setting introduces relative higher quality gain for lower frame rates but decreases the overall coding efficiency. Advanced frame interpolation improves the overall VQM quality of 15fps and 7.5fps sequences, but is never much higher than the 30fps sequence. . Certain devices such as mobiles might demand a lower video frame rate since there is limited computing power on the decoder side. For these applications temporal seal- ability is useful, however, frame rate selection is limited to factors of z, Furthermore, FGS offers already bitrate scalability of a factor around 10, which is sufficient in many cases. Acknowledgment The authors would like to thank Rene Klein Gunnewiek from Philips Research for his contribution of interpolating a selection of the sequences. Refel' ences [1] ITU-T and ISO/IEC (JVT), "Joint Scalable Video Model 6.8.2," jour- nal/proceedings info, page numbers, October 2006. [2] S. Wolf and M. Pinson, "VQM Software and Measurement Techniques," National Telecommunications and Information Administration (NTIA'02) Report 02-392, June 2002. . . .' . [3] T. Wiegand and J-R. Ohm, "Scalable Video Coding - Standardization and beyond," IEEE International Conference on Image Processing (ICIP'06), Atlanta, GA, USA, October 2006, Tutorial. 138 [4] H. Schwarz, D. Marpe, "Overview of the Scalable H.264jMPEG4-AVC Extension," IEEE International Conference on Image Processing (ICIP'06), Atlanta, GA, USA, October 2006, Invited Paper. [5] H. Schwarz, D. Marpe and T. Wiegand, "Hierarchical B pictures," Poznan, Poland, Doc. JVT-POI4, July 2005. [6] E. Bellers, J. van Gurp, J. Janssen, R. Braspenning and R. Wittebrood, "Solving Occlusion in Frame-Rate Up-Conversion," Proc. The International Conference on Consumer Electronics (ICCE'07), January 2007. [7] S-H Kim and YS Ho, "Optimum Quantization Parameters for Mode Decision in Scalable Extension of H.264jAVC Video Codec," in PCM, Vol. 1, pp. 179-190,2005. [8] M. Wien and H. Schwarz, "Testing Conditions for Coding Efficiency and JSVM Performance Evaluation," 16th Meeting, Poznan, Poland, Doe, JVT-P205, July 2005. [9] W.J. Han, "CE6 response of Samsung Electronics: in-depth comparison of closed- loop and open-loop MCTF structures," 16th Meeting, Poznan, Poland, Doc. JVT- P084, July 2005. [10] http://ict.ewi.tudelft.nl/,,,barzilay/SVC..results/ 139 On the generation of side information for DVe S. Borchert'v RP. Westerlaken ' R Klein Gunnewiek'' RL. Lagendijk- 1 Information and Communication Theory Group, Faculty EEMCS, Delft University of Technology, P.O. Box 5031, 2600 GA Delft, The Netherlands 2 Philips Research, High Tech Campus 36, 5656 AE Eindhoven, The Netherlands s.borchert@tudelft.nl Abstract The ongoing research in Distributed Video Coding (DVC) for low complexity encoding is trying to shorten the substantial performance gap to well known state-of-the-art coders. We discuss the role of motion estimation and compensation with regard to the new constraints given by DVe. For this purpose we introduce two motion estimation schemes, one block based one and a global motion based one. In addition we investigate the possibility of giving the decoder additional statistical input based on these schemes. This input consists of an indication about the expected performance for certain regions. With this information the decoder can use more than one model. Previous work has shown that a reliable partitioning does indeed increase the performance. While the quality gain of using a global motion scheme over using a block based scheme is limited to only few cases, the results ofthe region indication are far more promising. 1 Introduetion In current video coding systems like H.264 there is a big difference in the complexity of a video encoder and decoder for the high coding efficiency case. Hence a device, that can easily run a video decoder in real-time, may not be suitable at all to run a video encoder. Complexity differences (in terms of the number of operations) between video encoding and decoding may differ one to two orders of magnitude. This suits for video decompression on resource con- strained/portable devices, but is unfavorable for video compression on these devices. One way of dealing with video compression on resource constrained devices is Wyner-Ziv video coding [1],[2]. In this approach, referred to as distributed source coding, the complexities of encoder and decoder are reversed. Hence the encoder becomes fairly simple and leaves all the computationally expensive processing to the decoder. This is done by shifting the complex procedure of motion estimation/compensation from the encoder to the decoder. In contrast to conventional coders the motion estimation is thus only done at the decoder side. It is used to generate a motion compensated prediction Y, called side information, of the original frame X. However, apart from the computational complexity it is important to still achieve a comparable coding efficiency to conventional schemes like H.264. Therefore, the DYC scheme depends highlyon the quality ofthe side information Y generated by the motion estimation process. We will discuss existing motion estimation methods and their suitability for DYe. We will perform a similar discussion for the motion compensation step, i.e. the process of using the estimated motion to actually generate Y. The main contribution of this paper is the investigation of two schemes based on motion com- pensated extrapolation, as opposed to the widely used interpolation. The motivation for choos- ing extrapolation is given in chapter 2. Furthermore we will show ways to provide additional statistical data about the reliability of certain parts of the prediction Y. In earlier work [3] it has already been shown, that indicating badly predicted regions can help the decoder. The results in [3] however were only achieved by manually setting these regions. In this paper we present ways to automatically find these regions. 141 The discussion about motion estimation and compensation is given in section 2. In section 3 we present the actual methods we are using. The performance of these schemes and their additional outputs regarding the reliability of regions are shown in section 4. Finally, section 5 gives our conclusions. 2 Motion estimation and compensation for DVe ( 2.1 Motion estimation Figure 1: Distributed Video Coding implementation developed in our group. If we look at a practical DVC system as shown in figure 1 we can observe that the motion estimation/compensation is done only on neighboring frames. It is possible to use either key frames or already decoded WZ-frames as references, but not the current frame itself. This is different from the conventional case, where the original frame is available at the encoder side. The block based motion estimators used in state of the art video coding standard H.264 [41 are designed to reduce the residue between predicted and original frame. As such these methods are called minimal-residue block matching. The compression is achieved by sending only the motion vectors and the small residue. If we translate this to the DVC notation it means, that the motion information used to create Y as weil as the actual difference between X and Y are being transmitted. By contrast compression for a Wyner-Ziv encoder is implemented by using efficient error correcting codes on single frames X without knowing anything about Y. Such channel codes are for Instance syndrome codes [5], Turbo Codes [6] and LDPC (Luw Density Parity Check) Codes [7]. For the purpose of predicting Y from neighboring frames only, having the true motion would be beneficial. In this regard it is important to prevent outliers and achieve a consistent and smooth motion field. An application which has similar requirements is the frame rate up-conversion. Since there is no original frame in this case it is very important to prevent visually annoying artifacts. The first candidate we consider in this paper is the well known 3DRS (3-D Recursive Search) motion estimation algorithm, which is used mostly for frame rate up-conversion [8],[9]. The 3DRS principle is based on two assumptions. First, objects are assumed to be larger than blocks. Consequently the vectors estimated for neighboring blocks are good candidates for the current blocks. However if the blocks become too small the estimation will become very sen- sitive. Therefore we will use CARS (Content-Adaptive Recursive Search) as an extension of 3DRS. The concept is to combine the strengths of large and small blocks for the estimation process. In this approach the estimation process starts on larger blocks. The block size is only reduced at the places in the image where the spatial accuracy must be high, i.e. near the border of moving objects [10]. The second assumption, apart from objects being larger than blocks, is that objects have inertia. This implies that the movement of objects varies gradually from frame to frame. These assumptions hold true for a limited amount of motion between successive frames and sufficiently small blocks. But all the methods described above only consider translational mo- tion and assume rigid objects. Expected problems with f.i. camera-introduced global zooming leads us to choosing a global motion estimation scheme covering the zooming as an alternative 142 to the block based 3DRS scheme. Since the decoder is assumed to be resource abundant it is possible to run multiple schemes in parallel. In addition the channel coders in use are based on soft decisions. Hence, it is possible to take advantage of using multiple side information inputs. The actual methods used in our group will be described in chapter 3. 2.2 Motion compensation Nevertheless estimating the motion is only one step in generating Y. The other important step is the motion compensation based on the motion vectors or parameters given by the esti- mation. As can be seen in figure 1, apart from the WZ-coded frames there are also intracoded key frames (I-frames). To generate a motion compensated prediction of a WZ-frame there are two possibilities. On the one hand it is possible to interpolate the missing frames between avail- able ones and on the other hand it is possible to extrapolate from past frames. The advantage of the availability of future frames is having information about uncovering back- ground in the current frame. Consequently interpolation is a widely used method and literature reports better results if compared to extrapolation. However this statement only holds true under certain constraints. The most important criterion in this context is the GOP (Group of Pictures) size, which descri bes the distance between I-frames. If the temporal distance between key frames becomes too large there will be a significant degradation in quality. This occurs because the assumption of limited motion between successive frames is not true anymore. Even so this suggests using a small GOP size, that will also lead to problems. Since the I-frames are expensive in terms of bits it can easily become unfeasible. Another disadvantage, caused by the non-sequential decoding, is the high latency and the resulting need to buffer multiple frames. If for instance X[n - IJ and X[n + IJ are key frames, X[nJ can only be decoded after X[n + IJ has become available. The extrapolation however does not suffer from the afore mentioned problems. The decoding is sequential and the latency is low. The temporal distance is small, since X[nJ is extrapolated from X[n -IJ. The GOP size has no influence on this distance, since X[n -IJ does not have to be a key frame. it is also possible to extrapolate from decoded WZ-frames. Due to this iterative behavior the key frames are in theory only needed to start the iteration and to prevent error prop- agation in case of unsuccessful decoding. If we however compare the quality of extrapolation to the one given by current interpolation-based implementations we observe a slight decrease in quality. But this only holds true for the widely used minimal GOP size of every second frame being a key frame. We consider such a system not practical due to the high cost for the high number of expensive I-fames. 3 Extrapolation of side information In this section, we present the two methods for generating side information that are currently used in our group. The block based algorithm is followed by the global motion based approach. 3.1 3DRS based Extrapolation scheme In the previous section we discussed the fundamental parts of our scheme as well as the reasons for choosing them. Those are on the one hand 3DRS and CARS for the estimation part and on the other hand extrapolation for the compensation part. The 3DRS algorithm itself constructs a small set of candidate motion vectors, obtained from spatia-temporal predictions. Next to spatial and temporal candidates also update candidates are added to the candidate set. An update candidate is computed by taking a spatial candidate and adding a small random vec- tor update to it. This method yields a smooth and consistent vector field. However there are still problems caused by occlusion. In case of occlusion, i.e. a foreground object moving on top of another or the background, there are two specific problems. First there will be motion vectors from both objects or the object and the background pointing to the same location. In this case it is necessary to choose the correct one. Another problem occurs in the uncovering area. The 143 background or a previously hidden object are only then revealed. Thus in case of extrapolation they can not be known beforehand. These unreferenced areas are called holes. Hele- Filling (h:mt,,··,..rJ 11-3 n-2 J1-1 n Figure 2: Extrapolation scheme with backward motion compensation. One way of dealing with these problems was investigated in previous work (11]. The approach was to do motion estimation at the decoder side with the intention of not transmitting motion vectors at all, or only a limited number of update vectors. This approach uses three instead of only two frames. The advantages of three frames motion estimation over two frames mo- tion estimation are a better vector field and extra information about which part of the image is foreground and which part of the image is background. The motion estimation is executed as follows (see figure 2): (1) Generate three frames motion vector field for position n - 2. (2) Generate two frames motion vector field for position n - l. (3) Find areas that are more than once addressed and check consistency of the vectors (most likely foreground). (4) Motion compensated extrapolation the vector field, taking 3 into account. Fill unreferenced areas with temporally previous vectors (temporal hole-filling). (5) Extrapolate current, motion compensated frame X[nJ. The main problem in this context is the motion compensated extrapolation of the vector field. In this step it has to be decided which vectors to use for the motion compensation and how to till holes temporally. Regions, which are affected by occlusion, can be distinguished by the knowledge about the position of the holes and of regions where foreground and background vectors collide. The main problem with this option to automatically indicate unreliable prediction results however is that the regions marked are usually positioned at a halo around independently moving objects. Thus the areas are not exactly where they should be, i.e. where the biggest errors are introduces between X and Y. In addition to this the classification is based on positions where something could be wrong but not necessarily is. For example in case of vector collision the algorithm will in most cases choose the correct one but still mark the position as being unreliable. 144 3.2 Global Motion based Extrapolation scheme One of the remaining problems with block based schemes assuming translational motion only is camera introduced global motion like zooming or rotation. As we are interested in a stable method to also estimate these, we want to restrict the number of free parameters to a minimum. Thus we limit the model to the two translational and a single scaling parameter. As such this global motion estimation is not suited to estimate rotation but only adapted for estimating zooming. These parameters are estimated using the gradient based search method of Hager and Belhumeur [12]. J(u+sx,v+sy)=I(x,y) . (1) The aim is to find values for the translations and scaling such that equation (1) holds for all sample locations in image. This can be solved iteratively by the least squares method. While there are only three parameters to be estimated but far more pixels in a frame it is possible to use only a subset of those. We make use of this in our implementation. We use a dynamic threshold to include the 80% least error pixels. The motion compensated extrapolation used for the global motion estimation consists of simply warping the pixel values according to the three global parameters. Pixel values which remain empty are filled by taking the zero motion value from the previous frame. As the global motion estimation only uses 3 parameters to represent a whole frame it is obviously not suited to handle independent motion. We can however use the fact that the highest errors are also found during the estimation process to indicate unreliable prediction results. These errors are usually found on edges, most prominentlyon the edges of an independent foreground object whose movement differs from the global motion. These areas usually yield high errors between X and Y for not only the global motion based prediction but also the block based one. The respective results of the two estimation and region indication schemes are shown in chapter 4. 4 Experiments In this section we present the experimental results for the extrapolation schemes described above. The question of how to evaluate the performance of a particular estimation scheme with regard to distributed source coding is an important issue by itself. The channel decoder has to remove the actual differences between X and Y. Thus the quality of the side Information can be determined by the correlation with the original frame X. The PSNR (Peak Signal to Noise Ratio) is a well known measure for the objective picture quality. Therefore it is widely used, despite not being a really good measure for the subjective quality. The LDPC decoder however works with objective values to recover the correct symbols. It is not really important how the side information would look as long as it gives the decoder the information it needs. With regard to this the PSNR may even be more suitable in the context of DVe. Its remaining drawback is the fact, that it is computed globally, whereas local infor- mation is more beneficial for the decoding. The PSNR does not allow for distinction between local glitches and a bad quality for the entire frame. As we are also interested in the background only performance we will also make use of PSNR values for only certain parts of frames (i.e. foreground/background and reliable/unreliable). To investigate the PSNR performance of the side information we used five sequences in CIP resolution (352x288). The first four are the well known sequences foreman, coastguard, hall- monitor and stefan (with all 300 frames). The fifth sequence is a pure zooming sequence. For the purpose of comparing the quality of the background performance we will limit ourselves to the sequences for which the global motion estimation is able to estimate the parameters cor- rectly. In case of too fast motion and large independent objects it would fail and result in a bad estimation of-the background as well. To calculate a localized PSNR we use segmentation maps. The relevant areas which compose the background PSNR for the coastguard sequence and the hall sequence can be seen in figure 3. 145 sequence PSNR block based [dB] PSNR global motion [dB] hall 37.26 37.51 coastguard 33.30 33.13 zooming 30.46 32.08 Table I: Average PSNRs of background Figure 3: segmentation for determining background qualities. To exclude distortions by border effects, ten pixels of each border have also been removed. The three sequences used in this experiment represent different cases. The most obvious one is the sequence containing only zooming. In this case a significant gain in PSNR can be observed (see table 1). This concurs with the previous observation of translational block based approaches having difficulties with modelling zooming. If we look at the result for the coastguard sequence we observe that also the block based approach is able to model global motion well if it is only translational. The background performance for this sequence is practically identical with the errors only being caused by small errors in the segmentation map (see ngure J). The last interesting case is represented with the hall sequence. In this case the global mo- tion is non-existent, i.e. zero. However as independently moving objects are comparably small the global motion estimation gives accurate parameters. This however is not always the case for the block based estimation. Because of the often homogeneous background areas even small amounts of noise can affect the estimation. Nevertheless we conclude that a real gain can only be achieved in sequences where zooming is actually present. Another advantage in this regard is the behavior of the convergence towards the global parameters. While a fast convergence indicates a successful estimation, the longer it takes the higher the amount of motion or the size of independent objects can be assumed to be. If the algorithm does not converge at all but breaks off after a maximum number of iterations the process can be assumed to have failed. The second part of the experiments we present is based on the work in [3]. Because the errors the channel decoder has to correct are non-stationary between X and Y it is not a proper choice to only use a single model for these errors. While the work in [3] was done on a manually created separation we investigate two automatic separation methods. The desired result of these would be a perfect separation into areas which are well estimated and contain almost no errors and highly erroneous ones. The actual behavior however depends on the actual difference be- tween X and Y, which is not available for the decoding of X. Thus we make use of information we can extract from the two respective motion estimation schemes. It is important to note that although we extract the reliability segmentation from the global and the 3DRS approach, we use both on the predicted output given by the 3DRS one. 146 sequence area label global motion block based combined (AND) Y-X Stefan unreliable (A) 18.88 21.26 16.42 19.66 (24.56 dB) reliable 26.1 25.6 24.73 40.13 percentage of A 14.6% 15.87% 3.1% 32.9% hall unreliable (A) 27.59 31.44 24.73 23.86 (34.70 dB) reliable 36.34 35.03 34.86 40.49 percentage of A 7.7% 2.9% 0.2% 6.1% foreman unreliable CA) 24.88 27.79 24.27 22.68 (30.23 dB) reliable 31.39 30.9 30.46 40.33 percentage of A 7.6% 13.35% 5.8% 17.5% coastguard unreliable CA) 25.57 26.76 23.52 24.63 C31.33 dB) reliable 32.67 31.68 31.46 39.94 percentage of A 8.6% 4.2% 0.6% 19.8% kielp unreliable CA) 24.74 29.9 24.23 24.16 (30.46 dB) reliable 31.77 30.57 30.61 39.59 percentage of A 8.7% 11.14% 1% 21.2% Table 2: Comparison of the distinction between regions Figure 4: Indication of unreliable regions (white). An example of the regions marked as being unreliable can be seen in figure 4. Here, as well as in table 2 it is visible that there is little similarity between the regions marked with the two approaches. While the block based approach marks vector collisions and areas without any as- signed vectors, these effects are usually visible on a halo around independently moving objects. The outliers of the global motion estimation however are centered around the edges themsel ves, especially the ones from foreground objects. This is due to these edges giving the largest errors in the global motion estimation procedure. The edges of the independently moving objects, but also other significant edges, usually give the worst performance and therefore the largest errors between X and Y. In this context the areas marked by the global motion outliers give a better separation of the respective PSNRs as can be observed in table 2. As an indication of what could be possible we include the actual differences into this table. For that we defined every pixel with an larger absolute pixel difference than 6 between X and Y as being unreliable. This leads to a significant PSNR difference and the actual quality of Y is reflected more in the percentage of the unreliable regions for this case. It is clearly visible that there is still a big gap between both approaches and an almost perfect separation. While it is not 147 possible to use this, as X is not available before decoding, it might be possible to use the differ- ence between the previous frames. With a proper adjustment of the previously marked regions the quality of separation could improve considerably over what the two methods described here achieve. There will be further research into this particular direction. 5 Conclusions and Discussion In this paper, we have described some of the new requirements Dye poses towards motion estimation/compensation. We then motivated our choosing an 3DRS based and a global motion based algorithm. Moreover we give our reasons for relying on an extrapolation instead of an interpolation approach. It was shown that using a global motion based prediction can indeed give a considerably higher performance for non-translational motion. As an illustration, we have included a zooming only sequence and shown an average PSNR increase of 1.6 dB. It is envisioned to efficiently combine the results from different motion estimation schemes with the help of the channel decoder. We have also provided two methods for indicating the reliability of predicted areas. In this regard the global motion estimation based indication shows a better performance for all in- vestigated cases. Nevertheless it is also visible that there is still a large gap towards a perfect segmentation. Therefore further research will focus more on using the actual errors between previous X and Y frames. But the main focus will be on merging the motion estimation process with the channel decoder, with the region indication being an important step into that direction. References [I] S.S. Pradhan and K. Ramchandran, "Distributed source coding using syndromes (discus): design and con- struction," in Proceedings IEEE Data Compression Conference, March 1999, pp. 158167. [2] A. Aaron and B. Girod, "Cornpression with side information using turbo codes," in Proceedings IEEE Data Compression Conference, March 2002, pp. 252261. [3] R.P. Westerlaken, R. Klein Gunnewiek, and R.L. Lagendijk, "The role of the virtual channel in distributed source coding of video," in Proc. IEEE International Conference on Image Processing, September 2005, vol. I, pp. 581584. [4J T. Wiegand, U. J. Sullivan, G. Bjntegaard and A. Luthra, "Overview of the H.264/AVC video coding standard", IEEE Trans. Cir. Syst. Video Techno!., vol. 13, pp. 560576, July 2003. [5] S.S. Pradhan and K. Ramchandran, "Distributed source coding using syndromes (discus): design and con- struction," IEEE Transactions on Information Theory, vol. 49, no. 3, pp. 626643, March 2003. [6] A. Aaron, S. Rane, R. Zhang, and B. Girod, "Wyner-ziv coding for video: applications to compression and error resilience," in Proc. of the Data Compression Conference (DCC 2003), March 2003, pp. 93102. [7] D. Varodayan, A. Aaron and B. Girod, "Rate-adaptive distribnted sonrce coding using Low-Density Parity- Check codes," Proc. Asilomar Conference on Signals and Systems, Pacifi c Grove, CA, Nov. 2005. [81 Haan, G. de et al, "True-motion estimation using 3-d recursive-search block matching", IEEE Transantions on Circuits and Systemsfor Video Technology, 3(5):368- 397, oct 1993. [9] Braspenning, R.A.; Haan, G. de; "True-motion estimation using feature correspondence", Proceedings of SPIE VCIP 2004, 18-22 January 2004, pp. 396-407. [LO] Braspenning, R.; Haan, G. de: "Effi cient Motion Estimation with Content-Adaptive Resolution.", Proceed- ings of IS CE 2002, 24-26 September 2002, pp. E29-E-34. [11] EJ. de Bruin, WH.A. Bruls, D. Burazerovi and G. de Haan, "Effi cient video coding integrating MPEG-2 and picture-rate conversion", IEEE Transactions on Consumer Electronics, Aug. 2002, pp. 688-693. [12] G.O. Hager and P.N. Belhumeur. Effi cient Region Tracking With Parametrie Models for Geometry and Illumination. IEEE Trans. Pattern Analysis and Machine Intelligence, vol. 20, no. 10, pp. 1025-1039,2002. 148 Switching between Predietors with an Application in Density Estimation Tim van Erven * Steven de Rooij Peter Grünwald Tim. van.Erven@cwi.nl Centrum voor Wiskunde en Informatica (CWI) P.O. Box 94079, 1090 GB Amsterdam, The Netherlands April 5, 2007 Abstract Universal coding is the standard technique for combining multiple predictors. This technique is explicitly used in minimum description length ma deling, and implicitly in Bayesian modeling. Using universa! coding, one can predict nearly as well as the best single predictor. When the predictors are themselves uni- versa! codes for models (sets of predictors) with varying number of parameters, however, we may often achieve smaller loss by switching between predietors in a different manner, which takes the local relative behaviour of the predietors into account. In this paper we present the switch-code, which implements this idea. It can be applied to coding, model selection, prediction and density es- timation problems. As a proof of concept we give a particular application to histogram density estimation. We show that the switch-code achieves smaller redundancy, O(n 1/3 log log n), than standard universal coding, which achieves O(n1/3(log n)2/3). 1 Introduction In prediction and data compression tasks the goal is often to combine or choose between several prediction strategies, where more than one of these strategies is potentially successful. For example, in order to predict tomorrow's stock prices one might consult a number of experts as well as a couple of statistical models of varying sophistication, each of which might make different predictions. An important question is then how these predictions should be combined, in this case to maximise profit. Here we consider sequential prediction strategies (predictors): functions from finite sequences over a sample space X to probability distributions on the next outcome. Such predietors are sometimes also called prequential forecasting systems [3]. We write P(Xn+1IXl,'" ,xn) for the probability of Xn+1 E X given previous observations xn = (Xl, .. ' ,Xn) E xn, and we abbreviate p(xnlxm) := n rr=m+lP(xilxi-1) and write P(x ) when m = O. The performance of a predietor P on a sequence x" is measured • Corresponding author 149 by the accumulated log loss - log2 P (x") = 2::1 - log, P (Xi IXi-I). This loss mea- sure is appropriate in, for example, data compression settings, since we can think of -log2 p(xn) as the number of bits needed to encode the data using the code based on P. Universal Prediction In this setting, unioersol prediction (in data compression ap- plications known as universol coding) is a widely used method of combining predictors. It has the advantage that its (accumulated) loss on xn is never much higher than the loss Lbes,(Xn) of the best original predictor. For example, consider two predietors PI and P2· We construct a universal predietor using their Bayesian mixture as follows: (1) Here, w is a prior distribution on the original predictors. Clearly, for all xn E X", we have -log2 Pmix(X") - Lbest(Xn) 2: 0; but if, for instance, we use the uniform prior w(l) = w(2) = 1/2, we are also guaranteed that -log2 Pmix(X") - Lbest(X") ::; 1. The Central Idea Thus it is sensible to use universal prediction if we are satisfied with the loss of the best predietor under consideration, which is standard in minimum description length (MDL) and Bayesian approaches to prediction. However, we argue that it is often possible to combine predietors in such a way that the result achieves a lower loss than the best original predictor! This is possible if the identity of the best predietor changes with the sample size in a predictable way. This may occur, for example, if the predietors PI and P2 are themselves universal predietors for nested models (sets of predictors) MI and M2, MI C M2. In this case PI typically predicts better at small sample sizes while P2 predicts better eventually, because M2 has more parameters that need to be learned than MI. We provide an example in Figure 1, which shows the difference in accumulated loss for two predietors PI and P2 on "The War of the Worlds" by H.G. Wells. PI is the Krichevsky-Trofimov (KT) [5] predietor for first-order Markov chains, P2 is the KT predietor for second-order Markov chains. Clearly PI is the best predietor for about the first 50 000 outcomes, after which it is overtaken by P2. Ideally, we should therefore predict the initial 50 000 outcomes using PI and the rest using P2. However, PmLx only starts to behave like P2 when its accumulated loss becomes lower than the accumulated loss of PI' Thus, in the shaded area Pmix behaves like PI while P2 accumulates less loss on those outcomes! The Switch-Code For such cases, we have developed an alternative method to combine predietors P, and P2 into a single predietor Psw, which we call the switch-code [la]. Given a switch-point s at which to switch from P, to P2, it predicts according to p. ( I") '- {Pl(Xn+llxn) if n < s (2) sw Xn+l X , S .- P2(Xn+Ilxn) otherwise. The optimal switch-point, however, will typically depend on the data, which leads us to define the unconditional switch-code as 00 00 " (3) 5=0 5=0 j=l where w is a prior on the sample size at which we should switch from PI to P2. As Figure 1 shows, Psw behaves like PI initially, but in contrast to Pmix it starts to mimic P2 almost immediately after P2 starts making better predictions (here we instantiated w to the universal prior on the integers, see the end of Section 4). In Section 2 we bound the individual sequence redundancy of the switch-code and in Section 3 we show how psw(xn) can be computed in O(n) time. 150 40 """" .... lZl PI 13 P2 20 Pmix - 0 "0 !-; I],) !-; 0 Psw 0 > -20 0 ...;.: !-; ~ :::; -40 ....0 -60 "0 I],) @ 0.. -80 S 0 u lZl lZl -100 0 .....:l -120 0 50000 100000 150000 200000 250000 300000 350000 Sample size (bytes) Figure 1: Accumulated loss difference on prefixes of "The War of the Worlds" . Applications In the discussion of om results in Section 5 we argue that the switch- code potentially outperforms standard universal predietors (like e.g. Pmixl whenever PI and P2 are themselves universal predietors relative to some underlying models MI and M2. This setting is sometimes called tunce-uniuersol prediction [9]. It is encountered in (a) Bayesian and MDL approaches to statistical model selection, prediction and density estimation problems [4]; and (b) in some state-of-the-art data compressors such as the context-tree weighting method [12]. In this preliminary paper, we merely highlight a single application where the use of the switch-code improves over other, existing methods: nonparametrie density estimation based on histograms with bins of equal width. Density estimation with histograms is considered by Rissanen, Speed and Yu (RSY) [8, 13], who show that in estimating a differentiable density that is bounded away from zero and infinity, it is asymptotically optimal in expectation to let the number of his- r togram bins increase as nI/31 with the sample size n. Although they show that this strategy achieves the minimax optimal expected redundancy, O(nI/3), using a fixed function of the sample size to deterrnine the number of bins leads to concerns about the efficiency of the procedure when the estimated density does not satisfy the as- sumed conditions. In Section 4 we generalise the switch-code to switch between a sequence of (more than two) predietors that use increasingly many bins. There we also present a theorem, which will be proved in a subsequent full paper, showing that in the setting of RSY it achieves close to optimal redundancy, 0 (n I/3log log n), while still deternlining the number of histogram bins automatically from the data. In the same setting the standard Bayesian mixturejMDL approach only achieves redundancy O(n1/3(logn)2/3) [13]. This means that, based on the switch-code, we obtain a flex- ible nonparametrie density estimator that has not specifically been designed for the restricted RSY setting; nevertheless, if RSY's assumptions do apply, then in contrast 151 to the standard Bayesian/MDL estimator the switch-code estimator converges almost at the minimax-optimal rate that can be achieved within this restricted setting. 2 Redundancy of the Switch-Code We measure the efficiency of the switch-code in terms of its individual sequence redun- dancy. For any two predietors P and Pi, the individual sequence redundancy of pi relative to P on data sequence z" is defined as (4) The following proposition provides an upper bound on the individual sequence redun- dancy of the switch-code relative to Psw('ls) for any switch-point s and to the original predietorsr, and g. Proposition 1. Let P, and P2 be arbitrary predietors and let Ps"'('ls) and Psw be the corresponding switch-code with known switch-point s and prior w, respectively, as in (2) and (3). Then, for any data sequence z", 00 R(P},Psw,xn)::; -logLw(s), (5) s=n (6) Proof. The prooffollows from the observations that psw(xnls) = Pl(xn) for s 2: n, such that psw(xn) 2: 2::n w(s)· Pl(xn), and psw(xn) 2: w(s) . psw(xnls) for all sEN. 0 The proposition shows that the redundancy of the switch-code does not grow with the sample size, but only depends on the index of the optimal switch point s, i.e. the index where P2 becomes a better predietor than Pç, Since Psw('ls = 0) = P2,it also follows from (6) that the switch-code incurs at most constant individual sequence redundancy with respect to P2. It is important to observe that 'R(P2, ?w, xn) can in fact be much smaller than zero in cases where s = 0 is not the optimal switch-point on the data. The worst-case redundancy with respect to Pj generally does grow with the sample size, at a rate which is determined by the prior ui. One can ensure that the redundancy with respect to P, is bounded by a constant, by defining w such that it assigns prior mass to indices beyond any sample size that is ever obtained. To be perfectly safe, we could take this idea to an extreme by including infinity in the domain of switch-points; we could then specify w(oo) > 0, which (since now Psw('ls = (0) = Pj) guarantees constant worst-case redundancy of at most -log w( (0) bits. 3 Computing the Switch-Code As the definition, (3), of the switch-code involves a sum of infinitely many terms, it may not be immediately clear that it can in fact be computed efficiently. Here we show how the probability psw(xn) of a data sequence z" can be computed sequentially as a function of the predictions of P, and P2, requiring only Oen) computation time. 152 The probability can be decomposed as follows: 00 s=o s=n+l 5=0 Dividing by psw(xn), we find that the predictive distribution Psw(xn+1 I z") = psw(Xn+I)/ psw(xn) is a mixture of the predictions PI (xn+1lxn) and P2(Xn+llxn) with the following respective mixture weights WI (xn) and W2 (z"): (8) Our goal is to efficiently update these mixture weights each time a new outcome has to be predicted. To this end, observe that psw(xnls) = PI(xn) for 8 2' n, so that the expression for WI (xn) reduces to: W (xn) = PI (xn) ~:n+1 w(s) I ~~=o psw(xnls)w(s) + PI (xn) ~:n+1 W(8) PI (xn) ~:n+1 w(s) For simplicity we now assume that the original predietors PI and P2 assign non-zero probability to the data. If this assumption is violated, WI (z") can still be computed equallyefficiently. Letting o(xn):= PI (xn)/p2(xn), W ( .n) = PI (xn) ~:n+1 W(8) I X P2(Xn)~~=OPI(Xs)/P2(XS)W(8)+PI(Xn)~:n+lw(s) (1 -: :~:(~~):: t.~~~ ~(~)::) (9) Storage is required only for the values of the subexpressions in the dotted boxes. They can be updated to their new values in constant time when the next outcome Xn+1 becomes available. As o(xn) can take on extremely large or small values, it may be necessary to store logarithms rather than the actual values. 4 Histogram Density Estimation Rissanen, Speed and Yu [8]consider density estimation based on histogram models with equal-width bins relative to a restricted set T of 'true' densities on the unit interval X = [0,1]. The restrietion on T is that there should exist constants 0 < Co < 1 < Cl such that for every f E T, for all x E X, Co ::; f(x) ::; Cl and 1J'(x)1 ::; Cf, where I' denotes the first derivative of f and Cf may depend on t, but not on x. The densities are extended to sequences by taking products: f(xn) := rr~=1 f(xt) for z" E xn. The histogram models are defined by their predictive densities: A model with m equal-width bins [0, al], (aI, a2], ... , (am-I, 1], with ai = i/m, predicts according to n n) ._ nXnH(x ) +1 f m (Xn+1 I x.- n+m ·m, (10) 153 where nX"+1 (xn) denotes the number of outcomes in z" that fall into the same bin as XnH' For m = mo, ... , mn-l, Rissanen, Speed and Yu prove an upper bound on the expected redundancy of the joint density fm(xn) := I1;~1 fm,_, (z, I xt-l): Theorem 2 (Theorem 2 from [8]). Suppose ma = 1 and i(tja)1/3l ::; mt ::; itl/3l for 1 for t = 1, ... , n - l. Then for every f E T some fixed a ::::: (11) where Ar is a constant dependent on f· In [8) the theorem is proved only for a = 1, but their proof remains valid for larger values of a, as long as a does not vary with t. We require this generalisation of Theorem 2 in our proof of Theorem 5, which is stated below. Theorem 2 shows that the number of histogram bins should increase approximately as nl/3 with the sample size n. We will consider non-decreasing sequences ma ::; ... ::; mn-l that satisfy the conditions of the theorem, because these sequences all correspond to the same sequence of predietors Pb P2, ... and we can generalise the switch-code to switch between the first k of these predictors: Suppose we have a vector s = SI, ... , Sk-l of k - 1switch-points. For convenience, also define So = 0, Sk = 00. Given these switch-points, the switch-code Psw for k predietors predicts according to Psw(- I e: S) := P.(- I xn), where i = argminj Sj-I::; n < Sj, (12) and we again define the unconditional switch-code based on prior w by psw(xn):= I: psw(xnls)w(s), (13) sENk-l where w is now a prior on k - 1 switch-points. Note that (12) and (13) reduce to (2) and (3) if k = 2. Any non-decreasing sequence ma ::; ... ::; mn-l may be fully specified by the indexes where it increases, i.e. by the switch-points between predictors. The reader may verify that the requirements of Theorem 2 are satisfied if the switch-points are chosen as in the following lemma. Lemma 3 (m Specified by Switch-Points). For arbitraru a :::::1 and k predietors. any non-decreasing sequence m = mo, ... , mc;k3 that is specified by k - 1 switch-points SI ::; ... ::; Sk-I, satisfies the conditions of Theorem 2 if i3 ::; Si ::; a . i3 for i = 1,"'1 k-l. As with the two-predictor switch-code, we interpret the switch-points as the sample sizes at which we switch to the next predietor on the list. Hence the interpretation of 51, ... , Sk-l is clear if they are non-decreasing: SI ::; ... ::; Sk-l' The following lemma clarifies their interpretation if some parameters are decreasing, for instance if 53 < 52. Lemma 4 (Decreasing Switch-Point Parameters). Suppose s = SI, ... , Sk-l are switch- point parameters such that i3 ::; Si ::; a· i3 for 1::; i ::;k - l. Let s' = SI, maxj sj , 52}, ... , max{SI,"" sk-d. Then Psw(· I s) = Psw(' I s') and i3 ::; 5; ::; a· i3 for 1 ::; i ::; k-l. Proof. Psw(' I s) = Psw(- I s') can be verified directly from (12). For the second claim it is sufficient to verify that max{ Si : i ::;j} ::; a . j3 for 1 ::; j ::; k - 1, which can be done by induction on j. 0 154 The switch-code for k predietors satisfies the following upper bound, which will be proved in the full paper. Theorem 5 (Switch-Code Expected Redundancy). Let w be a mass junction on N such that log ljw(n) = log(n + 1) + O(loglogn) and, fOT any number- oj models k 2: r n1/31, let P_,w denote the suntch-code based on w' (s) = IT:':1] w( Si) where s = (SI, . J Sk-I) E Nk-I. Then for every f E T (14) where Cf is a constant dependent on f. Proo] Outline. We use Theorem 2 to bound the expected redundancy for fixed se- quences of switch-points. Our bound then arises from the additional cost of encoding the switch-points. This would take O(nl/310gn) bits if we were to encode them ex- actly. However, taking et = 2 we get by Lemma 3 that it is sufficient to specify the logarithm of the switch-points to integer precision, which reduces their codelength to O(n1/310g log nl. 0 An example of a mass function w that meets the requirements of the theorem is w(n) = 2-L*(n+l), where L*(n) denotes the codelength of n for the universal code for the positive integers. L' (n) = c + log n + log log n + ... for n E Z+, where the sequence of nested logarithms includes all positive terms, Z+ denotes the positive integers and c ~ 1.5 is a positive constant [7]. 5 Discussion Related Work The idea of universal coding and prediction is to construct a "uni- versal" predietor that performs nearly as well as the best single predietor in some given comparison class of individual predictors. The switch-code embodies a prediction strat- egy that, in some situations, performs considerably better. Namely, it aims to perform nearly as well as the best sequence of different predietors in the given class. The idea to construct prediction strategies that perform nearly as well as the best sequence of different predictors, rather than the best single predictor, is not at all new. It was considered earlier, by, for example, Bousquet and Warmuth [1]; in a data compression context, a similar idea was explored by Volf [11]. The main difference from these earlier works is that the switch-code has been specif- ically designed for settings where we would normally consider twice-universal coding. Then it commonly happens that the optimal predietor depends on the sample size, where, as the sample grows, the model on which to base the optimal predietor becomes more and more complex; and this phenomenon is exploited by the switch-code. In con- trast, [1] describes a prediction strategy that is optirnized for the situation where the optimal predietor changes over time in completely arbitrary ways, but not too often. In contrast to standard universal codes, the switch-code selects a model not just by evaluating the overall past performance of a predictor, but also by considering its "local" behaviour compared to competing predictors, which makes it related to leave- one-out cross-validation [4]. Thus, it implicitly estimates not just the past behaviour, but also the future behaviour of each predictor. The fact that the two are related, but different, is investigated from a Bayesian perspective by Chickering and Heckerman [2]. In this context, we should also point out a note by MacKay [6] on the relation between Bayesian model comparison and leave-one-out cross-validation, where he predicts that "cross-validation would be the better method for predicting generalisation error". 155 Future Work Twice-universal prediction is commonly applied not just in statistical model selection and density estimation (which we considered here), but also in data compression. For example, the celebrated context-tree-weighting (CTW) [12] algorithm for data compression may be viewed as an instance of twice-universal prediction. Thus, it may be the case that some versions of the switch-code may improve state-of-the-art data compressors such as CTW. We are currently investigating this possibility. Acknowledgements We would like to thank Yishay Mansour for directing our at- tention to the difference between past overall predictive performance and anticipated future predictive performance in a brief remark over lunch at the COLT 2005 confer- ence, which initiated this line of research. This work was supported in part by the 1ST Programme of the European Commu- nity, under the PASCAL Network of Excellence, IST-2002-506778. This publication only reflects the authors' views. References [1] O. Bousquet and M. K. Warmuth. Tracking a small set of experts by mixing past posteriors. Journalof Machine Learning Research, 3:363-396, 2002. [2] D. M. Chickering and D. Heckerman. A comparison of scientific and engineering criteria for Bayesian model selection. Statistics and Computing, 10:55-62, 2000. [3] A. P. Dawid. Statistical theory: The prequential approach. Journalof the Royal Statistical Societu, Series A, 147, Part 2:278-292, 1984. [4] P. D. GrÜnwald. The Minimum Description Length Principle, The MrT Press, 2007. [5] R E. Krichevsky and V, K. Trofirnov, The performance of universal encoding, IEEE Transactions on Information Theorsj, 27(2):199-207, March 1981. [6] D. J. C. MacKay. Bayesian methods for neural networks - FAQ: Relation between Bayes and GCV. Retrieved April 3, 2007 from http://=w ,inference. phy. cam. ac.uk/mackay/Bayes_FAQ.html. [7] J. Rissanen. Stochastic Complexity in Statistical Inquiry, volume 15 of Series in Computer Science. World Scientific, 1989. [8] J. Rissanen, T. P. Speed, and B. Yu. Density estimation by stochastic complexity. IEEE Transactions on Information Theory, 38(2):315-323, March 1992. [9] B, Ryabko. Twice-universal coding. Problems of Information Transmission, 20:173-177,1984. [10] T, A. L. van Erven. The momentum problem in MDL and Bayesian prediction. Master's thesis, University of Amsterdam, Amsterdam, The Netherlands, May 2006. Available from http:j jwww.cwi.nlj <-erven/publications/. [11] P. A. J. Volf, Weighting Techniques in Data Compression: Theory and Algorithms, PhD thesis, Technische Universiteit Eindhoven, December 2002. [12] F. Willems, Y. Shtarkov, and T. Tjalkens. The context-tree weighting method: basic properties. 41:653-664, 1995. [13] B. Yu and T. P. Speed. Data compression and histograms. Probability TheoT'7Jand Related Fields, 92:195-229, 1992. 156 Scalable Video Compression for Embedded Systems in Surveillance Marijn J.H. Loomans+' Corrielis J. Koeleman! Peter H.N. de With2 1 VDG Security BV 2 Eindhoven Univ. of Techn. I LogicaCMG 2718 TA Zoetermeer, NL 5600 MB Eindhoven, NL marijn@vdg-security.com Abstract In this paper, we explore coding architectures for camera surveillance applica- tions. For this purpose we propose a Scalable Video Codec (SVC) based on wavelet transformation. The emphasis in the research is on trading-off the coder complexity,e.g. motion-compensation stages, compression efficiencyand end-to- end delay of the video chain. Within our architecture of choice, t+2D, many complexity-performance trade-offs can be made by configuring the lifting-based motion-compensated temporal filtering (MCTF). Vole discuss various configura- tions and elaborate on the required resources for implementation. We have found an SVC (t+2D) that has a scalable complexity and performance, which enables embedded system applications. Even though the complexity of our SVC is many times lower, performance at full resolution is close to H.264 SVC (within 0.2-3 dB depending on the input sequence) and at lower resolutions sufficient for our video surveillance application. 1 Introd uction The amount of cameras in a surveillance system is growing continuously, requiring efficient coding of the generated video streams. Since the encoding will be inside the camera, resources will be constrained, imposing strong restrictions on encoder complexity. Another system aspect is the desire for scalable video representations, as surveillance system users tend to view the recordings on different devices, such as full size monitors, overview monitors and hand-held devices. Moreover, scalability can be interesting for efficient long term storage of the video information. In this paper, we explore coding architectures for camera surveillance applications. For this purpose we propose a Scalable Video Codec (SVC) based on wavelet trans- formation. Wavelet coding has been extensively explored in the academic domain and it is used in e.g. the JPEG 2000 standard. For video applications, it is interesting to combine wavelet coding with forms of motion compensation. Motion Compensated Temporal Filtering (MCTF) was first proposed by Ohm [1] and later refined by Choi and Woods [2]. Improvements were made by Seeker and Taubman [3] and Pesquet- Popescu and Bottreau [4]by utilizing lifting, proposed by Sweldens [5], in the temporal wavelet decomposition. Later, a more flexible framework named Unconstrained Mo- tion Compensated Temporal Filtering (UMCTF) was proposed by Van der Schaar [6]. Some papers also look at implementation aspects of 3D subband coders. Turaga and Van der Schaar [7] proposed a method to reduce the motion-estimation complexity. Pau, Viéron and Pesquet-Popescu [8]looked at encoder, decoder and end-to-end delay in the UMCTF framework. However, none of these papers look at a complete scope of trade-offs that can be made between coder complexity and performance. Therefore, in 157 this paper extensive focus will be on the trade-offs between implementation cost and performance of our SVC. We have found an SVC (t+2D) that has a scalable complex- ity and performance, which at full resolution, performs close to H.264 SVC (within 0.2-3 dB depending on the input sequence). This paper is organized as follows. Section 2 elaborates on a selection of temporal configurations that are possible in the t+2D coding architecture. We describe the ex- perimental setup in Section 3 and present our results in Section 4. The paper concludes in Section 5. 2 Coding and Temporal Configurations We have explored three possible architectures: t+2D, 2D+t and a pyramid-based cod- ing system. Our SVC is based on the t+2D architecture, shown in Figure 2. Systems in the class t+2D first perform temporal wavelet decomposition, and thereafter a 2D spatial decomposition. Systems labeled 2D+t first perform the spatial decomposition, thereafter the temporal decomposition. Pyramid-based systems first down-sample the input signal to various resolutions (e.g. 4CIF, CIF and QCIF) and for each of the resolutions perform a t+2D decomposition. Information from lower-resolution layers is then used as a prediction for higher-resolution layers. This inter-layer prediction can consist of intra-prediction, motion-vector prediction and residual prediction. A more detailed comparison is beyond the scope of this paper. Figure 1: The t+2D coding architecture. Within the t+2D architecture many complexity-performance trade-offs can be made. The temporal decomposition is performed using motion-compensated temporal filtering (MCTF), where motion compensation is performed within the lifting steps of the tem- poral wavelet filter. Different temporal configurations can be explored, depending on which predict and update steps should be included. in literature, various 3D subband coding schemes have been proposed. Two frameworks are most prominent: LIMAT by Secker and Taubman [3J,and UMCTF (Unconstrained Motion Compensated Temporal Filtering) by Van der Schaar [6]. We have adopted the latter proposal as a guideline for exploration, as it allows different configurations with different complexities and end-to-end delay. The complexity of the UMCTF depends on the implementation of the prediction and update steps within the temporal lifting. Figure 2 shows four possibilities for the temporal transform, P2U2, P2U1, P2Uo and PlUo. Let us use the following notation as defined in [8]. Parameter x, denotes the input video frame at time t, it denotes the temporallow-pass subband frame and ht denotes the temporal high-pass subband frame. As motion-compensated lifting is used, predic- tions of odd frames X2t+l are made from even frames X2t and X2t+2. Two motion vector fields are estimated: forward prediction from X2t to X2t+l denoted by v:1t+l' and back- 158 1 ~~ H I ~ ~ (a) (b) (c) (d) Figure 2: Four methods of implementation of predict and update steps: (a) double predict, double update (P2U2); (b) double predict, single update (P2U1), (c) double predict (P2UO), no update and (d) single predict, no update (PIUO). ward prediction from X2t+2 to X2t+l denoted by VU+I' Assuming n the spatial index in a frame, the motion-compensation operator C is defined by C(x, vt)(n) = x(n - vt(n)). The four different temporal filtering methods P2U2, P2UI, P2UO and HUo as shown in Figure 2 are expressed in Equations (1) through (4), by ht X2t+1 - ~(C(X2t, v:t+l) + C(X2t+2, VU+I)) 1\ 1 I lt X2t + 4'(C- (ht-l' VU_I) + C-I(ht, v:t+l))' (1) ht X2t+l- ~(C(X2t,V:t+l) +C(X2t+2,VU+1)) 1\ 1 1 t, X2t + "2C- (ht-l' VU-I)' (2) ht X2t+l - ~(C(X2t, V:t+l) + C(X2t+2, VU+1)) 1\ lt X2t, (3) ht = X2t+1 - C(X2t, V:t+I) 1\ lt = X2t· (4) We can now build an N-level temporal transform with the four configurations of Figure 2. In [8],the transform is parameterized by (P, Q), with P denoting the number of P2U2 transforms at the finest level(s) and Q denoting the number of P2UI transforms at the following level(s). If any, the remaining level(s) use the PIUO transform I. Five configurations, defined by (P, Q), are shown in the top part of Table 1. We propose another two, both without update steps. First, a configuration with all the predict steps activated (P2UO), referred to as Pr edûn Ly or PO. Second, a configuration which uses bidirectional prediction at the two lowest levels (P2UO), and single prediction at the two highest levels (PIUO) to reduce the end-to-end delay. This configuration will be referred to as BiDirLowDel or BDLD. Both configurations are shown in Table 1. Note that for (P, Q) = (4,0), the transform is equal to the well-known 5/3 temporal transform and for (P, Q) = (0,0) it is similar to the Haar transform, but without the update steps. The BiDirLowDel and Ponly configurations are similar to (P, Q) = (0,2) and (P, Q) = (4,0) configurations, respectively, but without the update steps. lThe P2UO transform is not used in [8J. 159 Table 1: Chosen configurations for a 4-level temporal transform. Configuration II P2U2 levels I P2UI levels I P2UO levels I PIUo levels (P, Q) = (4,0) 4 0 - 0 (P, Q) = (1,2) 1 2 - 1 (P, Q) = (0,2) 0 2 - 2 (P, Q) = (0,1) 0 1 - 3 (P, Q) = (0,0) 0 0 - 4 PredOnly - - 4 0 BiDirLowDel - - 2 2 3 Experimental Setup Implementation and sequences Spatial (R+ V) wavelet decomposition is performed by filtering the image by the well- known 9/7 Daubechies filter bank. For broadcast TV resolution, a 5-level spatial wavelet transform is used. The GOP-size is 16 frames, with an adaptive 4-level tempo- ral wavelet transform. Motion is estimated to 1/8 accuracy using a block-based motion estimator with a fixed block size of 16x16 pixels. Rate control is performed by simply reducing the number of bit-levels decoded. To provide finer granularity in this simple rate control scheme, it is possible to drop a part of the bits within a certain bit level. The temporal low-pass frame is encoded with one more bit-level than the other tem- poral high-pass frames. Entropy coding of the wavelet coefficients is performed with a modified SPIRT encoder. No arithmetic coding stages are used and the cost of coding motion vectors has not been taken into account. The following sequences were used for testing and validation: City (704x576, 25fps), Crew (704x576, 25fps) and CrossingA (704x576, 25fps). The last sequence, CrossingA, is a self-recorded sequence which is more representative for a typical security surveillance video. Performance Metrics Motion estimation is one of the most computationally expensive algorithms to imple- ment inside a video compression algorithm. We look at the number of times motion estimation and compensation is performed on a full frame. Memory usage for embedded systems is a critical parameter, especially the memory bandwidth. The temporal transform requires various frame filtering operations and also the motion compensation is applied in the temporal domain. End-ta-end delay is defined as the time it takes between capturing a frame and viewing It on a display, The temporal transferm is the most delay-consuming stage. In our experiments we have ignored the local delay for coding, quantization and transmission. Frame accessibility is important for a security surveillance system because of the var- ious types of viewing, e.g. normal playback, high speed playback, reverse playback, frame-by-frame access and arbitrary access. PSNR is used as an objective measure for quality (also subjective evaluation is done). To determine the PSNR for sequences decoded at lower resolutions, reduced-resolution references are obtained using the low-pass filter of the 9/7 wavelet filter kernel. 160 4 Results and Discussion Complexity Analysis The most important performance metrics on computation and memory usage are shown in Table 2 for various temporal configurations. The table shows that the (4,0) con- figuration is clearly more expensive than the other proposals and because of the large end-ta-end delay it is not suitable for the desired application. The other configura- tions have comparable complexity parameter values so that a comparison in quality performance is required. With respect to searching in a recording database, arbitrary frame access is the most critical feature resource usage. For example, when accessing a single frame, it may be required to fetch up to 13 pictures and perform the complete temporal decomposition. This requirement favors the choice for the (0,0) and BDLD configuration. Table 2: Quantified performance metrics for different temporal configurations. The last column refers to the average number of frames accesses for an arbitrary search. Temp. Motion Motion Vector Mem. Write Read I Enc. I Dec. Total I Avg. Con:fig. Est. Camp. Fields Usage Acc. Acc. Delay Delay Delay Acc. (4,0) 30 60 30 41 46 106 30 23 45 13 (1,2) 29 51 29 17 45 96 6 7 9 8.5 (0,2) 27 39 27 11 43 86 2 3 3 6 (0,1) 23 31 23 8 39 69 1 1 1 4.5 (0,0) 15 15 15 4 31 46 0 0 0 3 PO 30 30 30 32 46 76 8 15 15 5 BDLD 27 27 27 8 43 70 2 3 3 3.8 Temporal configurations Figure 3 shows the rate distortion curves for the City and Crew. A few observations can be made from these curves. First, by carefully choosing the temporal configura- tion, increasing complexity can improve coder performance, as seen by a higher PSNR at the same bit rate. It is interesting to note that for most cases, the update steps do not improve performance, but degrade it, which can be observed by comparing the BiDirLowDel and (0,2) curves. A possible explanation is that due to inaccuracies in the motion estimation, the update steps introduce artifacts in the low-pass bands. This emphasizes that selecting the right temporal configuration is not a trivial task. Reduced Resolutions Due to the choice of the t+2D architecture, spatial aliasing will be evident in sequences decoded at lower resolutions. This reduces the PSNR significantly, however, visually this is perceived as a slightly blurring effect. An interesting case occurs at the City sequence. Due to the high amount of fine structures, aliasing can be clearly observed at one of the buildings in the background. Figure 5 shows frame 64 of the City sequence. The original sequence is down-scaled to 352x288 resolution and depicted in (a), with the building enlarged in (b). The com- pressed sequence decoded at 352x288 resolution is depicted in (d), with the building enlarged in (c). In the compressed image, the coding blurs certain parts of the aliasing pattern present in the original sequence. As a result, the PSNR drops significantly as can be seen in the rate-distortion curve in Figure 4b. For the 176x 144 resolution, most of the fine structure in this building has disappeared in the process of down-sampling 161 City 704x576 60fps coded with different temporal contlçurations Crew 704x576 60fps coded with 5 temporal configurations A-" <£ ~! aai :s 34 ~ . /~,<,"> /. .~ .• " • .r"-'-'-'-.:....:.c.c:.:..'-'-'--'-; 40 ~:I~~P;<' l ~ i 1)~'---' --PredOnly z ~;<.... -- PredOnly g: 32 ~ .1J;: .... - .. BiDirLowDel Ul a.. _ f.~".~ 1..1~.~:- BiDirLowDel! I ij."'. (0.2) I!!/ . (0.2) i i [fe (0.1) 34 ti I - ... (0,1) I 30rL[' i ~. (0,0) 32 ! I (0.0) I 2aL_----~------~------~-- o 5 10 15 2 4 6 8 10 12 Rate (MbiUsec) Rate (MbIUsec) (a) (b) Figure 3: Rate distortion curves for 5 temporal configurations for the (a) City and (b) Crew sequences. and the same phenomenon is less intrusive, which is also visible in the slightly higher rate distortion curve for this resolution. The CrossingA sequence does not contain these structures and therefore shows more reasonable rate-distortion curves as shown in Figure 4a. CrossÎngA 704x576 25fps Rate Distortion Curve City 704x576 60fps rate distortion curve 42 ...- . ...-_ 3sf i 40 ....- .•.: r'':·~ _ 36 1 .' / ~ a: z 38 :,'. ,/ ~ 34~ UJ 36 z a. ff 32 .. (. 34 . / ( _- Decoded at 7Q4x576 ~"i' .- - ~-.- ~--'-.:..'----'---~ / I 30 1,...'" . -- Decoded at 704x576! 32 / 26 I . 'j I . - . _. Decoded at 352x266I' •.. Decoded at 176x144 0.5 1 1.5 2.5 o 10 15 Rate (Mbit/sec) Coded bits (Mbit/sec) (a) (b) Figure 4: Rate distortion curves of (a) CrossingA and (b) City decoded at full and reduced resolutions. Comparison between H.264 SVC and proposed SVC We compared the H.264 SVC CE2.1 codec with our proposed codec for the City and the Crew sequences. As motion vector coding is not yet fully implemented in our proposed SVC, we omit the cost of coding the motion vectors. To compensate for this difference, we reduced the rate by approximately 10% compared to H.264. PSNR curves and resulting pictures are shown in Figure 6 and Figure 7 for the City and Crew sequences, respectively. For the City sequence, H.264 outperforms the proposed SVC, most likely due to the highly advanced motion-estimation model. This is visually confirmed as the H.264 sequence shows more details in background buildings and fine structures. For the Crew sequence, our proposed SVC shows slightly higher PSNR than H.264. Visually, H.264 looks less noisy than the proposed SVC, but at the cost of 162 (a) (b) (c) (d) Figure 5: Spatial aliasing in the City sequence decoded at 352x288: (a) original frame, (b) detail of original frame, (c) detail of compressed frame and (d) compressed frame. more blurring. Our SVC shows more details at the cost of being slightly more noisy, however, this is preferred for our surveillance application. 5 Conclusion In this paper, we have shown complexity /performance trade-offs for our SVC (t+2D) using various temporal configurations, where our preference goes out to the BiDirLowDel configuration. This enables implementation of our advanced scalable video codec on a highly resource-constrained embedded system, such as a network camera. The coding performance at full resolution is close to H.264 SVC (within 0.2-3 dB depending on the input sequence) and at lower resolutions sufficient for our video surveillance ap- plication, but our SVC has a much lower complexity. The most dominant reductions are found in the non-hierarchical motion model, the straightforward t+2D architecture and the simple entropy coding scheme. References [1] J.R. Ohm, "Three-dimensional subband coding with motion compensation," IEEE Trans. Image Proc., vol. 3, no.5, pp. 559-571, Sept. 1994. [2] S.J. Choi and J.W. Woods, "Motion compensated 3-D subband coding of video," IEEE Trans. Image Proc., vol. 8, no. 2, pp. 155-167, Feb. 1999. [3] A. Seeker and D. Taubman, "Motion-compensated highly scalable video compression using an adaptive 3D wavelet transform based on lifting," Proc. ICrp 2001, Thessaloniki, vol. Il, pp. 1029-1032, Oct. 2001. [4] B. Pesquet-Popescu and V. Bottreau, "Three-dimensionallifting schemes for motion com- pensated video comprssion," Proc. rCASSP 2001, Salt Lake City, May 2001. [5] W. Sweldens, "The lifting scheme: A custom-design construction of biorthogonal wavelets," Appl. Comput. Harmon. Anal., vol. 3, no. 2, pp. 186-200, 1996. [6] M. van der Schaar and D.S. Turaga, "Unconstrained motion compensated temporal fil- tering (UCMTF) framework for wavelet video coding," Proc. ICASSP 2003, vol. 3, pp. 81-84, Apr. 2003. [7] D.S. Turaga and M. van der Schaar. "Reduced complexity spatio-temporal scalable mo- tion compensated wavelet video enc.," Proc. ICME 2003, vol. 2, pp. 561-564, 2003. [8] G. Pau and J. Viéron and B. Pesquet-Popescu, "Video coding with flexibleMCTF struc- tures for low end-to-end-delay, " Proc. lCIP 2005, vol. 3, pp. IIl-241-244, 2005. 163 PSNR per frame for Ci1y 704x576 60fps PSNA per frame for Crew 704x576 60fps -_ ........ H.264 SVC CE2.1 @ 3000 kbiUs I 40 I __ H.264 SVC CE2.1 @ 2048 kbi1fs 1 38 l -- Proposed SVC @ 1881 kbiUs " I ~ 36f~ ~ 34~lj'/\J,,-"~\I'/V \ . \ '\ . .. :'. 'I L , '~ ; '_ j ; :: r /\, 1\_./,)1//,,)' j 35 34L_--~----~----~----~--~ 10 20 30 40 50 10 20 30 40 50 Frame Frame (a) (a) (b) (b) (c) (c) Figure 6: Comparison of H.264 SVC Figure 7: Comparison of H.264 SVC and our proposed SVC for the City se- and our proposed SVC for the Crew se- quence: (a) PSNR per frame, (b) H.264 quence: (a) PSNR per frame, (b) H,264 SVC frame 36 and (c) proposed SVC SVC frame 36 and (c) proposed SVC frame 36. frame 36, 164 Binding Weak Features To Support Opportunistic Person Identification Onkar Ambekar. Eric Pauwels. Ben Schouten Centrum voor Wiskunde en fuformatica Signals and Images Group(PNA4) Kruislaan 413, NL-1098 SJ Amsterdam, The Netherlands {firstnameJastname }©lc\vi.nl Abstract In general biometrie systems which use face, iris or fingerprint for recognition de- mand specific action from the person for identification process. Within a smart environment i.e. smart house, identification is preferred to be done in a trans- parent way i.e. without any specific action from the user. In this paper we argue that sensor network within smart environment offer the possibility of op- portunistic sensing in which associations between sensor ouputs are detected and are used to produce more robust identity recognition. To illustrate this point of view, we present a simple scenario and show that this type of data association could indeed be useful. 1 Introduction Implementation of biometrie systems such as face, iris, or fingerprint recognition etc are gradually replacing the age old document based identification procedures particularly at border control. These applications demand a specific action from the person for identification process i.e. they are non-transparent. Within the smart home environ- ment identification is preferred to be done in more transparent way as opposed to the border control scenario. With availability of sensor i.e. their reducing cost and their sophistication increasing rapidly, it has become viable to deploy sensors in a networked environment used for observation. Within an observed environment it is likely that comparing the data streams emanating from sensor network will uncover meaningful association. Such associations might in fact have a significant practical value as they can contribute to the robustness of identification process. We use the term oppor- tunistic identification to indicate situations in which sensor network is picking up on patterns, features e.g. face, torso, height and finding the correlations between them which turn out to be valuable in confirming or predicting the identity. In this paper we explore scenario wherein sensors are deployed within a room and sensor output i.e. face, skin, motion etc. are searched for possible correlations. 1.1 Motivation It is well known fact that humans and to that matter other animals have capacity to pick up subtle sensorial inklinks and link them together into robust recognizer. If sensor networks could imitate this ability to link subtle sensorial clues it would undoubtly result in significant performance. Our interest in the problem lies in the need to develop a transparent and opportunistic sensor system which will identify people. 165 1.2 Experimental Setup A room is monitored, as seen in Figure 1, by a camera (Cam 1) attached to the wall opposite the door. This camera detects motion as well as a face. In addition there is a second camera (Cam 2) detecting motion with a relatively narrow observation beam aimed at the door but essentially orthogonal to that of the Caml (again see Figure 1). Hence the area near the door is monitored by both motion detectors (as well as the face detector in Carn l ) while other parts of the room are either outside the motion sensor range or only observed by one of them. Due to this layout, a person entering the room will set off (in quick succession) both motion detectors and the face detector. These events are represented as spikes as seen in Figure 2 where bottom trace represents motion event seen by Cam2. Second from the bottom is trace of motion event seen by Caml. Third trace from bottom represents face detection event seen by Caml. As seen in Figure 2 these occurances of three events are not necessarily in sequence. R.eason for that is motion and face detector can set off due to motion outside the room (corridor) or in other part of the room. Cam1 Card Reader Sofa ! \ i \ !" i, / \ fr=;.: \ ________ \ --______ \\ \ ------ -------::'_"i'ii Cam2 \ --- TIevision Corridor Figure 1: Living room and sensor setup A typical scenario, in which a person enters the living room and sits on the sofa to watch the television, is seen in Figure 1. While entering, the same person is seen by Cam l and Cam2 hence motion is detected in both cameras. The face is detected by Caml. We emulate the presence of a person on sofa by swiping the card 1. 2 Home environment and Identification process Face or voice recognition has been a hot topic of research. These modalities are con- sidered as strong biometrie modalities. Although, these modalities are present all the time, problem lies in acquiring the appropriate signal i.e. frontal face for the face recognition see Figure 4. Thus making these strong modalities unreliable in many cir- cumstances. To boost the confidence level of the recognition process, we need more features which are helpful when the strong modalities are unreliable. Property of these feature should be: they should be easy to acquire and should be present most of the time. A person carries many features all the time such as: shirt they wear, height of a person, gender, hair texture etc. These features in themselves are weak to identify a person but when they are fused with strong modalities they can be used to identify 1 We assume that in near future cloathing will have RFID tags and furniture will have RFID reader 166 Figure 2: Sensor events from bottom to top: motionl, motion2, face, swipe a person. This is true particularly in the home environment wherein the set of people is small. In this paper we have used calor histogram of torso i.e. shirt in conjunction with face detection system to show that the identity propagation, i.e. propagation of face information over sensor network, can be done using weak features . .·cam1 • Cam2 Figure 3: Scheme for matching weak features Here we have developed a scheme wherein Caml can detects frontal face when a person enters room and Cam2 detects motion. Torso region of a person walking in is identified given face region by face detection scheme. Calor histogram is calculated and is compared with the calor histogram from Cam2. The scheme is depicted in Figure 3. For decreasing false positives of face and torso detection system we opt for foreground detection scheme. As mentioned in the senaria in previous section, a person walks in the room and sits on the sofa to watch television. While doing so person becomes changing or prominant part of the image i.e. foreground, captured by a camera. There could be false alarms due to movement of pets or other objects. To ascertain the moving objects are humans we use skin detection. Here assumption is, some parts 167 of the body are always exposed e.g. face. Thus we classifiy a forground object to be human or non-human and we opt to work on human objects. 3 Foreground Detection Foreground detection using background modeling has been common computer vision task particularly in the field of surveillance [4]. Detecting moving objects is an essential step. An applicable assumption is that images of the scene without moving object shows regular behavior which can be medeled using statistical methods. Background averaging is a simple method for calculating an adaptive background model. This technique is prone to produce bad results when the background is bimodal or to that matter multi-modal. It also recovers slowly when background is uncovered. This technique is also prone to lighting changes. To cope with this problems we use Adaptive Gaussian Mixture model. 3.1 Gaussian Mixture Model In practical environment e.g. home environment illumination could change according to the need of the user or it could also change due to gradual change in sun lighting, lighting during the noon is brighter compared to early morning, it could also depend upon weather condition. In order to adopt changes we can update training set by adding new samples. Fach pixel observation consist of calor measurement. At any time, t, pixel value at pixel i can be written as Xi,t = [R.;,t, Gi,t, Bi,t]. The recent history of every pixel within an Image is stacked which can be repre- sented as [Xi,l, Xi,2, ... , Xi,t-IJ and is modeled by mixture of K Gaussian distributtons. In this study K = 4 and is same for all pixels. Now the probability of the current observation at a pixel i can be estimated using the model built from previous observa- tions. K P(Xi,tIXi,l, ... , Xi,t-l) = I:Wi,t-l,k * T}(Xi,t, J..li,t-l,k, O';'t-l,k) (1) k=l where 7) is gaussian probability density function, having parameters such as P'i,t-l,k and O';'t-l,k are mean and covariance matrix of the kth gaussian. Wi,t-l,k is the weight associated with kth gaussian. For initiating the process Expectation Maximization(EM) algorithm is used. To make the process on-line, the matching process is carried out in order of decreasing weights, and new pixel is considered to be background if it matches with Kth component i.e, if the distance between them is less than E, in this study we have chosen E = 2 * u. If a current pixel dosen't match the K distribution, then the distribution with the least weight is replaced by current value as its mean, with high variance and low weight. Otherwise, the parameters of the matched gaussian distribution T}k are recursively adapted to new incomin pixels thus making the process on-line and adaptive toward 9 changing environment [4J. The adaptation procedure is as follows: Wi,t,k = (1 - a)wi,t-l,k + exiV/i,t,x: (2) where a is learning rate, ex E [0,IJ and I/ex determines the speed of the adaptation process. And lvIi,t,k = 1 if the current pixel matches a model, otherwise it is 0 for rest of the models. In similar vain wand u are updated as follows: J-Li,t,k = (1 - À)J..l;,t-l,k + ÀXi,t (3) 168 4 Results and Discussion Complexity Analysis The most important performance metrics on computation and memory usage are shown in Table 2 for various temporal configurations. The table shows that the (4,0) con- figuration is clearly more expensive than the other proposals and because of the large end-to-end delay it is not suitable for the desired application. The other configura- tions have comparable complexity parameter values so that a comparison in quality performance is required. With respect to searching in a recording database, arbitrary frame access is the most critical feature resource usage. For example, when accessing a single frame, it may be required to fetch up to 13 pictures and perform the complete temporal decomposition. This requirement favors the choice for the (0,0) and BDLDconfiguration. Table 2: Quantified performance metrics for different temporal configurations. The last column refers to the average number of frames accesses for an arbitrary search. Temp. Motion Motion Vector Mem. Write Read Enc. Dec. Total Avg. Config. I Est. Comp. Fields Usage Acc. Acc. Delay Delay Delay Acc. (4,0) 30 60 30 41 46 106 30 23 45 13 (1,2) 29 51 29 17 45 96 6 7 9 8.5 (0,2) 27 39 27 11 43 86 2 3 3 6 (0,1) 23 31 23 8 39 69 1 1 1 4.5 (0,0) 15 15 15 4 31 46 0 0 0 3 PO 30 30 30 32 46 76 8 15 15 5 BDLD 27 27 27 8 43 70 2 3 3 3.8 Temporal configurations Figure 3 shows the rate distortion curves for the City and Crew. A few observations can be made from these curves. First, by carefully choosing the temporal configura- tion, increasing complexity can improve coder performance, as seen by a higher PSNR at the same bit rate. It is interesting to note that for most cases, the update steps do not improve performance, but degrade it, which can be observed by comparing the BiDirLowDel and (0,2) curves. A possible explanation is that due to inaccuracies in the motion estimation, the update steps introduce artifacts in the low-pass bands. This emphasizes that selecting the right temporal configuration is not a trivial task. Reduced Resolutions Due to the choice of the t+2D architecture, spatial aliasing will be evident in sequences decoded at lower resolutions. This reduces the PSNR significantly, however, visually this is perceived as a slightly blurring effect. An interesting case occurs at the City sequence. Due to the high amount of fine structures, aliasing can be clearly observed at one of the buildings in the background. Figure 5 shows frame 64 of the City sequence. The original sequence is down-scaled to 352x288 resolution and depicted in (a), with the building enlarged in (b). The com- pressed sequence decoded at 352x288 resolution is depicted in (d), with the building enlarged in (c). In the compressed image, the coding blurs certain parts of the aliasing pattern present in the original sequence. As a result, the PSNR drops significantly as can be seen in the rate-distortion curve in Figure 4b. For the 176x 144 resolution, most of the fine structure in this building has disappeared in the process of down-sampling 161 City 704x576 60fps coded with different temporal conüquratlons Crew 704x576 60fps coded with 5 temporal configurations 38 40 36 38 iD iD :3. 34 :!=!. a: a: 36 z (J) z (/) 0. 32 n, 34 32 28L_------------~------~--- o 10 15 0 2 4 6 10 12 Rate (MbiUsec) Rate (MbiVsec) (a) (b) Figure 3: Rate distortion curves for 5 temporal configurations for the (a) City and (b) Crew sequences. and the same phenomenon is less intrusive, which is also visible in the slightly higher rate distortion curve for this resolution. The CrossingA sequence does not contain these structures and therefore shows more reasonable rate-distortion curves as shown in Figure 4a. CrossingA 704x576 25fps Rate Distortion Curve City 704x576 60fps rate distortion curve 42 iD ~ 34 a: z (J) -t-: Cl. 32 30/r'~ . ,/ 28L_------~~--------------~ 0.5 1 1.5 2 2.5 o 10 15 Rate (MbiUsec) Coded bits (MbiVsec) (a) (b) Figure 4: Rate distortion curves of (a) CrossingA and (b) City decoded at full and reduced rësolutiuus. Comparison between H.264 SVC and proposed SVC We compared the H.264 SVC CE2.1 codec with our proposed codec for the City and the Crew sequences. As motion vector coding is not yet fully implemented in our proposed SVC, we omit the cost of coding the motion vectors. To compensate for this difference, we reduced the rate by approximately 10% compared to H.264. PSNR curves and resulting pictures are shown in Figure 6 and Figure 7 for the City and Crew sequences, respectively. For the City sequence, H.264 outperforms the proposed SVC, most likely due to the highly advanced motion-estimation model. This is visually confirmed as the H.264 sequence shows more details in background buildings and fine structures. For the Creui sequence, our proposed SVC shows slightly higher PSNR than H.264. Visually, H.264 looks less noisy than the proposed SVC, but at the cost of 162 (a) (b) (e) (d) Figure 5: Spatial aliasing in the City sequence decoded at 352x288: (a) original frame, (b) detail of original frame, (c) detail of compressed frame and (d) compressed frame. more blurring. Our SVC shows more details at the cost of being slightly more noisy, however, this is preferred for our surveillance application. 5 Conclusion In this paper, we have shown complexity /performance trade-offs for our SVC (t+2D) using various temporal configurations, where our preference goes out to the BiDirLowDel configuration. This enables implementation of our advanced scalable video codec on a highly resource-constrained embedded system, such as a network camera. The coding performance at full resolution is close to H.264 SVC (within 0.2-3 dB depending on the input sequence) and at lower resolutions sufficient for our video surveillance ap- plication, but our SVC has a much lower complexity. The most dominant reductions are found in the non-hierarchical motion model, the straightforward t+2D architecture and the simple entropy coding scheme. References [1) J.R. Ohm, "Three-dimensional subband coding with motion compensation," IEEE Trans. Image Proc., vol. 3, no.5, pp. 559-571, Sept. 1994. [2) S.J. Choi and J.W. Woods, "Motion compensated 3-D sub band coding of video," IEEE Trans. Image Proc., vol. 8, no. 2, pp. 155-167, Feb. 1999. [3) A. Seeker and D. Taubman, "Motion-compensated highly scalable video compression using an adaptive 3D wavelet transform based on lifting," Proc. ICIP 2001, Thessaloniki, vol. Ir, pp. 1029-1032, Oct. 200l. [4) B. Pesquet-Popescu and V. Bottreau, "Three-dimensional Iifting schemes for motion corn- pensated video comprssion," Proc. ICASSP 2001, Salt Lake City, May 2001. [5) W. Sweldens, "The lifting scheme: A custom-design construction of biorthogonal wavelets," Appl. Comput. Harmon. Anal., vol. 3, no. 2, pp. 186-200, 1996. [6) M. van der Schaar and D.S. Turaga, "Unconstrained motion compensated temporal fil- tering (UCMTF) framework for wavelet video coding," Proc. ICASSP 2003, vol. 3, pp. 81-84, Apr. 2003. [7) D.S. Turaga and M. van der Schaar. "Reduced complexity spatic-temporal scalable mo- tion compensated wavelet video enc.," Proc. ICME 2003, vol. 2, pp. 561-564, 2003. [8J G. Pau and J. Viéron and B. Pesquet-Popescu, "Video coding with flexible MCTF struc- tures for low end-to-end-delay, " Proc. ICIP 2005, vol. 3, pp. III-241-244, 2005. 163 PSNR per frame for Cily 704x576 60fps -- H.264 SVC CE2.1 @ 2048 kbiVs ._- Proposed SVC @ 1881 kbiVs 10 20 30 40 50 10 20 30 40 50 Frame Frame (a) (a) (b) (b) (c) (c) Figure 6: Comparison of H.264 SVC Figure 7: Comparison of H.264 SVC and our proposed SVC for the City se- and our proposed SVC for the Crew se- quence: (a) PSNR per frame, (b) H.264 quence: (a) PSNR per frame, (b) H.264 SVC frame 36 and (c) proposed SVC SVC frame 36 and (c) proposed SVC frame 36. frame 36. 164 Binding Weak Features To Support Opportunistic Person Identification Onkar Ambekar, Eric Pauwels, Ben Schouten Centrum voor Wiskunde en Informatica Signals and Images Group(PNA4) Kruislaan 413, NL-1098 SJ Amsterdam, The Netherlands {firstname.lastname }@cwi.nl Abstract In general biometrie systems which use face, iris or fingerprint for recognition de-- mand specific action from the person for identification process. Within a smart environment i.e. smart house, identification is preferred to be done in a trans- parent way i.e. without any specific action from the user. In this paper we argue that sensor network within smart environment offer the possibility of op- portunistic sensing in which associations between sensor ouputs are detected and are used to produce more robust identity recognition. To illustrate this point of view, we present a simple scenario and show that this type of data association could indeed be useful. 1 Introduction Implementation of biometrie systems such as face, iris, or fingerprint recognition etc are gradually replacing the age old document based identification procedures particularly at border control. These applications demand a specific action from the person for identification process i.e. they are non-transparent. Within the smart home environ- ment identification is preferred to be done in more transparent way as opposed to the border control scenario. With availability of sensor i.e. their reducing cost and their sophistication increasing rapidly, it has become viable to deploy sensors in a networked environment used for observation. Within an observed environment it is likely that comparing the data streams emanating from sensor network will uncover meaningful association. Such associations might in fact have a significant practical value as they can contribute to the robustness of identification process. We use the term oppor- tunistic identification to indicate situations in which sensor network is picking up on patterns, features e.g. face, torso, height and finding the correlations between them which turn out to be valuable in confirming or predicting the identity. In this paper we explore scenario wherein sensors are deployed within a room and sensor output i.e. face, skin, motion etc. are searched for possible correlations. 1.1 Motivation It is well known fact that humans and to that matter other animals have capacity to pick up subtle sensorial inklinks and link them together into robust recognizer. If sensor networks could imitate this ability to link subtle sensorial clues it would undoubtly result in significant performance. Our interest in the problem lies in the need to develop a transparent and opportunistic sensor system which will identify people. 165 1.2 Experimental Setup A room is monitored, as seen in Figure 1, by a camera (Cam 1) attached to the wall opposite the door. This camera detects motion as well as a face. In addition there is a second camera (Cam 2) detecting motion with a relatively narrow observation beam aimed at the door but essentially orthogonal to that of the Caml (again see Figure 1). Hence the area near the door is monitored by both motion detectors (as well as the face detector in Cam'I ) while other parts of the room are either outside the motion sensor range or only observed by one of them. Due to this layout, a person entering the room will set off (in quick succession) both motion detectors and the face detector. These events are represented as spikes as seen in Figure 2 where bottom trace represents motion event seen by Cam2. Second from the bottom is trace of motion event seen by Cam l. Third trace from bottom represents face detection event seen by Cam l. As seen in Figure 2 these occurances of three events are not necessarily in sequence. R.eason for that is motion and face detector can set off due to motion outside the room (corridor) or in other part of the room. Cam1 Card Reader Sofa i \ ;' \\ I / \\ I J -.;..___ ...._._ j,I j \--- I \----- ___ \ . \, Corridor Figure 1: Living room and sensor setup A typical scenario, in which a person enters the living room and sits on the sofa to watch the television, is seen in Figure 1. While entering, the same person is seen by CamI and Cam2 hence motion is detected in both cameras. The face is detected by CamI. We emulate the presence of a person on sofa by swiping the card 1. 2 Home environment and Identification process Face or voice recognition has been a hot topic of research. These modalities are con- sidered as strong biometrie modalities. Although, these modalities are present all the time, problem lies in acquiring the appropriate signal i.e. frontal face for the face recognition see Figure 4. Thus making these strong modalities unreliable in many cir- cumstances. To boost the confidence level of the recognition process, we need more features which are helpful when the strong modalities are unreliable. Property of these feature should be: they should be easy to acquire and should be present most of the time. A person carries many features all the time such as: shirt they wear, height of a person, gender, hair texture etc. These features in themselves are weak to identify a person but when they are fused with strong modalities they can be used to identify IWe assume that in near future cloathing will have RFID tags and furniture will have RFID reader 166 Figure 2: Sensor events from bottom to top: motionl, motion2, face, swipe a person. This is true particularly in the home environment wherein the set of people is small. In this paper we have used color histogram of torso i.e, shirt in conjunction with face detection system to show that the identity propagation, i.e. propogation of face information over sensor network, can be done using weak features. ~ Cam1 ., Cam2 UIIIlfii Figure 3: Scheme for matching weak features Here we have developed a scheme wherein Caml can detects frontal face when a person enters room and Cam2 detects motion. Torso region of a person walking in is identified given face region by face detection scheme. Color histogram is calculated and is compared with the color histogram from Cam2. The scheme is depicted in Figure 3. For decreasing false positives of face and torso detection system we opt for foreground detection scheme. As mentioned in the senario in previous section, a person walks in the room and sits on the sofa to watch television. While doing so person becomes changing or prominant part of the image i.e, foreground, captured by a camera . There could be false alarms due to movement of pets or other objects. To ascertain the moving objects are humans we use skin detection. Here assumption is, some parts 167 of the body are always exposed e.g. face. Thus we classifiy a forground object to be human or non-human anel we opt to work on human objects. 3 Foreground Detection Foreground detection using background modeling has been common computer vision task particularly in the field of surveillance [4]. Detecting moving objects is an essential step. An applicable assumption is that images of the scene without moving object shows regular behavior which can be modeled using statistical methods. Background averaging is a simple method for calculating an adaptive background model. This technique is prone to produce bad results when the background is bimodal or to that matter multi-modal. It also recovers slowly when background is uncovered. This technique is also prone to lighting changes. To cope with this problems we use Adaptive Gaussian Mixture model. 3.1 Gaussian Mixture Model In practical environment e.g. home environment illumination could change according to the need of the user or it could also change due to gradual change in sun lighting, lighting during the noon is brighter compared to early morning, it could also depend upon weather condition. In order to adopt changes we can update training set by adding new samples. Each pixel observation consist of color measurement. At any time, t, pixel value at pixel i can be written as Xi,t = [R.;,t, Gi,t, Bi,t]. The recent history of every pixel within an Image is stacked which can be repte- sented as [Xi,l, Xi,2, ... , Xi,t-I] and is modeled by mixture of K Gaussian distributions. In this study K = 4 and is same for all pixels. Now the probability of the current observation at a pixel i can be estimated using the model built from previous observa- tions. K P(Xi,tIXi,l, ... , X.i,t-I) = L Wi,t-I,k * 'TI(Xi,t, J.li,t-l,k, O't,t-l,k) (1) k=1 where n is gaussian probability density function, having parameters such as J.li,t-I,k and O';'t-l,k are mean and covariance matrix of the kth gaussian. Wi,t-I,k is the weight associated with kth gaussian. For initiating the process Expectation Maximization(EM) algorithm is used. To make the process on-line, the matching process is carried out in order of decreasing weights, and new pixel is considered to be background if it matches with Kth. component i.e. if the distance between them is less than e, in this study we have çhosen f = 2 * 0'. If a current pixel dosen't match the K distribution, then the distribution with the least weight is replaced by current value as its mean, with high variance and low weight. Otherwise, the parameters of the matched gaussian distribution 'TIk are recursively adapted to new incoming pixels thus making the process on-line and adaptive toward changing environment [4]. The adaptation procedure is as follows: Wi,t,k = (1 - a)wi,t-I,k + aMi,t,k (2) where a is learning rate, a E [0,1] and I/a determines the speed of the adaptation process. And Mi,t,k = 1 if the current pixel matches a model, otherwise it is 0 for rest of the models. In similar vain wand (J' are updated as follows: J.li,t,k = (1 - À)J.li,t-l,k + ÀXi,t (3) 168 2 Ui,t,k 2 = (1 - À)Ui,t-l,k + À(Xi,t - 7') !-Li,t) (Xi,t - !-Li,t (4) where (5) One significant advantage of GMM over average images method is, as the new values are allowed to be part of the model, it dosent destroy the old model. As the new values become prominent overtime the weighing changes and new values tend to have more weight and older ones become smaller. Therefore, if over a period an object becomes background and then moves, the distribution describing previous background still remains as part of the model, hence remains as background. Figure 4: Current Frame and Foreground Detection 4 Foreground Analysis In previous section we have presented the foreground detection scheme. This scheme is essential for robust detection and identification of humans which are moving. In this section we discuss different low-level features and their significanee to identification process. 4.1 Skin Detection Skin calor has proven to be robust cue for face detection, localization and particularly for tracking purpose[3J. Human skin has a characteristic calor, although it might vary over the continents, which is easily recognized by humans. Skin detection inherently comes with two problems namely, which calor space to choose and how to model the skin distribution model. We opt for RGB space, in [5J the authors have shown that skin and non-skin calor class separation is highest given luminance is constant. 4.1.1 RGB color space RGB(Red,Green,Blue) calor space is the most widely used for storing the digital image data. However, in RGB space the channels have high correlation. By normalizing RGB space using simple procedure: 169 R G B (6) r= R+G+B;g= R+G+B;b= R+G+B The dominant components in this space are called as pure color. Useful property of this scheme is that normalized RGB although under certain assumption is invariant to surface orientation relative to light source [6]. 4.1.2 Skin Modeling The aim of the skin detection algorithm is to build a decision rule that will be used to discriminate the skin pixels to non-skin pixels. There have been attempts to use learning methods to estimate skin color distribution, also known as Skin Probability Map [1], from the given training data. The inherent problem with this method is training size and the time required for discriminating the pixels to be skin or non-skin pixels. In this paper we use explicitly defined boundaries in rgb(normalized RGB) color space as given in [2]: b - < 1.249 and (7) 9 r < 0.479 and (8) r+g+ b b < 0.019 and (9) r+g+ b 9 < 0.324 (10) r+g+b If the pixel in normalized RGB space, represented as rgb, satisfies all criteria(eq. 7-10) then it is classified as a skin pixel. The advantage of using explicit boundaries is simplicity of the detection rules which eventually leads to constructing a rapid classifier essential for real-time performance. Figure 5: Skin and Face Detection 170 4.2 Torso Region Definition As explained in experimental setup section, Caml is monitoring the door. Thus, a person entering the room is seen by the Carn I. To find the torso region we find the foreground, we assume according to the definition given in section 2 that a person entering the room is detected as the foreground. Now given that a human is in fore- ground, the face detection scheme is started. For face detection purpose numerous methods exists [8], Viola-Jones Adaboost scheme has become a mundane choice for face detection. To reduce the false positive of the face detector we use it in conjunction with skin detection as seen in Figure 4. Viola-Jones [7J face detection schemes locate a face within a frame and that gives us an appropriate size/area of the face in terms of bowlding box. 'vVeuse this area of the face to locate the torso, although there exist model-based head torso detection schemes, here we intend to emphasize on the the usability of the low level features rather that how to precisely localize them. Torso region is calculated as follows: top row = Cx + h; bottom row = Cx + 4*h; left col = Cy - w; right col = Cy + w; where, Cx,Cy is the center of the face bounding box see Figure 5. Figure 6: Face Detection and Torso Region Torso region is also extracted from foreground seen by Cam2. As the Cam2 do not have frontal view of the person, we divide the foreground into different regions. The central region as seen in Figure 7 is considered as torso region. This techniques can be used in the first camera but, in this case we won't always find the human and torso as there could be non-human objects e.g. dogs or cats roaming around the house. 80 face detection based torso region definition becomes essential and torso seen by different cameras will be matched only if Caml have seen the face. 171 Figure 7: Foreground seen by Cam2, left image and Torso Definition right image 4.3 Histogram Matching and Knowledge Propagation Now, given that Caml detects face and torso as seen in Figure 8 we calculate the histogram of the torso. We create a identity feature set, li,t = {Fi,t, Ti,t} (11) where i = CamlorCam2 andFi,( Face and Ti,t: torso histogram seen by a camera i at time t. In case of CamI, Identity feature set is: ht = {Fl,t, Tl,t}. Identity feature set for Cam2 can be written as 12,t = {O,T2,tl here zero represent absence of face information. After calculating the two histograms from different cameras which are monitoring the same seen but from different angles, histogram matching is done using correlation technique. For the sake of simplicity we denote X = Tl,t and Y = T2,t. px y = ---;===E~(X=Y=)~-=-E~(X~)=E~(Y=)~= (12) , VE(X2) - E2(X)VE(Y2) - E2(Y) where, Px y is coefficient of correlation between torso histogram seen by Caml and Cam2 respectively. The histograms calculated by two different sensors can be seen in Figure 9. If the correlation coefficient p x y > 8 where 8 is threshold, then histogram X and histogram Y are considered to be from the same person as seen in Figure 9. The possible identity of the person linked to the face as seen by Caml can now be propagated and linked to the color information of the torso. We now like to use the color information as a strong identifier as long as the sensor network is able to detect the link (being in the same foreground) between the face and the color information from the torso. Thus we can update the identity feature set for Cam2 as, hl = {Fl,t, T2,t}. Thus in the sensor network environment, wherein an object is perceived from different directions or angles giving rise to different poses, is identified if one sensor has information of strong biometrie modality. 5 Conclusions and Future Work In this paper we have shown that weak features are useful for propogation of identity in an opportunistic way within the sensor network. Although, we have only used color histogram of torso region we need to add more weak features to make the identification process more robust. 172 Figure 8: From Left to Right: Face and Torso detected by Caml, Torso detected from Cam2 Figure 9: From Left at Right: Histogram from Caml,Cam2,Overlap of histograms References [IJ Brand, J., Mason, J.S, Roach, M., Pawlewski, M. "Enhancing face detection in calor images using a skin probability map" , IEEE International Conf. on Intelligent Multimedia, Video and Speech Processing, 344-347, 200l. [2J Gomez,G.,and Morales,E., "Automatic feature construction and simple rule induc- tion algorithm for skin detection", In Proc. of the ICML Workshop on Machine Learning in Computer Vision, 31-38, 2002. [3J Huang, F.J., and Chen,T., "Tracking of Multiple Faces for Human-Computer In- terfaces and Virtual Environments", IEEE Intl. Con£. on Multimedia and Expo., New York, July 2000. [4J Stauffer, C., and Grimson,vV., "Adaptive background mixture models for real-time tracking", In Proc. of IEEE Int'l Conf. on Computer Vision and Pattern Recogni- tion, 1999. [5J Shin, M.C.,Chang, Kl., and Tsap, L.V., "Does colorspace transformation make any difference on skin detection 7" , In IEEE Workshop on Applications of Computer Vision, 2002. 173 [6J Skarbek, W., and Koschan, A., "Colour image segmentation-a survey", Tech. Re- port, Institute for Technical Informaties, Technical University of Berlin, October 1994. [7J Viola, P., and Jones, M., "Robust Real-time Object Detection", Second Interna- tional Workshop on Statistical and Computational Theories of Vision, July 200l. [8J Yang, M." Kriegman, D., and Ahuja, N., "Detecting Faces in Images: A Survey", IEEE Transactions on Pattern Analysis and Machine Intelligence (PAMI), vol. 24, no. 1, pp. 34-58, 2002. 174 Measuring Instantaneous Directed Dependencies in Interacting Oscillators Bruno Bauwens Bart Wyns Dieter Devlaeminck University Gent University Gent University Gent Dep. EESA, machinelearning Dep. EESA, machinelearning Dep. EESA, machinelearning Technologiepark 913, Technologiepark 913, Technologiepark 913, B-9052 Zwijnaarde, Belgium B-9052 Zwijnaarde, Belgium B-9052 Zwijnaarde, Belgium Bruno.Bauwens@Ugent.be Bart.Wyns@Ugent.be Dieter@autoctrl.ugent.be Luc Boullart Georges Otte Patriek Santens University Gent P.C.Dr. Guislain Institute University Gent Dep. EESA, machinelearning Dep. of Neurophysiology Internal medicine, neurology Technologiepark 913, F. Ferrerlaan 88A De Pintelaan 185, B-9052 Zwijnaarde, Belgium B-9000 Ghent, Belgium B-9000 Ghent, Belgium Luc.Boullart@Ugent.be Georges.Dtte@telenet.be Patrick.Santens@ugent.be Abstract Algorithmic information transfer has been theoretically shown to detect di- rected dependency or causality in bivariate signals in an optimal way. Here its practical use in a non-ideal setting is investigated. First we show the close connec- tion to the common tests for directed interactions. Subsequently, consequences of model non-ideality is described and a deep connection between regularization and (directed) independenee tests is concluded. Thereafter, a directed independenee test is constructed to detect the presence of phase coupling between two oscilla- tors using support vector regression. Finally the algorithm is used to determine moments of interaction for dynamic-coupled harmonic oscillators, by exploiting full length information of the signals. 1 Introduction Characterization of bivariate interaction has been investigated in different scientific fields such as climatology [20], electronics [2] and the cardio-respiratory system [12]. Of special interest is the detection of communication between different human brain areas [22, 5, 3] relative to different pathologies. From a mathematical point of view, measuring directed dependencies or causalities is studied in a purely statistical sense in [13, 19, 14, 11]. In [6] the idea of predictabil- ity improvement is used to define general Granger causality. In [1, 9] predictability improvement is defined by data compression lengths. In this way the detection of directed dependence is linked to general machine learning principles: minimum de- scription length and universal sequence prediction [7, 18]. From the practical point many algorithms exist to detect non-directed interactions: cross-correlation, coherence and mutual information. To detect directed interactions, linear Granger causality, Geweke's spectra and information transfer is used. Recently 175 new nonlinear techniques have been studied based on analysis in state spaces and inves- tigation of phase evolution mapping which have been compared in [16J but confidence bounds are very cumbersome. In [IJ optimal independenee tests are investigated which have the notion of confidence bounds as defining property. The optimal test is shown to be algorithmic mutual information and can be decomposed as the sum of tree tests: common simultaneous information and directed independenee in both directions. To evaluate these tests in practice, actual data compressors are used approximating ideal compressors. It has been shown that improved modeling corresponds to improved compression and otherwise around [21, 7J. • General modeling techniques can be used to evaluate the tests. Any improvement in modeling results in an improved test. • Different modeling techniques are easily combined to obtain improved tests. • Provided an accurate modeling, the test has simple generic confidence bounds. • The system is parameter free, the optimal value of any model-parameter can be found by optimizing description length. An important problem is the investigation of nonstationary oscillatory signals. Tra- ditionally one tries to construct tests that conclude directed independenee using as few data as possible [17J. By applying the algorithm in a limited time window one tries to answer the question at which moments an influence exists. Here we take an alternate approach and take advantage of information during previous time intervals to increase the temporal resolution of the found interactions and show that even for weak interactions a serious decrease in sample length is possible. 2 Algorithmic Information Transfer Algorithmic information transfer is introduced as a directed independenee tests. It is part of a decomposition of the universal undirected independenee test. First we start with a short introduetion on algorithmic complexity. Definitions and proofs of theorems can be found in [10, IJ 2.1 Definitions The algorithmic complexity K(x) of x is the length of the shortest executable file that generates x on a computer U. Definition 2.1. K(x) = min{l(p)IU(P) 1= x} In the same way we define K(xly) as the length of the shortest program that produces x if it has access to a file that contains y. K(xly T) is the length of the shortest program that generates x using y in such a way that Xk is generated before any of the bits of Yk...l(y) has been read. Algorithmic mutual information equals: I(x; y) = K(x)-K(xly). A total function f dominates a total function 9 if there is a c such that f (x) + c > g( x) for all x. Let S be a set of total functions and fES, f is universal in S if f dominates all elements in S. A universal element in a set of functions is the element of the set that is bigger up to a constant relative to any other function of the set. 176 2.2 Undirected independence tests Definition 2.2. Let P, Cd be probability distributions. A total function d : B* x B* -> N is a (P, Q)-independence test for P, Q iff: L P(x)Q(y)2 (x,y) d <2 x,y An independenee test d rejects the hypotheses of x and y being independent with con- fidence 2-d(x,y)+l. In practical situations we do not know the underlaying distribution Pand Q. An independenee test is general purpose independence test (gpi-test) if for all enumerable P, Q a constant cp,Q exists such that d - cp,Q is a (P, Q)-independence test. Is there a universal gpi-test in the set S of monotonically approximatable functions? The answer is positive by theorem 2.3. Denote Eg as the set of functions that are enumerable given an oracle for the halting problem. Theorem 2.3. The set of gpi-tests in r:g has a unioersol element which equals I(x; y)+ I(x, ylÇ). The term I(x, ylO is the mutual information of x, y with the Halting problem. I(x, y) typically grows with the length of the data while I(x, YI~) is believed to be bounded by a small constant for real systems and is therefor assumed to be negligabie. 2.3 Directed Tests Information flowing from x to y is represented as: Definition 2.4. Algorithmic information transfer IT(x +- y) = K(x) - K(xly j). Denote px~y as the shortest program that generates x from y as in the definition of IT. The information arriving in x and y simultaneously is represented as: Definition 2.5. Common simultaneous common information IT(x = y) = I(px~y; py~x) Algorithmic mutual information I(x; y) can be decomposed now into directed tests and simultaneous common information. Theorem 2.6. I(x; y) =+c IT(x +- y) + IT(y +- x) + I(x = y) + dIT(x, y) with dIT(x,y) = K(K(xly T),K(ylx j)lx,y) <" l*(l(x)) + l*(l(y)) and c a constant independent from x and y. 2.4 Comparison with Literature y is said to Granger-cause x if the average predictability of Xt is better using Xl...t-l and Yl...t-l compared to the the predictability of Xt using only Xl...t-l for t = l...n. This idea has been developed in many practical algorithms such as [5, 8, 15, 12J. The approach above fits into this framework by defining predictability improvement as data compression-lengths K(x), K(xly n. On the other side, Shannon information transfer (SIT) uses the definitions of inforrna- tion content relative to a probability distribution to measure the rate of transmitted information between two signals: SIT = H(X+IX-)-H(X+IX-Y-) with X+,X-,Y- 177 02 0.' Figure 1: Complexity of Modal and Noise stochastic variables representing the future and past of signals X and y [15, 12]. The quality of the measure is determined by the quality of the underlaying distribution but the better the probability distribution describes the data, the more over-fitting is present and the measure becomes unreliable. For any distribution P datacompression is linked to Shannon entropies by the formula: lim Ep[K(XLn)] = H(P) n---+oo n 3 The Influence of Compression non-Ideality To build practical tests using IT, one uses a datacompressor C to estimating the al- gorithmic complexities K(x) and K(xJy by C(x) and C(xJy). The approximation of IT is denoted as CIT. An ideal compressor returns for every x the shortest exe- cutable file that prints x. In practice we cannot approximate it's length in a rea- sonable time, therefor non-ideality of actual compressors are unaviodable. To dis- cuss them, we show a typical vlot of the incremental non-ideal compression length CAn) = C(xl..nJn) - C(Xl..n-lJn - 1) for signals with a stationary behaviour. A typical shape is plotted in figure 1. The total area under the plot represents the to- tal compression length. This area can be divided in two parts. The highest part is only visible in the initial bits of the compression. During this stage, the modeling for the compression is significantly adapted resulting in definite improvements for the prediction of the following bits. After sample 150 the changes in the model does not decrease or increase the predictability of the samples significantly. The predictable part represents the complexity of the noise according to the current model. The first area represents the complexity of the model as seen by the compressor and the second part represents the noise in the system. The model complexity can be very high although the data has a simple structure. This effect can be explained easily by the following example. Assume the given signal is Xt = (_I)t + çt with çt some noise and we apply auto-regression to approximate C(x): it = ao + alXt-l + ...+ akXt-k. In a non-regularised training algorithm any possible value for the vector a has the same a priory probability. During the prediction of the first data samples the training algorithm will over-fit because it prefers a vector a' that also fits the noise over the ideal a = [0, -I, I, -I, 1...1]/k. To approximate C(xJy) one typically has a larger model complexity even if no interac- tions are present. In the same example we can fit a multivariate auto-regreesion model it = aO+alXt-l + ... +akXt-k+blYt-l + ... +bkYt-k. But now there are 2k+l coefficients resulting in a much bigger model complexity. To cure this problem partly, the model length is not taken into account by ignoring the contribution of the first 150 samples. 178 The second type of non ideality is induced by fluctuations of Oxen) = Cx(n) - Kx(n) and OxlyT = CxlyT - KxlyT the differences between ideal and non ideal compression rates. Typically Xt is distributed approximately independently from Xt+s for s large enough, therefore C(x) is distributed with variance of the order fo(J/j, which decreases the confidence according to fo in contrast with the ideal theory that has confidence bounds independent from the length of the segment under consideration. In conclusion we have that both types of errors can be suppressed by improved normal- ization of the models. This indicates that better regularisation corresponds to improved tests for independence. The other way around, measuring independenee can be used to improve model generalization. 4 Measuring Time Dependent Interactions Suppose two noisy oscillators with momentary interactions. The aim is to detect the time intervals of the interactions. Define the instantaneous ideal and non ideal infer- mation transfer ITx(n) = J(.,,(n) - KXlvT(n) and CITAn) = Cx(n) - CxlyT(n). Notate Z(m ... n) = 2::m Zei) for Z = CX, CxlyT, IT, CIT. H no interactions are present for the samples n to n+T then Cx(n ... n+T) > CxlyT(n ... n+ T). But in the ideal case, the compression with side information can never be lower than without. This is caused by over-fitting and the presence of noise. On the other hand, if interactions are present, CxlyT(n) decreases. A new compressor Cf is build to ensure C(x) > Cf(xly Tl by the results of the compression Cx and CxlyT' At each time instance n a classification algorithm decides to predict according to Cx or to CxlyT' It turns out that if Cf(xly T) « C(x) the quantity Cf ITAn ...n + T) = Cx(n ... n + T) - CxlyT(n ... n + T) returns the expected exponential confidence bounds. Any parameters for the classification algorithm can be trained by optimizing the compression length. We can construct a third compressor CIf by using two compressors Cint and c=>. cmt is trained by the samples which were classified as interacting by the classification algorithm above and c== was trained by the other samples. In this way, the mod- elling can be improved iteratively, but a second iteration did not result in a significant improvement. Finally we decide at each time point the presence of interactions by the formula: C"ITxlvT(n - k ... n + k) -----=~~------~ C"IT(xly > --~~~~ Tl 2k+ 1 lex) 5 Tests and results The algorithm described above was implemented using support vector regression. Sup- port vector regression outperformed linear regression and neural networks because be- cause in errors of both types as described in section 3. This is not surprising because support vector regression was invented using a rigorous mathematical regularisation theory: structural risk minimization. The compressor Cf classified each n-th sam- ple according to the sign of CITxlyT(n - k ... n - 1). k was trained to have optimal compression length Cf (x). To relate mean square error into datacompression, one estimates the variance of the à data and assumes for each prediction xn that Xn - xn a Gaussian distribution (J. In this simple case the compression length is closely related to mean square error. 179 The algorithm was tested by data sampled from coupled oscillators with momentary interactions i( n) = 0, l. To detect the presence of interactions: q;1 W1 + fi(t) sin(4)2- q;1) + 6 q;2 W2 + 6 The noise ';1 and 6 are independent and Gaussian distributed with mean 0 and stan- dard deviation 0.2. The frequencies are W1 = 0.9 and W2 = l.l. The oscillators were integrated using the Euler method in time steps of 0.005. The signals were sampled at times 0, 'Ir /7, 2'1r/7, .... The interaction i(m) was switched on first for a long period and interchanged rapidly after this, see figure 2f. The average accuracy of iet) relative to iet) versus interaction strength was plotted for an interaction length n = 100 and n = 500. In the second case the accuracy is bigger because most errors occur near the borders of the interaction regions in 2a. For very short interactions periods and strong interaction, the accuracy remains remarkable high as can be seen in 2b. The method was compared to SIT as described in [12]. It turned out that for these short signals estimated entropies with 4 bins outperformed the choice of any other bin number. To compare both methods we asked them to classify the non-interacting and interacting intervals. To compare the reliability of the classification we consider the area under the ROC curve (AUC) to evaluate both IT and SIT as a classification parameter. AUC are standardly used to compare the performance of ranking variables for classification by a ranking parameter [4]. The AUC of SIT and IT were plotted in figure 2c and 2d. In figure 2c we find AUC slightly below 0.5 for both SIT and AlT in the case of very weak interactions. This slight remarkable effect can be explained to remark that the support vector regression model for C(xly T) and the histograms for calculating H(X+IX-Y-) are not able to discover any relationship in the short data in case of short very weak interactions. Moreover, there performance decreases disproportionate due to an increase of noise in q;1 during the interaction (6 vs. 6 + EÇ2). Because the increase of noise is bigger for C(xly T) and H(X+IX-Y-) than for C(x) and H(X+IX-) as discussed in section 3, both SIT and IT suffer from reverse ordering and biased classification in the case of short and very weak interactions. However, in the case of AlT this effect is clearly smaller. Figure 2d demonstrates the validity of the theoretical confidence for the classification of segments with a large variety of lengths and interaction strengths. 6 Conclusion Algorithmic information transfer has been shown to be a useful concept for constructing and investigating directed independenee tests. A deep connection between modeling- non-ideality and regularization was demonstrated. An implementation using support vector regression showed to be a reliable method for classifying segments of interac- tion and non-interaction that outperformed Shannon information transfer. Finally we showed the possibility to detect the moments of interaction even for very short inter- action lengths. Acknowledgment Bruno Banwens was supported by the Institute for the Promotion of Innovation through Science and Technology in Flanders eIWT -Vlaanderen). The authors thank Willem Waegeman for discussions. 180 Al::curaalheidvs nleractleslerk1, AccurulheidlfS inllnlIc1il!ll!l'1gte D.s ,--_-_-_-_-~-_-__, 0.95 o.s 0.95 OD,: ~ -- O.'f--------""' 0.65 0.6 0.55 0. 0.4 02 0.04 OJE 0.03 0.1 0.12 O.lA 0.\6 O.~ 4IJ B] El] 100 120 UA lED 180 Z!O a b AUCvs.in1eracliesterlde AUCvs. interac'illllngie 0.95 D.9 D.8 ~ 0.7 / / /// _ _..-- ////----- D' 0.85 / / f/ »: /// / / ~ DB / ' / /,~ 1-- f 0.6 / /// r------------,l Algontmische mfarmaue InlIn&f8r D:: /1 ///// ,-_.,---,........,,...,..,_---:----;---, ,Igonlm!~cha mmrmahl.ltral"!$18r ---Shanlloninforrnatielr.msfer 0.5 ~, .,....- . Shannon informallt lnl1ntirer 0.55 / ,/ o.,h-----;;-;;;----,';=;:;=:;;=::;::;:;=:;;=::;j. 0.02 0.!J.4 D.CIi 0.00 0.1 D.l:l 0.1-4 0.15 c d 1.5 D.5 tOOOsampl's nurnglls ~ ++ -0.5 .1.50!---;500=--:1~[XI]:;--:-;''''':;;-"''2Wl~"""'2iIl=--:3Dl'''''--';;35Ill:;;--;;4[XI]~-:';;'500· nmp.1 numb'l m e f Figure 2: Performance of algorithmic information transfer (a) accuracy of i(n) with respect to i(n) versus interaction strength E for interaction lengths 100 and 500. (b) same accuracy versus interaction length for strong interaction strengt hé = 0.1. (c) AUC of algorithmic and Shannon information transfer for the classifica- tion of interacting and non-interacting signals with length 200 versus interaction strength. (d) Same AUC for an interaction strength of 0.05 and varying interaction length. (e) Actual con- fidence versus theoretic confidence for the classification of 600 interacting and non-interacting signals with lengths interaction strengths E =0.035,0.06,0.08 en 0.1 and interaction lengths n=20, 50, 100, 200, 500, 700. (f) Presence of interactions versus samples. 181 References [IJ Bruno Bauwens, Bart Wyns, Dieter Devlaminck, Georges Otte, Luc Boullart , and Patriek San- tens. Mutual information and algorithmic information transfer as ideal undirected and directed independenee tests. In Proceedings of the 2001 International Conference on Foundations of Com- puter Science, Las Vegas, 2007. [2J B. Bezruchko, V. Ponomarenko, M. G. Rosenblum, and A. S. Pikovsky. Characterizing direction of coupling from experirnental observations. Chaos, 13:179-184, March 2003. [3J M. Chavez, J. Martinerie, and M.L.V. Quyen. Statistical assessment of nonlineair causality: Application to epileptic eeg signals. Journalof Neuroscience Methods, 123:113-128,2003. [4J Tom Fawcett. An introduetion to roc analysis. Pattern Recogn. Lett., 27(8):861-874, 2006. [5J U. Feldmann and J. Bhattacharya. Predictability improvement as an asymmetrical measure of interdependence in bivariate time series. International Journalof Bifurcation and Chaos, 14(2):505-514, 2004. [6J C.W.J. Cranger. Investigating causal relations by econometrie models and cross-spectral meth- ods. Econometrica, 1969. [7J P.D. Grunwald, I.J.Myung, and M.A.Pitt. Advances in Minimum. Description Length: Theory and Applications. MIT Press, 2005. [8J M. Kaminski, M. Ding, W.A. Truccolo, and S.L. Bressler. Evaluating causal relations in neural systems: Granger causality, directed transfer function and statistical assessment of significanee. Biological Cubernetics, 2001. [9J Jan Lemeire and Erik Dirkx. Causal models as minimal descriptions of multivariate systems. In Causality and Probability in the Sciences, 2006. [10J M. Li and P.M.B. Vitanyi. An Introduetion to Kolmogomv Complexity and Its Applications. Springer- Verlag, New York, 1993. [111 I. Martel. Probabilistic Empiricism: In Defence of a Reichenbachian Theory of Causation and the Direction of Time. PhD thesis, University of Colorado, 2000. [12J M. Palus and A. Stefanovska. Direction of coupling from phases of interacting oscillators: an inforrnation theoretic approach. Physical Review E, Rapid Communications, 67:055201(R), 2003. [13J J. Pearl. Causality: Models, Reasoning and Inference. Cambridge University Press, 2000. [14J J.M. Brett R.J. Lawrence, S.A. Mulaik. Causal Analys·is. Sage Publications, 1983. [15J T. Schreiber. Measuring information transfer. Physical Review Letters, 85(2), 2000. [16J D.A. Smirnov and R.G. Andrzejak. Detection of weak directional coupling: Phase-dynamics approach versus state-space approach. Physical Review E, 71(3):036207-+, March 2005. [17J Dmitry A. Smirnov and Boris P. Bezruchko. Estimation of interaction strength and direction from short and noisy time series. Phys. Rev. E, 68(4):046209, Oct 2003. [18] Ray J. Solomonoff. A formal theory of inductive inference. part n. Information and Control, 7(2):224-254, 1964. [19J P. Suppes. A Probabilistic Theory of Causality. North-Holland Publishing Company, 1970. [20] P. F. Verdes. Assessing causality from multivariate time series. Physical Review E, 72(2):026222- +, August 2005. [21] N.K. Vereshchagin and P.M.B. Vitanyi. Kolmogorov's structure functions and model selection. IEEE Trans. Inform. Theory, 3265- 3290, 2004. [22] M. Winterhalder, B. Schelter, W. Hesse, K. Schwab, L. Leistritz, R. Bauer, J. Timmer, and H. Witte. Comparison of linear signal processing techniques to infer directed interactions in multivariate neural systems. Signal Processing, 85:2137-2160, 2005. 182 A MAP approach to landmarking Gert Beumer 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 Netherlands g.m.beumer@ewi.utwente.nl r.n.j.veldhuis@ewi.utwente.nl Abstract Landmarking can be seen as calculating the maximum a posteriori probability of a certain set of landmarks given a certain image (texture) which contains a face. The MLLL plus BILBO algorithm by Beumer et al [1] is one method. An improvement to this existing landmarking algorithm, MLLL in combination with BILBO, is presented. MLLL uses a likelihood ratio based similarity score to mark candidate landmark locations. BILBO uses a statistical method on the shape to correct outliers. A theoretical analysis of this intuitive approach shows new insight. In order to verify this theory we performed a simple experiment. The results show that using the new method performs significantly better than when only using the similarity score method (MLLL) in combination with outlier removal (BILBO). 1 Intrad uct ion Face recognition is often done on still images., because photographs of the face of an individual are in many situations the only data that are available for recognition. In order to do a proper recognition, the face first needs to be registered. Registration is the alignment of the face to a fixed position, scale and orientation. This applies to all images used for training, enrollment and recognition. Registration in face recognition is usually based on landmarks. Landmarks are stable points in the face which can be found with sufficient accuracy. Having a reliable and stable method for automatic landmarking and registration is essential for the automation of a face recognition system. It has been shown that the accuracy of the landmarking has a strong relation with the final recognition result [2]. Using a log likelihood ratio based similarity score method like MLLL has shown to be a useful tool to find landmarks on a face [1]. In this paper we will propose a theory for improving already developed methods based on maximizing the likelihood ratio. In order to verify this theory we performed a simple experiment. Results show that using the new method performs significantly better than when only using the likelihood ratio. A theoretical analysis of the landmarking brings the new insight, that landmarking can be seen as calculating the maximum a posteriori probability of a certain set of landmarks (shape) given a certain image (texture) which contains a face. According to Bayes' rule this is the same as the likelihood ratio multiplied with the probability of that certain shape. In this paper the method by Beumer et al [1] is expanded so that takes the probability of the shape into account. lWerkgemeenschap voor Informatie- en Communicatietheorie 183 2 Previous and related work A likelihood ratio based facial feature detector was proposed by Bazen et al [3], which maximized the likelihood that a certain location or pixel is the landmark. The impor- tance of accurate landmarking has been shown by Beumer at al in [4]. Later the Most Likely Landmark Locator (MLLL) and a subspace outlier correction method called BILBO were introduced by Beumer et al [1]. MLLL calculates a log likelihood ratio based similarity score S. MLLL is a classifier which is trained to discriminate between a landmark and non-landmark using a PCA and LDA based algorithm. Thresholding Su,v determines if at location (u, v) there is a landmark. MLLL however takes the intuitive approach of looking for the highest value for S in a certain region. This location then is considered the landmark location. S is calculated for all locations in a region where the landmark is expected to be. (Yu,v (Yu,v (1) where ~ denotes a covariance matrix and Yu,v = T(xu,v x ,u,v) where x is the texture surrounding (u, v) and T a PCA jLDA feature reduction transformation matrix. For more details see [1] BILBO uses a lower dimensional space to project the shape there and back again in order to remove outliers. The improvement gained by BILBO suggested that using the shape during landmarking has significant advantages over uncorrelated detection of correlated landmarks. Other work, amongst others, includes Everingham [5]who uses a regression method, Bayesian methods and a discriminative method for landmarking. They not explicitly use the shape or the distribution of the shape. Work by Cristinacce [6]focuses on both multiple templates of the landmark and the shape to constrain the search area. 3 Theory Assume a collection of pixel values, x, around a set of landmarks (shape), s, both with a known probability density. Calculating the maximum a posteriori (MAP) probability gives the most likely shape S given a certain texture x. This is found by maximizing the pes x). Bayes rule states that p(x s) argmaxp(s x) = argmax -(-)-p(s). (2) s s p X In the first term of (2) we recognise the likelihood ratio L=P(xs) (3) p(x) that was used in [1]. In [1] the implicit assumption was made that pes) is uniform. Maximizing (3) is how MLLL [1] finds landmarks by maximizing the likelihood ratio for each landmark location Si with surrounding texture Xi' Equation (2) also shows that the s for which (2) is maximal depends on the distribution of texture given a certain shape, pes x), the overall distribution of the texture, p(x) and the distribution of the shapes pes). Assume an image contains llandmarks, i.e. a face with eyes, nose, mouth etc. Also assume that the neighbourhoods of the landmarks (the texture) are not overlapping, 184 and independent. Equation (2) then turns into argmax I P(X(i S)Jpes ... SI) (4) siP Xi where Xi is a vector containing all the pixel values and Si is a 2 element vector containing the coordinate. For simplicity reasons, we assume that in the initial experiment an image con- tains only one landmark, or equivalently that the landmarks are fully independent i.e. pes ... St) = pes ) ... peSt). The final choice for the location of the i-th landmark is where I P(Xi Si) argmax -(-)-p(S.;) (5) S'i P Xi is maximum. This is the element wise product of the likelihood landscape and the probability landscape of the landmark distribution or the sum of the log likelihood based similarity score and the log of the distribution. Implementing this makes that (1) must be modified to Si,u,v = (Yu,v JLdT~T (Yu,u JLL) + (Yv.,v JLrf~~ (Yu,v JLr) + log(p(si))' (6) 4 Experiment This experiment is the first step towards an improved version of the combination of both MLLL and BILBO. As sais we assume that future experiments will be less constrained the by assumption that the landmarks are independent. For the experiment we used a MLLL algorithm which was trained on the BioID [7]database. The train data are used for training MLLL, as well as the shape data for BILBO and to compute the estimation of the local distribution of pes). The BioID database consists of 1521 images of 23 persons. The database is provided with ground truth data for 20 landmarks of which 17 were used. These can be seen as green crosses in figure l(a). The algorithm was then tested on the 5647 images of the FRGC-version 1 [8] database. This database is provided with ground truth data for 4 landmarks, be- ing both eyes, the nose and the centre of the mouth. These can be seen as the red dots in figure 1(a). MLLL will calculate all 17 landmarks but the results can only be compared to the four for which there is ground truth data. When comparing to the centre of the mouth, the four found landmark location from MLLL, both corners and the centres of both upper lip and lower lip. BILBO uses all 17 landmarks found by both MLLL and the MAP approach. The results of the experiment will be given as the RMS value of the distance of a found landmark to the ground truth data. 4.1 Estimating p(s) In figure 1(b) it can clearly be seen that the spatial distribution of the landmarks is Gaussian nor uniform. In order to estimate the distributions the following algorithm was used. 1. Caleulate average shape. 185 (a) (b) Figure 1: a: The landmarks used from the BioID database (green crosses) and from the FRGC (red dots). b: The shape distributions map showing the 17 landmarks. Black for high probability and white for low. All probabilities estimated on the BioID database ground truth data. 2. Scale the average so that the eye are 100 pixels apart. 3. Align al! shapes to the average. 4. Go to 1 until stable. 5. Creat e a 2D histogram of all the landmarks. 6. Flip the histogram over the symmetry axis of the face and add them. 7. Take the log of the resulting histogram. The resulting distribution is shown in Figure l(b). The errors are presented as RMS value of the distance between the found landmark and the ground truth data. 5 Results The results can be seen in Table 1 and Figure 2. The new method clearly outperforms MLLL on all landmarks. It is interesting to show that the impact of BILBO is no longer visible. This is caused by the fact that the new methods does not generate outliers which are corrected by BILBO. Because of the setup of the experiment there it is not yet possible to compare the results to those of others. 6 Conclusion and discussion Using the MAP estimator of the landmarks gives more accurate estimates of the land- mark locations. This however is only a first step to show that using the MAP proba- bility actually improves the accuracy of the MLLL and MLLL with BILBO algorithm. 186 Landmark MLLL MLLL+BILBO MAP MAP+BILBO [px] [px] [px] [px] Right eye 6.3 5.6 4.0 4.0 Left eye 6.2 5.1 3.9 3.9 Nose 17.1 8.0 5.5 5.5 Mouth 7.7 5.6 3.0 2.9 Total 10.4 6.2 4.2 4.2 Table 1: RMS error results on the FRGC database. The error is relative to 100 pixels between de centres of the eyes. Total Eyes 0.9 09 l 'I 0.8 0.7 0.7 0.6 0.6 0.5 0.5 • 0.4 0.4 0.3 0.3 - - -MLLL 0.2 02 ,- ,_, MLLL+Bilb{ MAP o.r O.l " -- MA.P+Bilbo 0 0 0 10 15 0 10 l5 Nose Mouth 0.9 _,.,"'.' 09 ,#'''''''''''' .. .. .... - .. ,/ " .. .. ,,.. .. .. 0.8 08 0.7 .. ..," ...... --- 0.7 0.6 0.5 /, ..,.. .. .. -" .... - 0.6 0.5 f, ,, , .I' ,, 0.4 .,,-," 0.4 0.3 0.3 ~ 0.2 0.2 .I, O.l 0.1 ~• 0 ~ lO 15 0 10 15 Figure 2: Cumulative RMS error results on the FRGC [8] database. The error is relative to 100 pixels between de centres of the eyes. 187 The experiment only assumed one landmark in the shape and not yet the full shape. Currently the assumption is that the landmark locations are completely independent. This is however not true. The next step will be to introduce the dependencies between the landmarks in order to improve the estimates of p(s). Still the results are promis- ing. Further research is needed to both improve the results even more and make it a workable algorithm for landmarking. Especially on how to estimate p( s) for shapes that consist of then one landmark and how to choose the texture, x, from the image. Acknowledgment This work was done within the IOP-GenCom Project IGC03003: BASIS sponsored by Senter Novem. References [IJ G. M. Beumer, Q. Tao, A. M. Bazen, and R. N. J. Veldhuis, "A landmark paper in face recognition," in Automatic Face and Gesture Recognition, 2006. FGR 2006. 7th International Conference on, Southampton, U ,Los Alamitos, April 2006, IEEE Computer Society Press. [2J 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 SPS 2005. IEEE BeneluxjDSP Valley, April 2005. [3J A. M. Bazen, R. N. J. Veldhuis, and G. H. Croonen, "Likelihood ratio-based detection of facial features," in Proc. ProRISC 2003, 14th Annual Workshop on Circuits, Systems and Signal Processing, Veldhoven, The Netherlands, nov 2003, pp. 323-329. [4J 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, secretariaat in Delft, April 2005, pp. 85-88, IEEE Benelux Signal Processing Chapter. [5J Mark Everingham and Andrew Zisserman, "Regression and classification ap- proaches to eye localization in face images," in FGR '06: Proceedings of the 7th International Conference on Automatic Face and Gesture Recognition (FGR06), Washington, DC, USA, 2006, pp. 441-448, IEEE Computer Society. [6J D. Cristinacce and T. F. Cootes, "Facial feature detection and tracking with auto- matic template selection," in FGR '06: Proceedings of the 7th International Con- ference on Automatic Face and Gesture Recognition (FGR06), Washington, DC, USA, 2006, pp. 429-434, IEEE Computer Society. [7J HumanScan, "Bioid face db," . [8J P. J. Phillips, P. J. Flynn, T. Scruggs, K. W. Bowyer, J. Chang, K. Hoffman, J. Marques, J. Min, and W. Worek, "Overview of the face recognition grand challenge," in In Proceedings of IEEE Conference on Computer Vision and Pattern Recognition, 2005. 188 Investigating the boosting framework for face recognition Bas Boom Robin van Rootseler Raymond Veldhuis University of Twente Fac. EEMCS, Signals and Systems Group 7522 NB Enschede, The Netherlands Abstract The boosting framework has shown good performance in face recognition. By combining a set of features with Adaboost, a similarity function is developed which determines if a pair of face images belongs to the same person or not. Re- cently, many features have been used in combination with Adaboost, achieving good results on the FERET database. In this paper we compare the results of several features on the same database and discuss our solutions on some of the open issuesin this method. We compare the boosting framework with some stan- dard algorithms and test the boosting algorithm under difficult circumstances, like illumination and registration noise. 1 Introd uction Face recognition can be used in applications such as identity authentication for credit card or passport, access control and video surveillance. However, most automatic face recognition systems still only work under constrained conditions. Recently, several pa- pers propose a new framework for face recognition, which combines a set of features into a classifier using a boosting algorithm. In this paper we investigate this new framework to determine if it can deal with the challenges in face recognition, like noisy registration, illumination and expressions. In several papers [1, 2, 3, 4, 5] the boosting framework is used for face recognition. These papers use simple features like rectangle features, Gabor features or Local Bi- nary Patterns (LBP) to make a function which can evaluate the similarity between two face images. This function learns the differences between face image pairs of the same person (intrapersonal) and image pairs of different persons (extrapersonal). The Adaboost algorithm constructs this similarity function by selecting a combination of features. This function is able to separate intrapersonal and extrapersonal image pairs. To the outcome of this similarity function we can apply a threshold for face verifica- tion. This outcome can also be used for face identification to find the most similar face image in a gallery. The boosting framework is built up out of several parts, which allow different settings. For instance, this framework allows us to use different features, but also a combination of those features. Further more, different versions of the Adaboost algorithm [6, 7] can be used. Because we use image pairs we have to deal with large amounts of training data, given a database of N images per class with K individuals, the total number of pairs is (K;'), where only a small part is of the same individual. Several resampling methods are already proposed to solve this problem. In this paper we discuss these settings of the framework. We use the results on the FERET database as comparison to the other paper and we also experiment with more challenging datasets, trying to find the limits of this face recognition approach. This paper is organized in the following way: In section 2 we explain in detail our method, which includes the features, the Adaboost algorithm and the resampling 189 Figure 1: Rectangle Features use by Adaboost method we use. Section 3 describes the experiments and results on the the differ- ent datasets. In the final section, we present the conclusions and some future work. 2 Method The boosting framework can roughly be divided into three parts: the features, the Adaboost algorithm and the resampling method. In this section, we describe the different parts of the framework we used in our implementation. 2.1 Features One of the main issues in face recognition is what features to use to represent a face. In the boosting framework we can use different features and also combinations of these features. In [1] Jones and Viola use the rectangle features also used in face detection [8]. In [3, 4] Gabor features are used in combination with Adaboost and [5] uses the local binary pattern (LBP) as features. We first decided to try a combination of the rectangle features and LBP. This because the rectangle features are very fast in computation, while the LBP features are less sensitive to illumination and achieved the best result in combination with Adaboost [5]. 2.1.1 Rectangle Feat ures Rectangle features are computed by summing the pixelvalues in black areas and sub- stract these with the sum of the pixelvalues in the white area. Although, there are already all kind of different rectangle features, especially in the area of face detection [9], we only use the features given in Figure 1. By adding more features the time to train Adaboost increases, so there is always a trade off between training time and a richer feature set. One of the main advantages of the rectangle features is that the computation can be sped up by using the integral images [8], making it one of the fastest features to compute. 2.1.2 Local Binary Pattern The Local Binary Patterns (LBP) are introduced in [10] and have shown to be a robust feature in face recognition [11]. They can also be used as preprocessing step in face recognition to remove illumination [12]. The standard LBP, shown in Figure 2 gives the 3 x 3-neighbors the value 0 if they are smaller than the center pixel value and 1 190 5 9 1 1 1 0 Threshold . 4 -~4:6 ~'~ - 1 ~~.'.: " " 1 -; "', 7 2 3 1 0 0 11010011 Figure 2: Local Binary Features otherwise. This gives us a 8-bit string, which can be used to represent the texture at that point. It is also possible to select neighborhoods of bigger sizes, this allows to capture larger scale structures, Because we work on relative small face images of a resolution of 45 x 45 we only calculate LBPs in neighborhoods of 1 pixel. In this method, we compare in a certain region the histograms of different the LBP values. 2.2 Adaboost Adaboost is the machine learning algorithm which is used to combine the features given in section 2.1. In the boosting framework we train a face similarity function which determines if the two faces belong to the same person or to a different person, The face similarity function is given in below: T rit.; 12) = 2:= MIl, Iz) (1) t=1 In this equation, Ir and 12 are the face images which are compared to see if they belong to the same person, The function it represents a weak classifier used by Ad- aboost. The final classifier is a weighted sum over all the selected weak classifiers, A weak classifier ij is given below, where a and (J are given by Adaboost. i,(I 1, I?)- = { {Ja ifotherwise J l 0.98 Ol c: ~ 0.975 Ol Q.. 0.97L__~-~~-~~-~-~~-~---' 10~ 10~ 10 15 20 25 30 35 40 45 50 FAR Rank (a) ROe on the FERET (h) Rank-N recognition rates on the FERET Figure 4: ROe and R2.nk-N recognition rates on the FERET FA and FB images of the boosting framework I training 1 test ..., 11 no noise I 3% noise I 5% noise I no noise 1.9 4.2 7.8 3% noise 2.0 2.9 - 5% noise 2.3 - 5.5 Table 1: Robustness to registration errors (EER in %) (dotted line). Our implementation achieves a rank-1 recognition rate of 97.5% and with EERs of approximately 1%. This is similar to what other papers report which use the boosting framework. Using LBP in combination with rectangle features improves the results, where the first features selected by Adaboost are LBP features. We found out that other small' improvements in the boosting framework are not measurable on the FERF,T database. For this reason we experimented with this algorithm under more difficult circumstances. One assumption of this algorithm is that the registration of the face images has to be correct. In practise it is very hard to realize good registration. To simulate mistakes in registration we added gaussian noise to the landmarks of the FERET database. Results of these experiments are given in Table 1 showing that registration noise has of course a negative effect but is not disastrous. These results are reached after 40 rounds of Adaboost, without resampling. 3.2 FRGC Because of the excellent results on the FERET database. we tested our method on a more challenging dataset. We used two subsets of the 'FRGC version 1 database, one subset with images taken under controlled conditions and another subset contains images taken under uncontrolled conditions, most cause by illumination. We divided both these datasets randomly into 3 subsets, giving the training set at least 2 images 194 Receiver operator curve Receiver operator curve 0.25 f! ~:-~-----:~:-, ~.---r=_=_=_=P:::C==A=lD:=A=U=.ke::rih=CO=dLca::-llio 0.5 -";:-" -:': ~'•. -_ --------:------;::::':=:~~======l,I O.J. \\. ,-, .... '>~'~ "'''''''' ~I~~~::O~ _:~_','-_', OAS OA ...~ .' . _'\#~#,:,. _ . "'.. ':' •.... -"to.. _...... ~~~:~'. - - ",.", . -''- - ~ - PeA LOA Likelihood PGA Mahalanobis PCA Eudidean Boosting Framework ratio I I o l 15!'- ['~" ~~,~ .'.... ...... ... , '~ .. _.... 0.351 0.3 _.... . '<";,' ........ -~'."",~_. . .... 0:::::' ~ . ""--' ~LL -, -,'<; .. '..... '......... _ 01 005 I r: .. "I,. """" , 't't "',." ,~, ~:~\:,:.,.\<''"'':,::.:,~:~J~ o ,~-- _.~~ .....~""':I.-=-=:"':::-==-:;:-: -"-=:'=~~ 005 .... ___;,,~,,::... ~ -:-:.;_~_~~~ __ ~ .. o 0.05 0.1 0.15 0.2 0.25 00 0.1 0.2 0.3 0.4 0.5 FAR FAR (a) Controlled dataset (b) Uncontrolled dataset Figure 5: ROC on the subsets of the FRGCv1 database for each person. The FRGC dataset taken under controlled conditions has a training set containing 1363 face image, a gallery set containing 1237 images and a probe set containing 1161 face images. The FRGC dataset taken under uncontrolled conditions has a training set containing 775 face image, a gallery set containing 550 images and a probe set containing 486 face images. The FRGC database contains 275 individu- als. We compared our results with the PCA Euclidean distance, PCA Mahalanobis distance and our log-likelihood ratio based approach described in [13]. For PCA we use 100 components and for LDA we use 50 components. The FRGC database is a more challenging database, which can be seen in Figure 5. Our method outperforms the normal PCA approaches and gives slightly better results in EER than the log-likelihood ratio classifier on the controlled set of faces 5(a). During this experiment, we combined 280 weak classifiers with Adaboost using both rectangle features and LBPs. For the uncontrolled set of images we combined 500 rectangle features and LBPs, results are shown in Figure 5(b). On the uncontrolled set of faces the difference between the log-likelihood ratio and the boosting framework is even bigger, which indicates that the boosting framework is more robust to illumination. 4 Conclusions The boosting framework is a strong method to recognize faces. Although we achieve the excellent results using the boosting framework, improvement can be made on the details of this method, like the features selection, resampling approach, version of Adaboost. We have shown that combinations of features improve the results, although it takes more time to train the algorithm. In this paper we show that this method is also promising under more difficult circumstances, This has been demonstrated by the performance of the boosting framework under bad registration. The experiments on the FRGC version 1 database also show that the algorithm performs well on more difficult conditions. In the future we hope to focus more on the illumination problems, in which this algorithm can play an important role. Also the use of cascading structures in combination with the boosting framework can speed up recognition on large databases. 195 References [1] Micheal J. Jones and Paul Viola, "Face recognition using boosted local features," in International Conference on Computer Vision, 2003. [2] Guo-Dong Guo, Hong-Jiang Zhang, and Stan Z. Li, "Pairwise face recognition," iccv, vol. 02, pp. 282, 200l. [3] Peng Yang, Shiguang Shan, Wen Gao, Stan Z. Li, and Dong Zhang, "Face recog- nition using ada-boosted gabor features," fgr, p. 356, 2004. [4] Lei Zhang, Stan Z. Li, Zhi Yi Qu, and Xiangsheng Huang, "Boosting local feature based classifiers for face recognition," in CVPRW '04: Proceedings of the 2004 Conference on Computer- Vision and Pattern Recognition Workshop (CVPRW'04) Volume 5, Washington, DC, USA, 2004, p. 87, IEEE Computer Society. [5] Guangcheng Zhang, Xiangsheng Huang, Stan Z. Li, Yangsheng Wang, and Xihong Wu, "Boosting local binary pattern (lbp )-based face recognition," in Chinese Conference on Biometrie Recognition, 2004, vol. SINOBIOMETRICS 2004, pp. 179-186. [6] R. E. Shapire and Y. Singer, "Improving boosting algorithms using confidence- rated predictions," Machine Learninq, vol. 37:3, pp. 297-336, 1999. [7] J. Friedman, T. Hastie, and R. Tibshirani, "Additive logistic regression: a sta- tistical view of boosting," Tech. Rep., Dept. of Statistics, Stanford University, 1998. [8] Paul A. Viola and Michael J. Jones, "Rapid object detection using a boosted cascade of simple features.," in CVPR (1), ~WOl, pp. 511-518. [9] Rainer Lienhart, Alexander Kuranov, and Vadim Pisarevsky, "Empirical analysis of detection cascades of boosted classifiers for rapid object detection," DAGM'03, 25th Pattem Recognition Symposium, pp. 297-304, 2003. [10J Timo Ojala, Matti Pietikainen, and David Harwood, "Comparative study of tex- ture measures with classification based on feature distributions," Pattem Recog- nition, vol. 29, pp. 51-59, 1996. [ll] T Ahonen, A Hadid, and M Pietikinen, "Face recognition with local binary pat- terns," in Computer Vision - ECCV 2004, 2004, pp. 4G9-481. [12] Guillaume Heusch, Yann Rodriguez, and Sebastien Marcel, "Local binary patterns as an image preprocessing for face authentication," tsr, pp. 9-t4, 2006. [13] R.N.J. Veldhuis, A.M. Bazen, W. Booij, and A.J. Hendrikse, "Hand-geometry recognition based on contour parameters," in Proceedings of SPIE Biometrie Technology for Human Identification Il, Orlando, FL, USA, March 2005, pp. 344- 353. 196 A Maximum Hiding Capacity Tool for Image Steganography Fouad Mohamed EI-Sadek Information Technology Institute (lTl) Ministry of communication &lnformation Technology (Mï.Tf') Alexandria, Egypt E-mail: fmelsadek@mcit.gov.eg Abstract In this paper a new software tool is developed to evaluate the maximum hiding capacity of a given image, which depends on the image texture. This software named "CompareImage" is based on the algorithm conceptualized by Mark David Gan [David, 2003] while developing his image steganography software called "Chameleon". Keywords: Capacity, Steganography, LSB insertion, stego-image, adaptive encoding, Steganalysis. 1 Introduetion Steganography [Khan, 1996] is an ancient art for conveying messages in a secret way such that only the receiver knows the existence of a message. So the fundamental requirement for a steganographic method is imperceptibility; [Anderson and Fabien, 1998] this means that the embedded messages should not be discernible to the human eye while maximizing the embedding capacity. Least-significant bit (LSB) insertion method is the most common and easiest method for embedding messages in an image. Having a true -color palette image composed of red, green and blue color channels, the total number of bits that can be hidden is only three times the total number of pixels, since there are only three LSBs for each pixel. To maximize hiding capacity, more than just the LSBs of an image must be used. With adaptive encoding [Lee and Chen, 2000] each pixel uses different hiding capacities as dictated by the pixels tolerance to modifications. Mark David Gan [David, 2003] proposed an algorithm to calculate the maximum embedding capacity for each pixel and developed his steganographic software "Chameleon". The present paper propose software tool; named "compareImage" that assists a user of "Chameleon" in deciding the right image to be used as a cover .by calculating the maximum hiding capacity of given different texture images and selecting the one with highest payload. 2 Communication Channel Capacity. The capacity of a communications channel has a specific meaning as put forth by Shannon [Shannon and Weaver, I948].1t is the upper limit on error-free communication. Theoretically, codes exist that let us send error-free information at any rate less than a capacity. Attempts to send information at a rate higher than the capacity will result in errors. Example 1, consider a discrete memoryless channel with four possible inputs and outputs, see Figurel. Every time the channel is used, one of the four symbols is transmitted. Therefore, 2 bits are sent per channel use. The system, however, is very 197 unreliable. For example, if "a" is received, the receiver can not determine, reliably, if "a" was transmitted or "d", However, if the transmitter and receiver agree to only use symbols "a" and "c" and never use "b'' and "d", then the transmission will always be reliable, but 1 bit is sent per channel use. Figure I Unreliable communication channel The capacity of a channel is the maximum ofthe mutual infonnation between the input and output of th at channel. Mutual information is how much information one random variable tells about another. In fact, this is perhaps the central idea in much of information theory. When we look at the output of a channel, we see the outcomes of a random variable. What we want to know is what went into the channel, and the only thing we have is what came out. The channel coding theorem is basically a statement about mutual infonnation I(X, Y) [Taneja, 2001]. Mutual information is the relative entropy between the joint probability distribution p(X, Y) oftwo random variables X, Y and their product distribution P(X). P (Y) I(X; Y) = D (p(x, y)//p(x) p (y») (I) p(x,y) L L p(x,y)log x y p(x)p(y) (2) 2.1 Relative Entropy Suppose there is a random variable with true distribution p. Then we could represent that random variable with a code that has average length H (p). However, due to incomplete information we do not know p; instead we assume that thè dlstribution of the random variable is q. Then the code would need more bits to represent the random variable. The difference in the number ofbits is denoted as D (pllq), The quantity D (pllq) is the relative entropy. The relative entropy between two probability mass functions p(x) and q(x) is defined as D(p//q) = L «,» p(x) log p(x) (3) q(x) p(x,y) I(x,y) L p(x,y) log p(x)p(y) x.y (4) p(x/ y) L p(x,y) log x.y p(x) (5) 198 I p(x,y)log p(x) + I p(x, y) log p(x I y) X.Y (6) X.Y H(X) - H(XlY) (7) 2.2Channel Capacity versus Steganographic Capacity. There are two important differences between covert and stego channels [Muscovite, Chang and Newman, 2002] . • When studying covert channels no consideration is given To hiding their existence. Tn contrast, a stego channel only exists if its existence is hidden . • No consideration is given to how long a covert channel may transmit data. In fact, the channel is tacitly assumed to transmit" forever." On the other hand, a stego channel's transmission time is limited to the type of cover channel/cover medium that is used. For example, if a message is hidden in an image, then the type and size of the image limits the number oftransmissions ofthe stego channel. The new paradigm for stego channels must take detectability into account, something that is not considered when it comes to covert channels. Tn general, the more data that are hidden, the easier it is to detect it. Any study of stego channels that does not incorporate some measure of the detectability of the stego channel is seriously flawed; at best it is incomplete, and at worst it is deceptive. Capability is the new paradigm [Moskowitz, Chang and Newman, 2002] that is proposed for stego channels. Capability = (payload; detectability threshold; robustness) 3 LSB Encoding To illustrate LSB encoding, consider a color picture having a true-color palette, composed of red, green, and blue color channels. Let a pixel has the values 122, 119, and 92 for its red, green, and blue color components respectively. In binary, these values may be written as: 011110 JO 0 III 0 III 010 11100 To hide the character "a" in the image, the LSB (the rightmost bit) of each of the three 8-bit color values above will be replaced with the bits that form the binary equivalent of the character "a" (i.e., 01100001). This replacement operation is generally called embedding. After embedding, the color values would now change to: 01111010 01110111 01011101 Since there are only three values, only three of the eight bits of the character "a" can fit on this pixel. Therefore, the succeeding pixels of this image will also be used. In the three color values shown above, only the last value actually changed as a result of LSB encoding, which means almost nothing has changed in the appearance of the image. Nevertheless, even in cases wherein all LSBs are changed, most images would still retain their original appearance because of the fact that the LSBs represent a very minute portion (roughly 1/255 or 0.39%) ofthe whole image. The resulting difference between the new and the original color values is called the embedding error. Since there are only three LSBs for each pixel, the total number of bits that can be hidden is only three times the total number of pixels. 199 3.1 Adaptive Encoding To maximize hiding capacity, more than just the LSBs of an image must be used. However, simply using more bit-planes would not solve the problem since this could cause visible marks or distortions to appear on the processed image. With adaptive encoding, each pixel uses different hiding capacities as dictated by the pixel's tolerance to modifications. A pixel is said to be more tolerant ifhigher degrees of changes to its value are possible without changing the general appearance of the image. In essence, smooth and solid areas of an image are less tolerant compared to areas with complex textures. "Chameleon" implements adaptive encoding based on the steganographic model presented by Lee and Chen [Lee and Chen, 2000] in their paper "High Capacity Image Steganographic Model." This model is basically composed of three steps: capacity evaluation, minimum-error replacement, and error diffusion, which are revisited below. 3.1.1 Capacity Evaluation Fig.2 A 3*3window; centered at a pixel P; defining the top and middle left (bottom and middle right) pixels adjacent to P To illustrate capacity evaluation, consider the set of grayscale pixels in Figure 2, wherein pixel P represents the pixel being analyzed. In Lee and Cheri's model [Lee and Chen, 2000], the first step is to get the gray value variation among the pixels on the top and middle-left of the pixel being analyzed. In Figure 2, these are pixels A, B, C, and D. The gray value variation is defined as the difference between the maximum and the minimum gray values among the four pixels. The formula for the gray level variation V can be written as: V = max {A, B, C, D} - min {A, B, C, D} (8) According to Lee and Chen [Lee and Chen, 2000], the number of bits that can be modified in a pixel (K) is the minimum number of bits needed to store the binary value of V minus 1. This can be expressed mathematically as: K = L log2 V J (9) It is important to note that with this technique, embedding can only be performed in a top-to-bottom left-to-right orientation. Only the top and middle-left adjacent pixels are considered in the evaluation because the embedding function has already passed 200 through these pixels. The other four pixels on the bottom and middle-right of pixel P have still to undergo the embedding process, which means their values may change. Lee and Chen also noted a distinct characteristic of the human visual system (HVS) that is crucial to capacity evaluation. They stated that for the human eye, "the greater the gray-scale is, the more change of the gray-scale could be tolerated." Simply put, this means that the closer a pixel is to the white color; the more tolerant it is to modifications. Considering this, an upper bound (U) for the capacity of a pixel can be set based on its intensity. Lee and Chen [Lee and Chen, 2000] provided the following condition: In (P) > 191 then K = 5, else K = 4, where I (P) is the grey-scale pixel intensity. A threshold of 5 is set for U because the more significant bits of the pixels must not be allowed to change so that the upper boundary may still be calculated accurately in the decoding process. The succeeding section explains why the constants 191,5, and 4 were chosen. Although not explicitly stated in their paper, it is understandable that Lee and Chen's capacity evaluation function calculates a pixel's hiding capacity based on the range of gray values of surrounding pixels. Such calculation is sufficient for grayscale images, however since "Chameleon"[David, 2003] is designed for true-color images, Lee and Chen's model should be implemented differently. First of all, capacity evaluation will have to be performed on each of the three color channels independently. As a result, one color component of a pixel may increase while another decreases. In such cases, the increase in total embedding error may result to visible distortions. To compensate for this, the original formula for gray value variation is replaced with a formula for color intensity variation based on the "texture" formed by pairs of adjacent pixels on the top and middle-left sides ofthe pixel being evaluated. This new formula may be expressed in the form: v= round [(IC-AI+IA-BI+IB-q+IC-DI) /4] This modified capacity evaluation function provides a more sensitive and more accurate estimate ofa pixel's tolerance to modifications. 3.1.2 Minimum-Error Replacement In order to minimize the changes made to a pixel as a result of embedding, minimum-error replacement (MER) is also incorporated in Chameleon. The idea behind MER is to adjust the bit that is immediately succeeding the modified LSBs of a particular color value in such a way that the change caused by the embedding operation is minimal. For example, if a binary number 1000 (decimal number 8) is changed to 1111 (decimal number 15) because its three LSBs were replaced with embedded data; the difference from the original number is 7. This difference in the original value of a color component is called the embedding error. By adjusting the fourth bit from a value of I to a value of 0, the binary number now becomes 0111 (decimal number 7) and the embedding error is reduced to I while at the same time preserving the value of the three embedded bits. For every K number of LSBs used for embedding in a particular color value, the maximum embedding error for that color value is 2k -1, or the maximum value for a set of K bits. Since MER adjusts the bit next to the modified LSB, the embedding error is restricted to a maximum value of2k-1 Going back to the calculation ofthe upper bound in capacity evaluation, the constants 191, 5, and 4 were chosen with consideration to how MER works. A threshold of 5 201 was selected since embedding five bits into an 8-bit value (a byte) using MER would mean that the sixth LSB might also change. Since the only remaining bits that are protected from modification are the two most significant bits (MSB), the value of a byte when only these two bits are set to 1 is 192 (i.e., 2' + 26). Whatever the value of the six LSBs, the value of the byte will always be greater than 191 as long as both of the two MSBs are set to 1. 3.1.3 Error Diffusion Since the capacity-evaluation technique presented by Lee and Chen analyzes only the top and middle-left adjacent pixels, distortions in the contour of certain areas in an image might still occur. For an image to adapt to the changes in color caused by embedding, an error diffusion technique must also be employed. Lee and Chen presented an error diffusion technique called Improved Gray-Scale Compensation (IGSC), which makes up for the embedding error in the grayscale value of a pixel by spreading that error evenly across the adjacent pixels. This is done by adding 1.1 of the embedding error to the intensity or grayscale value of the bottom and middle-right adjacent pixels. These pixels are depicted in Figure 2 as pixels F, G, H and E. In simpler terms. when a pixel's intensity increases, the intensities of the four adjacent pixels on its bottom-right sides are decreased. Performing such correcting operations allowan image to preserve it's original average color intensity. 4 Tool and Algorithm for Calculating the Maximum Hiding Capacity of a True Color Image in "CompareImage". Microsoft visual studio 2003 tool has been used to implement the following algorithm For each pixel P, the intensity value I(p) IS calculated tor each color channel If I (p) <191, then k= 4 where k is the number of LSBs to be flipped. if! (p) >191 and log [(fC-AI+IA-BI+IB-CI+IC-Di) /4] ~ 5 where A, B, C and D are the color values ofneighboring pixels (see Fig 4) then k = 5 iEl (P) > 191 and log [(IC-AI+IA-BI+IB-CI+IC-Di) /4] < 5 then k = 4 Summation of k all over the image pixels for each color channel gives the total maximum hiding capacity. 202 4.1 Experimental Results Figure 3 A cover image processed by "Comparelmage" Applying "Compareimage" to the image shown in Fig.3 which has a size of 138 KB, width 250 pixels, height 188 pixels, gives a total hiding capacity of67.581 KB. Note: the pixels located in the frame of the image (size of 2.628KB) are not processed, so the processed size is 135.072 KB. Figure 4 A cover image processed by "CompareImage" Applying "Compareimage" to the image shown in Fig.4 which has a size of 138 KB gives a total hiding capacity of 68.126KB. 203 5 Conclusion "Comparclmage" is a software tool able to locate the highest hiding capacity image among several images. The experimental results shows that the more complex the picture texture is , the more hiding capacity available. "Comparelmage" can be used before applying the adaptive encoding "Chameleon" steganography technique. Through adaptive encoding, "Chameleon" is able to utilize optimum hiding capacities in every cover image. This allows users to hide files of larger sizes while at the same time preserve tbe general appearance of any cover image used and fulfils the fundamental requirements for a steganographic method which is the imperceptibility; which means that the embedded message should not be discernible to the human eye. There are two other requirements, one is to maximize the embedding capacity and the other is security .Using adaptive encoding ,at least four bits can be used for message embedding while maintaining image fidelity. When hiding data, one must be aware of the up to date steganalysis techniques because experimental results suggest that it is possible to reliably detect the presence of secret message embedded in uncompressed calor images using LSB insertion technique. References [1] Chameleon Image Steganography - Technical Paper Mark David Gan at STI College Bacoor, a computer college ofthe STr Network in the Philippines, April 2003. [2] Khan, David "The History of Steganography" Infórmation Hiding: First International Workshop. Lecture Notes in Computer Science 1174(1996): 1-5 [3]Anderson, Ross J and Fabien A.P.Petitcolas "On the limits ofsteganography ". Special Issue on copyright &privacy protection. IEEE Journalof selected areas in communication 16.4(1998):474-481 [4] Lee, Yeuan-Kwen and Ling Hwei Chen. "High Capacity Image Steganographic Model." Vision, Image and Signal Processing. IEEE Proceedings 147.3 (2000): 288-294. [5]C.E.Shannon and W.Weaver .The Mathematical Theory ofCommunication, University ofIllinois Press, 1949. [6] Inder Jeet Taneja, 21-06-200 I Departamento de Matemática - UFSC 88.040-900 Florianópolis, SC - Brazil [7]Capacity is the Wrong Paradigm Proceedings of the 2002 workshop on new security paradigms, Virginia Beach, Virginia Ira S. Moskowitz Centre for High Assurance, Computer Systems-5540, Washington, DC LiWu Chang Centre for High Assurance, Computer Systems-5540, Washington, DC Richard E. Newman University ofFlorida, Gainesville, FL 204 A moving listener in a virtual audio environment with particularly irregular reverberation decay Jean-Jacques Embrechts, Stephane Lesoinne and Nicolas Werner University of Liege Dep. Electrical Engineering and Computer Science, Intelsig group Sart- Tilman Building B28, B-4000 Liege Belgium jjembrechts@ulg.ac.be Abstract Auralization in a virtual room or space is realised by the convolution of an anechoic signal (i.e. music or speech signal) with the acoustical room impulse response (RIR). The RIRs (possibly left and right RIRs in the case of binaural reproduction) are constant, unless the source and/or the listener are moving in the virtual space. In that case, it becomes difficult to perform real-time au- ralization, since a periodic re-initialisation of the RIRs is required, in addition to the convolution task. To speed up the process of auralization and to reach real-time performances, the late part of the RIRs can be approximated by an ex- ponential decay. However, this assumption cannot be justified in some particular audio environments, for example in disproportionate rooms and/or rooms with asyrnmetrical reverberation properties. In this paper, a method allowing the dis- placement of the listener in a virtual audio space is presented, which respects the characteristics and variability of the "late reverberation" decay. This method is based on the interpolation between echograms computed at some pre-defined locations in the virtual space. 1 Introduction Auralization in a virtual room or space is realised by the convolution of an anechoic signal (i.e. music or speech signal) with the acoustical room impulse response (RIR). Headphone auralization can be monaural (the same convolved signal is sent to both ears) or binaural (left and right signals are reproduced separately, giving an impression of sound localization and reverberation) [1, 2). If the source and the listener are static in the virtual space, the RIRs (possibly left and right RIRs in the case of binaural reproduction) are constant. However, if one of them is moving, then the RIRs constantly change. It becomes therefore difficult to perform real-time auralization, since a periodic re-initialisation of the RIR is required, in addition to the convolution task. A solution consists in the identification of three components in the RIR : the direct sound, the early reflections and the "late reverberation". To speed up the process of auralization and to reach real-time performances, the early reflections are modelled by mirror sources (up to a limited order of reflection) and the "late reverberation" contribution is approximated by an exponential decay, independent of the source and the listener's locations [1, 2). This assumption can be justified in diffuse sound fields, 205 but this cannot be the case in some particular audio environments, for example in disproportionate rooms and/or rooms with asymmetrical reverberation properties [3]. In this paper, we present a method allowing the displacement of the listener in a virtual audio space, while respecting the characteristics and variability of the "late reverberation" decay. 2 Auralization Auralization aims at creating virtual acoustic environments. In particular, when the RIRs are obtained by room acoustics modeling, this is known as (fully) computed auralization [4]. Room acoustics programs (e.g. ray-tracing programs) are used to compute echograms, for a fixed position of the sound source and some receiver's locations. Each source- receiver pair gives rise to one echogram, which is itself transformed into a room impulse response (RIR) : see [1, 2, 5] for more details. A variant to this classical method consists in the computation of directional echograms [3] : in that case, the acoustical contributions at the receiver are distinguished by their direction of incidence, which gives rise to severaldirectional RIRs (DRIRs) for each source-receiver pair (in [3], 26 DRIRs are computed at each receiver position). This is particularly useful in asymmetrical acoustical spaces, to reveal flutter echoes or the influence of asymmetrical distribution of absorbing materials. For binaural auralization (reproduction with headsets), the DRIRs are then con- volved with an anechoic signal s(t) and with the head-related transfer functions (HRTF) of the listener's head. If Pleft is the eardrum sound pressure to be reproduced at the left ear and hSR(e, 4J, t) is the DRIR computed in the direction of incidence (e, qy), then Pleft(t) = s(t) * /L hSR(e, qy, t) * H RT F(left, e, qy, t) sine de d4J (1) For multiple-loudspeaker auralization, the anechoic signal must be convolved with the DRIR (or with the combination of DRIRs) corresponding to each loudspeaker. 3 Irregular reverberation decays Acoustical spaces with disproportionate geometries and/or asymmetrical distributions of absorbing materials can lead to very different directional echograms around the listener's head, which in turn creates significant non-exponential decays in the late part of the RIR. One such room has already been described in [6] : this was an academic example. Here follows another example, which has been rather inspired by a real room acoustics project. The acoustical space is an ancient horse-riding school which will be trans- formed into a cultural hall. The dimensions are 21.5m x 37.6m x 14.9m . The left and right walls (when looking to the scene) have been treated with acoustical absorbents and diffusors, but the back and front walls (which are parallel) create specular reflec- tions which lead to a clear flutter echo in figure 1. Moreover, the ceiling is fully covered with absorbing materials. As a consequence, the" up" directional echogram is clearly shorter than the others in figure 1. For all these reasons, the echogram at this receiver's position (and integrated for all angles of incidence) has a non-exponential decay. 206 12D 11D 10D so 'IJ OD 7D 60 5D D D.2 0.4 D.6 time (sec.) Figure 1: Three directional echograms computed at the same position in a cultural hall, showing a flutter echo in the front-back direction and a steeper decay in the up-down direction 4 The problem of the moving listener The method we have implemented tries to get rid of the assumption of an exponential decay for the late reverberation part of the RIR, irrespective of the receiver's position. To do this, it is first necessary to predict how the echogram is modified when the receiver moves (the source remaining at the same location in our study). This predic- tion is rather easy for the direct sound component and the first-orders mirror sources contributions. Indeed, as the corresponding source point is known, it is sufficient to compute the new distance to the receiver and the new direction of incidence, to update these contributions (the problem of viewed/non viewed sources must however be care- fully investigated). And this computation could be quite fast, as long as the number of mirrors sources (which is related to their maximum order) is limited, allowing real-time implementations [1]. A first problem arises when diffuse reflections must be accounted for. These non- specular reflections occur on rough surfaces in the virtual room. Mirror sources cannot be defined to model these reflections, which impedes the updating of their contributions. The second problem arises for the late part of the RIR, which results from a com- bination of a great number of high-order specular as well as diffuse reflections. It is therefore impossible to simply predict the modifications induced by a displacement of the listener. The solution that we adopted was to compute the echograms at some pre-defined listener locations in the virtual space. The echogram at any new position will then be estimated by an interpolation between the closest pro-defined locations. This interpo- lation is restricted to the diffuse contributions and the late reverberation part, or in other words to the whole echograms, except the direct sound and first-orders mirror sources components which are still updated as explained before. Figure 2 shows three echograms computed in the long disproportionate room de- scribed in [6]. Clearly, the decay is not simply exponential (not linear in a dB-scale) 207 and the echograms reveal a significant flutter echo between two parallel walls. These echograms are computed at three receiver's locations situated in the sarne vertical plane, perpendicular to the horizontal direction in which the flutter echo takes place. Even if the three receiver's locations are 22.5 meters apart, it is shown that a linear interpolation is sufficient in that case, as the echograms are very similar. 80 70 60 iD :3. 50 Q) "0 -~ ~ 40 co 30 20 1 U '-- -'-- ---'- -'- _J. ,_._ o 500 1000 1500 2000 2500 3000 time (msec) Figure 2: Three echograms (amplitude in dB vs time in msec) computed at three receiver's locations in a long disproportionate room. All receivers lie in the same vertical plane perpendicular to the flutter echo main direction (octave band 125 Hz) : left, middle and right refer to the receiver's location relative to the main room's axis. Figure 3 shows the echograms computed at five receiver's locations, aligned along the direction of the flutter echo and situated 10 meters apart. The flutter echo struc- ture still appears, but the local extrema of the individual echograms do not coincide anymore. This example shows that the late reverberation part cannot be considered as constant (and so, neither is the RIR). In that case, a linear interpolation would certainly respect the general decay slope of the echograms, but certainly not their fine details (unless the pre-defined locations are very close to one another). Another difference between the echograms in figure 3 is the initial start-up time, which is more and more delayed as the receiver's location moves away from the source. This effect is accounted for in the particular treatment of the direct sound and the mirror sources contributions, but not in the diffuse contributions. It has been shown in [7] that this could lead to interpolated (or predicted) echograms starting earlier than their true initial time. However, this effect is well limited and not audible, if the pre-defined locations are not too far from one another. 208 80 --(5.50) --(5.60) 70 (5.70) - (5.80) --(5.90) 60 lil :<2. 50 30 10~------~------~------_L------~--------~----~ o 500 1000 1500 2000 2500 3000 time (msec) Figure 3: Five echograms (amplitude in dB vs time in msec) computed at fivereceiver's locations in a long disproportionate room. All receivers lie in the same vertical plane parallel to the flutter echo main direction (octave band 125 Hz). 5 Tests and discussion Tests of the method have been reported in [7]. In each virtual room, the listener's displacements were restricted to an horizontal plane (about lm75 above the floor). The listener can also rotate his head and the binaural cue is updated accordingly (a head-tracker sensor is fixed to the headset and continuously records the listener's head orientation). An anechoic speech signal (source) has been used for the cue tests. In the computer model, the mirror sources up to the third order were treated separately. The computing time needed to update the RJR (including the contributions of the mirror sources) is of course critical. In this work, it could be as high as one or two seconds. Therefore, the application is not real-time for very fast displacements in the room, i.e. for which the virtual speed of the listener exceeds Im /s. In order to avoid blanks in the cue tests, the old RIR remains active as long as the updated one is not available: so, the listener can perceive a small delay between the displacement action and its audible effect. The auralization with the interpolated RIRs was judged of good quality by the listeners, compared to the auralization without interpolation, at the same virtual lo- cation. Only in one very long room, it could happen that the interpolated echogram starts before the direct sound (see section 4). This effect could be perceived by very acute listeners, but a simple way to avoid it would be to delete from the interpolated 209 echogram all these contributions coming earlier than the direct sound. Another (more objective) test consisted in computing some room acoustics param- eters from the interpolated and the corresponding non-interpolated echograms. These parameters were the following: the reverberation time T30, the early decay time EDT, the definition D50 and the clarity C80. These two last parameters were the most af- fected by the interpolation : the deviations could be as high as 10 percents for D50 and 0.5 dB for C80. But, again, these deviations were not audible by most listeners. An important issue is the number and the definition of the pre-defined listener's locations. It is first recommended to define a rectangular mesh of receivers, in order to reduce the complexity of interpolation calculations. It is also recommended to choose at least one receiver in each zone of interest. It is interesting to reduce the number of pre-defined locations as far as possible, in order to restrict the size of the echograrns' database. A compromise has to be found between this size and the quality of the auralization resulting from the interpolation. This compromise will depend on the virtual room itself: diffuse sound fields and simple rooms will require less pre-defined receivers than complex rooms with specular surfaces. In the more simple rooms, the distance between these locations could be as high as 40m, without affecting the quality of auralization. Acknowledgment The authors wish to thank Sebastien Geron who realized the user interface for the tests and who analyzed their results. References [1] L. Savioja, .J. Huopaniemi, T. Lokki and R. Vaananen, "Creating Interactive Virtual Acoustic Environments", J. Audio Eng. Soc. Vol. 47, No. 9, 675-705, September 1999. [2] L. Savioja, "Modeling Techniques for Virtual Acoustics", PhD Thesis, Helsinki University of Technology, 2000. [3] J.J. Embrechts, S. Lesoinne and N. Wemer, "Computation of directional impulse responses in rooms for better auralization", Convention paper No.6498 of the 118th Convention of the Audio Eng. Soc. (AES), pp5, Barcelona (2005). [4] M. Kleiner, B.-I. Dalenback, and P. Svensson, "Auralization-An Overview", J. Au- dio Eng. Soc. Vol. 41, No. 11, 861-875, November 1993. [5] D. Archarnbeau, "Realization of an auralization software based on echograms cal- culated by a sound ray technique", Proc. 2nd Forum Acusticum, Berlin (1999). [6] S. Lesoinne, N. Wemer and J.J. Embrechts, "3D real-time auralization with sepa- rate rendering of direct sound, reflection and directional late reverberation", Proc. 12th Int. Conf. on Auditory Display, pp4, London (2006). [7] S. Geron, "Modification des reponses impulsionnelles acoustiques d'une salle lorsque le recepteur se deplace. Realisation du module de calcul", Student Thesis (in french), University of Liege, 2006. 210 Component Ordering in Independent Component Analysis Based on Data Power Arme Hendrikse Raymond Veldhuis University of Twente University of Twente Fac. EEMeS, Signals and Systems Group Fac. EEMeS, Signals and Systems Group Hogekamp Building, 7522 NB Enschede Hogekamp Building, 7522 NB Enschede The Netherlands The Netherlands a.j.hendrikse@ewi.utwente.nl r.n.j.veldhuis@ewi.utwente.nl Luuk Spreeuwers University of Twente Fac. EEMeS, Signals and Systems Group Hogekamp Building, 7522 NB Enschede The Netherlands l.j.spreeuwers@ewi.utwente.nl Abstract With Independent Component Analysis (lCA) the objective is to separate multi- dimensional data into independent components. A well known problem in lCA is that since both the independent components and the separation matrix have to be estimated, neither the ordering nor the amplitudes of the components can be determined. One suggested method for solving these ambiguities in lCA is to measure the data power of a component, which indicates the amount of input data variance explained by an independent component. This method resembles the eigenvalue ordering of principle components. We will demonstrate theoretically and with experiments that strong sources can be estimated with higher accuracy than weak components. Based on the selection by data power, a method is developed for estimating independent components in high dimensional spaces. A test with synthetic data shows that the new algorithm can provide higher accuracy than the usual PCA dimension reduction. 1 Introduction Independent component analysis (leA) is a method to estimate the independent com- ponents or sources from which the data is generated. leA assumes the data is generated by making linear combinations of a number of independent sources, denoted by s. This can be described by: x = A·s (1) where x denotes the data or the vector of mixtures and A denotes a mixing matrix. The objective of an leA algorithm is to reverse the linear mixture by estimating a separation matrix, W, which separates estimates of the independent sources, denoted y, from the mixture. y = W·x (2) 211 Comon [5] shows that the ICA estimate has some ambiguities: any multiplication of the separation matrix with a permutation matrix and a scaling matrix results in another valid ICA estimation. Therefore the source estimates are usually supposed to have unit variance. The estimation of the separation matrix can be split in two stages. In the first stage the data is whitened. This is often done by Principle Component Analysis (PGA). Since the covariance matrix of the whitened input data and the source estimates are identity matrices, the remaining mixing matrix after whitening has to be an orthogonal matrix. [6]. Because of the ambiguities of lCA only a rotation matrix has to be estimated. The estimation of this rotation matrix forms the second stage. Several algorithms have been proposed to estimate this rotation matrix. The general approach is to use a contrast function which achieves an extremum when the whitened data is rotated such that the marginals are independent [4]. In order to solve the ambiguity of the order of the estimated sources, it has been suggested to consider the contrast function, used in lCA estimation [8], for example kurtosis. The argument is that sources which have low contrast, are Gaussian and are thus hard to separated. However, depending on the contrast function used, source distributions get different contrast levels assigned. For example, there are distributions which have a zero kurtosis while being far from Gaussian. Comon [5] suggested to remove the ambiguity of lCA by ordering the eigenveetors matrix columns, the eigenvalue diagonal and the lCA rotation matrix rows such that the eigenvalues in the eigenvalue matrix are in descending order. The only reason for doing so is to make the components appear in the same order every estimation. In Bayesian lCA, it has also been suggested to use the values of the elements of the estimated mixing matrix to determine whether an estimated source is a real source [2]. In the remainder of the article we will focus on solving the source ordering problem by data power. We will demonstrate that strong sources can be estimated with higher accuracy. Based on this ordering an algorithm will be developed which can provide a solution to overtraining behaviour in high dimensional ICA problems. 1.1 Data power definition In ICA estimation without Bayesian inference, one possibility is to consider the data power of the components. The variance of the input data can be described by individual contributions of the independent components: (3) where x is the input data, s represents the independent sources and A is the mixing matrix. In equation 3 it can be seen that each component makes an independent contribution to the total variation of the input data. Sources which provide large contributions are considered strong sources and those which provide small contributions are considered weak sources. There are a few reasons for selecting the components with the highest data power. The procedure is related to the selection based on eigenvalues in PCA, and is actually the same in certain mixtures. It therefore shares some of the arguments for using eigenvalue selection. For example, data power selection provides the best description of the data in independent components in the least squared sense. 212 2 Analysis on relation estimation accuracy and data power Another reason to select only the strong sources is that they are more robust to errors in the estimation. The weak sources are very sensitive to errors in the eigenvectors estimation. Recall that a common approach to lCA estimation is to first whiten the data after which an lCA rotation matrix is estimated. The separation matrix can thus be decomposed into: (4) where E and D are the eigenvector matrix and the eigenvalue matrix respectively, which can be found by performing PCA on the input data. A' denotes the lCA rotation matrix. Data power differences between independent components can only occur if the rCA rotation projects different sources on different diagonal elements of the scaling matrix. This causes the sources to be scaled with different factors. Nadal et al. [9] considered the situation in which the mixing matrix was nearly singular and also noise was present. They use the mutual information between the inputs and the outputs of a neural network to demonstrate that weak sources disturb the estimation of strong sources. We will focus more on the influence of the whitening stage in this error. We will also assume the errors are introduced by limited sample behaviour, instead of noise. While in [9] only large differences in strength are considered, it still makes sense to select sources with large data power when the differences are small as will be shown next. When the number of data samples is sufficiently large, the matrices in equation 4 can be estimated accurately, but when only a limited number of samples is available, errors are introduced. Small errors in E have a different effect on strong sources than on weak sources. Consider the 2D mixing problem where a strong and a weak source are mixed with a scaling matrix: x=[~ ~J's (5) where a > 1. An error in the eigenvector matrix can be represented as an additional rotation of the input data by rotation matrix R before the separation is performecl. Therefore the" whitened" data, denoted by z, is no longer white: z = [~ ~ J . [~~~¥?~~~:J . [~ ~ J . s (6) COScp81 + 782 ] (7) [ cos ip S2 - o sin o s- Note that crosstalk of source 2 on the estimate of source 1 differs a factor a2 from the crosstalk of source 1 on the estimate of source 2. The difference between the power caused by the crosstalk is a factor a4 After whitening an lCA rotation matrix still has to be estimated. Since the data is no longer white, it depencls on the specific lCA algorithm chosen what happens with the lCA rotation matrix. Cardoso [3] reported the effects of non white data on some objective functions. He reported that some objective functions acquire an additional correlation term. These objective functions thus attempt to find a rotation which partly minimizes the correlation between the two estimates even though the data is not white. Besides the limited sample behaviour, another possibility for an incorrect estimate of the eigenvalue rotation matrix is when the estimation is done on a subset of the data. 213 This is for instance the case when ICA is used to determine features for recognition purposes. ICA is then performed only on training data, which may not accurately represent the entire data set. The ICA rotation can not react on the error in the eigenvector estimate in such situations. The estimation of sources can also be corrupted by the presence of noise [9]. Learned-Miller [7] already indicated that Gaussian noise filters the probability den- sity functions of the independent components, so they become more Gaussian. Weak sources are more affected than strong sources when equal powered noise is added to every dimension of the observation data, so the estimation of weak sources gets more difficult in the presence of noise and leads to more errors. 3 Experiments with data power In this section several experiments with synthetic data are described to verify the theory of section 2. To verify the crosstalk between strong and weak sources, an experiment has been performed in which two sources are mixed with a diagonal mixing matrix with a diagonal [1,0.01]. This mixing matrix causes source 1 and 2 to be a strong and a weak source respectively. Three source configurations are used. In experiment 1 both sources are sub Gaussian. In experiment 2 source 1 is super Gaussian and source 2 is sub Gaussian. In experiment 3 both sources are super Gaussian. Sources are sub (super) Gaussian when the kurtosis of the source is negative (positive) [6]. For all tests all sources consist of 100 samples. The separation of sources is performed by only performing the whitening step, which should be sufficient to separate the sources. According to equation 7 the power of the crosstalk in the two estimates should differ by a factor 108. The experiments are repeated a few hundred times. Each time the crosstalk of the sources in the estimates is measured. Histograms of these measurements are plotted in figure l(a). The horizontal axis in each plot displays the measured crosstalk power. The vertical axis indicates the number of experiments which had an amount of crosstalk as indicated on the horizontal axis. The two plots in each column belong to the same source configuration. The three plots in each row belong to the same source crosstalk in estimate measurement (for example row 1 indicates the crosstalk of source 2 on the estimate of source 1 for the different source configurations). The shapes are the same for every source configuration, but the crosstalk differs indeed a factor 108 in the two estimates. After whitening the strong components have less distortion than the weak compo- nents. Next ICA estimates the ICA rotation matrix. In the next experiment the same setup is used as in the previous experiment, but now the leA rotation is also estimated. This is done using the fastICA algorithm with a tanh nonlinearity function. In figure leb) the histograms of the crosstalk power are given. The leA rotation matrix in the generating process is an identity matrix, so an accurate estimate of the ro- tation matrix would result in similar results as in experiment 1. However, the crosstalk between both sources is equal in strength. Apparently leA reduces the accuracy of the strong source estimate in order to increase the accuracy of the weak source estimate. Nadal et al.[9] also found that the presence of small sources disturbed the estimation of the strong sources when using the infomax criterion. However they assume a clear distinction between weak and strong sources. Since the small components are largely present in the small eigenvalues, this result suggests to remove the smallest principle components before performing ICA. The second possibility of an error in the estimation of the eigenveetors suggested was in a training-test situation. In figure 1(c) the results are shown of the same test as in the previous experiment, but now an addition rotation of 0.3 degrees is introduced to the mixing matrix after separation estimation. Clearly a bias is introduced in the estimate of the components. The strong component causes on average 30 percent of the power of the weak source estimate, while the weak source is hardly present in the 214 strong source estimate, although the influence difference is not a factor 108 as in the first situation. j ': Ex[perim]ent 1 :: ExoPeriment 2 :: ExePeriment 3 ~ ,ooEoXPeriment 1 8OEOxperiment 2 Exoperiment E 80 60 too '0 3 ~ 00 60 40 60 ~~ ~ ~ .- 40 40 ê 20 ë 20 2 O. Moreover, the functions QF(X) and QD(X) which give the area under the tail of the pdfs are assumed to be invertible: QÏ/(FAR) = aF and Q""i}(Pd) = -aD· In case both fVIHo(X) and fVIHl(X) are gaus- sian, one may write QD(X) = QF(X) = 1/...,12; OO exp(-y2/2)Ix dy, the area under the gaussian tail (as in [9]). For example, in the gaussian case a choice of aD = aF = 3 results in FAR = 1 - Pd ::::::10-3; in case CiD = aF = 7, FAR = 1 - Pd ::::::10-12. Now suppose we want a detection system with a required FAR and Pd, F AR,.eq and Pd,req (so, the design parameters aD,req and aF,req are available). Then we find (following [9], with the remark that our presentation holds for general pdfs) by taking Po and aD from (11): th = Po + Q[}(F AR,.eq) aD = a; (1 + QFI(F AR,.eq) V2fN) ~ af a; (16) and, taking Pl and al from (13)1, Pd,req =Q D (-Ci D,req)=Q q)..fi7N-snr) (17) DD.(th-PI)=Q (QÏ}(FAR,.e I /0TiV/ . al v1+2snry2/N In our cognitive radio context we want to detect a LU signal above or below the noise level and specify this signal by its power P, = snr a~ at which QoD has to be achieved (in fact snr is a required SNR). So, unlike in [9], we want to solve (17) for N. By applying Qï:/ (.) to the left and right-hand sides of (17) we find aF,req fi1N - snr -CiD,req = VI + 2 snr fi1N ' (18) and finally N = 2 (CiD,reqV1 + 2 snr + CiF,req)2 (19) snr? As the detection system has to set a threshold th = af a~ (says (16)), it has to make an assumption about the noise level. Suppose one assumes ~, and from there selects the detection threshold th. Assume the noise-level uncertainty to be bounded: (1- El)a~ :S ~ :S (1 + E2) a~ with 0 :S El < 1 and £2 ::: O. Then, to be on the safe side, one selects the threshold th = U th with peak-to-peak noise uncertainty U ~ I, t~:~::: [9]. With th = Po + QFl (F AR,.eq) aD we find: Pdreq = QD (Uth - PI) = QD ((U -1) + UQÏ/(FAR,.eq)..fi7N - snr). (20) 'al vI + 2snr..fi7N 1AB was observed in section 2.1, the expression for 0'1 in the case of a (non-zero mean) white gaussian process s(t) differs from the one used here and in [9J. Especially for low SNR the differences are irrelevant. 224 This can be re-written by applying Qr/ (.) to the left and right-hand sides of (20): N = 2 (DD,reqV1 + 2snr + U DF,req)2 for snr > U - l. (21) - (snr-(U-l))2' In which the condition stems from a step in the derivation, fi = snr-.(U-1), which has only a solution if the rhs is positive. Observe that the condition snr > U-I poses a hard limit on the power P, = snr a;; at which a LU signal can be detected in the case of noise level uncertainty. In figure 4 we show for modest U (1 :S U :S 2 so 0 dB :S UdB :S 3 dB) the number of samples N that need to be taken in order to achieve a certain QoD (specified by DD,req and DF,req) for a LU signal specified by P, = snr a;; = snr (so a;; = 1). Observe that going from O!D,req = DF,req = 3 to DD,req = DF,req = 7 only increases the number of samples N by approximately a factor of 5, while the probabilities involved go from 10-3 to 10-12 (in case Q.(x) is gaussian). (a) CXD,req = CXF,req = 3. (b) CXD,req = CXP,req = 7. Figure 4: Number of samples N (vertical) required for the detection of a LU signal with power P, = snr 0';; = snr [dB] (horizontal) and noise uncertainty of (per curve from left to right) UdB = a, 0.01, 0.03, 0.1, 0.3, 1, 3 dB. 4 Noise-level measurements in a DSANarchitecture In the AAF DSAN [2,3] two types of network nodes are distinguished: vehicle nodes and personal nodes. In all of these nodes scanning may be performed. The scanning and baseband transmission takes place in a time division duplexing (TDD) fashion in order to overcome analog front end saturation and to allow for collaborative scanning [3,5]. What are the consequences of noise-level uncertainty for a DSAN architecture? In order to answer this question the first issue to be decided upon is signal power P; of the Licensed Users (LUs) that need to be detectable by the DSAN. In case Ps > a;;, noise level uncertainty does not increase the number of samples N too much provided that UdB :S 1 dB, as can seen from figure 4, If however sub-noise energy detection is necessary (Ps < a;;) the noise level uncertainty may seriously hamper QoD: the limit of detectability is given by snr > U - l. By inspection of figure 4 one may appreciate that at approximately 5 dB to the right of the limiting SNR the number of samples has not increased too much, In the DSAN architecture noise-level uncertainty can be minimised at different levels. First in a node itself. A calibration mechanism can be added to the node in which the antenna is decoupled from the analog frontend and the signal from a temperature-stable noise source is input to the frontend. This enables to estimate the noise factor of the frontend and thereby the noise level. For this, a calibration phase has to be added in the TDD frame of the network. It has to be researched how often 225 calibration needs to be done, how long it takes and what noise level uncertainties can be achieved. AB the provision of a well-known and stable noise source in a personal node may be too battery-power consuming, such a source may be provided in a vehicle node that has more energy available. In that case, information regarding the noise level measured at the vehicle node has to be transmitted to the personal nodes. For this a period of time has to be reserved in the TDD frame. The resulting noise-level uncertainty of a collaborating calibration system is to the authors knowledge an open issue. 5 Conclusions and future work In this paper the performance of a simple energy detection system was studied: noise- level uncertainty poses a hard limit on the detectability of especially sub-noise signals. Future work could consist of determining at what SNR's licensed user signals need to be detected. Subsequently the QoD in terms of aD,req and aF,req has to be established. Also practical values of U need to be found. Then, one can establish the necessity, place in the DSAN and cost of the noise-measurement functionality. Finally, the the analogue front-end architecture and the position and dimensioning of an ADC for the DSAN spectral scanning system have to be designed. References [1] J. Mitola Ill. Cognitive Radio: An Integrated Agent Architecture fOT Software Defined Radio. PhD thesis, Royal Institute of Technology (KTH), Sweden, May 2000. http://YW>J . it. kth. se/ -jmitola/Mitola_Dissertation8_Integrated.pdf. [2J AAF. "The Adaptive Ad-hoc Free band communications (AAF) project Web- sites". http://wr.lY . freeband.nl/project. cfm?id=488, http://wr.lY.sas.el.utwente.nl/ research/wireless_communication/AAF/ and http://w ..... wmc.ewi.tudelft.nl/research/ projects/aaf .htm, 2004-2008. [3J F.W. Hoeksema, M. Heskamp. R. Schiphorst, and C.H. Slump. "A Node Architecture for Disaster Relief Networking". 1st IEEE International Symposium on new Frontiers in Dynamic Spectrum Access Networks (DySPAN'05), pages 577-584, November 2005. [4J Q. Zhang, F.W. Hoeksema, A.B.J. Kokkeler, and G.J.M. Smit. Mobile Multimedia: Communi- cation Engineering Perspeeture. chapter 5. Towards Cognitive Radio for Emergency Networks. Embedded and High Performance Computing. Nova Science Publishers, 2006. [5J P. Pawelczak, F.W. Hoeksema, R.V. Prasad, and R. Hekrnat. "Dynamic Spectrum Access: An Emergency Network Case Study". Submitted to IEEE Wireless Communications, July 2006. [6J D. Cabric, S.M. Mishra, and R.W. Brodersen. "Implementation Issues in Spectrum Sensing for Cognitive Radios". 38th Asilomar conference on signals, systems and computers, pages 772-776, Nnvemher 2004. t7J A. Sahai, N. Roven, S.M. Mishra, and R. Tandra. "Fundamental tradeolts in robust spectrum sensing for opportunistic frequency reuse". Submitted to IEEE JSAC, 2006. Accessible via http://,,,,,,.eecs.berkeley.edu/-sahai/Papers/CognitiveTechReport06.pdf. [8J H. Urkowitz. "Energy Detection of Unknown Deterministic Signals". Proceedings of the IEEE, 55(4):523-531, April 1967. [9J A. Sonnenschein and P.M. Fishman. "Radiometric Detection of Spread-Spectrum Signals in Noise of Uncertain Power". IEEE Transactions on Aerospace and Electronic Systems, 28(3):654-660, Jnly 1992. [10J Wikipedia contributors. "(Noncentral) Chi-square distribution - Wikipedia, The Free Encyclo- pedia", 2006. [l1J S. Benedetto, E. Biglieri, and V. Castellani. Digital Transmission Theory. Prentice Hall, Inc., 1987. 226 Enforcing the tolerance to noise of a quantum key distribution protocol with continuous variables E. Karpov, R. Garcia-Patrón, N. J. Cerf Centre for Quantum Information and Communication CP 165/59 Université Libre de Bruxelles (U.L.B) 50 avo F. D. Roosevelt, B-1050 Brussels, Belgium ekarpov@ulb.ac.be rgarciap@ulb.ac.be ncerf@ulb.ac.be Abstract Noise present in quantum communication channels is one of the factors limiting the maximal distance of realistic implementations of quantum key distribution protocols. General assumptions of quantum cryptography give all this noise to the advantage of the eavesdropper. However he cannot control the noise of the devices emitting and receiving signals at the end points of the channel. This may be used for the advantage of the communicating parties. We show, indeed, that the there exist a range of the parameters of realistic experimental schemes for which the detection nose increases the tolerance of a continuous variables quantum key distribution protocol to the channel noise. 1 Introduction Quantum cryptography solves the problem of the distribution of secret keys, which is a necessary ingredient of secure communications. A general scheme of quantum key distribution (QKD) includes two legitimate parties, Alice and Bob, who want to share a common secrete string of bits (secrete key) so that any unauthorized party Eve has no inforrnation on the key. The security of classical protocols of secrete key distribution is based on computational cornplexity of the protocols, and therefore, may be compromised by increasing computer power or by eventual emergence of quantum computers. The security of quantum key distribution is based on the impossibility of perfect cloning of unknown quantum states, which in a consequence of the fundamental principle of quantum mechanics - the Heisenberg uncertainty principle. This makes QKD unconditionally secure, i.e. not depending on the computer anel teclmological power of the eavesdropper, who is supposed to be limited only by the laws of physics. Any QKD protocol includes a quantum part and a classical part. In the quantum part of the protocol, Alice anel Bob exchange signals through a quantum channel and measure the states of the received signals. After this, in the classical part, they ex- change classical information through a classical authenticated public channel in order to validate the instances when they applied the same measurements (sifting), perform the evaluation of the effect of the channel on the transmitted signals and thus bound the knowledge of the eavesdropper (parameter estimation), correct errors (reconcilia- tion), and finally distil! perfectly correlated strings of bits with the help of classical algorithms (privacy amplification). The adversary, Eve, can try to interact with the quantum states send through the quantum channel and listen to the classical public inforrnation exchange between Alice and Bob in order to get information on the key. At the stage of error correction, Alice and Bob can use two-way or one-way classical inforrnation exchange. The one-way protocols are more favorable because they allow Alice and Bob to reveal less information to Eve. The one-way reconciliation may be 227 performed with the classical information flow coming in two different directions: from Alice to Bob - Direct Reconciliation (DR); from Bob to Alice - Reverse Reconciliation (RR). We shall consider RR protoeels which have been shown to better tolerate the channel noise. In principle, Alice and Bob can extract an arbitrary secure key if the amount of information which they share, lAB, exceeds the amount of information obtained by Eve, Ie, so that the secrete key rate K = lAB - IE is positive. However this theoretical limit is too optimistic because it does not take into account the efficiency {3 of real reconciliation algorithms, which reduces the realistic key rate as (1) We consider protocols using strong laser pulses as quantum signals and the quadra- tures X and p of electromagnetic field as observables to be measured. The measurement outcomes take values on the whole realline therefore these protocols are called contin- uous variable quantum key distributiori (CVQKD). The advantages of such protocols is that their implementations use the standard telecom optical components and work at higher repetition rates than the schemes using single-photon detectors. Under quite general assumptions we can restrict our consideration to Gaussian states [1], which are easy to prepare and to manipulate in experiments. This significantly simplifies calcula- tions, because these states are completely determined by the average values and the sec- ond moments of the quadrature operators of the light field f = (Xl, PI, X2,P2, , Xn, Pn). Thus Gaussian n-mode state is characterized by displacement d = (fl), (f2), , (f2n»), which is a real 2n-dimensional phase-space vector, and covariance (or correlation) 2n x 2n matrix "ï determined be its matrix elements rij = (f;fj + fjf;) - 2(fi) (fi). The Gaussian attack on the CVQKD protocol was proven to be optimal for a wide class of attacks including all individual [2] and collective [3] attacks (see below a classifi- cation of eavesdropper's attacks), which justifies generality of the results obtained for Gaussian channels preserving "gaussianity" of the transmitted states. After the measurements of the Gaussian quantum states both Alice and Bob have in their hands the realization of classical continuous random variables distributed ac- cording to Gaussian distributions. The amount of information shared by Alice and Bob is given by a classical information quantity, mutual informaiion (2) Here HA and HBIA are the Shannon entropy and the conditional Shannon entropy ofthe distributions of random variables X,4 and XB of variances VA and VB and conditional variance VBIA. We calculate the variances in following sections. Unconditional security requires Eve to be limited only by the laws of Quantum Me chanics (without having access to the laboratories (devices) of Alice and Bob). There- fore, Eve can take to her advantage all the losses and noise present in real quantum channels. Eve hypothetically replaces the channel by a perfect one and makes her own quantum system (ancilla) interact with the quantum states sent through the channel. After interaction the quantum signals are sent further to Bob by the ideal channel and Eve measures her ancillae in order to get information on the transmitted state. By its nature, quant WIl interaction perturbs the signal state and the more information is obtained on the state the more it is perturbed. However, Eve cannot perturb the signal more than the existing quantum channel would do it. Otherwise, Alice and Bob would recognize the eavesdropping and abandon the transmission. This naturally bounds Eve's information. This bound however, depends on how the adversary interacts with the quanturn states. One specifies tree possible eavesdropping strategies . • Individual attack: Eve interacts individually with each pulse sent through the quantum channel and stores her ancillae in a quantum memory. After listening to 228 the classical information exchange between Alice and Bob during the sifting stage but before the error correction stage she makes appropriate measurement of X or P quadra- ture. In this attack she has access only to the classical Shannon mutual information JBE on Bob's data . • Collective attack is more powerful strategy of Eve. After interacting individually with each quantum signal Eve stores the clones in a quantum memory up to the end of the classical information exchange between A anel B and then uses the information obtained from classical communications to make appropriate measurement. In this attack the maximurn information she may have access to is the Holevo bound XBE. • Coherent attack is the most powerful eavesdropping attack. Eve can interact collectively with all pulses sent by Alice. Then after monitoring all classical information exchange between Alice and Bob she can apply an optimal joint measurement over all her ancillae, The security with respect of this kind of attacks is more difficult to address. However, resent advances in the security proofs have shown that under certain assumptions of the symmetry, the coherent attacks on discrete variables QKD protocols are not more efficient than the collective attacks [4]. This insures unconditional security as long as a security proof with respect to collective attacks is completed. A conjecture that this result holds for continuous variable QKD gives meaning to our study of the collective attacks, for which the calculation of the key rate is far simpler to perform. 2 EPR-based CVQCD scheme In this section we describe Alice's preparatien of the quantum signal sent to Bob and the modification of this signal by the quantum channel controlled by Eve. The quantum part of CVQKD protocols with coherent states is implemented in experiments using prepare-and-measure (P &M) scheme. Following this scheme, Alice randomly chooses the values Xa and Pa distributed according to a Gaussian distributions centered at x = P = 0 with variance VA. This is called Alice's modulation. Then Alice sends to Bob coherent states of the shot noise variance 1 centereel at (xa,Pa). Then the resulting average state sent to Bob is a Gaussian state centered at (0,0) with variance V = VA + 1. However, for our calculations it is more convenient to use so-called EPR-based scheme, which is equivalent to the P&M scheme. The main idea is to present the quantum state preparation by Alice as a measurement of one part of a specific two- mode EP R-state, another part of which is being sent to the quantum channel (as shown in Fig. I). Alice's EPR state is given by the covariance matrix characterized by only one parameter - variance V = 2(7'1) EPR ~(ABo = ( V· 1L VV2 - 1. 0" z y'V2 - 1 ·O"z V·11 ), 11= ( 1 0) 0 1 ' Alice uses heterodyne detection in order to measure both quadratures of beam A. The beam splitter of transmission TA = 1/2 mixes beam A with the vacuum noise (4) and outputs two equivalent beams one of which is used to measure x-quadrature and another one to measure fi-quadrature. Based on the results of her measurements, Alice tries to estimate the state of beam Ba sent to Bob. As we shall see, this corresponds to the preparation of a coherent state sent to Bob. Alice obtains Xa and Pa, which are the best estimators of XBo and PBo, multiplying x the results of her measurements of quadrature by factor Oe = J2(V - l)/(V + 1) and 229 Figure 1: EPR-based CVQKD scheme. of p quadrature by factor -(}: [1]. The vacuum noise added at the beam splitter is the origin of the uncertainty of the inferred values XBo and PBo for given Xa and Pa, which is exactly VBIA = 1 and corresponds to the uncertainty of the coherent state in the P&M scheme. The inferred values are distributed according to the Gaussian distribution of variance VA = V-I, which coincides with Alice's modulation in the P&M scheme. Again, as in the P&M scheme the total average state sent to Bob is a Gaussian thermal state with variance V. Therefore, the described P&M and EPR-based schemes create the same state sent through the quantum channel and both schemes are parameterized by Alice's modulation 11:4. Real quantum channels with losses and noise effectively act as a linear optics com- ponent, the beam splitter, which mixes two input beams into two output beams. The channel losses are characterized by the transmittance T < 1 of the beam splitter and the channel noise by the variance Vc of the input ancilla mixed with the input signal. Two-mode input state characterized by the covariance matrix ÎSV = diag(VR, VcR) is transformed by the beam split ter of transmittance T according to Eq. (4). One of the two output modes is the transmitted state, attenuated by the channel and perturbed by the channel noise. The channel parameters are controlled by Eve. As the Gaussian attack is optimal [3], Eve has to use a Gaussian ancilla with variance Vc. Then the transformation of the two-mode input state by the eavesdropper's beam split ter is where we have introduced notation X for the channel noise controlled by Eve as if there it was just added to the variance of the input signal at the entrance to the channel l-T l-T X=r-vc=r-+e-. (5) This channel noise consists of the vacuum noise (1 - T)/T present in the channel due to losses and the added excess noise e. 3 Mutual information JAB According to CVQKD protocol for each received signal Bob arbitrary chooses .i or ft quadrature to measure by homo dyne detection thus forcing Eve also to do the same. After the end of the quantum part of the protocol Alice reveals to Bob, which quadra- ture she has measured for each signal not revealing the measurement outcomes. Bob tells to Alice, for which signals the quadratures measured by Alice and Bob mismatch and these instances are dropped. As x and p quadratures play the same role we can consider that in all retained cases the same quadrature was measured, for example, x. 230 The equivalent theoretical scheme of Bob's measurement shown in Fig. 1 takes into account the losses and noise introduced by real experimental detection scheme. This scheme contains an ideal homo dyne detector and a beam split ter with transmittance T) modeling detection losses. The added electronic noise introduced by the real detection apparatus is modeled by a Gaussian beam Fo with variance VD entering the beam splitter. This beam is one of two reduced states of the EPR pair FoG and is uncorrelated with the beam B entering Bob's detector. Applying beam splitter transformation to the covariance matrix ÎBFo of the two- mode input state we find the variance of the quadrature measured by Bob, VB = T)T (V + X), as well as the conditional variance, VBIA = T)T(X+ 1) where the total noise XD 1+ Vel Xtot = X+ T' XD = (1 - T))VD/T) = -- - 1 (6) T) is a sum of the channel noise, X, given by Eq. (5) and of Bob's detection noise XD determined by the beam split ter transmittance T) and the electronic excess noise, Vel, added by detection electronics. Then the mutual information is _ 1 Xtot + V I AB - - 1og2 (7) 2 Xtot + 1 4 Information of Eve - the Holevo quantity XBE In the case of collective attack, the upper bound of information accessible for Eve in the RR scheme (Bob to Alice one-directional classical information exchange) is given by so-called Holevo quantity [5J, [6]. I(RR) E = XBE = S E - J dXbPXb SXb E (8) where SE is the Von Neumann entropy of the quantum state of Eve's ancilla PXb is the classical probabili~ density of the outcome Xb obtained by Bob's measurement of i; quadrature, and Sfb is the Von Neumann entropy of the quantum state of Eve's ancilla system conditiona on the Bob's measurement outcome Xb. We find first the von Neumann entropy of Eve's state, SE' The maximurn infor- mation Eve can take from the intercepted signal is in case when the tripartite system ABE is in a pure quanturn state (the system AB is before Alice's and Bob's mea- surements). Then from the properties of the Von Neumarm entropy, it follows that SE = SAB' Therefore we can simply evaluate the von Neumann entropy of the state of the system AB characterized by the covariance 4 x 4 matrix Vxn. JT(V2-1)xaz] [ JT(V2 (9) "lAB = - 1) x az T(V + X) x n. ' with two symplectic eigenvalues À1,2 = ~ [A ± J A2 - 4BJ, A = V2(1- 2T)2 + 2T+T2(V + X)2, B = T2(VX+ 1)2 (la) which allowas to obtain SAB according to '"', (À-I) SAB = ~G -'-2- , G(X) = (x + 1) log2(x + 1) - X logj z; (11) 231 The last quantities we have to evaluate is the integral in the right hand side of Eq. (8). First of all, we note that after Bob's projective measurement of x-quadrature the state of the system AEFG is pure and therefore SEb = S~'FG. As we shall see later, S~'FG does not depend on Bob's measurement outcome Xli. As a result, SE b may be taken outside the integral in Eq. (8), after which the integral is easily evaluated as one and the Holevo quantity becomes just a difference of two von Neumarm entropies XBS = SAB - S~'FG' one of which, SAB we have already calculated. In order to find S(p"tFcl we determine the symplectic eigenvalnes of the covariance matrix ,~'FG representing the state obtained by Bob's projective measurement x= [~ ~] (12) where eperation (.)MP returns a matrix with inverse diagonal elements except for the vanishing ones, which are left equal to zero. The covariance matrices entering Eq. (12) are the components of the matrix ,AFGBt decomposed as (13) Matrix 'AFGB, is obtained by a rearrangement of the lines and columns of matrix 'ABIFG where system BI exits Bob's beam split ter before measurement 'ABtFG = (llA EB s2~o EB llFof bAB EB ,ffo';;R] (iA EB S:~o EB iFo) . (14) Here S~~o given by (4) describes Bob's beam splitter with transmittance TI applied to the system BFo. The covariance matrix of an EPR state ,ffi:cf of variance VD is given by Eq. (3). Having the symplectic eigenvalues of ,~'FG calculated ..\~.4 ~(C ± v'C2 - 4D), ..\; = 1, (15) C V VB + T(V + Xc) + AXD D = VEV + VBXD (16) T(V + X) T(V + X) we obtain S~'FG according to Eq. (U). 5 Effect of the detection noise In this section we present numerical results demonstrating that adding detection noise we may increase the tolerance to channel noise of a CVQKD RR protocol. Indeed, Fig. 2, (left graphs) shows that under idealistic conditions of high modulation (VA = 1000) and perfect reconciliation ((3 = 1) the increase of the detection noise XD leads to the increase of the tolerable channel excess noise Etol. We followed the curves up to unrealistic values XD = 100 and observed a monotonous increase of Ctol but saturated at Etol = 0.4. Under realistic experimental parameters VA = 12 and (3 = 0.87 (see Fig. 2, right graphs) for big channel losses (T < 0.5, upper graph) the situation is reversed - increasing detection noise XD we decrease Ctol· For smaller channel losses (T = 0.8) there exist positive effect of XD on Ctol (this may be seen as crossing of the curves at upper graph and initial increase of the curve at the lower graph) however it is positive only for small XD < 0.25. Higher detection noise further decreases the tolerable channel noise. 232 00 0.1 0.2 ua 0.4 e.s ne 0.1 0.8 T ~.-...-.... .. - .. .. , , ..... .....- ..... <, Ö 0.35 "0 0.19 W- ...... ",,- ....... . " 0.33." 0.30 0.1 0.2 0.3 0.4 0.5 0.180 0.1 0.2 0.3 0.4 0.5 Ui 0.1 0.8 0.9 1 10 10 Figure 2: Tolerable channel excess noise Etal vs. channel losses T at various detection noise XD (upper graphs: left - lower curve corresponds to XD = 0 and the upper curve to XD = 1; right - lower curve for T < 0.5 corresponds to XD = 1 and the upper curve to XD = 0) and vs detection noise XD at a fixed channelloss T = 0.8 (lower graphs). Left graphs correspond to a high modulation (V4 = 1000) and the ideal reconciliation (f3 = 1). Right graphs correspond to a realistic modulation (VA = 12) and efficiency of reconciliation (f3 = 0.87). In order to see whether this effect can increase the maximal distance of the CVQKD, limited by the channellosses and noise we have plotted in Fig. 3 (left) the secret key rate KRR. (1) as a function of the channellength for the real experimental parameters of the CVQKD scheme. We see that with increasing the channel distance the key rat.e decreases. However the decreasing curves are different. for different values of the detection noise XD (left graph). Moreover, the increase of detection noise leads, first, to the increase of maximal distance and then to its decrease as shown by arrows. Indeed, the dependence of maximal distance on the detection noise (right graph) shows the existence of a maximum for small values of XD. Therefore, for realistic values of Alice's modulation and the efficiency of reconciliation one can observe a slight increase of maximal distance due to adding of a small detection noise. However, for realistically attained values of the detection noise this effect already disappears. In conclusion, the detection noise may increase the tolerance of CVQKD protocol to the channel noise as well as the maximal distance of secure communications, however, one has to decrease the currently attainable detection loss or increase the efiiciency of reconciliation in order to observe this effect in experiments. 233 IS -,5 _IE ..- .. -----. --_.".-.~._--------. 1 • .-"-.-.-----.----.-.-- ... --_._ •• _ 10~L._cC~7-"'_78.''''"~ -9'_:_-9.,~,.L2 -9~.3 --,,-, .._j'.5 ~~~.,-7"~'~3~' .• -7'.~5~~~'~.8-cCO~~' L (km) XD Figure 3: Left graph: the key rate Killi vs. distance L for various values of the detection noise XD = 0 (0), XD = 0.05 (+), XD = 0.15 (x), XD = 0.25 (*), XD = 0.35 (V), XD = 0.44 (*). Right graph: the maximal distance Lmax vs detection noise XD. Channelloss 0.2 dB/km, repetition rate 160 Hz, E = 0.03, VA = 12, (3 = 0.87. Acknowledgment We acknowledge the support from the European Union un- der the projects SECOCQ (IST-2002-506813), COVAQUIAL (FP6-511004), and QAP (IST-2001-37559) and from the Interuniversity Attraction Poles Programme - Belgian State - Belgian Science Policy lAP P6/1O. R.G.-P. acknowledges the support from the Belgian foundation FRIA. E.K. acknowledges the support from the Brussels-Capital Region - Prospective Research for Brussels. References [1] F. Grosshans, N. Cerf, "Virtual entanglement and reconciliation protocols for quan- tum cryptography with continuous variables," Quant. Inf. Comput., 3, 535-552 (2003). [2J F. Grosshans, N. Cerf, "Continuous-Variable Quantum Cryptography is Secure against Non-Gaussian Attacks," Phys. Rev. Lett. 92, 047905 (2004). [3] R. Carcfa-Patrón and N. J. Cerf, "Unconditional Optimality of Gaussian Attacks against Continuo us- Variable Quantum Key Dlstribution," Phys. Rev. Lett. 97, 190503 (2006). [4] R. Renner, N. Gisin, and B. Krans, "Inforrnation-theoretic security proof for quantum-key-distribution protocols," Phys. Rev. A 72, 012332 (2005). [5] F. Grosshans, A. Acin, and N. J. Cerf, "Continuous-variable quantum key distri- bution" , in: Quantum Information with Continuous Variables of Atoms and Light, edited by N. J. Cerf, G. Leuchs, and E. S. Polzik, (Imperial College Press, 2006). [6] I. Devetak and A. Winter, "Relating Quantum Privacy and Quantum Coherence: An Operational Approach," Phys. Rev. Lett. 93, 080501 (2004). 234 Optimizing multiplayer gaming protocols for heterogeneous network environment János Levendovszky! Gábor Kiss} Sándor Molnárê Long Tran Thanh} E.C. van der Meulen 3 Abstract In this paper two adaptive server update time strategies are introduced in order to mitigate network latencies occurring due to heterogeneous network en- vironment. In this way, the players enjoy similar gaming quality which may fur- ther encourage the subscribers to participate games via different access modes (e.g. the combination of mobile and wired users) and increase the revenues of game providers. The game protocol is considered as a number of arrival processes from the clients (which are characterized by different delays). The server sends either periodicalor aperiodical updates to the clients. Game quality is quantified by two measures: (i) the tail probability of the maximal idle time; and (ii) the probability of missing an update period. Our objective is twofold: • ill the case of periodic updates, we would like to choose server update time to minimize the probability of the maximal idle time exceeding a certain threshold (which threshold is associated with the "psycho-physically ap- proved quality of the game") in the case of periodic update scheme; • in the case of aperiodic updates, we would like to evaluate the probability of "action loss" given the tolerated waiting time. In order to carry out the above mentioned optimizations and to calculate the un- derlying tail distribution, statistical tools from large deviation theory are used. Furthermore, an adaptive on-line algorithm has been developed which can adjust the server update time by estimating the corresponding delay probability den- sity functions based on past observations. Due to the new method, game quality can be significantly improved despite the wide range of client delays which typ- ically characterize the heterogeneous network environment. The proposed new protocols can further increase the business potentialof network games. The per- formance of the new method has been evaluated by using measurements and extensive simulations. 1Budapest Universityof Technologyand Economics,Dept. of Telecommunications,H-1117Magyar tud. krt. 2, Budapest, Hungary. Email: [levendov.kissgJ@hit.bme.hu.ttl@cs.bme.hu 2Budapest University of Technology and Economics, Dept. of Telecommunications and Media Informaties, H-11l7 Magyar tud. krt. 2, Budapest, Hungary. Email: molnar@tmit.bme.hu 3Katholieke Universiteit Leuven, Dept. of Mathematics, Celestijnenlaan 200B, Leuven, Belgium Email: ecvdm@gauss.wis.kuleuven.ae.be 235 1 Introduction Multiplayer network games form a rapidly growing segment of the computer game industry. The popularity of online gaming applications leads to increasing revenues in this market. According to a report from DFC Intelligence, the worldwide online game market is predicted to grow from USD3.4 billion in 2005 to over USD 13 billion in 2011 [1]. Additionally, many popular games like first-person shooters and sports or racing games are increasingly played online charge-free. The growth in this market and in the client base indicates a growing demand to access online game services via different access network environment. Even though the extension of game services to heterogeneous networks has a great business potential, it also presents a technical challenge due to the wide range of delays associated with game participants from different networking environment. In this paper we develop a new game server protocols to even out these delays. Most of the online games (typically First Person Shooter (FPS) and Real Time Strategy (RTS)) support a lot of simultaneous players which requires increasing networ k and computational resources, Consequently, these games are designed for good network connections, e.g., in LAN environment. In the present paper, we investigate how to provide more or less uniform gaming quality for clients in heterogeneous environment when they can access the server not only via LAN but 3G mobile network as well. When extending games to heterogeneous networks, latency and related quantities (such as jitter, packet loss) have long been identified as primary obstacles, which can fundamentally impair the gaming quality [2, 3, 4]. In the literature several research studies have been conducted to analyze the effect of changing network parameters on the quality [,'1, 0, 3]. To combat latencies and ensure tolerable gaming quality and fairness, a number of different latency compensation techniques were introduccd which can be classified into three major groups (for more details see [7, 5, 8, 9, 10, Llj): • predicting the game status (each client predicts the server response instead of waiting for the status information); • introducing processing delays (the server delays the processing of client status information) ; • applying time warping (the server applies a time-roll-back mechanism to consider game actions which arrive with large delays) These mechanisms are either very complex (prediction algorithms are running on the client side) or they may undermine gaming consistency (e.g. in time warping, the rolled back game status may be in conflict with the game status already confirmed to the clients). When developing our novel latency compensation technique, we focus on a server side solution, as it has the advantage of running only one centralized algorithm and it avoids putting unnecessary computational overhead onto the clients. In our approach, latency compensation will be treated as an optimization problem on the server side tackled by a recursive optimization algorithm. In the case of periodic updates, we seek the optimal server update time subject to the criterion of minimizing the tail probabil- ity of the maximal idle time. In this optimization process we also take into account the 236 loss probability (i.e. too short update period for minimizing the idle time can increase the loss of "slow" clients). In the case of aperiodic updates, the server stays idle after the last client actions have been received and duly processed till the fastest clients action arrives in the next round whose access delay is denoted by Tmin(k). Here k refers to the number of rounds. Then the server waits with the update till the action of the slowest client is received (whose access delay is denoted by TmaA k)) provided that Tmax < A, where A is predefined threshold characterizing the quality of the game. As a result the update interval is of length [Tmax (k), min{ A, Tmax(k)}], while the idle time (no state refreshment is needed) for the server between the end of previous update in round k and the arrival of the first new action in round k + 1 is Tmin(k + 1) - min{A, Tmax(k)}. In this case, our concern is to evaluate of action loss P (Tmax(k) > Tmin(k) + A) when the action of the slowest client has been lost in the update period. Deriving the analytical dependence of the action loss on parameter A by the means of calculating the pdf.-s of Tmaxand Tmosc , one can design the update protocol for fulfilling a given QoS requirement. In the forthcoming mathematical treatment, the p.d.f. of the measured delay processes will be approximated by radial basis functions and the tail probability of the maxi- mal idle time is expressed analytically as a function of the server update time. The optimal service update time is found by performing gradient search on this function. Furthermore, by recursively updating the delay p.d.f. estimations with the measured delays, an adaptive sever update algorithm can be developed which helps to optimize the sever update time even in the case of clients with unknown latencies. In this way, the gaming quality can be improved and even heterogeneous clients can enjoy rather similar gaming experiences. The paper is organized as follows: (i) Section 2 summarizes the effect of heteroge- neous networks on the gaming quality;(ii) Section 3 describes the game protocol as an arrival processes and periodic updates; (iii) Section 4 introduces a statistical model to quantify gaming quality and to optimize the tail probability of the maximal idle time; (iv) Section 5 gives a detailed performance analysis based measurements and exten- sive simulations; (v) Section 6 draws some conclusions about the possible applications of the new methods; while (vi) the Appendix briefly summarizes the computational process and numerical tools used for the server update time optimization. 2 Effect of network latencies on gaming quality In this section the effect of delays originating from heterogeneous network accesses are analyzed. In a LAN environment the latency is typically small and exhibits homogenous char- acteristics. However, in heterogeneous network environment the following attributes are to be taken into account: • the clients experience different latency to a game server; • the clients experience different latency in different game sessions; • the clients experience a large delay variation within a game session. 237 These attributes are explained by the fact that delay and jitter values depend even in the internet quite much on the location of the nodes. The delay between different regions can be around 100-400ms. Thus, online game providers install servers in dif- ferent regions to provide acceptable gaming quality. For example, clients connected to Quake3 servers in a 200ms latency 'radius' of Internet in 2001 [12]. Delay and jitter can be an even more important issue in mobile networks. The general characteristics and classification of 2G and 3G delays are discussed in [13] and [14]. However, the measured delay and jitter varies at different operators based on their system version, configuration, traffic load, etc. The RTT values are typically in the order of lOOms in 2G and in the order of lOms in 3G networks [15, 16,8, 17]. Even though there is a continuous improvement of delay characteristics in mobile networks, the delay variation is still typically higher than in fixed environment. There are publications about the tolerated delay and jitter for FPS games, claiming that there is 139ms defined as maximum delay for mobile real-time games in [2]. In [3] a delay bound of 150ms is defined for Halflife, whereas in [18] 300ms delay maximum is given for RTS games, e.g., Age of Empires. In [15] a maximum acceptable end-ta-end delay was evaluated between lOOms and 200ms. In [6] the effect of latency on online Madden NFL Football was studied and the authors concluded that there is little impact from latency on client performance with latencies as high as 500ms. However, with latencies higher than 500 ms the performance can degrade by almost 30 percent. 3 Characterization of server update process In this section the game protocol is described as arrival and update processes, i.e. game actions are arriving from the clients, whereas the sever sends periodical updates Lu the clients about the game status. The reason for applying periodical update process has been well discussed in the literature (for further details see [19]) and the periodicity is also supported by measuring different online games [15, 20]. More precisely, the protocol is described as follows: • there is a client population i = 1, ... , N; • the server updates the status of the game periodically, after each update period (the duration of this period.is denoted by 1'); • a packet (client action) arriving later than an update period is discarded and regarded as a loss; • the clients send new packets (their gaming actions) upon receiving updates from the server; • the arrived packets have to wait till the next update to be validated and this waiting time is the client idle time. The operation of the protocol is depicted on Figure 1 - A. Our concern is to choose an optimal T which guarantees an acceptable quality for each client participating in the game despite the different network latencies. 238 It can be easily seen that the loss can indeed be minimized by increasing T, since there is enough time to receive the packets of each client (even though some of them may have large delays). However, in this case the idle time is also increased, as the client with small access delay has to remain idle for a long period, till the packets generated by large-delay clients are received. As a result, the protocol in this form cannot cope with heterogeneous clients and a wide variety of delays. Thus, an extended protocol is introduced which enables the server to accept packets arriving in a period of length 2T, whereas sends update with a period of either T (the packet of each participant is received within the interval [0, T]), or 2T (there are some participants whose packets are received within the interval [T, 2T]). With this extension the loss can be further decreased, however "fast" clients do not suffer from large idle periods. This extension is described as follows: • there is a client population i = 1, ... , N; • the server updates the status of the game periodically; • a packet (client action) arriving later than two update period 2T is discarded and regarded as a loss; • the server sends an update after T if the packets of all participants arrived earlier than T, or sends an update after 2T if there is at least one client packet received within the interval [T,2T]; • the clients send new packets (their gaming actions) upon receiving updates from the server; • the arrived packets have to wait till the next update to be validated and this waiting time is the client idle time. The operation of the extended protocol is depicted by Figure 1 - B. C, s C, s C, A B Figure 1: Protocol model based on T or 2T period When evaluating the game quality we consider three main parameters in a game session: loss probability, average idle time and the tail probability of maximal idle time. 239 Figure 2 and Figure 3 show these quality measures (loss rate, average idle time and tail probability) as a function of the server update period T, in the case of applying the single T protocol and the extended 2T protocol, respectively. In the simulated case, there are three clients with RTT values measured in Internet with lOObyte packets participating in the game. The statistics of the client RTTs applied in the simulation are given as follows: minimum values are between 112.4-125.6rnsec, average values are between 138.2-154.8msec, while the maximum values are between 1237.7-1261.5msec. 0.8 :=: ~:;:~=~ Q _PlmaxIT:>60ms! 40 .- .... Ullos.$.$ 20 Figure 2: Quality measures by T server period 0.' 60 1w __ p(nwdT>2Om$) "" ~ _P(maxIT>Wmsj 40 Q _ p!maxH>6Orm) .--.UlIOS$rB1. G---O UI awglT 20 .. o--oU2_gIT ~--4LJ:1il¥l'QIT • :a= ,.' . °1:2B IJl! 1.116 1~JJ 1r.rl 176 188 ,gl! T[msj Figure 3: Quality measures by T server period (extended protocol) It can be clearly seen that there is a great role for optimization as the tail probability of the maximal idle time exceeding a specific threshold (i.e. 20ms, 40ms and 60rns) exhibits a definite minimum with respect to T. Further analysis of the figures will be given in Section 5. Thus, in the next sections our objective is to develop a formal model and optimization algorithm to find this specific T for clients with heterogeneous network environments in the case of the extended protocol. 240 4 Server update time optimization by statistical tools In this section we embark on optimizing the server update time by using a formal approach and statistical considerations. The underlying model and the optimization method are discussed in the following two paragraphs. 4.1 The model To model the gaming problem we introduce the following notations: • the server works in a synchronous fashion and the state-update period is denoted by T; • there is a client population i = 1, ... , N and each client accesses the server with a random delay denoted by Ti, i = 1, ... , N', where N' denotes the subset of clients whose delay is smaller than 2T; • fi(t) denotes the probability density function of random variable Ti (the delay of client i), whereas Fi(t) is the corresponding probability distribution function; • random variable ç represents the maximum delay among the clients, i.e. ç:= max, Ti; • the idle time for client i within a server update period is denoted by 1]i' In order to develop an analytical model the following assumptions have been made: • fi(t), i = 1, ... , N are known (later this assumption will be relaxed by devising adaptive schemes based on measurements); • the client misses an update if the access delay is longer than 2T. With this assumption the idle time for client i is given as T-Ti if isr (1) 1]i;= { 2T - Ti if T < ç :;_2T. The objective is to optirnize the server update time T in order minimize the probability that the maximum idle time is larger then a predefined quantity A, where A refers to the quality of the game. More precisely, gaming optimization amounts to solving the following problem: (2) 241 4.2 Optimization of the server update time In order to carry out this optimization task, one has to express P (maxi Th > A) as a function of the idle time. This dependence is derived by using the union bound first: N P (maxrli > A) < I:P('T)i > A). (3) l i=l Furthermore, the P ('T)i> A) probability can be expanded by using the conditional probabilities as follows: P ('T)i> A) = P ('T);> AlTi #- ç) P (Ti #- Ç) + +P v» > AlTi = ç) P (Ti = ç) (4) When analyzing the expression above we must distinguish the following cases: 1. the access delay of client i is smaller than the maximum access delay, i.e. Ti < ç; 2. the access delay of client i is the maximum access delay, i.e, ç = Ti. Analyzing the first case, the event 'T)i> A can occur under the following assumptions: • ç < T - A; • T - A < ç < T; • T < ç < 2T - A; • 2T - A < ç < 2T. Taking into account the first assumption ç < T - A the probability P ('T)i> A I Ti i= ç) can be rewritten as follows: P ('T).i> A I Ti #- ç) = P (Ti < T - ,17, #- ç) =>- T-A T-A J 1'(T, Ah = ç) = P (ç < T - A) + P (T < ç < 2T - A) = = Fç(T - A) + Fd2T - A) - Fç(T) (9) The probabilities of the conditions ç = Ti and ç 7' Ti are given as N I [ii (t)] IT Fj (t)dt, 00 P (Ti = ç) = P (Ti> tnTj < t) = J¥' .' J o Ni P (Ti 7' ç) = 1 - P (Ti = ç), (10) respectively. Thus, the probability P (7)i > A) can finally be expressed as P (7)i > A) = T-A T = [ J o Fi (t) iç(t) dt + F;(2T - A) J iç(t) dt+ T-A + J Fi (t)iç(t)dt+Fi 2T-A T (2T-A) J iç(t)dt 1 * 2T 2T-A * [1 - P (Ti = ç)] + + [F.;(T - A) + F.;(2T - A) - F.;(T)] * (11) 243 One can see that this formula does indeed depend on T, which prompt us to perceive P (7}i > A) as a function of T denoted by P (7}i > A) = w(T). In this way, optimizing the update period on the server reduces to a search problem tackled by the following recursion: T(k + 1) = T(k) - 6.sgn(\lI(T(k)) - w(T(k - 1))). (12) One must note that if the density functions are known then finding Topt is an off-line task which can be carried out prior to the game. Thus any search technique drawn from the tools of classical optimization theory can be used. However, in reality the densities Ji(t) i = 1, ... , N are not known a priori, which prompts us to develop an adaptive technique based on only the observed delays working in an on-line during the game session. Remark: As mentioned earlier, one may consider not only the tail probability of the maximal idle time as the quality measure of the game but the average idle time and the loss rate, as well. Our method can easily be extended to include these measures into the optimization process. 4.3 Server update optimization algorithm Based on the previous section we have arrived at a server update time optimization algorithm which can be performed on the game server. The computational process of the algorithm is summarized by Figure 4: E¥alu.ation·,ot the .tail .Setting ~erv~ r pe riod t.ime I Delay measurements _~ P.d.f. estimation. (e.g. 'b»' RBF 'frtting) -- of the maxirnal time "tT(~)):-~P{",':"J idle - , T(k+l)=T(k )- A, n{':I'(Ttk))"':'1'(T(k-j))j g... rlk)-r[k-l) . ~ Figure 4: Mechanism of server period time optimization The calculations needed by equation (4) requires tu measure the delays ami estimate the distributions in a recursive manner, running simultaneously with the game. The delay density functions are estimated by RBF approximation [21] according to the following steps: • Delay measurement of client i: Ti(k) := (ti(k), k = 1, ... , K) • Calculating histograms: Hist(k) • P.d.f function by Radial Basis function: 2 K (t-tV J(t, w) = L wje- 2. j=l 244 • Using optimal w for p.d.f estimation: K (,_,,)2 J ( t, Wopt )" = j':;:l Wj,opte (i) --'--dl-- 2~ After the RBF approximation P (TJi > A) and recursion (11) can be calculated for each client. Recursion (ll) is operating based on a gradient search which can get stuck in local optima. But simulations demonstrated (as it can be seen in Figure 5) that P (max TJi > A) has only one global minimum. Furthermore, in order to avoid stopping in local minima recursion (5) was started from many different initial points. 4.4 Adaptive server update time optimization In the present section, we investigate an on-line approach when delay measurements during the game are taken into account. Thus, the aim is to update the delay density estimates based on the current measurements by implementing a recursive estimation t. (t, k + 1) = \IJ (Ji (t, k) , tii») , i = 1, ... , N, where k refers to the fact that the p.d.f. is estimated after observing the first k measurements and tii) denotes the kth observation of the delay of client i. Now we use a histogram estimation given as follows: L j;(t, k) := L nl(k)II(t) (13) 1=1 where nl(k) is the relative frequency of the samples falling in to the interval 6tl ti -tl-1 and I (t) := { 1 if t E ~tl I 0 otherWlse When a new measurement is taken about the delay of client i in the course of the game, the corresponding density is updated as L Jdt, k + 1) = L ni(k + I)Il(X), (14) 1=1 where n (k ) = nl(k)N(k) + SI(X) I +1 N(k) +1 and I if t(i) E 6t SI x = k I (. ) { 0 otherwise Performing recursion (ll) in each new measurement, the server update time is op- timized recursively by plugging the updated p.d.f.-s into expression (3) and (4), re- spectively. In this way, the server can optirnize the update time based on the newly obtained delay information in the course of the game. 245 5 Performance analysis Extensive simulations have been carried out to test the performance of the server optimization method. The delay distribution functions were estimated by making more than 60000 measurements. Figure 5 depicts the calculated tail probabilities against the measured ones as a function of the server update time T. In this figure, The approximation with the union bound is denoted by Mod I, whereas the tail calculated by assuming client delay independenee is denoted by Mod2. As demonstrated by the figure the quality measure (tail probability of the maximal delay) has indeed a sharp minimum with respect to the server update time T. Furthermore, one can see that even though both Mod l and Mod2 upper bound the real tail, the minimum values of the curves more or less coincide which implies that our optimization provides nearly the exact optimum. 0.8 r: 0.6 :J iD ;ti o __ Me.,.P(rTIalOlT>201Tl5} _~.P(ma:dT~m,) f[ 0.4 .-.--...MeU3.P(rTlaIIIT>60m,) 0-- -OMQdI P(mG.lIT>20rnsl IT -0 Modi P{maxfT>4Oms) I!r- -ti. "'od1 P(madT>6Om.s) o~ -OM0d,2PfmaxlT,.2Oms) 0.2 G - 40m~) a--àMod2P(ma..IT..&lm$) 012:-:-8---:-138=---:-148=-----:c1~58---:-,=68--;,=78~-':,-::88:----~1~98;:--..J T[ms] Figure 5: Comparison of measurements and model results As was mentioned before, the server update time can be optimized adaptively by algorithm 12. Figure 6 shows the convergence of adaptive server update time optimiza- tion running on 500 length ping sequence for three different cases: 3 users with mean delay of 106ms (case 1), 173ms (case 2) and 60ms (case 3). As exhibited by the curves, the server update time has quite fast convergence speed, i.e. within 100 measurement the optimal T is reached. The simulation results dearly demonstrated that using 40-50ms (which is currently implemented in most of gaming servers [15, 20]) is very far from the optimal server update time. Based on our measured RTT values, our optimization method pointed out that optimal server update time falls in the range of 1l0-150msec depending on the measured RTT values (for further numerical details see Figure 6). In addition, it has been proven that an adaptive server update time optimization is needed to handle the various latencies being typical in heterogeneous network envi- ronment. Consequently gaming quality can significantly be improved by our method and the optimal sever update time can be achieved with a fast convergence speed. 246 :: r ( -_------------1:::: ~'m' ?::!. -~w~~~-~ :"' ;;~ll:EI- .. m= ,,,I Ol' I ~ re,~~~_~"--~._,D~~~~~~~~~--~~~ .. "".,ft .. II...'_..f1_-~~-tD_!I'I'._d""'~, Figure 6: Convergence of the server period time 6 Conclusions In our preliminary analysis we found that real-time (FPS and RTS) games typically designed for high-speed LAN or Internet connection are rather susceptible to latency. Thus latency originating from heterogeneous network environment can have a signif- icant negative impact on gaming quality. As a result, traditional protocols are not efficient in heterogeneous environment, where latency and jitter is typically higher and changing in a broader range than in high-speed fixed network environment. We viewed game protocol as arrival and update processes running on the server and found that the loss, average idle time and the probability that the idle time is higher than a specific value greatly depend on the choice of server update period T. Thus, server update time optimization proved to be an efficient tool to compensate latencies. We have developed a statistical model to express the tail probability of maximal idle time as function of the server update period. Based on this model the server update time can be adaptively optimized. Our new solution works in server side, and has a fast convergence speed. By decreasing the maximum idle time means with the new method, the game provider can support much more clients from heterogeneous network environment. Therefore, the method proposed in the paper can contribute to achieving higher rev- enues from network games. Moreover, finding the optimal server update time can further increase the perceived game quality and satisfaction. 7 Acknowledgement This paper describes work partially undertaken in the context of the E-NEXT - IST FP6-506869 project, which is partially funded by the Commission of the European Union. The views contained herein are those of the authors and do not necessarily represent those of the E-NEXT project. 247 References [1] DFC Intelligence, "The Online Game Market," June 2006. [2] C. Schaefer, T. Enderes, H. Ritter, and M. Zitterbart, "Subjective Quality As- Real-Time Games," In Proc. of the 1st Workshop on sessment for Multiplayer Network and System Support for Games (Net.Games), Braunschweig, Germany, pp. 74-78, April 2002. [3] T. Henderson, "Latency and user behaviour on a multiplayer games server," In Proc. of the 3rd Iiiternational Workshop on Networked Group Communication (NGC), London, UK, pp. 1-13, November 2001. [4] G. Armitage and L. Stewart, "Limitations of using Real-World, Public Servers to Estimate Jitter Tolerance of First person Shooter Games," In Proc. of ACM Advances in Computer Entertainment Technology (ACE), Singapore, pp. 257-262, June 2004. [5] A. Chandler and J. Finney, "On the Effects of Loose Causal Consistency in Mobile Multiplayer Games," In Proc. of 4th ACM Network and System Support for Games (NetGames), Hawthorne, NY, USA, pp. l-ll, October 2005. [6] J. Nichols and M. Claypool, "The Effects of Latency on Online Madden NFL Football," In Proc. of the 14th international workshop on Network and operating systems support for digital audio and video, Cork, Ireland, pp. 146-151, 2004. [7] G. Armitage, M. Claypool, and P. Branch, "Networking and Online Games: Un- derstanding and Engineering Multiplayer Internet Games," John Wiley and Sons Ltd,2006. [sj J. Korhonen, O. Aalto, A. Uurtov, and H. Laamanen, "Measured Performance of GSM HSCSD and GPRS," In Proc. of the IEEE International Conference on Communications (ICC), January 2001. [9] S. Aggarwal, H. Banavar, S. Mukherjee, and S. Rangarajan. "Fairness in dead- games," In Proc. of 4th ACM Network reckoning based distributed multi-player and System Support for Games [Net.Games], Hauithorne, NY, USA, pp. 1-10, October 2005. [10J W. Chai, F. Lee, and L. Chen, "An Auto-Adaptive Dead Reckoning Algorithm for Distributed Interactive Simulation," In Proc. of the l Slh. ACM Workshop on Parallel and Distributed Simulation, Atlanta, USA, pp. S2-89, 1999. [11] M. Mauve, "How to Keep a Dead Man from Shooting," In Proc. of the 7th In- ternational Workshop on Interactine Distributed Multimedia Systems and telecom- munication Services (IDMS), Enschede, Netherlands, pp. 199-204, October 2000. [12] G. Armitage, "Sensitivity of Quake3 Players To Network Latency," Poster ses- sion, SIGCOMM Internet Measurement Workshop, San Francisco, pp. 199--204, November 2001. 248 [13J "3GPP TS 22.060 General Packet Radio Service, Service description Stage 1." [14J "3GPP TS 23.107 Quality of Service concept and architecture." [15J M. Busse, B. Lamparter, M. Mauve, and W. Effelsberg, "Lightweight QoS-Support for Networked Mobile Gaming," In Proc. of the 3rd Workshop on Network and System Support for Games, NETGAMES 2004, Portland, Oregon, USA, pp. 85- 92, August 2004. [16J A. Gurtov, M. Passoja, O. Aalto, and M. Raitola, "Multi-Layer Protocol Tracing in a GPRS Network," In Proc. of the IEEE Vehicular Technology Conference (Fall VTC 2002I Vancouver, Canada, September 2002. [17J R. Chakravorty and 1. Pratt, "Performance Issues with General Packet Radio Service," Journalof Communication and Networks (JCN), 2002. [18J M. Terrano and P. Bettner, "1500 archers on a 28.8: Network programming in Age of Empires and beyond," In Proc. of the 15th Games Developers Conference, San Jose, CA, USA, March 2001. [19J W. Feng, F. Chang, W. Feng, and J. Walpole, "Provisioning On-line Games: A Traffic Analysis of a Busy Counter-Strike Server," In Proc. of 2nd Internet Measurement Workshop, Marseille, France, November 2002. [20J J. Färber,"Network Game Traffic Modelling," In Proc. of the 1st Workshop on Network and System Support for Games (NetGames), Braunschweig, Germany, April 2002. [21] M. J. D. Powel1, "The theory of radial function approximation in 1990," in Ad- vances in Numerical Analysis, vol. Il. Oxford: Clarendon Press, 1992, pp. 105- 210. 249 Using LDPC Codes for Quantum Key Distribution Kim-Chi Nguyen Nicolas J. Cerf Université Libre de Bruxelles Université Libre de Bruxelles CP 165, 1050 Brussels CP 165, 1050 Brussels Belgium Belgium kimchng@ulb.ac.be ncerf@ulb.ac.be Abstract We investigate the use of Low Density Parity Check (LDPC) codes for the recon- ciliation phase of a continuous-variable quantum key distribution protocol. This method results in lowering the information leaked to the eavesdropper, thereby augmenting the secret key rate. 1 Introduction 1.1 Quantum Key Distribution Quantum key distribution (QKD), also called quantum cryptography, allows two par- ties, Alice and Bob, to share a secret key that can be used for encrypting messages using a classical cipher, e.g., the one-time pad. The main interest of such a key dis- tribution scheme is that any eavesdropping is, in principle, detectable as the laws of quantum mechanics imply that measuring a quantum state generally disturbs it. To share a secret key, a few steps must be performed. First, quantum states are sent from Alice to Bob, or vice-versa, on the so-called quantum channel. This process gives the two parties correlated random variables, XA and Xa. Then, using a classical public authenticated channel, Alice and Bob compare a sample of the transmitted data, from which they can determine an upper bound on the amount of inforrnation a possible eavesdropper may have acquired. Finally, they distill a common secret key K, which is conventionally a function of XA. Secret key distillation [1] usually involves two steps. In the first step, called recoti- ciliation, Alice and Bob exchange information over the public authenticated channel in such a way that Bob can recover XA knowing XB. The exchanged information is considered known to an eavesdropper. The second step consists in applying a privacy amplification protocol [2] to wipe out the enemy's information on both quantum and classical transmissions, at the cost of a reduction in the key length. This reduction is roughly equal to the number of bits known to an eavesdropper [2]. 1.2 Continuous-Variable Reconciliation Gaussian-modulated QKD protocols using coherent states have shown to deliver higher secret bit rates than those based on single photons while using standard telecom op- tical components [3]. Since they produce continuous variables (i.e., XA and Xa are correlated Gaussians), a reconciliation procedure adapted to this situation must be used. Each instance of XA is transformed into m bits, making m i-bits strings {Si}iE{l...m}, each called a slice, when a run of the QKD protocol produces l instances of Gaussian variables [4]. These mi bits will serve as input to the privacy amplification protocol. Before that Bob needs to calculate his best estimate of Si given the l values of Xa, 251 thus producing the l-bit string Si for each i. Using a binary reconciliation protocol, Bob then recovers Si given his knowledge of Si. Alice and Bob need to reconcile the binary string Si, given that Bob knows the correlated binary string Si. The two strings are related by the error rate e'i, that is the probability that a bit of Si is not equal to the corresponding bit in Si. Overall, the reconciliation produces H(Sl...m) uniform bits by disclosing Li=l...m f(ei) bits, with f(e) being the number of bits needed to encode a l-bit string given that the decoder knows a correlated string with bit error rate e. The net result is thus H(Sl...m) - Li=l... . f(ei)' The use of an interactive binary error correction protocol such as Cascade 15] im- plies an additional cost in the information leaked to Eve and an assumption on the eavesdropping strategy. To avoid these, we chose to develop a one-way protocol, where only Alice sends reconciliation bits to Bob, e.g., using LDPC codes. 1.3 Side-Information Source Coding Given a source of two correlated random variables X and Y, the minimal achievable rate of encoding of X is H(XIY) when Y is given losslessly to the decoder. Surprisingly, this rate is also achievable when Y is known only to the decoder, but not to the encoder [6]. In this setting, Y is called the side information and the encoding of X is known as side-information SOUTce coding. The construction of efficient side-information source coding schemes is a difficult problem [7]. 1.4 Problems with Interactive Reconciliation An additional motivation for using LDPC codes in the scope of QKD lies in that reconciliation is traditionally performed using interactive protocols, such as Cascade [5]. While they are perfectly suited to discrete QKD protocols, such as BB84 [8], they suffer from both practical and fundamental problems when used for continuous-variable QKD protocols [3]. For a given number of reconciliation bits transmitted from Alice to Bob, interactive protocols impose an additional penalty on the key length over one-way protocols, due to the information leaked from the reconciliation bits originating from Bob. Furthermore, the evaluation of this leaked intermation depends on the partienlar eavesdropping strategy, which rules out the use of this method when no assumption on the enemy's side may be made. Replacing interactive reconciliation protocols by efficient side-information coding is thus another strong motivation for studying this application of LDPC code. 2 LDPC codes LDPC codes are a class of powerful linear block codes first proposed by Gallager [9] in 1960. LDPC codes are obtained from sparse bipartite graphs and their associated sparse parity check matrices. Suppose that G is a graph with n left nodes (called message nodes) and T right nodes (called check nodes). The graph gives rise to a linear code of block length n and dimension n - T in the following way: the n coordinates of the codeword are associated with the n message nodes. The codewords are the vectors (Cl, ... , en) so that for all check nodes the sum of the neighboring positions among the message nodes is zero. The decoding process uses message passing iterative algorithms [9]. In these algo- rithms, messages are exchanged between the variable and check nodes in discrete time steps. At each iteration, each check node processes the messages it received from its neighbors and sends back a message to each of its neighboring variable nodes. Upon 252 Sr>aonnon!imit- CascadoJ~pper~~"'~ l.OPCCOOe . F~ld~-- Figure 1: Number of disclosed bits as a function of the bit error rate. receipt of the messages from the check nodes, each variable node uses these together with its own received value to produce new messages that are sent to its neighbor- ing check nodes. The messages exchanged are in the form of Log-likelihood ratio L(x) = Pr(x = 0)/ Pr(x = 1). A message transmitted along a given edge e must not depend on the message just received along edge e so that only extrinsic information is exchanged. 2.1 Application to Side-Information Source Coding We used irregular LDPC codes as a binary reconciliation protocol in the continuous- variable QKD protocol described in [3]. We slightly modified the encoding method in the following way: for each check node, the sum (mod 2) of the values of all its neighbouring variable nodes is calculated and serves as a parity bit. Alice then sends all the values of the check nodes to Bob in order for him to correct his errors. This method has the advantage of simplifying the encoding and allows us to choose the transmission rate by changing the number of parity check nodes. At the decoder, instead of having the sum of all the values of the neighbouring variable nodes equal to zero, this sum equals the value sent by Alice. In practice, Y is a noisy version of X that is known by the receiver, X is encoded with a LDPC code by the emitter but only the parity bits (the values of the check nodes) are transmitted, and the receiver uses those parity bits and Y to recover X by iterative decoding. 2.2 Results Figure 1 shows the number of bits disclosed as a function of the bit error rate. According to these results, we chose the best strategy among three possible options, depending on the bit error rate, so as to minimize the number of disclosed bits. Each binary string Si was reconciliated using one of these three options, depending on the estimated error rate ei: - if ei > 18%, the string was completely revealed, disclosing l bits of information; - if ei < 0.8%, an interactive error correction protocol (Cascade) was preferred and the number of disclosed bits was counted independently for Alice and for Bob; - otherwise, the LDPC coding scheme described above was used. 253 In Table 1, our results are compared with those of [3] based on the use of reverse reconciliation with estimate of the interactivity cost under assumptions. An example of the processing of each slice is given in Table 2: each slice is reconciliated using full disclosure, Cascade, or a LDPC code. For higher losses, the gain on the interactivity cost more than compensates for the higher number of parity bits revealed by a LDPC code. Modulation Losses Results Cascade and Variance (dB) from [3J LDPC Code rate (kbs -I) rate (kbs-1) 41.7 0 1690 1624 38.6 1.0 470 467 32.3 1.7 185 238 27 3.1 75 98 Table 1: Net secret key rate with modulation jTequency of 800 kHz. Estimated Binary Disclosed Shannon Slice BER Correction Bits Limit ei (%) Protocol h(ei) 1 49.58 Full Disclosure I 0.99 2 40.33 Full Disclosure I 0.93 3 10.63 LDPC Code 0.61l 0.48 4 0.12 Cascade 2 x 0.016l 0.013 5 8 x 10-12 Cascade 2 x 0.004l 3 x 10-10 Table 2: Disclosed bits for each slice, correspondinq to the 2nd roui of Table 1. 3 Conclusions The use of one-way reconciliation with LDPC codes in continuous-variable QKD pro- tocols allows close, if not better, results than by using Cascade and an evaluation of interactivity costs under some assumptions. The results obtained are close to the performance of turbo codes used in the same context [10]. References [1] U. M. Maurer, "Secret Key Agreement by Public Discussion from Common Infor- matio," IEEE Trans. Inform. Theory, vol. 39, p 733-742, May & 1993. [2] C. H. Bennett, G. Brassard, C. Crépeau and U. M. Maurer, "Generalized Privacy Amplification," IEEE Trans. Inform. Theory, vol. 41, p 1915-1923,November & 1995. [3] F. Grosshans, G. Van Assche, J. Wenger, R. Brouri, N. J. Cerf and P. Grangier, "Quantum key distribution using gaussian-modulated coherent states," Nature, vol. 421, p 238-241, 2003. 254 [4] G. Van Assche, J. Cardinal and N. J. Cerf, "Reconciliation of a Quantum- Distributed Gaussian Key," IEEE Trans. Inform. Theory, vol. 50, p 394, 2004. [5] G. Brassard and L. Salvail, "Secret-Key Reconciliation by Public Discussion," Ad- vances in Cryptology - Eurocrypt'93, Lecture Notes in Computer Science, p 411- 423,1993. [6] D. Slepian and J. K. Wolf, "Noiseless Coding of Correlated Information Sources," ieeetr inft, vol. 19, p 471-480, July, 1973, [7] Q. Zhao and M. Effros, "Low Complexity Code Design for Lossless and Near- Lossless Side Information Source Codes," Proc. IEEE Data Compression Confer- ence,2003. [8] C. H. Bennett and G. Brassard, "Public-Key Distribution and Coin Tossing," Pro- ceedings of the IEEE International Conference on Computers, Systems, and Signal Processing, Bangalore, India, p 175-179, 1984. [9] R. Gallager, "Low-density parity-check codes," IRE Trans. Information Theory, p 21-28, 1962. [10] K. C. Nguyen, G. Van Assche and N. J. Cerf, "Side-Information coding with turbo codes and its application to quantum key distribution," Proc. Int. Symposium on Information Theory and its Applications, 2004. (11] M. Bloch, A. Thangaraj, S. McLaughlin, "Efficient Reconciliation of Correlated Continuous Random Variables using LDPC Codes," eprint arXiv:csj0509041, 2005. 255 Subliminal Channels in the Private Information Retrieval Protocols Meredith L. Patterson Len Sassaman The University of Iowa Katholieke Universiteit Leuven Department of Computer Science ESAT-COSIC Iowa City, Iowa Kasteelpark Arenberg 10, B-300l Leuven-Heverlee USA Belgium mlpatter@cs.uiowa.edu len.sassaman@esat.kuleuven.be Abstract Information-theoretic private information retrieval (PIR) protocols, such as those described by Chor et al. [5J, provide a mechanism by which users can retrieve information from a database distributed across multiple servers in such a way that neither the servers nor an outside observer can determine the contents of the data being retrieved. More recent PIR protocols also provide proteetion against Byzantine servers, such that a user can detect when one or more servers have attempted to tamper with the data he has requested. In some cases (as in the protocols presented by Beimel and Stahl [1]), the user can still recover his data and protect the contents of his query if the number of Byzantine servers is below a certain threshold; this property is referred to as Byzantine-recovery. However,tampering with a user's data is not the only goal a Byzantine server might have. We present a scenario in which an arbitrarily sized coalition of Byzantine servers transforms the userbase of a PIR network into a signaling framework with varying levels of detectability by means of a subliminal chan- nel [l l]. We describe several such subliminal channel techniques, illustrate sev- eral use-cases for this subliminal channel, and demonstrate its applicability to a wide variety of PIR protoeels. 1 Introduction Since the seminal paper by Chor, Goldreich, Kuzhelevitz and Sudan in 1995 [5], information-theoretic private information retrieval protocols have received consider- able attention in the information theory community [2, 3, 1, 7, 12, 9, 8, 13]. However, comparatively little work has been done to evaluate these privacy primitives within the broader scope of a secure privacy system. We examine one consideration that design- ers of systems based on information-theoretic PIR may need to consider within their threat model: subliminal channels between independent PIR databases. 1.1 Background There are two primary classes of PIR schemes: uiformaiioti-iheoretic PIR, and compu- tational PIR. In the case of the former, an attacker is unable to learn any information about the user's query, even with unlimited computing power. In the latter, the privacy of the query is preserved only against adversaries restricted to polynomial-time com- putations. In this paper, we consider information-theoretic PIR protocols exclusively. 257 2 Examples of Subliminal Channels In Several PIR Schemes 2.1 A simple subliminal channel in a Chor et al. PIR Service Let us examine the simple xon-based PIR scheme presented in the seminal paper on PIR [5], and observe the potential for covert communication between nodes in a multiple-server PIR system. Suppose there are three servers: an honest server A and Byzantine servers Band C in collusion. Out of 71. buckets, the bucket to be retrieved is bucket bI' The user sends bit vectors VA, VB, Vc to A,B and C such that VAEBvB EBvc = (1000 ... ), e.g.: A 1 1 1 0 B 0 1 1 1 C 0 0 0 1 Thus A should send the user bAl EBbA2 EBbA3, B should send bB2 EBbB3 EBbB4, and C should send bc«- However, suppose Band C agree to flip the same bit in the vectors they received - in this case, bucket 3: A 1 1 1 0 B 0 1 0 1 C 0 0 1 1 The XOR of all three vectors, and thus the XOR of the returned data, still unveils the contents of bI' More than two servers can collude in this fashion, although an odd number of colluding servers must flip bits for at least two buckets (e.g., Band C flip bits for bucket j while C and D flip bits for bucket k). Observe that if it is desirable for each server to have a uniquely identifying set of bits to flip, then the length of the string describing which bits are flipped and which ones are not must be sufficiently long. In particular: Observation 1 (Lower bound on flipped-bit string lengths) If there are 71. col- luding servers, then the length of Bn, the set of bits which an individual server will flip or not flip, is bounded such that IBnl > [lg nl. Proof 1 First, note that in order to assign a unique bitstring to each server, each string must be at least [lg 71.l bits long, otherwise there will be overlap. But it is not enouqli that the bitstrings be unique: they must also XOR to the all-zero string. No server can be assumed an all-zero bitstring (otherwise, that server would be instructeil to never flip any bits whether it was transmiiiinq or not, and thus could never transmit anything). Thus there are actually 2pgnl -1 strings from which to choose if each string is [lg 71.l bits long. ft 71. is a power of 2, then each bitstring must be at least (lIg 71.l) + I bits long, otherwise at least one string will have to overlap. Furthermore, suppose that 71. = 2LlgnJ + 1. Define the parity string for each bit in the set of 71. bitstrings as Pm = Blm . B2m ..... Bnm, where m is the position of the bit. For example, the parity strings for the set of all 3-bit strings in increasing order, less the all-zero string, are {0001l1l}, {OllOOll}, {I01OI01}. In order for all 71. strings to XOR to 0, the result of xORing the bits of each parity string must also be 0; this unll always be the case when examining the parity strings for all 2m strings of m bits. There will be m - I parity strings of parity 0 for 2m-1 strings (including the all-zero string); adding another string to the set requires the mth bit and thus the mth parity string. In order to not throw off the first m-I parity strings, the first m-I bits of the nth string must be O. However, an m - I-bit string of os is already present in the 258 n - 1 strings already selected. Since an ni-bit all-zero string cannot be present, both the already-present string and the nth siruiq being added must have a 1 as their- mth bit, but then a string has been duplicaied. It is further impossible to manipulate the set of m-bit strings such that the m parity sirinqs are all of parity O. Through this channel, colluding servers could communicate potentially sensitive information even if the network channel were monitored for such communication. When one server flips its prearranged bit(s) and another does not, the data which the user retrieves consists of more than one bucket xoned together, and thus in the case of non-Byzantine-robust PIR protocols, the user must make another attempt to retrieve his data. (Byzantine-robust PIR systems are discussed below.) Colluding servers can therefore use the user as an oracle which reveals the transmission of a single bit: if the user's request succeeds, a 0 has been transmitted, and if the request fails, a 1 has been transmitted. One might ask why colluding servers would prearrange a set of bits to flip, as this is an additional step. Indeed, if all servers preserve the original bit-string to communicate a 0 and change a random bit to communicate a 1, the same effect is preserved. However, prearranging the flipped bits provides for some security against outside tampering: if the presence of servers using this channel has been detected by an adversary who subsequently changes the responses of one or more other servers to correct for the responses sent by the colluding servers, it will be easier for the colluding servers to detect this if they already know what variations to expect from the other parties on the subliminal channel. In effect, the search space for the origin of an error decreases significantly when the set of flipped bits is prearranged. Later, when we address the multi-party use case, we will also demonstrate how a prearranged set can quickly pinpoint the identity of a malfunctioning or inoperative server within the channel participants. 2.1.1 A simple use-case: the dead-man switch Suppose that N individuals living in a police state are unable to communicate regularly without fear of letting the authorities know that they are in communication. They all wish to keep the others apprised of their safety, so they agree to announce their status to one another every day by means of a dead-man switch over the subliminal channel described above. Each participant runs a PIR database server modified such that flip- ping bits is a manual operation (i.e., requires some approval input from the server's operator in order to occur). Suppose that one of the participants is then picked up by the secret police. He will be unable to approve any subsequent bit-flips-ein effect, his hand has fallen off the switch-so all subsequent PIR queries will fail and the other participants will know that something has happened to one of their number. However, if multiple colluding servers attempt to transmit simultaneously, they are guaranteed to fail in the case of a two-party collusion. If A and B both attempt to signal each other by not flipping their prearranged bits, then the user's original set of bit vectors is used unmodified and the user's request succeeds. When simultaneous transmissions occur in multi-party collusions, transmission failure is not guaranteed-if A and C are not supposed to flip the same bits, and both fail to perform the bit-flip, then the PIR request fails as planned-but it is also impossible to determine who initiated the transmission. Thus, we extend this approach to remove the possibility of collision and enable colluding servers to identify which party is sending a signal. 2.2 A multi-party subliminal channel In addition to choosing a set of bits to flip, let each colluding server Si also choose a particular user Mi from the userbase of the PIR system. We refer to Mi as the mark 259 for Si, and every S E {S \ Si} as the shills for Si. Server Si will always perform its bit-flip operation for every M, E {M \ Mi}, and will fail to flip a bit in its mark's request when Si wants to transmit a 1. S;'s shills receive Si'S signal by observing Mi'S behaviour, as in the single-user case. Now, instead of a simple on-off signal shared by all participants in the channel, each server controls a stream of bits. Note, however, that if one participant suddenly drops out of the channel ("falls off the dead-man switch", as above), then all streams will produce failing PIR requests, and it will not immediately be evident which server has dropped out. Vie address this problem with a systematic approach for constructing the bit-strings and rotating their usage so that this failure mode can be detected. We assume an atomic broadcast paradigm for PIR requests; that is, for a set of servers S and a set of marks M, every server receives the requests from the marks in the same order. 2.2.1 Failure detection in the multi-party model Note that the entire set of flipped bits must XOR to the all-zero string so that a normal PIR transaction is not interrupted. When one colluding server stops communicating, the XOR of the remaining participants' strings will contain some Is and all subsequent transactions will fail. Since each server has a mark allocated to it, however, a server can easily identify that queries for which it did not intend to transmit a 1 are failing anyway. Thus, we design the sets of bits to flip such that the bitstrings describing these sets can be systematically truncated and rotated through in order to identify the failed server. Recall from Observation 1 that for ti servers, each bitstring must be at least [lg n1 + 1 bits long. Again, an atomic broadcast paradigm is assumed. Example 1 (A three-party approach) For servers A, Band C, assign the initial set of strings describing which bits to flip as follows: A 1 1 0 B 1 0 1 C 0 1 1 (In this example, buckets beyond the third are disreqarded.} For the first PIR query that the servers receive, each uses the bit-string that was first assigned to it, e.g., server A uses bit-string A. For the second query, each server uses the bit-string assigned to the next server in the list, e.g., server A uses bit-string B. For the third query, each server uses the following bit-string (server A uses string C); for the fourth, the rotation returns to the top of the queue; and so on and so forth. Now, suppose that server B fails. In order to initiate the failure-detection process, each of the remaining servers must be aware that a failure has occurred somewhere on the channel (i.e., each server must notice that it transmiiied a 1 when it dul not intend to) and they must recognise that the other servers are aware of the failure, so that they can synchronize their efforts. As soon as a server recognises that a failure has occurred, it immediately stops flipping any bits. So long as any servers continue to flip bits, however, all transactions will continue to fail. Once A and C have both recognised this, subsequent queries will succeed; thus, once the marks assigned to A, B and C have performed successful queries, recovery can begin. As the first step, for the next query, all remaining servers revert to their initially assigned bit-strings, but truncate the last bit. Thus A uses (11) and C uses (01). This query fails. Each server rotates to the next string in the queue (A uses string Band C uses string A), truncated; i. e., A uses (10) and C uses (11. This still fails. On the third rotation, A uses (01) and C uses (10). This also fails, so another bit is dropped. In round 4, A uses (1) and C uses (0). This fails as well. In round 5, A uses (1) and C uses (1). This query succeeds, indicating that B has failed (since during round 4, B was supposed to flip the first bit in its string, and both A and C know this. 260 Developing a systematic method of producing bit-strings suitable for failure detection in larger multi-party models is an obvious avenue for further work. Prefix coding may present useful techniques for constructing such bit-strings quickly. One drawback to this approach is that every colluding server must observe as many marks as there are colluding servers. Network traffic between the colluding servers and the marks must therefore increase by a factor of n2, though in a sufficiently noisy system this increase may well go unnoticed. A worse problem, however, is the fact that each colluding server can only transmit a bit when its mark performs a PIR request. In systems like the Pynchon Gate [10], requests are rate-limited to a fixed number per cycle in order to reduce the effectiveness of long-term intersection attacks and other forms of traffic analysis [6]. If each colluding server can only transmit a few bits per day, the latency of this channel becomes so high as to be useless. (Furthermore, since PIR requests are user-initiated, a colluding server can be silenced if its mark goes offline for a few days.) Fortunately, this problem is easy to address: partition the userbase into sets of marks, such that Si'S set of marks, Ms" is disjoint with U Msj, Vj i= i. 2.3 Subliminal channels in Byzantine-robust PIR A PIR system which consists of £ servers, any k of which need to respond to a client's query, is referred to as a k-out-of-£ system. If t + 1 servers must collude in order to compromise the privacy of a query, the system is termed t-private k-out-of-£. If some v of the k responding servers can return an incorrect answer but the user can still reconstruct the correct response, the system is also called v-Byzantine-robust. v- Byzantine-robust protocols such as that presented in Goldberg [8] rely on polynomial interpolation to reconstruct the contents of the response to a query. When some servers are Byzantine, the set of returned values may correspond to more than one possible polynomial and therefore more than one "valid" data block. Goldberg proposes a list-decoding algorithm which recovers all possible blocks for the values returned, and does so in polynomial time. However, the additional processing time is significant- seconds or even minutes-and thus the user can still function as an oracle for a group of colluding servers. Note that a colluding server only gets one chance per user to transmit a signal, as once a Byzantine-robust client detects a Byzantine action, it does not request any more blocks from that server. Partitioning the userbase again comes into play here. Overall bandwidth goes down, because a server can only use a mark to transmit a lonce, and once a server has done so, it cannot use that mark again. However, a server can easily pass an expended mark to another colluding server; i.e., once Si has transmitted a 1 using mark Mi, all the colluding servers revise their list of marks, assigning Mi to SHI modulo n, the number of colluding servers. As a final note, observe that servers establishing a subliminal channel over a v- Byzantine-robust protocol need not (and, in practice, probably should not) prearrange their incorrect answers. Since the colluding servers do not know what seed values have been sent to the non-colluding servers in the network, it is extremely difficult to construct a set of responses which will still interpolate to only one valid polynomial. Thus, servers should always transmit correct responses to their shills' marks, and only transmit incorrect responses to their own marks when they wish to transmit a 1. A v- Byzantine-robust system can still be used as a dead-man switch if a server is configured to require approval to transmit a correct response, and send an incorrect response if no approval is given, but detecting who tripped the switch requires a different (and far simpler) procedure. Since Byzantine-robust clients stop requesting blocks from servers which have taken Byzantine actions, a server which has fallen off the switch will eventually end up blacklisted by all clients in the system. Participants in the channel could simply generate their own dummy traffic and use their own clients' 261 Byzantine-recovery capabilities to determine which server has stopped transmitting valid traffic. 3 Coercing Collusion from Users In their paper "A Pact with the Devil", Bond and Danezis discuss ways an adversary can entice third-party users to facilitate his attacks by cooperating in exchange for in- centives (and under threat of punishment for failure to cooperate) [4]. A clever attacker employing these methods could significantly broaden the communication channel for the covert communications of the servers; rather than simply relying on an unwitting user's side-channel leakage in the form of success-or-failure detection, users could be drafted into relaying messages encoded in the seemingly random data that PIR clients transmit to the PIR databases. The human factor to the security of such systems should be further explored in light of attack schemes such as those presented in [4]. 4 Future Work 4.1 Byzant.ine-robustness among the Byzantines The general approach described in this paper requires all colluding servers to be faithful to each other, i.e., not interfere with other servers' marks and not alter the data they send to users beyond their manipulation of the request string. A Byzantine shill can produce spurious signals from Si by neglecting to flip its prearranged bits in a request from Mi, or by flipping random bits in the bit-string or the data sent to Mi' Furthermore, a Byzantine (or merely malfunctioning) server outside the colluding group can also produce a spurious signal. If the only means of determining whether a signal has been sent is whether a mark's request succeeds or fails, then if all colluding servers flip their bits as arranged and a server outside the group takes a Byzantine action, the mark will still have to retry Its request or perform a recoveryaction, thus the mark's behaviour will indicate that a signal was sent. However, although servers within a collusion group should technically be considered Byzantine with respect to the PIR system as a whole, the behaviour of faithful colluding servers differs from Byzantine servers outside a collusion group, and this behaviour lends itself to differentiation. Further work must be done to develop a Byzantine-robust collusion algorithm for Byzantine servers, if needed for a given attacker's own threat model, though solutions to this problem can be found in existing literature, and are out of the scope of this paper. 4.2 Multiple collusion groups The multi-party approach described in this paper assumes that no mark will be assigned to more than one colluding server. However, when more than one group of servers agrees to collude, it is probable that two servers in different groups will choose the same mark. Thus, it is likely that multiple groups attempting to establish a subliminal channel on the same PIR network will experience irreparable collisions as they attempt to broadcast at the same time, thus rendering both channels unreadable. Investigating techniques for discovering the existence of multiple channels on one PIR network, and possibly establishing non-colliding channels, is also a subject for further work. 262 5 Conclusion In this paper, we have demonstrated the potential for a subliminal communication channel in distributed private information retrieval networks which is indistinguish- able from ordinary network errors. We have shown its applicability to xon-based and polynomial-interpolation-based PIR systems, and have shown how an arbitrarily large number of parties can communicate using this channel. Furthermore, we have shown a method for failure detection in the multi-party model and opened avenues for investiga- tion toward making this channel more robust against outside interference. More work must be done to make this a reliable channel for complex, ongoing communication, but for simple use-cases, the necessary tools are already in place. Acknowledgements Meredith L. Patterson would like to thank the COSIC group at K.U. Leuven, for its hospitality during her visit to Leuven, and for the discussions which led in part to this work. Len Sassaman's work was supported was supported in part by the Concerted Re- search Action (GOA) Arnbiorics 2005/11 of the Flemish Government, by the lAP Programme P6/26 BCRYPT of the Belgian State (Belgian Science Policy), and by the EU within the PRIME Project under contract IST-2002-50759l. References [IJ A. Beimel and Y. Stahl. Robust information-theoretic private information re- trieval. In S. Cimato C. Galdi G. Persiano, editor, 3rd Conf. on Security in Communication Networks, volume 2576 of Lecture Notes in Computer Science, pages 326-341. Springer-Verlag, 2002. [2J Amos Beimel and Yuval Ishai. Information-theoretic private information retrieval: A unified construction. Lecture Notes in Computer Science, 2076:89-98, 200l. [3J Amos Beimel, Yuval Ishai, Eyal Kushilevitz, and Jean-François Raymond. Break- ing the O(n1/(2k-l)) Barrier for Information-Theoretic Private Information Re- trieval. In Proceedings of the 43rd IEEE Symposium on Foundations of Computer Science (FOCS), 2002. [4J Mike Bond and George Danezis. A pact with the devil. In New Security Paradigms Workshop (NSPW 2006), page 13, Schloss Dagstuhl,DE, 2006. ACM. [5J Benny Chor, Oded Goldreich, Eyal Kushilevitz, and Madhu Sudan. Private in- formation retrieval. In IEEE Symposium on Foundations of Computer Science, pages 41-50, 1995. [6] George Danezis. Statistical disclosure attacks: Traffic confirmation in open envi- ronments. In Gritzalis, Vimercati, Samarati, and Katsikas, editors, Proceedings of Security and Privacy in the Age of Uncertainty, (SEC2003), pages 421-426, Athens, May 2003. IFIP TCll, Kluwer. [7J Yael Gertner, Shafi Goldwasser, and Tal Malkin. A random server model for private information retrieval or how to achieve information theoretic pir avoiding database replication. In RANDOM '98: Proceedings of the Second International Workshop on Randomization and Approximation Techniques in Computer Science, pages 200-217, London, UK, 1998. Springer-Verlag. 263 [8] Ian Goldberg. Improving the Robustness of Private Information Retrieval. In Proceedings of the 2007 IEEE Symposium on Security and Privacy, May 2007. http://www.cypherpunks.ca/-iang/pubs/robustpir.pdf. [9] Alexander A. Razborov and Sergey Yekhanin. An n(n1/3) Lower Bound for Bi- linear Group Based Private Information Retrieval. In Proceedings of the 47th Annual IEEE Sympos'ium on Foundations of Computer Science (FOCS '06), pages 739-748, Washington, DC, USA, 2006. IEEE Computer Society. [10] Len Sassaman, Bram Cohen, and Nick Mathewson. The Pynchon Gate: A Secure Method of Pseudonymous Mail Retrieval. In Proceedings of the Workshop on Privacy in the Electrottic Society (WPES 2005), Arlington, VA, USA, November 2005. [l l] Gustavus J. Simmons. The prisoners' problem and the subliminal channel. In David Chaum, editor, Advances in Cryptology: Proceedings of Crypto 83, pages 51-67. Plenum Press, 1984. [12] David P. Woodruff and Sergey Yekhanin. A geometric approach to information- theoretic private information retrieval. In Proceedings of the 20th Annual IEEE Conference on Computational Complexity (CCC 2005), pages 275-284, San Jose, CA, USA, June 2005. IEEE Computer Society. [13] Sergey Yekhanin. Towards 3-Query Locally Decodable Codes of Subexponential Length. In Proceedings of the 39th ACM Symposium on Theory of Computing (STOC), San Diego, CA, USA, June 2007. ACM Press. 264 Digital communication using wideband Gaussian noise carriers Zhang Peng Rajan Srinivasan University of Twente University of Twente Telecommunication Engineering Group Telecommunication Engineering Group PO 217, 7500 AE Enschede PO 217, 7500 AE Enschede The Netherlands The Netherlands p.zhang@student.utwente.nl r.srinivasan@ieee.org Abstract In recent times there has been much interest in ultra-wideband (UWB) trans- mission for digital communications. Apart from using narrow pulses, broadband noise processes (with Gaussian distributions) can also be good candidates for in- formation carriers. In this paper wereport on a theoretical study of optimum and suboptimum detector structures for digital modulation using Gaussian noise car- riers. To avoid regenerating the noise carrier at the receiver and divide channels for multiusers, a portion of the transmitted power is allocated to an unmodulated noise carrier acting as a reference signal for detection and is separated with the information carrying noise signal in frequency domain by using sinusoidal waves at different frequencies. Owing to the difficulty of the implementation of the op- timal detector, the sinusoidal signals can be replaced by square wave chip-type waveforms and a corresponding realizable suboptimal detector is achieved. 1 Introduction Nowadays lots of efforts have been spent on researching the technique of short range radio digital communications. To pave the way for developing many new promising digital wireless applications, high bit rate link via radio is required. This demands the modification of the traditional modulation scheme, which uses sinusoidal waveforms as the information bearers, to obtain large transmission capacity. Ultra Wideband (UWB) transmission breaks with the classical tuned transceiver concept. An extremely wide transmission band is utilized to spread signal to realize high speed data exchange [1]. The prevalent modulation methods for UWB transmission mostly employ ultra-short pulses with a duration of a nanosecond. However, an alternative is to use broadband pure noise signal as the carrier to modulate information bits. As the modulated noise is transmitted, interference to other radio systems occupying the same RF spectrum can be minimized and the data security may be enhanced. Being wideband, noise modulation systems can also inherit many advantages of conventional spread-spectrum systems, such as multi-path fading immunity, anti-jamming capability, etc [2]. In this paper we present a theoretical investigation on optimum and suboptimum de- tector structures for digital modulation using Gaussian noise carriers in additive white Gaussian noise (AWGN) channel. Due to the impossibility of regenerating the noise carrier at the receiver, a transmitted reference concept is used. At the transmitter, the noise carrier is produced and modulated directly by the binary information signal in the form of antipodal square wave (at the bit rate). During the transmission, the modu- lated noise signal is transmitted along with the unmodulated broadband noise carrier, which acts as a reference signal for detection. To distinguish the modulated signal from the reference, a sinusoidal wave is applied to perform double sideband suppressed 265 carrier (DSB-SC) type of modulation on the stochastic carrier. So the modulated and unmodulated signals are separated slightly in frequency domain by a frequency-offset parameter. The value of the used frequency-offset is rather small compared with the bandwidth of the noise carrier. This ensures that the allowed spectrum can be utilized efficiently. By assigning different values of the offset parameters, the incorporation of different users is supposed to be achieved. Figure 1 illustrates the transmitter for signal user in AWGN channel and the waveform of the information signal m(t) with amplitude m. In the upper branch of the transmitter, a factor c is used to amplify the reference noise signal. In the lower branch, the parameter Wo is used to indicated the frequency-offset. The channel noise is expressed by n(t). met) ~~~ xV) t m(t) r costWQl) n(l) t r(t) (a) (b) Figure 1: (a)Transmitter in AWGN; (b)lnformation waveform In order to develop the optimum detector for this frequency-offset scheme, the noise carrier x( t) is assumed to be a segment of a Gaussian stationary stochastic process with zero mean within every bit interval T and have a rational power spectrum. Therefore, it is easy to see that the transmitted signal S(t) of above signalling scheme (Figure 1 (a)) is also Gaussian distributed. Furthermore, the probabilities of the occurrence of binary one and zero are assumed to be equal for convenience. In the next section, the likelihood ratio function for Gaussian signals is first reviewed briefly. Then the optimal detectors for the modulation schemes with and without frequency-offset are derived. After pointing out the difficulty of the detector realization of the frequency- offset scheme, a chip-offset modulation scheme, which uses square waveforms in stead of sinusoids to supply an offset, and corresponding suboptimal receiver are proposed by investigating the discrete-time frequency-offset system based on sampled observations. Before the conclusions are drawn, performance evaluations verify the presented analysis and reveals the suboptimal receiver of chip-offset scheme performs almost as well as the optimum likelihood receiver. 2 Optimal detector 2.1 Likelihood ratio for Gaussian processes The general detection problem for Gaussian signals in Gaussian white noise is given by Hl : r(t) = s(t) + n(l), 0::; t S T versus (1) Ho : r(t) = n(t), 0 S t ST, where s(t) is a Gaussian random signal process and where n(t) is white Gaussian noise with spectral height of N 0/2. For simplicity, both processes are assumed to be stationary and zero mean. It is well known that the logarithm of likelihood ratio 2iT function for this hypothesis pair can be written as [3] [5] [4] InLR=-N o 0 s(t)r(t)dt-- N liT 0 0 [s(t)fdt-- .: 2 0 h(t,t)dt, (2) 266 l where set) = het, u)r(u) dt, 0::::: t < T, (3) is the linear estimate of set) in sense of minimum mean square error (MMSE) from the observed process r(t) and het, 'LL) is the unique square-integrable solution of the causal Wiener-Hopf estimator equation No i t Ks(t, u) = het, s)Ks(s, u) ds + -het, u), 0::::: u::::: t::::: T, (4) o 2 whose kernel Ks(t, u) is the autocovariance function of signal process. According to the expression of likelihood ratio function, it is clear that the continuous-time optimal receiver has an estimator-correlator structure in AWGN channeL The last term of (2) is the so-called Ito correction term [6] in which het, t) = Jo çp(t) [7] and çp(t) is the estimation error defined as çp(t) ~ E{[s(t) -s(tW}. Based on these results, the optimal detector of the described signalling model in Introduetion section can be derived. 2.2 Optimal receiver for non-offset scheme We first consider a special case of the modulation scheme described in Figure 1 (a) with no frequency-offset where Wo = O. The hypothesis pair can be written as Ha: r(t) = Sa(t) + net) = Cc + m)x(t) + net), 0::::: t :::::T versus (5) Hç : r(t) = Sb(t) + net) = (c - m)x(t) + net), 0::::: t :::::T, which shows that two hypotheses only differs from the transmitted energy contained by two transmitted signals Sa(t) and Sb(t) within the observation interval T. Therefore, by letting the amplification factor c equal to the amplitude of the information signal met), c = m, it can be shown that the scheme achieves the best performance when the mean power of the noise carrier x(t) is fixed [8]. In this case, only white noise process is present in hypothesis Hi; Compared with detection problem (1), it can be seen that the likelihood ratio test (LRT) for the non-offset scheme when c = m is LR = Jo{T{ 2r(t)S(t)A A} - [S(t)f dt ~ Ha No (T T Jo het, t) dt = 'Y , (6) where the statistic LR compares with the testing threshold 'Y related with the estimator het, t) which is specified by the integral equation (4) and where Set) is the linear estimate of signal Set) = 2mx(t) in this case. If the noise carrier x(t) has the first- order Butterworth spectrum expressed as 2k Sx(w) = ~k2' (7) W + where the factor k is proportional to the noise carrier bandwidth Bx [8], the transmitted signal Set) also has a rational spectrum and can be generated by a linear dynamical system. According to [5], the Wiener-Hopf equation can be solved by using Kalman- Bucy technique. The linear estimator can be configured by a Kalman filter with a time-varying gain. Therefor, the continuous-time optimal receiver for the non-offset scheme can be illustrated by Figure 2, which has a practical implernentation. 267 S T> I r(t) =ï Oor! I, < 0 j----------- -- -- - - - -- -------- -----1 , ,, ,, , l, 8mk I ,, , ,,, , L ~e_~l!z_a_l!'!~o/!~'!!:~ v_a_ '1'~' ~f~~~/~ __: Figure 2: Optimal receiver structure for non-offset scheme when c=m 2.3 Optimal receiver for frequency-offset scheme For the modulation scheme with Wo i= 0, the hypothesis pair for received signals is Ha : r(t) = Sa(t) + net) = [e + m cos(wot)]x(t) + net), 0:::; t :::;T versus (8) Hb : r(t) = Sb(t) + net) = [e - mcos(wot)]x(t) + net), 0:::; t :::;T. The LRT of this signalling model can be established by introducing a third hypothesis of noise only are applied and the 'chain rule' [8]. Therefore the optimal decision rule is where Sa(t) and Sb(t) are two corresponding estimates of two transmil.ted signals and ha(t, u) and hb(t, u) are two estimators specified by the corresponding causal Wiener- Hopf equations in the form of (4). Above LRT also has the estimator-correlator struc- ture. But, it is easy to see that the Kalman-Bucy technique can not be taken advantage offinding out the solutions to the Wiener-Hopf equations due to two transmitted signals are not able to be generated by linear dynamical system. Therefor, the configurations of the estimators are not available and the implementation in continuous time for such a system is not possible. However, by investigating the discrete-time offset system based on sampled observations, the functionality of the detector can be revealed. To construct the LRT in discrete time, the continuous-time observations is sampled k times within one bit duration. Since the received signal r(t) is Gaussian process, the hypothesis pair can be represented by the distribution of a Caussian random vector r which is constituted by the sampled observations {r;}f=l under two hypotheses Ha : r cv N(O, Ka + 0'21), versus (10) where 0'21 is the covariance matrix of white noise samples and where Ka and Kb are the covariance matrixes of the samples of two transmitted signals, defined by Ka ~ (e I + M)Rx(c I + Mf, Kb ~ (e I - M)Rx(e 1- Mf, (11) 268 where M ~ diag(m cos[O],mcos[woTsJ, ... ,mcos[(k - l)woTs])l:xl: with fixed sampling interval T; and R; is the covariance matrix of the samples of x(t). So the ln-LRT is [9] Ha T(r) = rTQ rZ ln IKa + 17211-In IKb + (J211~ "{*, (12) Ho where Q = (Kb + (721)-1 - (Ka + (721)-1. Since the statistic T(r) is determined by Q, the optimum decision rule (12) can be learnt via studying this matrix. To start with the simplest case, two samples are taken within one bit duration with T, = T /2. The sample positions are illustrated in Figure 3, which plots the modulating waveforrns under Ha and Hi; One period of cosine waveform is assumed to be assigned per T. The testing according to tI and t2 in above figure is derived as c+m <, I, I, T I, I, Figure 3: Two times sampling for one bit r T (1 0 ') _ 0 -1 r - 2 Tl - 2 Ha T2 ~ 0, (13) which indicates that Q is a diagonal matrix and this two-samples optimal detector computes the difference of energy contained by two samples to make a detection, which is indicated by the diagonal of Q. By taking more samples per one bit interval and examining the diagonal of Q , it can be deduced that the decision rule always reduces to calculate the difference of square value of samples according to the sampling position [8]. Therefore, it is demonstrated that within one bit interval the optimum receiver distinguishes different hypotheses by calculating the difference of the received energy contained in every cycle of the sinusoidal wave. Specifically, by using Figure 4 (a), the + - + + + (a) (b) Figure 4: (a)Calculation for energy difference; (b}Calculation for energy difference for Copt 269 optimal detector computes the summation of the received energy allocated within the time slots labeled by positive signs and subtracts the summation of the received energy allocated within the time slots labeled by minus signs to make a decision. From this point of view, the optimal value of factor c can be obtained by maximizing the areas difference noted by circle one and zero. It gives rise to Copt ~ O.707m, which will be verified by the simulation in the sequel. Figure 4 (b) shows the case when Copt is taken. 3 Suboptimal detector The analyzed working principle of optimal detector for frequency-offset scheme moti- vates us to propose a modulation scheme utilizing a square (chip type) waveform to modulate the noise carrier in lieu of the sinusoid. The benefit is that a continuous-time signal processing can be obtained. Namely, according to modified transmitter and an example of a chip waveform represented in Figure 5, it is easy to see that within every chip duration Tc the observation is identical to the one discussed in Section 2.2. So it alt) 1~ h-: "(1)1) T met) all) (a) (b) Figure 5: (a)Transmitter for chip-offset scheme in AWGN; (b)Four chips per bit is possible to apply the estimator-correlator structure specified by Figure 2 to calculate the received energy of every incoming chip. In this way, we can construct a suboptimal detector with respect to four-chip waveform, which is illustrated by Figure 6. This detector operates chip by chip and generates four random variables ZI ~ Z4 related to the received energy. In the end, the combined variable Z = (ZI + Z3) - (Z2 + Z4) is compared with the threshold to make a bit decision, Since the realizable Kalman tilter is used, the continuous-time implementation of this suboptimal detector for chip-offset scheme is achievable in practice. 00r1 Memory Figure 6: Suboptimal receiver for chip-offset system for 4-chip waveform 4 Performance evaluation In this section, the performance for discussed schemes are presented. For the non- offset scheme presented in Section 2.2, according to [5], the performance of the optimal detector can be evaluated by using Chernoff bounds which are upper bounds. Due to space constrains, reader is referred to [8] for the performance expressions. Figure 7 (a) 270 ::'.,[ 10.20 10-:(1 ~ ,.- 10·'" ,.- -- - rlfne-B3ndwidth---,OdB - - - Tlme-Bat\dI.o.1crIh=20dB 10-70 - - TJma-Bandwidth=25d'B nme-Ba~-:sQde 10·" -_- r.-ne-BandwidltFJ.5d8 - Tlme-8andwi!llh=lOdB ,.-!-==~~~-----=-~~ o 15 Eb/Na (aS) 20 25 10 15 20 25 EbINo(dB) (a) (b) Figure 7: (a)BER performance for different BxT; (b)Optimal values of BxT shows the bit error rate (BER) performance of the system under different values oftime- bandwidth products BxT when x(t) has the spectral shape in (7). It can be observed that for different value of Ebi N 0 the product BxT has corresponding optimal value. This linear relation is shown by Figure 7 (b). For the frequency-offset scheme, it can be seen that the Chernoff bounds are not available since the difficulty of decomposing the observed vector by using one set of eigenveetors [8J. The performance of the discrete- time detector has to be evaluated by running simulation. Figure 8 (a) shows that the 8.T=10dB ,.' f"'-::'":":--r-:-T--:-::'C::-=:'":--'F==~~;:::::~~ 1O-l0~-7--;-----;--7--~'.;----;';;-2 ----,'~4--:;;'.--:;;'8~ 10 15 20 25 30 EblNo (dB) EbJNo (dB) (a) (b) Figure 8: (a)BER curves for different c; (b)BER curves for chip-offset scheme detector can approach the best performance when c is taken optimal value, O.707m. This result verifies the working precipice of the optimal receiver for offset scheme and let the modification of signalling model make sense. The solid curve and dashed curve on Figure 8 (b) are the simulation results of chip-offset scheme's BER performance based on samples. It reveals that the suboptimal receiver performs almost the same as the optimal receiver. The interference introduced by another user which uses same 271 chip-offset modulation scheme at a different period of chip sequence is simulated based on samples and presented on this figure either. It implies that a relative high BER-fioor appears due to this interference. This points out the interference immunity of scheme is poor which is needed to be improved. 5 Conclusions In this paper, we describe a digital modulation scheme using Gaussian noise as the in- formation bearer. Through the investigations, the continuous-time optimal receiver for non-offset scheme is successfully derived. By evaluating the performance analytically, it is seen that optimal value of time-bandwidth product of the system exists according to different value of Ebi No. For the frequency-offset scheme, the optimal receiver in con- tinuous time and discrete time are both developed. Verified by the simulation results, the working principle of the optimal receiver for this signalling model is observed that the receiver works as an energy detector and computes the difference of the received energy according to the incoming time slots within one bit interval. This observation gives us the inspiration to avoid the difficulty of building the continuous-time optimal receiver practically. By replacing the sinusoid with chip-type waveform which is essen- tially same as the sine wave, a continuons-time suboptimal receiver for the chip-offset scheme can be implemented in practice by using realizable Kalman filter. The simula- tion result shows that it behaves almost well as the optimal likelihood ratio receiver. The simulation result also illustrates that inununity of the the interference of the offset scheme is not strong. If this immunity can be enhanced somehow in future then the the proposed scheme can be a good candidates for multiple access. In addition, radio architecture of such systems can be simple because of the inexpensive signal generation and processing. It makes the discussed schemes be more attractive. References [1] M.Ghavami, L.B.Michael, R.Kohno, Ultra Widehand Signals and Systems in Com- municatin Engineering. Chichester: John Wiley & Sons, 2004. [2] F.C.M.Lau, C.K.Tse, Chaos-Based Digital Communicaiion Systems. Berlin: Springer, 2003. [3] T.Kailath, UA General Likelihood-ratio Formula for Randorn Signals in Gaussian Noise", IEEE Trans. Inform. Theory, vol. IT-15, pp. 350-361, 1969. [4] F.C.Schweppe, "Evaluation of likelihood function for Gaussian signals", IEEE Trans. Inform. Theory, vol. IT-11, pp. 61-70, January 1965. [5] H.L.Van Trees, Detection, Estimation and Modulation Theory, Part In New York: Wile)', 1969, [6] H.V.Poor, An Iritroduction to Signal Detection and Esitmation, Second Edition. New York: Springer-Verlag, 1994. [7] H.L.Van Trees, Detection, Estimation and Modulation Theory, Part I. New York: Wiley, 1968. [8] P.Zhang Theoretical Investigations on Digital Communicaiions Using Noise Carri- ers. Master's thesis, University of Twente, February 2007. [9] S.M.Kay, Fundamentals of Statistical Signal Processing, Volume 2: Detection The- ory. New York: Prentice Hall PTR, 1998. 272 Stereoscopic and Multiple-Perspective Video Streaming System lGoran Petrovic l,2Peter H.N. de With lEindhoven University of Technology 2LogicaCMG Netherlands P.O. Box 513 PO. Box 7089 5600MB Eindhoven 5605JB Eindhoven The Netherlands The Netherlands g.petrovic@tue.nl P.H.N.de.With@tue.nl Abstract 3D-video systems allow a user to perceive depth in the viewed scene and to display the scene from arbitrary viewpoints interactively and on-demand. This paper presents a prototype implementation of a 3D-video streaming system using an lP network. The architecture of our streaming system is layered, where each information layer conveys a single coded video signal or coded scene-description data. 'vVedemonstrate the benefits of a layered architecture with two examples: (a) stereoscopie video streaming, (b) monoscopic video streaming with remote multiple-perspective rendering. Our implementation experiments confirm that prototyping ::lU-videostreaming systems is possible with today's software and hardware. Furthermore, the performance tests indicate that our system compares well to other systems presented in recent 3D-video streaming research. 1 Introduction 3D- Television (3D- TV) systems allow a user to perceive depth in the viewed scene [1]. To render the depth effect, either head-mounted glasses or an auto-stereoscopic display are used. 3D-Television system concepts can also be extended to multi-perspective viewing of a video scene. A multiple-perspective video system allows a scene to be displayed from arbitrary viewpoints (angles) interactively and on-demand. Thus, a special case of multiple-perspective viewing is stereoscopie viewing, where a scene is reconstructed from two nearby viewpoints simultaneously, and shown with the help of a specialized display device (e.g., stereoscopie display). In the sequel, we refer to stereoscopie and multiple-perspective video signals jointly as "3D-video" and make clear distinctions where appropriate. 3D- Video systems require a new system architecture and components for capturing, coding, transmission and rendering of stereoscopie and multiple-perspective video sig- nals [1]. This paper presents the design and a prototype implementation of a 3D-video streaming system employing an lP network. In other words, our paper focuses on 3D content transmission and delivery aspects, while making the following two assumptions. First, we assume that suitable multi-camera capturing systems can be constructed, as exemplified in recent work on this topic (e.g., [2] [3] [4] [5J). Second, we believe that the state-of-the-art video coding standards (MPEG-4, H.264) - although not specifically 273 tailored to the compression of 3D-video data - are at least readily applicable for fast prototyping and building operational streaming systems. Armed with these two as- sumptions, we set out to implement an efficient 3D-video streaming architecture while addressing the key practical trade-off in 3D-video streaming: the balance between the server computation load and the network bandwidth. The remainder of the paper is structured as follows. Section 2 surveys experimental 3D-video streaming systems in the recent literature. Section 3 motivates our design choice, and briefly introduces the layering concept and the view interpolation algorithm. In Section 4 we detail on the software components, their integration in the system and the end-to-end system performance. We conclude in Section 5 by highlighting the main points of the presented work. 2 Related work Our work builds upon recent research in several application areas related to networked 3D-video systems, most notably stereoscopic video streaming over the Internet, tele- immersion and multi-view client-server systems. Stereoscopie video transmission over the lP networks was first considered in the Smile! teleconferencing system [6]. Smile! is an end-to-end system for capturing, en- coding, transmission and display of stereo streams. The system features separate JPEG coding of the two streams, standard protocols for real-time transmission [7] and active shutter-glasses for display. The main focus of this work is on the signalling extension to the RTCP [7]. This extension is necessary for the association of the two streams as belonging to the same session and distinction between them within the session. More recent system studies employ state-of-the art video codecs for compression (e.g., H.264) and investigate the bitrate savings achievable when encoding the two streams in dit:' ferent qualities or spatia-temporal resolutions [15] [9]. Matusik and PflsLer [2] present an end-ta-end system for multi-view stereoscopie rendering of a dynamic scene. The camera streams are encoded using MPEG-2, and rendered on a multi-projector system with lenticular screens. The focus of their work is on the projector system design and rendering, rather than on the encoding and transmission aspects. Immersive teleconferencing systems typically employ multi-camera recording sys- tems at each participant's site and some form of 3D scene reconstruction such that arbitrary views of the scene can be rendered at remote sites. The Coliseum system [3] reconstructs a rough 3D model of the foreground object (Image-Based Visual Hull (IBVH)). Multiple-perspective views of the scene are rendered locally, encoded and transmitted as conventional 2D video streams. A standard MPEG-4 encoder is used for real-time compression of the rendered video streams and UDP serves as the trans- port protocol. A related conferencing system is that of Kauff and Schreer [10], which relies on 3D image warping to create the correct perspective views rather than building 3D scene models. The similarity of the two systems is that they both render the views locally and send only the resulting 2D-video over the network. A radically different approach to imrnersive teleconferencing is presented in the work of Towles et al. [U]. In this system, the entire 3D scene representation is transmitted to the receiver. A 274 set of "3D-cameras", each consisting of three conventional video cameras is used to record the scene. The output of such a 3D-camera consists of a 2-D video stream and a 3D scene-geometry information in the form of a depth stream. The aggregate data set is streamed over a high-bandwidth WAN network (Internet2). Follow-up work fo- cuses on the issues of compression [12] and congestion control [13] in the multi-stream transport. More recently, Yang et al. [14] propose a framework for QoS adaptation in a multi-stream immersive environment based on unequal importance of the individual streams. Lamboray et al. [4] consider similar issues in the context of streaming and rendering of point-based scene representations. In multi-view client-server systems (or equivalently, Pree-Viewpoint Television [1]), a remote scene can be displayed from arbitrary viewpoints interactively and on-demand. The setup of Kimata et al. [15] consists of a large number of closely spaced cameras so that arbitrary perspective views can be created by view interpolation in the my-space. When the receiver requests a viewpoint change, the server transmits only the views required to create the desired virtual viewpoint. A similar system, supporting unicast and multicast of multiple viewpoints and a number of multi-view special effects, is presented by Lau et al. [5]. Without view interpolation, the set of available viewpoints in their system is limited to the original cameras. Kurutepe et al. [16] present a system for efficient delivery of multi-view video over lP networks based on peer-to-peer overlay multicast. In our earlier work [17], we propose a framework for layered transmission of multi-stream data and also suggest the application of network overlay architectures for higher server and network efficiency. Additionally, the proposed framework in- troduces virtual viewpoint creation (view interpolation) as a new functionality to be implemented in a network overlay, e.g., in a group of collaborating receivers. 3 System design and architecture The architecture of our streaming system is layered, where each information layer con- veys a single coded video signal or coded scene-description data. The generic layered framework is presented in our earlier work [17], and its benefits are twofold. Firstly, the information layering is a well-known design guideline to deal with heterogeneity of receivers in the system. This way, the receivers can select the number of layers to receive based on their preferences or capabilities. As a result, representation seal- ability is achieved, where the presentation quality depends on the selected number of layers and can be extended dynamically and on-demand. Secondly, having the 3D content organized in separate layers can lead to a higher bandwidth efficiency in practical streaming scenarios. For example, broadcasting ail the available viewpoints in multiple-perspective video is inefficient, considering that some of them will be re- quested frequently, and others not at all. A better design is to schedule viewpoint transmissions interactively, as a response to the actual user interest. Our streaming system ensures a synchronized transmission of the encoded layers over an lP network to the receiver. The receiver application includes the components for synchronous layer decoding, stereoscopie signal generation and display. In the sequel, we describe how the two key aspects of 3D-video streaming, namely the stereoscopie and the multiple-perspective streaming, can be implemented within this framework. 275 11 SENDER Left view encoder RTPIRTCP 1 RTPIRTCP RECErvER MPEG-4 r MPEG-4 Packetizer De-Packetizer Decoder (SP/ASP) 11 Right view encoder MPEG-4 (SP/ASP) (RFC 3016) RTP/RTCP Packetizer (RFC 3016) ~ Internet ~ Unicast/ Multicast 1 (RFC3016) RTPIRTCP De-Packetizer (RFC 3016) (SP/ASP) MPEG-4 Decoder (SP/ASP) ~ R V ~e~ en enng Auto- .........stereoscopie 3D display r RTSP/SDP Session Control r Figure 1: Example of a dual-layer stereoscopie vi@eo streaming system. For the experimental implementation of stereoscopie video streaming, we currently instantiate two layers. Depending on the stereoscopie image-generation method avail- able at the receiver end, either a depth stream and a texture stream (either left or right), or both the left and the right camera streams [17] are transmitted. In our system, the left and the right camera views are considered separate layers, and are independently encoded, stored and transmitted. The number of layers transmitted can be extended to include multiple viewpoints and such a configuration is referred to as a multi-view streaming system. A dual-layer system configuration including the left and the right camera streams, is shown in Figure 1. With respect to multiple-perspective video streaming, we contribute as follows. View inierpolaiioti is required to display a scene from viewpoints between the orig- inal cameras and enable a continuous perspective change. Our multiple-perspective streaming system includes a view interpolation algorithm [18] which enables a con- tinuous horizontal transition between pairs of user-selected viewpoints. The following layers are included for each pair of adjacent captunng cameras: (1) the left camera stream; (2) the right camera stream; (3) per-pixel disparity maps; (4) occlusion in- formation (explicitly detected pixels visible in one of the streams only). Our current experimental system implementation is an interactive client-server application in which the server creates the interpolated views, encodes and streams them to the client in real time. To achieve real-time performance, the interpolation module partly relies on hardware acceleration, i.e., it uses the OpenGL API [19] to take advantage of the hardware rendering capabilities of today's PC graphics cards. Figure 2 depicts the architecture of our setup and its main components. 4 Implementation and Results In this section we present our implementation of an experimental system for 3D-video streaming over lP networks. The system includes software modules to demonstrate both key aspects of 3D video streaming introduced earlier in this paper: (1) stereo- scopic video streaming, (2) monoscopic streaming with remote multiple-perspective rendering. The current version of the system implements these two 3D-video modal- 276 SENDER RECEIVER View lnterpolation / GPV Rendering lnteractive Viewpoint Change Figure 2: Multiple-perspective video streaming. ities as separate applications. The combination of both modalities is ongoing and planned for the next implementation stage. In the sequel, we elaborate on the imple- mentation details of both modalities and the main software components. 4.1 Stereoscopic streaming At the sender, the pre-recorded left and right camera views are independently encoded using an open-source MPEG-4 SP encoder [20), and stored in separate files. When a streaming session is started, the compressed bitstreams are read frame by frame, packetized in RTP packets using the open-source Live555 library [21], and sent to the receiver. According to IETF recommendations for carriage of MPEG-4 elementary streams (ESs) over lP networks [7) [22), the two streams are transmitted as separate RTP sessions, i.e., using different RTP /RTCP ports. The sender's packet scheduler implements a round-robin discipline - it intersperses transmissions of the left and the right video stream on a frame basis. The receiver system includes components for RTP depacketization, decoding and display. The RTP depacketizers assemble the received RTP packets into compressed MPEG-4 frames and pass them on to the corresponding left and right stream decoders. As both decoders run in the same thread, a special application-level coordination is implemented to ensure fail" treatment of both streams. The display module receives pairs of decoded frames and combines them to create a stereoscopie image, in a format specific to the auto-stereoscopic display we use in the system [23). We achieve real-time end-to-end system performance with both half-Sfï'TV (Stan- dard Definition broadcast TV, 720x288) and VGA-type resolution sequences (e.g., 800x600), while running the receiver application on a commodity PC. The depth effect while viewing a 3D scene is compelling with both synthetic and real-world sequences (captured in our lab). The synchronization between the two streams is maintained over all the system components, providing a working end-to-end prototype for stereoscopie video streaming with glitch-free display. 277 Camera I Virtual Camera Camera 2 (Rectified) (Interpolated frame) (Rectified) Figure 3: Virtual view interpolation. 4.2 Multiple-perspective streaming The implemented multiple-perspective video streaming software allows a remote scene to be displayed from multiple viewpoints (angles) interactively and on-demand. The viewpoint control to support client interactivity is possible through standard- PC input devices (a mouse or a keyboard). In our system, the input device events generated while moving the mouse pointer inside of the video display window, trig- ger the execution of the interpolation algorithm. As a result, virtual-viewpoint frames are rendered, corresponding to the current position of the pointer in display window coordinates. In the current implementation, we only handle locally-generated input device events, while an extension to the events coming in from the network (a client requesting the viewpoint change to be rendered by the server) is under development. The rendered virtual-viewpoint frames are read back from the GPU frame buffer, and coler-space conversion is performed for every frame (RGB to YUV). The resulting raw video frames are compressed and transmitted to the receiver in real-time using the same components as in Section 4.1. Figure 3 illustrates two original camera frames and an interpolated virtual frame between them. As only a monoscopic video stream (containing both the virtual and the original video frames) is transmitted, the receiver application can be any media-player client with streaming support (e.g., [24]). Because our remote rendering design is geared towards enabling multiple-perspective video on resource-constrained clients, we have run tests with low-resolution multi-view sequences (e.g., CIF)). The sender (a ilGHz Desktop-PC with a state-of-the-art graphics card 1 renders the multiple-perspective video frames in real-time and streams them to the receiver (a 1.5GHz notebook-PC) which uses a VLC client [24J for decoding and display. The selection of the viewing perspective is done with a mouse pointer at the sender; the effects of which are displayed at the receiver after a short delay, thereby demonstrating the interactive properties of our system. +Commercially available under Nvidia GeForee 7600GS. 278 5 Conclusion 3D- Video streaming systems require a new system design and new components for the recording, compression, transmission and rendering of 3D-video signals. We have contributed in two key aspects. First, we have designed and implemented a stereoscopie video streaming system, relying on open standards and open-source software where possible. Second, we have extended the state-of-the-art in 3D-video streaming research by incorporating an interactive view rendering and interpolation algorithm into our multiple-perspective streaming system. Finally, we have validated the layered system architecture based on our earlier architecture studies [17], in order to enable support for heterogeneous clients. Our current operational prototype demonstrates that highly heterogeneous clients can coexist in the system, ranging from auto-stereoscopic 3D displays to resource-constrained mobile devices. References [IJ A. Smolic and P. Kauff, "Interactive 3D video representation and coding technologies," Proceedings of the IEEE, voL 93, no. 1, pp. 98~110, Jan. 2005. [2J W. Matusik and H.-P. Pfister, "3D TV: A scalable system for real-time acquisition, transmission, and autostereoscopie display of dynamic scenes," in Proc. Camp. Graphics (SIGGRAPW04), Aug. 2004, pp. 814~824. [3J H. Baker, N. Bhatti, D. Tanguay, I. Sobel, D. Gelb, M. Goss, W. Culbertson, and T. Malzbender, "Understanding performance in Coliseum, an immersive videoconfer- encing system," ACM Transactions on Multimedia Compuiinq, Communications, and Applications, vol. 1, no. 2, pp, 190~210, May 2005. [4J E, Lamboray, S, Wiirmlin, and M, Gross, "Data streaming in telepresence environ- ments," IEEE Transactsons on Visualization and Computer Graphics, voL 11, no. 6, pp, 637~648, Nov, 2005, [5J J.G. Lou, H. Cai, and J.Li, "A real-time interactive multi-view video system," in Proceedings of the 13th annual A CM international conference on Multimedia, Nov. 2005, pp. 161~170, [6J M. Johanson, "Stereoscopie video transmission over the Internet," in IEEE W01'kshop on Internet Applications, July 2001, [7J H. Schulzrinne, S, Casner, IL Frederick, and V. Jacobson, "RTP: A transport protocol for real-time applications," RFC 3550, IETF, July 2003, [8J A, Aksay, S. Pehlivan, E. Kurutepe, C, Bilen, T. Ozcelebi, G, Bozdagi Akar, M, Reha Civanlar, and A, Murat Tekalp, "End-to-end stereoscopie video streaming with content- adaptive rate and format control," Signal Processinq: Image Communication, voL 22, no. 2, pp. 157~168, Feb. 2007. [9J H, Kalva, L, Christodoulou, L, M. Mayron, O. Marques, and Borko Furht, "Design and evaluation of a 3D video system based on H,264 view coding," in International Workshop on Netsnork and Operating Systems Support [or Digital Audio and Video (NOSSDAV), May 2006. 279 [IOJ P. Kauff and O. Schreer, "An immersive 3D video-conferencing system using shared virtual team user environments," in Proceedings of the 4th international conference on Collabomtive virtual environments, Sept. 2002, pp. 105-112. [UJ R. Towles, S.-U. Kum, T. Sparks, S. Sinha, S. Larsen, and N. Beddes, "Transport and rendering challenges for multi-stream 3D tele-immersion data," in NSF Lake Tahoe Wor'kshop on Collaborative Virtual Reality and Visualization, Oct. 2003. [12J S.U Kum and K. Mayer-Patel, "Real-time multidepth stream compression," ACM Transactions on Multimedia Computing, Communications, and Applications, vol. 1, no. 2, pp. 128-150, May 2005 [13J D. E. Ott and K. Mayer-Patel, "Coordinated multi-streaming for 3D tele-immersion," in Proceedings of the 12th annual ACM 'international conference on Multimedia, Oct. 2004, pp. 596-603. [14J Z. Yang, B. Yu, K. Nahrstedt, and R. Bajcsy, "A multi-stream adaptation framework for bandwidth management in 3D tele-immersion," in 16th International Workshop on Network and Operating Systems Support for Digital Audio and Video (NOSSDAV), May 2006. [15J R. Kimata, M. Kitahara, K. Kamikura, and Y. Yashima, "System design of free view- point video communication," in Proceedings of the Fourth International Conference on Computer and Information Technology (CIT04), 2004. [16J E. Kurutepe, M. R. Civanlar, and A. M. Tekalp, "Interactive transport of multi-view videos for 3DTV applications," Journalof Zhejiang Unioersiis): Science A, vol. 7, no. 5, pp. 830--836,2006. [17J G. Petrovic and P.R.N. de With, "Near-future streaming framework for 3D-TV appli- cations," in International Conference on Multimedia and Expo (ICME), July 2006, pp. 1881-1884. [18J D. Farin, Y. Morvan, and P.R.N. de With, "View interpolation along a chain of weakly calibrated cameras," in IEEE Workshop on Content Generation and Coding for 3D- Television, June 2006. [19J "OpenGL," http://wyw. opengl. org/. [20J "FFmpeg Multimedia System," http://ffmpeg .mplayerhq. hul. [21J "Live555 Streaming Media," http://lWw.live555.com/. [22J Y. Kikuchi, T. Nomura, S. Fukunaga, Y. Matsui, and R. Kimata, "_H.'l'}'payload format for MPEG-4 audio/visual streams," RFC 3016, IETF, Nov. 2000. [23J "SeeReal Technologies," http://wT.lT.l.seereal.com/. [24J "VLC media player," http://wwy .videolan. org/vlc/. 280 Combined Multiple Transmit Antennas and Multilevel Modulation Techniques Umar H. Rizvi, Gerard J. M. Janssen S. Ben Slimane IRCTR/CWPC, WMC Group, Radio Communication Systems, Faculty of EEMCS, Dept. of Cornmunication Systems, Delft University of Technology The Royal Institute of Technology (KTH), Delft, The Netherlands. Stockholm, Sweden. {u.h.rizvi,g.janssen}@ewi.tudelft.nl slimane@radio.kth.se Abstract The use of a unique bit-to-syrnbol mapping for each diversity branch (often referred to as constellation rearrangement) is !mown to provide good perfor- mance for higher level linear modulation techniques when used in conjunction with orthogonal transmit diversity (OTD) and automatic repeat request (ARQ) schemes. This paper investigates the performance of constellation rearrangement schemewhen used in conjunction with multiple transmit antennas and space time block codes. A modified space-time block coding structure is presented that em- ploys a different constellation mapping on each diversity branch. It is seen that, the use of different constellation mappings in the space time block coded systems provide a better performance as compared to the OTD systems while maintaining the same spectral efficiency. 1 Intrad uct ion The capacity of band-limited, fading wireless communication channels can be drasti- cally increased by employing multiple antennas (or space diversity) at the transmitter and the receiver [1]. The added dimension space to the existing dimension time opened the possibility of using efficient two-dimensional channel codes known as space-time codes. A simple space-time block code (STBC) for 2 transmit antennas was first in- troduced by Alamouti [2] which was later generalized by Tarokh et al. [3] for a larger number of transmit antennas. Another form of such codes known as spaes-time trel- lis codes (STTCs) constructed by jointly designing channel coding, modulation and transmit diversity was proposed by Tarkoh et. al. [4]. STTCs exhibit a superior performance as compared to STBC, but at the expense of increased complexity. Re- cently Slimane [5, 6] showed that a conventional orthogonal transmit diversity system could be improved by using different constellation mappings on each of the orthogonal transmit diversity branches. Such a scheme is also referred to as permutation coding [7]. This paper considers the use of different constellation mappings with multiple trans- mit antennas instead of orthogonal transmit diversity [5]. The main idea is to use optimized constellations for each space-time coded symbol by taking advantage of the conventional spaoe-time block coding orthogonality [2, 3]. This scheme provides some coding gain in addition to the diversity and Euclidean distance gain of the orthogonal transmit diversity with constellation rearrangement scheme. It still however imposes a bandwidth inefficiency which is 1/2 for two transmit antennas. It is also seen that, contrary to the OTD scheme where the bandwidth efficiency is inversely proportional 281 to the number of orthogonal transmit branches, the bandwidth efficiency in the STBC based constellation rearrangement (STBC-CR) scheme is dependent on the structure of STBC and not on the number of transmit branches (or antennas). . Section 2 provides an overview of conventional and constellation rearrangement based OTD systems. The principle of conventional spaoe-time block codes (STBCs) along with their extension to incorporate constellation rearrangement is explained in Section 3. In Section 4, we present a numerical upper bound that can be used for the performance evaluation of the STBC-CR scheme. The performance curves are presented in Section 5, followed by conclusions in Section 6. 2 Orthogonal Transmit Diversity and Constellation Rearrangement The input/output relationship of a two branch OTD scheme [5, 6] is given by (1) where Tl, T2 represent the received signals, s;,." s~ are the transmitted symbols chosen from the set of M possible constellation points (i.e. for 4PAM, M = 4), hl, h2 rep- resent independent and identically distributed (i.i.d) Rayleigh random variables with E {hD = E{ hD = 1 and nI, n2 represent the i.i.d complex Gaussian random variables with zero mean and variance No/2 per dimension. The increase in signal spread of the constellation points can be explained by taking 4PAM as an example. Figure 1 gives the signal constellation for both the conventional and the rearranged case. In case of conventional OTD both constellation sets s;,." s~ use the same bit to symbol mapping as illustrated in Figure 1. It has been shown in [5, 6, 8] that an appropriate choice of bit to symbol mapping on each diversity branch results in an increased Euclidean distance and thus provides better performance (as is evident from Figure 1). The band- width efficiency of an OTD scheme is inversely proportional to the number of diversity branches, therefore 4PAM and 2 branch diversity system has an effective transmission rate of 1 bit/s/Hz. Intuitively, it is interesting to note here that the symbol that is transmitted at a higher energy on branch one, has a lower associated energy level in branch two. Thus the mapping rearrangement has the effect of equalizing the aver- age transmitted energy per symbol. It is important to note here that the rearranged constellations are optimized in terms of symbol error rate performance rather than bit error rate performance. Assuming that the receiver has access to perfect channel information, the maximum likelihood (ML) detector chooses for the symbol Srn, that minimizes the metric (2) The constellation mapping on each branch can be chosen by inspection (for small constellation sets) as was done in Figure 1 or by performing a computer search (for larger constellations). The objective is to choose the mapping on each branch such that the squared Euclidean distance (SED) between any two signal constellation points d m -- 1 sm 2 12 IS I - Sm . maxlmlZe .. d. 282 (a) (b) , s'4 10 • S- 3 11· , s'1 s, S3 I 11. 11 JO • 00 Ol 00 2 51 1 s, I s, s'1 00 Ol 2S~ s! S~ z 10 II 10 • • Ol S2 S. o: , • 00 s'1 • S, Figure 1: Conventional (a) and rearranged (b) signal constellation points for 2 branch OTD using 4PAM constellations 3 Space-Time Codes and Constellation Rearrange- ment The spaoe-time block coding (STBC) scheme [2] employing two transmit antennas is given by (3) where in the above equation the rows represent the time slots and columns the antennas i.e. at time slot tI symbols Sm and Sk are transmitted from antenna 1 and 2 respectively and at time slot t2 symbols Sm and Sk are transmitted. The received symbols on each time slot tI and t2 are denoted by Tl and T2 respectively. The channel fading coefficients hl) h2 are taken to be Rayleigh distributed and assumed to be stay constant for two successive time slots. In the case of 2 transmit antennas 2 symbols are transmitted in t2 time slots therefore the Alamouti STBC scheme has rate 1. The ML detector chooses for the symbols Sm) sk, that minimize the metric (4) The rate 3/4 STBC scheme [4] using 4 transmit antennas is given as si. si: 1 r 1~ Sk vI2 vI2 _~ [ r, 'm s'm SI 1 [;i1+[~~1 s' -Sm-Sm+Sk-S~ ~ -Bk-SS;; • +Sm vI2 -Sm• (5) ~~ = _L vI2S· vI2 ~ T4 !..L _ _L Sk+Sk+Sm-S;;" -S1Tt -STn +Sk -S~ J2 vI2 J2 vI2 283 The ML detector chooses for the symbols S,r" sk, si, that minimize the metric (6) Constellation Mapper (Modulator' ) lnformation Source ST Block Encoder Block lmerlcaver Constellation Mapper (Modulator NI) l:l Irtformation Sink Block Deinterleever Figure 2: Combined constellation rerrangement and STBC system The constellation rearrangement (CR) scheme explained in Section XX holds good only when different transmit branches are separated in time awl/ui Ïi equency. The use of CR scheme in conjunction with multiple transmit antennas employing STBC is outlined next. Figure 2 gives the block diagram of a STBC-CR system. The source information bits are simultaneously passed to each of the constellation mapper(s) that use different mapping for each branch. The modulated symbols are then passed to the conventional spaoe-time block encoder. The input/output relationship for the STBC scheme combined with constellation rearrangement is given by (7) The ML detector chooses for the symbol STh, that minimizes the metric (8) As in the case of 2 branch OTD scheme, the diversity coupled STBC scheme also has an effective transmission rate that is one half as compared to the conventional STBC scheme. The 2 branch OTD scheme and the STBC with constellation rearrangement however, have the same spectral efficiency. 284 The received signal for STBC scheme combined with CR employing 4 transmit antennas is given as (9) The estimated symbol Sm is chosen based on the following ML deci.sion rule 2 C (rh) = IT1 - (h1sl + h s'i + .1 2 3~ + h4 ~) 1 + 2 T2 - ( - h 1S-:ry* + h 2S, h + h 3--;= m m s~ ..)2 - h4- s~ ) 1 y'2 + I T3 - s~ + 1 s~ + h (-sm (I v2 11 M 12 M s;;; + s'i - S~) + h (-5;;' - s~ + sl- s;;;)) + 3 1 - M 4 M 1 2 I v2 v2 v2 T 4 - ( h s3_* _!!!:_ ly'2 h - s3_* 2y'2 + h3 (s~ _!!!:_ + S2," + y'2 SI, - SI.*) m + h4 m (-s~ - SI.*m + s2. -_ s~*)) (10) y'2 m . m m m m 1 2 I In the STBC-CR scheme a different symbol mapping is used based on the STBC block encoding structure unlike the OTD-CR scheme where a different mapping is used for each diversity branch. The use of STBC-CR scheme is therefore dependent on the STBC structure. In case of OTD scheme with 4 orthogonal transmit branches 4 different sets of constellation mappings will be required as opposed to 3 in case of STBC-CR scheme of 4 transmit antennas. 4 Performance Analysis This section presents a numerical upper bound for the symbol error probability of the STBC-CR scheme. For an AWGN channel, the pairwise error probability is given by [5J P(m~m) ~Q ( D2(sm' Sm)) 21Vo )IJ ,wereh Q()x = ~1 v 2n 1+ x 00 exp -t /2d t, 2 (11) and Nt 2 D2 Z:: I'S:n - S:n. 1 , (Sm, Sm) = N1 '"' (12) t i=1 is the squared Euclidean distance between the transmitted sequence s;" and the de- tected sequence s:n and N; denotes the number of transmit branches. Averaging over all possible candidate symbols, an upper bound on the symbol error probability is given by [9, p. 172J (13) 285 where M is the total number of symbols in the modulation set. For the STBC-CR of (7k' over a Rayleigh Fading channel, with uncorrelated branches, an upper bound on the symbol error probability can be derived in a similar manner. For given fading channel. observations hl, tiz, an upper bound on the symbol error probability of combinedconstellation rearrangement with STBC can be written as (14) where . (15) . In case of a 2 branch OTD-CR system [5, 6], the distance metric D'1,(Sffi' sm) is given as (16) Comparing expressions (15) for the STBC-CR scheme and (16) for the OTD-CR scheme, it can be seen that the gain in the STBC-CR scheme is due to an increase in the Euclidean distance. We can see that the diversity gain and the Euclidean distance g1J.inare separated and they add in case of STBC-CR scheme whereas this is not the case for OTD-CR scheme where there is a mixture between the two. 5 Simulation Results We illustrate the performance of the modified STBC-CR using 16QAM and 64QAM modulation schemes and different numbers of transmit antennas. The wireless multi- path channel is assumed to be slowly Rayleigh fading and uncorrelated between differ- ent branches. . " .. , ..........J" >O~·O.L ---:,-----c----O--~-,":-O ----,,O--~"-:':~~__c: lO~O_L ~'----~---O---:----;'::-0 ~12c--~---"',.-,~.__,j20 ~lNa [dB] EbINoidBI Figure 3: Average symbol error prob- Figure 4: Average symbol error prob- ability of 16QAM over Rayleigh fading ability of 64QAM over Rayleigh fading channels (Nt = 2) channel (Nt = 2) 286 Simulation results for the 16QAM system employing two transmit antennas and one receive antenna are depicted in Figure 3. The obtained results show an improvement of 1.2 dB as compared to orthogonal transmit diversity with constellation rearrangement at a SEP of 10-3. Figure 5: Average symbol error probability of 16QAM over Rayleigh fading channels iN, = 4) Figure 4 gives the simulation results for the average symbol error probability of a employing 64QAM modulation STBC-CR scheme employing 2 transmit antennas. At a SEP of 10-2, the STBC-CR is seen to outperform the OTD-CR by 1.8 dB. Figure 5 gives the performance curves for STBC-CR with 4 transmit antennas and 16QAM modulation scheme. In this case the new scheme actually performs 1 dB worse with reference to the OTD-CR. This can be explained by the fact that, the constellation optimization strategy provides better product distance as we increase the number of branches and/or modulation level [5,6]. If we now consider the structure of the Tarokh rate 3/4 spaoe-time code, it transmits 3 symbols on 4 time slots which therefore requires 3 branch optimized constellations as opposed to the 4 branch optimized constellations, used in the OTDC-CR scheme. Therefore a better signal spread is obtained in the OTD-CR scheme as compared to the STBC-CR scheme at the same spectral efficiency when 4 transmit branches are used. On a more intuitive note the increased combined diversity, coding and Euclidean distance gain of the modified scheme cannot outperform the diversity and Euclidean distance gain of the OTD-CR scheme. To the best of our knowledge there exists no orthogonal rate 1 STBC scheme, that utilizes 4 transmit antennas and complex constellations. 6 Conclusions This paper presented the use of spaes-time block coding scheme coupled with constella- tion rearrangement for multi-input multi-output wireless communication systems. The use of different constellation maps on each branch in STBC-CR scheme is dependent on the underlying STBC structure. The obtained simulation results show that space time block codes with constellation rearrangement provide a better performance as compared to orthogonal transmit diversity based constellation rearrangement scheme when used with 2 transmit antennas. In case of 4 transmit antennas the OTD-CR scheme is seen to outperform the STBC-CR scheme as it employs 4 different constella- tion mappings as opposed to 3 for the STBC-CR scheme. The results presented in this 287 paper only considered space-time block codes. Combined constellation rearrangement and space-time trellis codes (STTC) and performance evaluation under more realistic correlated fading channels is a natural extension to this work. Acknowledgment This work was supported by rop Gen Com under SiGi Spot project IGC.0503. References [1] G. Foschini and M. Gans, "On the limits of wireless communication in a fading environment when using multiple antennas," Wireless Personal Communications, vol. 6, pp. 311-335, March 1998. [2] S. M. Alamouti, "A simple transmit diversity technique for wireless communica- tion," IEEE Journal o] Select. Areas Comm., vol. 16, pp. 1451-1458, Oct. 1998. [3] V. Tarokh, H. Jafarkhani, and A. Calderbank, "Space-time block codes from or- thogonal designs," IEEE Trans. Inform. Theory, vol. 45, pp. 1456-1467, July 1999. [4] V. Tarokh, N. Seshadri and A. R. Calderbank, "Space-time codes for high data rate wireless communication: performance criterion and code construction," IEEE Trans. Information Theory, vol. 44, no. 2, March 1998. [5] S. B. Slimane, "Combined transmit diversity and multi-level modulation tech- niques," Proc. IEEE SETIT, March 2005. [6] S. B. Slimane, "Combined transmit diversity and multi-level modulation tech- niques," Wireless Personal Communications, Kluuier Academic Publishers, October 2006. [7] D. Tse and P. Viswanath, Fundamentals of Wireless Communication, Cambridge University Press, 2005. [8] H. Samra, Z. Ding and P. M. Hahn, "Optimal symbol mapping diversity for multiple packet transmissions," Proc. IEEE ICASSP, vol. 4, pp. 181-184, April2003. [9] J. Zander, S. B. Slimane and L. Ahlin, Principles of Wireless Communications, Studentlitteratur, 3rd ed., Lund, Sweden, 2004. 288 Performance of a Source-Independent Model on Unequal Error Proteetion for JPEG2000 Images Eric Salemi*tt, Claude Desset"!l, Antoine Dejonghe"!' <:>' Jan Cornelis'"! , Peter Schelkenstl! Email: eric.salemiesvub.ac.be, Phone: +32-1-6288939 *IMEC, Kapeldreef 75, B-3001 Leuven, Belgium tYUB, Dept. ETRO, Pleinlaan 2, B-I050 Brussel, Belgium :tIBBT, B-9050 Gent, Belgium Abstract Focusing on the transmission of JPEG2000 images, the purpose of the present paper is to study the impact of the distortion model on a OEP algorithm and address the specific issues of having a potentially sub-optimal source model based on a training image set. We demonstrate that a source independent model has no visible impact on the performance for various JPEG2000 transmission scenarios, while enabling a low-complexity practical implementation of the optimization algorithm. 1. INTRODUCTION Recent years have seen significant research activity in the area of joint source-channel optimization techniques [1]. Among those techniques, UEP proves to be a pragmatic approach that allows both separate design and joint optimization of the source and channel coding component [2], [3], [4]. The general optimization problem consists in minimizing a distortion metric under a constrained transmission budget [5], [6]. UEP exploits the embedded nature of the transmitted scalable multimedia content. It conceptually improves the performance of the system by matching the error sensitivities of the different substreams with an appropriate error-protection scheme. However, an optimal allocation of the proteetion levels to the different part of the progressive content requires a complex distortion model which is difficult to obtain in practice. Without specific assumptions he problem can hardly be decomposed into independent subproblems. Additionally, the optimization problem suffers from an exponential complexity as the granularity of the scalable codestream increases. To tackle the complexity issue, we rely on a low-complexity UEP methodology that exploits substream-Ievel design-time distortion models to reach a near optimal run-time decision at minimal complexity [7], [8]. The allocation of the various proteetion levels performed by the optimization algorithm is therefore relying on a joint distortion model, which ties the submodels describing the characteristics of the source, the source coder, the channel coder and the channel. This paper focuses on source model issues. The main issue is that the run-time op- timization is relying on a design-time distortion model, which is not specifically tuned to the distortion characteristics of the transmitted image. Indeed, the computation of the source model is rather complex to obtain and cannot be achieved at run-time in a realistic scenario. Therefore it is necessary to build an independent source model, which is tuned 289 to a certain class of images. The net advantage is that there is then a complete separation between the design-time optimization, where we build and fine-tune the model, and the run-time optimization, where we use the model to optimize the proteetion allocation. An independent model only represents a statistical expectation of the image charateristics over the training set, and is a priori sub-optimal with respect to the transmitted image and it is not clear, whether the sub-optimality of the independent model has an impact on the end-ta-end performance of the system, i.e the proteetion allocation decision. The remainder of the present paper is organized as follow. Section IIdefines the problem and briefly describes the UEP methodology. Section III presents the source independent model, the different transmission scenarios and a model comparison. Section IV assesses the performance of our UEP solution. Section V concludes the paper. 11. UEP METHODOLOGY Scalable source coding refers to the generation of a bitstream that contains multiple substreams individually representing quality refinement steps of the original image. A scalable codec outputs a high quality representation of the image by selecting all embedded substreams during the decoding phase. The key feature is that we can produce lower quality versions of the image by simply discarding specific portions of the bitstream. The decoded image quality can therefore be adapted by selecting a certain amount of susbtreams. The transmission of scalable image over a wireless channel inevitably undergoes channel impairments. Channel coding techniques are mostly used to protect the bitstream against errors. A key concept is that each substream has a different importance to the reconstructed image depending on its sensitivity to errors. Therefore the projection level is ajusted to the importance of the substream by adapting the amount of proteetion data. A global bit budget is available for each image transmission and should be optimally shared between the different proteetion levels. The goal of VEP is to maximize the received image quality by selecting an appropriate proteetion level matched to each substream importance while meeting the bit budget constraint. In the present paper, we focus on a low-complexity methodology [7], which is briefly summarized here for the sake of clarity. First, the different transmission component (source coder, channel coder and channel) are modeled separately and combined into a joint distortion model. The joint distortion model is then used during the UEP optimization, where the proteetion levels are optimally assigned to the substreams. Various assumptions are made in order to simplify this model. An essential assumption considers that the global distortion is additive, meaning that it can be computed by adding individual susbstreams contributions. This assumption is central to the optimization algorithm, as it leads to a huge simplification of the optimization by removing dependencies between the different parts of the bitstream. Previous work [8] have shown that this assumption holds true in the case of JPEG2000 image transmission. Here we give a brief reminder on how to obtain the source model. A scalable image contains S substreams. Defining b as the bit error rate, the distortion is obtained U3 follow: • We compute the S values D~ut, which represents the MSE distortion resulting af- ter cutting the substream s out of the codestream while leaving other substreams untouched . • We compute the S values D~it which estimates the average MSE distortion per erroneous bit in the substream s. This is obtained by inserting individual bit errors at N different locations in the substream while leaving the rest of the codestream uncorrupted. Each D~t value is computed by averaging the N obtained distortions. 290 The values D~it give an estimate of the distortion when the expected number of errors in the substream s is equal to one. If the average number of errors is smaller than 1 (i.e. when the BER is smaller than 1/ L; where L; is the length of the susbtream s), joint error effects are negligible so that we can linearly estimate the distortion Ds(b) as a function of L; and the expected BER b as Ds(b) = D~tLsb. If the average number of errors is larger than I, we estimate the real distortion of the substream by computing a third component DZer(b), which represents the MSE distortion when the substream s is corrupted with an average BER b. This gives the non-linear profiles of the s susbtreams for BER comprised between 1/ L, and 0.5. Eventually we are able to estimate the distortion inside a substream when cut or corrupted with any BER between 0 and 0.5 according to Equation (1), (2) and (3). Ds D~"U.t (1) s Ds o; t.», e : 1/ t., bit (2) Ds D~er (b), b > 1/ t., (3) The UEP optimization algorithm is based on the sorting of these distortion values. More precisely, for any bit of the codestream, we define its impact as the expected reduction in image distortion observed by adding this bit to the codestream. By sorting these specific improvement values in decreasing order, the problem can optimally be solved by taking as many of these ordered codestream parts as can fit into the available bit budget [7]. Ill. INDEPENDENT SOURCE MODELlNG This Section exposes the steps necessary to obtain an independent source model, defines different scenarios and the associated independent source models and concludes with a comparison of the different models. The main advantage of the methodology is the complete separation of the design-time modeling phase and the run-time optimization phase. In the ideal case the source model is perfectly matching the distortion characteristic of the transmitted image. This can only be obtained by computing the model at run-time, which is unpractical given the high complexity of the modeling process. A real-life transmission system will therefore compute a model based on a training set of images, which we qualify as being a source-independent model. In the ideal case, the source independent model is statistically close to the type of image that are being transmitted. This is especially true if the system is transmitting a specific class of image like space imagery in a satellite communication channel. However most digital image transmission systems are not tuned to any specific class of image and must be able to optimize random content. For example a mobile phone can picture any kind of scene and must be able to transmit it optimally over the network. It is therefore important to eval uate the impact of the independent source model on the end-to-end transmission. A. Average modeling If we suppose that we have I training images, the computation of the distortion character- istics for the average model is done as follows: we first compute the IS components Di./, Df~ and Dfe;(b), as described in Section Il, which correspond to the I individual source models for each training image. We obtain the S independent source model components tc-. DZit and D~eT(b) by averaging the individual models over the training set. 291 Fig. I. Toulouse image substream codeblock error number size resilience SI 56 64x64 no S2 56 8x8 yes S3 6 8x8 yes TABLE I SCENARIO MAPPlNG B. Transmission scenarios All scenarios consider .the transrrussion of the Toulouse satellite image -shown on Figure 1- encoded with the JPEG20001• The transmission scenario is based on a source coder configuration and the choice of a source model. A total of 9 transmission scenarios are used by combining 3 source coder configurations (S 1, S2 and S3) and 3 source models (Toulouse, Sipi and Mise). Concerning the source coder configurations, a low scalability scheme with 6 substreams and a high scalability scheme with 56 susbtreams have been picked up. Those schemes are completed with different codeblock sizes and with the RESET and RESTART error resilience markers, to give the 3 configurations SI, S2 and S3 laid out in Table 1. A low granularity means larger susbtreams and the overall distortion component values accross several images may be more scattered. Therefore a low scalability scenario is a challenging environment for the optimization algorithm as it potentially degrades the independent model accuracy, and hardens the task of the optimizer to find an optimal proteetion allocation. On the other hand the error resilience tools help decreasing the impact of transmission errors at the expense of a small portion of the bit budget. The use of small codeblock is an embedded eror resilience tool, which in combination with error resilience markers like RESET or RESTART greatly reduces the propagation of errors. in the codestream. On overall the use of error resilience tools should improve the average quality of the transmission for realistic scenarios where errors have a high probability to appear. 3 source models are computed. The optimal source model is directly computed from the Toulouse image itself. The Toulouse model is therefore considered as our reference model in the rest of this document. We consider 2 additional source models based on disjoint image training sets. The first training set contains 12 images that were taken from the USC- IJPEG2000 is a wavelet-based image compression standard, that uses the EBCar (Embedded Block Coding with Optimized Truncation) algorithm [9] 292 Fig. 2. Sipi model is based on a series of picture taken from the USC-SIPl image database, Aerials Vol. 2, package 2.1. From from left to right and top to bottom: San Diego (Mirarnar NAS), San Diego, San Fransisco (Golden Gate), Oakloand, San Diego (North Island NAS). Woodland Hills (Califomia), Foster City (California), San Diego, San Diego (Point Lama), San Diego (Shelter Island), Earth from space and Sand Diego (Downtown) image. Fig. 3. Mise model is based on a series of random picture. From from left to right and top to bottom: Frog, France, Mountain, Library, Lena, Mandrill, Peppers, Washsat, Barbara, Boat and GoldhilI image. SIPI free image database", which are shown on Figure 2. It represents an average source model for satellite image class. The second training set does not represents any particular image class, and is composed of 11 miscellaneous images (Barbara, Boat, France, Frog, GoldhilI, Lena, Library, Mandrill, Mountain, Peppers and Washsat). The purpose of the latter model is to stress the performance of the transmission system when the source model is not specifically tuned to any particular image. We refer to these models further in this document, as Toulouse, Sipi and Mise models. C. Model comparison Figure 4 shows the characteristics of the various source models computed according to Section III-B. From top to bottom, each pair of subfigures represents respectively the distortion characteristics of the source coder configurations SI, S2 and S3. Leftmost subfigures shows Dcut values while rightmost subfigures shows Dint values. On each subfigure the comparison is done as follows: each mark represents the MSE distortion measure in a specific substream, where the X-axis coordinate holds the distortion value for the Toulouse model, while the Y coordinate shows the averaged value from the Sipi model (circle) or the Mise model (dot). The plain diagonal represents a perfect correlation with the Toulouse model. 2 http://si pi. usc.eduJdatabase/ 293 (a) SI I Dcut () SlID bit 30 30 20 20 ÇQ 10 JO 3 Ul 0 0 '" ::0 -10 -JO -20 -20 -30 -30 -20 0 20 -20 0 20 () S21 D cut () S2 ID bit 30 30 20 20 ÇQ JO 10 3 Ul 0 '" ::0 -10 -20 -30 -20 0 20 -20 0 20 () S3 ID cut ( )S31Dbit 30 30 20 20 ÇQ 10 10 3 Ul 0 0 '" ::0 -JO -10 -20 -20 -30 -30 -7.0 0 20 -20 0 20 S ( ) S ( ) Fig.4. Toulouse, Sipi and Mise source model distortion profi le for source coder conti guration SI, S2 and S3. Subfigures (a), (b), (c) and (d) reveals that the Sipi and Mise models are very close to the Toulouse reference model. We can notice that Sipi model values are evenly scattered around the diagonal while all Mise model values are above, denoting a slightly higher sensitivity. The low scalability scenario 53 (6 substream) is further represented by subfiglltéS (e) and (f) were we still see a good match for both average models. Though the Sipi model exhibits a very good correlation with the Toulouse Model, the Mise model slightly drifts above with higher distortion values. Globally the Sipi model matches almost perfectly the Toulouse model. This is a logical conclusion since the Sipi model is based on a training set of images that represent specif- ically the class of images to which Toulouse belongs. Eventually, the Mise model, while showing a good match, tends to deviate as the granularity decreases. 294 70 -- 3 3 - - - 3 60 4 4 4 -_._- 5 50 5 - - - 5 ~ ~ Z 40 Vl p., 30 20 Fig.5. System performance for the source coder confi guration SI, S2 and S3, and the source model Toulouse, Sipi and Mise IV UEP SIMULATION Although a direct comparison of the different source models gives some information about their accuracy, we need to test their efficiency within a practical transmission sys- tem. This Section investigates the impact of the independent modeling on the end-to-end transmission. By cross-comparing the scenarios, we are able to show that independent modeIing has almost no impact on the end-ta-end quality. The adaptation of the Toulouse codestream before it is sent on the channel is done according to the UEP methodology described in Section Il. The global bit budget is equal to 6 bit per pixel. We use the source models Toulouse, Sipi or Mise as input to the optimization algorithm. BPSK symbols are used and the channel is modeled by an additive white Gaussian channel (AWGN) process. Five protections level are available, a rate 1/2 convolutional encoder with generator polynomials (5,7) and its 6/7, 5/6, 4/5 and 2/3 punctured versions [10]. We additionally consider that a substream can be transmitted without any proteetion or discarded. The quality of the transmission is measured with the peak signal-to-noise ratio (PSNR) between the original version of Toulouse and its received version. For each channel signal-to-noise ratio Es/N , where E8 is the uncoded symbol energy and N is the noise power spectral density, we produce 100 realizations in order to obtain an average measure of the transmission quality. Figure 5 shows the PSNR performances over a range of Es/ N . There are 9 curves, which corresponds to the 9 transmission scenarios defined in Section lII-B. We respectively used black, red and blue calor scheme for SI, S2 and S3 configurations. Toulouse model curves are drawn in plain style while Sipi and Mise uses circled and dashed lines. Globally, for Es/ N below -3dB, the optimizer does not transmit anything, so that the X-axis is truncated accordingly. For Es/N above IldB, the PSNR goes to infinity because the channel is very good and that all realizations were successfully transmitted without any errors. The different curve groups SI, S2 or S3 reveal that the use of the Sipi source model (circled) gives similar performance when compared to the Toulouse reference model (plain). 295 The use of the Mise model (dashed) is globally worse than the Sipi model but the decrease in performance is relatively small (less than O.2dB on average). This is explained by the fact that the Mise model is an all-purpose model based on a random image training set. However this extreme case weakly affects the optimization process and retains most of the transmission quality. Therefore the VEP methodology is an efficient and robust solution that can keep an optimal end-to-end perfornance of the system using independent source models. Concerning the average performance of the transmission system across the different configuration SI, S2 and S3, we can say that S2 outperfoms S I and S3. This is explained by the fact that the codestream has been encoded with a small codeblock size (8x8) which increases the robustness of the codestream against errors and embeds some error- resilience tools (RESET and RESTART). Comparing with SI configuration (black) we see that it plays a major role in the average performance of the system. Indeed the difference between S I and S2 is a larger codeblock size (64x64) and the absence of error-resilience features while keeping a fine codestream granularity. SI outperfoms S2 by an average performance gain between of 3dB over the complete range of Es/N . Moreover we can see that configuration S3, which exhibits less granularity but uses some error resilience features outperfoms S I except for Es/ N between 3dB and 4dB where they have similar performances. Therefore the embedded resilience of the JPEG2000 codestream that we use for these simulations plays a crucial role in the average performance of the system. V. CONCLUSION This paper shows that the use of independent source modeling has a very limited impact on the end-to-end performance of the presented VEP methodology. Source independent modeling allows a complete separation between the design-time source modeling and the run-time optimization of the scalable codestream and specifically validates the robustness of our low-complexity VEP methodology. This emphasizes the ability of our VEP method- ology to fit into realistic systems, where complexity, genericity and optimal performances have the highest priority. Moreover, it opens the way to building practical implementations of VEP techniques that ally algorithm simplicity and optimal end-to-end performance. R F.FF.R F.NrF.S [1] Gene Cheung and Avideh Zakhor. "Bit allocation for joint source/channel coding of scalable video," IEEE Transactions on Image Processing, vol. 9, no. 3, pp. 340-356, Mar. 2000. [2] Ambarish Natu and David Taubman, "Unequal proteetion of JPEG2000 code-streams in wireless channels," Global Communication Conference GLOBECOM, vol. I, pp. 534-538, Nov. 2002. [3] K. Joohee, R. M. Mersereau. and Y. Altunbasak, "Error-resilient image and video transmission over the internet using unequal error protection," [EEE Transactions on Image Processing, vol. 12, no. 2, pp. 121-131, Feb. 2003. 14] Vladimir Stankovié, Raouf Hamzaoui, Youssef Charfi , and Zixiang Xiong, "Real-time unequal error protection algorithms for progressive image transmission," vol. 21, no. 10, pp. 1526-1535, Dec. 2003. [5] Jizheng Xu, Feng Wu, and Shipeng Li, "Bit allocation for progressive ft ne granularity scalable video coding with temporal-SNR scalabilities," vol. 2, pp. 876-879, May 2003- [6] Michael J. Ruf and James W. Modestino, "Operational rate-distortion performance for joint source and channel coding of Images,'; Il!.l!.E Transactions on Image Processing, vol. 8, no. 3, pp. 305-320, Mar. 1999. [7] Eric Salemi, Claude Desset, Antoine Dejonghe, Jan Cornelis, and Peter Schelkens, "A low-complexity methodology for unequal error proteetion of scalable images," Global Communication Conference GLOBECOM, Nov. 2006. [8] Eric Salerni, Claude Desset, Jan Cornelis, and Peter Sche1kens, "Additive distortion tnodeling for unequal error proteetion of scalable multimedia content," IEEE International Conference on Acoustic. Speech and Signal Processing, vol. 2, pp. 269-272, Mar. 2005. [9] David Taubman, "High performance scalable image compression with EBCOT," IEEE Transactions on Image Processing, vol. 9, no. 7, pp. 1158-1170, July 2000. [JO] Joachim Hagenauer, "Rate-compatible punctured convolutional codes (RCPC codes) and their applications," IEEE Transactions on Computers, vol. 36, no. 4, pp. 389-400, Apr. 1988. 296 Optimal Decision Fusion for Verification of Face Sequences 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 Netherlands q.tao@ewi.utwente.nl r.n.j.veldhuis@ewi.utwente.nl Abstract Face sequence contains more information of the user than a single face image. In this paper, optimal decision fusion is proposed to verify the face sequences, based on the original verification system for a single face image. We show by ex- periments that optimal decision fusion is a simple but effectiveapproach, and that the performance of the original verification system can be significantly boosted by introducing face sequences and applying optimal decision fusion on them. 1 Introduction Nowadays biometrie verification is widely used in various security applications such as secure access to a transaction or a network, and identity check at an airport. The larger context of our work is biometrie authentication as a link between a user and a private PN (personal network), via an intermediate MPD (mobile personal device) [3]. The PN is shown in Fig. 1. Figure 1: The PN in which face verification is a secure link between the user and the network. 297 To achieve high security for the PN, it is specially demanded, among other require- ments, that the authentication should be done not only at logon time, but also ongoing, in order to prevent the scenario that a MPD is taken away by the impostors after logged in by the user. For this reason, face sequences are taken as the biometrie input. Face sequences, as multiple inputs to a classifier, enable us to fusion the multiple outputs of the original classifier into a more robust and reliable decision. Fusion of the classifiers can be at feature level, matching score level, and decision level. In the literature fusion at matching score level is more frequently discussed [IJ [2J. In this paper, however, we wiil show that fusion at decision level by the AND rule and OR rule can be applied in a optimal way such that it always gives an improvement in terms of error rates over the classifiers that are fused. Here optimal is taken in Neyman-Pearson sense [4J: at a given false-reject rate a, the decision-fused classifier has a false-reject rate f3 that is minimal and never larger than the false-reject rates of the classifiers that are fused at the same a. We will give both theoretical analysis and experiment results on the optimal decision fusion by AND and OR rule. This paper is organized as follows. In Section 1 the theory of optimal decision fusion is introduced, and in Section 2 the optimal decision fusion for face sequence is discussed as a special case. In Section 3 the results of optimal decision fusion on face sequences are presented. Section 4 gives the conclusions. 2 Optimal Decision Fusion Theory Suppose we have multiple binary decisions and assume that the decisions are statisti- cally independent. (Note that this independency may arise from independent classifiers, or independent samples.) We will discuss the optimal decision fusion by AND rule, and the optimal decision fusion fusion by OR rule can be similarly done. Each decision Di is characterized by the two error probabilities: the first is the probability of a false accept, the false-accept rate (FAR), ai, and the second is the probability of a false reject, the false-reject rate (FRR), f3i' To analyze the AND rule it is more convenient to work with the detection probability or detection rate Pd,; = 1-(h. It is assumed that Pd,i is a known function of ai, pd,i(ai), known as the ROe (Receiver Operating Characteristic). In practice, the ROC has to be derived empirically. After application of the AND rule to decisions Di, i = I, ..., N, we have, under the important assumption that all decisions are statistically independent, that N N Cl: = IT ai, Pd(a) = ITpd,i(ai) (1) ;=1 'i=l with Cl: the false-accept rate and Pdthe detection rate of the fused decision, respectively. Optimal AND rule fusion can be formally defined by finding N 'ÎJd(a) = arg m~'{ ITpd,i(ai) (2) o:=f1i=-l ai i=l It is easily proved that the optimized detection rate Pd(a) is never smaller than any of the Pd,i 's at the same FAR a i = 1, ...,N (3) 298 Because, by definition N Pd(a) = arg m~ IIpd,;(a;) a=ni=l cr'l i=l ~ [rpd,j(aj)I (4) .1-1 rr~~l Cti=Q As it holds for any classifier that, Pd,i(l) = 1, (3) readily follows by setting aj = a and a;=l,i=Jj. By solving the optimization problem in (2), the operatien points for every compo- nent classifiers are obtained, hence the fused classifier which yields the optimal per- formance in the Neyman-Pearson sense [4]. Because in real situations, the ROes, i.e. Pd(a), are characterized by a set of discrete operation points rather than analytically, the optimization in (2) must be solved in a numerical way. In [5] the problem is refor- mulated in a logarithmic domain as an unconstrained Lagrange optimization problem. 3 Optimal Decision Fusion on Face Sequences In this section we will discuss the optimal decision fusion on face sequences as a special case as presented in Section 1. In this case, we use the original classifier, but applied to subsequent face images, and then fuse the multiple outcome decisions. For simplicity, we will analyze fusion on two decisions. Fusion on three or more decisions can be done in a similar manner. Because the classifiers are identical, we have that Pd,l = Pd,2 = Pd and the optimiza- tion problem can be formulated to a Pfusion(X; a) = Pd(X) . Pd( -) (5) X Pfusion(a) = arg max {Pfusion(X; a)} (6) a::; x::; I where x is a changing variable in the search process, and Pfusion(a) is the detection rate at a under optimal AND fusion. The optimum can be found by looking for the stationary point where the derivative of (5) w.r.t x is zero. As this derivative can be written (7) Obviously when x = fo, i.e. al = a2 = fo, the derivative reaches zero. However, for some ROes and for some a, this stationary point corresponds to a minimum, then the optimum is found at the border, either al = 1 or a2 = 1, which means only one of the two ROes is taken. The former case happens more often in practice. Fig. 2 and Fig. 3 shows the results of optimal decision fusion by AND and OR rule. Significant improvement on the ROe can be observed. It can be further seen that AND rule is more suitable for the type of ROe in Fig. 3, while OR rule is more suitable for the type of ROe in Fig. 2. In Fig. 3 (b), we show the case when only one of the two ROes is taken. 299 ANDfusian OR fusion 0.2.. ,-------_---_----, 0.2 0.15 blue dashed ltne • original RaC 0.15 blue dashed nne . original Roe grean solid lee . fusion RaC green solid line - fusion ROe rad dots • candidates in search of optimal fusion ~ red dots . candidates in äearch of Dptimal fusion ~ 0.1 . .; 0.1 0: :l' 0.05 :;~':'; •• :"!~:!"'~~.;:.. ':§~1:}'~';~~:~~~~: :::::::!:::.::: _ _ . : ::0: X~:;;.::,;.;.:..; :";-":.l:~:~ ;,;,;;;; ;..'";,;.:;..,;=t_; ;;,: :ru: ~~~:~ =!; :~;:;..:. 00 005 0.1 0.15 0.2 FAR (a.) (a) Optimal AND fusion (b) OptimalOR fusion Figure 2: Optimal decision fusion on ROe, example 1 AND fusion OR fusion 02 0.2==;:---------------, :c ,: :~ 0.15 " blue dashed llne • original ROe 0.15. ~~Iue das~ed.!ine - o~ginal Roe green solid line - fusion ROe : ~reen solid Ime.- fu910~ Roe . . ~ a : '0 red dots - candidatas in search of optimal fusion ~ ::'ed dcts . candidates In saart" of cpnmatfusion ~-a ;_TJ ~ i 0.1 0.1 : ~ U.tB " .. ~~~~\ Ij ii 'Û 00 0.15 0.2 0.1 0.15 0.2 FM (a.) (a) Optimal AND fusion (b) OptimalOR fusion Figure 3: Optimal decision fusion on ROe, example 2 300 (a) Session 1 (b) Session 2 Figure 4: Different sessions of the user data 4 Experiments and Results Face sequences are used as the biometrics in our face verification system. It is important that the classifier, which was trained during the enrollment session, can generalize to the face sequences collected independently under different situations. Therefore we collected multiple sessions of the user data under different illuminations for the testing purpose. In each session, the face images are collected with a frequency of 5 frames per second. Examples of the cross session data are shown by Fig. 4. The testing procedure is as follows. Firstly, the classifier is trained on the one session. Secondly, the classifier is tested on the second session, with a ROe obtained, which represents the component classifier in the decision fusion. The optimal decision fusion by AND rule and OR rule is then made on the ROe. Finally, the optimal decision fusion scheme is tested on multiple inputs from the second session, with each component classifier working on its optimal operation points. As assumed in (1), the two input face frames are statistically independent. This assumption can be satisfied when the time interval between the two subsequent frames are relatively long, for example 30 seconds. Fig. 5 shows the results of optimal decision fusion on the two frames with a time interval of 30 seconds. In this figure, we show both the scattering of the matching scores, and the three ROes: original, AND-fused, OR-fused. In Fig. 5 (a), the circles 0 represent the matching scores of the impostor data, and the cross + represent the matching scores of the user testing data. In Fig. 5 (b), the solid line represents the original ROe, the dash-dot line represents the ROe after optimal AND fusion, and the dashed line represents the ROe after optimal OR fusion. When the time interval between the two subsequent frames becomes shorter, for example 1 second, the assumption in (1) is less true. But as long as some independency exists which spread the matching score in the two dimensional matching score space, optimal decision fusion by AND and OR rule could still be advantageous, as is shown in Fig. 6. In both Fig. 5 and Fig. 6, improvement by optimal decision fusion, especially by OR fusion, can be clearly seen. The improvements can be explained by the scatter plot in (a), where the original classifier only works in a one dimensional space, and the fused classifiers work in a two dimensional space, which provides more space for separation. Even when the two dimensions are not fully independent, as Fig. 6 shows, the optimal decision fusion still improves the performance of the original classifier, reducing the 301 o.2,-~---~-r;====:====il 0.18 -'-"Roe """,,.oe, ANDIu!lion I 0.16 I - _ ...Roe OR rusion 0.14 0.11 ~ 0.1 ".00 0-06 \ 0.04 \ 0.02 0'" , \,-~~.~,_,_, . ·~:-----7,..A(J):;--~.300=--.":200::----:.'OO=---':--~'OO o 0.02 0.04 aIE a.OB 0.1 0.12 0.14 0.16 0.18 0.2 mall:hingSr::DreoflhefinuSimpki FM (a) Scatter plot of matching scores (b) Comparison of the ROCs Figure 5: Experiment results with samples chosen at a long time interval of 30 seconds O.U 0.12 ~ 0.1. o " c O"~O;.02;:;O;.1lA::;O.OO~O~.oe;:;O~.'=;O.';2~O;.";;O.:;16:;O.':;:' ~O ..' millchingscoreaflhRflrstsamp!e FAA (a) Scatter plot of the matching scores (b) Comparison of the ROCs Figure 6: Experiment results with samples chosen at a short time interval of 1 second EER to half of the original value. We can expect that optimal decision fusion on three or more images will yield even better results. 5 Conclusions In this paper, optimal decision fusion is proposed to solve the verification of the face sequence, using optimal decision fusion by AND or OR rule. Both the optimal decision fusion theory and experiment results on a real face verification system are given. The improvements brought by optimal decision fusion is significant. This implies that without changing the original classifier, we can very easily boost the performance of a face verification system by introducing face sequences and applying optimal decision fusion on the face sequences. References [1] J. Kittler, M. Hatef, R. Duin, and J. Matas. On combining classifiers. IEEE Transactions on Pattern Analysis and Machine Intelligence, 20(3):226-239, 1998. 302 [2] J. Kittler, Y Li, J. Matas, and M. Sanchez. Combining evidence in multimodal personal identity recognition systems. in Proc. 1st Int. Conf. on A VBPA, Crans- Montana, Switzerland, 1997. [3] Q. Tao and R. Veldhuis. Biometrie authentication for mobile personal device. In First International Workshop on Personalized Networks, San Jose, USA, 2006. [4] H.L. van Trees. Detectioin, Estimation, and Modulation Theory. John Wiley and Sons, New York, 1969. [5] W. Zhang, Y. Chang, and T. Chen. Optimal thresholding for key generation based on biometrics. In International Conference on Image Processing, 2004. 303 An Energy-Efficient Multichannel MAC for Cognitive Radio Networks Michaël Timmers+? Antoine Dejonghe! Sofie Pollin 1,3 Liesbet Van der Perre! Francky Catthoor 1,2 IMEC1 KVLeuven2 VC, Berkeley'' Wireless Research ES AT EECS Kapeldreef 75 Kasteelpark Arenberg 10 264M Cory Hall 3001 Leuven 3001 Leuven Berkeley, CA 94720 {timmers,dejonghe,pollins,vdperre,catthoor}@imec.be Abstract In a network of Cognitive Radios (CR) one essential issue is Medium Access Control (MAC), which addresses how to efficiently utilize the radio spectrum and resolve potential contention and collisions. Due to the spectrum agility requirements for CRs, we believe distributed multichannel MAC protocols to be key enablers for CR mesh networks. These protocols should also be able to change their parameters to the networking environment, enabling cognitive behavior. Alongside this evolution, energy is rapidly becoming one of the major bottlenecks for wirelessoperations and has to be considered as a key design criterion. In this context we extend in the present paper the reference energy-efficientmultichannel MAC, PSM-MMAC, by significantly improving its adaptation mechanisms. This is shown to result in up to 40% energy gain and up to 55% decrease in delay. 1 Introd uction Spectrum is becoming a major bottleneck, due to the accelerated deployment of broad- band communication systems and the current fixed frequency allocation scheme. How- ever, experiments indicate as much as 85% of spectrum being unused at a given time at a given place [3]. There is thus obviously a need for more effective spectrum al- location. Within the IEEE 802.22 standardization, for instance, researchers are now looking at the scenario where users can actively seek out unused spectrum in the TV band and make use of these white holes. The origin of this standard can be brought back to the concept of Cognitive Radio (CR) [4]. Reguiatory bodies have defined a CR as a radio that can autonomously change its parameters based on interaction with the environment in which it operates. In the present paper this definition will be considered. Besides this spectrum limitation, one of the major challenges today clearly resides in energy consumption, which is becoming a key concern. There exists a continuously growing gap between the available energy, resulting from battery technology evolution, and the exponentially increasing energy requirements of emerging radio systems and applications [1]. This is especially true for software-defined radio implementations, which are often considered as key enablers of CR systems and are expected to become the only viable option in the coming years, as a result of the combination between the increasing need for functional flexibility in communication systems and the exploding cost of system-on-chip design [1]. Due to the spectrum agility requirements of a CR (which will inherently have to cope with several spectrum channels in a broad sense), we believe that multichannel MAC protocols are key enablers for CR networks. Such multichannel MAC protocols 305 also have clear advantages over single channel MAC protocols in a CR network: (i) re- duced interference among users, (ii) increased network throughput because of multiple simultaneous packets on different channels and (iii) reduction of the number of sec- ondary users affected by the return of the primary user [5]. citation for COPYRIGHT This needs to be combined with distributed control and adaptation schemes, in order to enable cognitive behavior in mesh networking environments. To cope with these requirements, we propose an improvement over the reference energy-efficient multichannel MAC protocol, PSM-MMAC [2]. The target of the pro- posed contribution is to make the protocol more adaptive to changes in network con- figuration and to improve its adaptation mechanisms. This will be shown to result in significant improvement in energy-efficiency and delay performance. The remainder of this paper is structured as follows. We first begin with an overview of the literature in section 2. In section 3 we discuss the PSM-MMAC protocol in greater detail. In section 4 we introduce our solution to further improve this protocol. Performance of the proposed solution is evaluated in 5. Section 6 concludes the paper. 2 Related Work Many multichannel MACs have been proposed in the literature, which can be organized according to their principle of operation. We can distinguish single rendez-vous schemes (SRV) and multiple rendez-vous schemes (MRV). In SRV schemes exchange of control information occurs on only one channel at any time, while the MRV schemes use several channels in parallel for this purpose. Within the SRV schemes we can further distinguish three different classes: one using a common control channel (CCC) [6], another using common hopping [7] and a last one using a split-phase approach [8J. As mentioned earlier, multichannel MAC protocols are very well suited for CR networks. A multichannel MAC protocol for multi-hop CR networks was for instance proposed in [5]. Only a few energy-efficient multichannel MAC protocols have been proposed. PSM- MMAC [2] is a protocol that employs the split-phase technique, mentioned above. In PSM-MMAC the authors add a short carrier sensing period at the beginning of a beacon interval to detect whether there are packets pending for exchange. If there aren't, all nodes directly enter a doze state until the next beacon interval. An efficient scheme is developed to estimate the number of active links. With this estimate the ATIM window size and the medium-access parameter can be appropriately adjusted. This protocol has been shown to outperform a multichannel implementation of the IEEE 802.11 PSM, PSM+, with up to a factor 5 in energy efficiency [2]. In the next section this protocol will be presented in detail, as we will further extend it to improve its cognition quality. 3 The PSM-MMAC protocol In the present section we will explain PSM-MMAC [2Jin more details. Fig. 1 shows the timing structure of this protocol. The global time is divided into fixed length beacon intervals in which we can distinguish three phases following the synchronization beacon. During Phase I the number of active links in the network is estimated. In Phase II traffic is indicated and channels are negotiated on the control channel. Phase III is used for data exchange. Phase I consists of M identical minislots. Each sending terminal randomly selects one minislot to transmit a busy signal. With the observed distribution of busy slots the number of competing terminals can be estimated. If during Phase I no busy signal is sent, the terminals immediately enter a doze state and remain there during Phase II 306 Beacon Interval ATIM Window Phase J Phase IJ _:~ustable Phase III Figure 1: The PSM-MMAC protocol [2] and Phase Ill. Otherwise, all nodes will go on to Phase Il exchanging ATIM packets for traffic indication and channel negotiation. For packet exchange in Phase Il, p-persistent based CSMA is used. Since the num- ber of intended transmitters is estimated after Phase I, each active node can optimize the medium-access probability p, as well as the duration of Phase Il , T2,k, in beacon interval k. Here we will explain this procedure in details. The time duration T2,k is adjusted according to: (1) where T.fa:x is a system parameter to limit T2,k, j3 is an adjusting parameter, nk is the number of active links estimated in beacon interval k and Ts(n,p;) is the minimal duration to complete an ATIM exchange given the number of nodes is ti in p-persistent CSMA. In [2] an expression for T; (n, p) is given. The optimal p for p-persistent CSMA can then be found as: p; = argmin{Ts(n, p)}, with pE (0,1] (2) After Phase II the nodes that have exchanged ATIMs, stay awake until they have completed data exchange. Other nodes (which neither transmitted nor received ATIM) enter a doze state until the next beacon interval. Because the number of intended transmitters is known through traffic indication in Phase Il, sending nodes can optimize their medium-access probability for Phase III using the same procedure as in Phase Il. Radios are allowed to enter a doze state if they complete data exchange in Phase III (i.e. if the transmit queue is empty). A channel selection based on the expected traffic load is also suggested. For more details we refer to [2]. 4 Improving the Adaptation Mechanisms We now extend the PSM-MMAC protocol, detailed in section 3, targeting an improve- ment of adaptation quality in the network. This will be shown to result in better energy-efficiency and delay performance (see section 5). Our improvements over PSM- MMAC [2] are twofold: • A new estimation strategy. This consists of a new formula for the probability to observe m busy slots seen out of NI minislots given ti users and a new rule for calculating the estimate . • New run-time adaptation policies. This consists of the addition of an ARMA filter, which is further optimized building on ideas from adaptive simulated an- nealing. In the next subsections the proposed improvements will be described in more details. 307 4.1 Estimation Formula In this subsection we will provide procedures to improve the estimation nk of the number of intended transmitters in beacon interval k. In comparison with [2] we correct the formnla for the probability that m busy slots are seen out of M minislots given n terminals are transmitting a busy signal in a randomly selected minislot during Phase I (see Fig. I): (M)m!S(n, m) Pr ( M , n , m ) = -'-"!1n"--_-'- A1n __ (3) The different factors in this formula are: • The total number of possible ways n contenders can choose repetitively out of M slots. This is a permutation of n out of A1 with repetition and accounts for all possible scenarios. [Mn] • The number of times you can make a pattern of m slots in A1 slots. This is a combination of m out of M without repetition, which can be expressed as [(~)] • The number of ways you can combine n contenders over m slots. Here we are dealing with a surjection of n to m. The number of surjections of an n set to a m set can be found to equal miSen, m), where Sen, m) is a Stirling number of the second kind [9]. We now explain how this formula can be used in calculating the estimate iu; As- suming n does not change fast from one beacon interval to another, which is the case for low mobile or static scenarios, we can use the observed distribution of busy minis- lots to estimate n. Say Pk(i) is the probability mass that the number of busy rninislots observed in and before beacon interval k equals i. Let us denote with Pk the vector containing Pk(m) and with Pr(M, n) the vector containing Pr(A1, ti, m) for m = 1 to M (the Probability Mass Functions). The number of intended advertising nodes in beacon interval k can now be estimated by choosing the number of nodes that generates the analytical distribution most closely resembling the observed distribution. This can be done by taking the maximum of the normalized cross-correlations between the observed distribution and the analytical distributions [10]: p~Pr(A1, n) (4) A nk = argmax{ IlpkIIIIPr(M, n) 11 } 4.2 Run-time adaptation algorithms We now provide run-time estimation algorithms of n, so that each station, based on minislot monitoring in Phase I (see Fig. I), can adaptively evaluate the time-varying number of competing stations in the network. We propose here an auto-regressive moving average (ARMA) approach. Defining the update parameter a, the update of Pk is done as follows: 1 q-l Pk('i) = (1- a)Pk-l(i) + a[- L ek-j(i)] q j=O (5) where ek_j(i) with j = 0, ... , q - 1 are the last q samples. ek_j(i) is equal to 1 if i busy slots are seen in beacon interval k - j and 0 otherwise. An ARMA filter is preferred rather than a more traditional AR filter (i.e. q = 1), since the moving average taken on the last q samples better smooths the fast time scale fluctuations due 308 to the 0/1 gross quantization of each input sample Ck_j. The hst q samples will also be reused to calculate the confidence in the estimation. We further optirnize this approach building on ideas from simulated annealing. The algorithm will adapt the parameter Cl! used in (5) to the confidence in our estimation. If this confidence is high, a is gradually decreased, which means the algorithm will explore less. If we see that the confidence in our estimate is low, Cl! is reset and exploration is re-initiated. Our confidence is calculated by doing a separate estimate over the last q samples, denoted as '1Îhistory,based on the observed distribution Pk.history: 1 q-J Pk,history(i) = - Ck-j(i) L (6) q j=O 'k { pJ,historyPr(M,n) } nhistory = argmax 11 . IIIIPr (M , n ) 11 (7) Pk,hlStOry We propose a confidence r composed out of three factors: the confidence in the his- tory estimate (rhistory), the confidence in the true estimate (r ARMA)and the normalized cross-correlation between the distributions of '1Îk and '1Îhistorv(reToss), The confidence in a single estimate is proposed to be the normalized cross-correlation between the ob- served distribution and the analytical distribution (which has already been calculated in (4) and (7)). r = rhistory·rARMA·reross (8) rhistory = xcorr{Pr(M, '1Îhistoryk), Pr(M, n)} (9) rARMA = xcorr{Pr(M, '1Îk), Pr(M, n)} (10) rhistory = xcorr{Pr( M, '1Îk), Pr(M, '1Î~story)} (ll) With the confidence "ï we can adapt the update factor of our ARMA filter. The parameter Cl! is restricted to the set [0.005, 0.25] with a quantization of 0.005. During operation Cl! is decreased with a rate that is a function of the degree of confidence. If the confidence drops below 0.5, a is reset to 0.25 and exploration is re-initiated. In Fig. 2 we present a time-varying number of active links in the network (the blue curves). In the upper left corner the estimation of PSM-MMAC [2] is shown. In the upper right corner we see the output of the estimation procedure in subsection 4.1. We also see the estimates of the ARMA filter with different update parameters. In the last row the estimation from the ARMA filter with simulated annealing and the estimation of the history is shown. It can be seen that the improvements from subsection 4.1 already provide bet- ter estimates than the procedure from PSM-MMAC, although they cannot cope with changes in the network configuration. The ARMA filter developed in 4.2 can adapt to the changes, but is not accurate in stable conditions with high Cl! or has a slow con- vergence with low o. If simulated annealing is added, the proposed solution exhibits good behavior in stable conditions as well as a fast convergence when the network configuration is changed. These results show that the algorithm is stable and is able to improve performance of the regular ARM A filter. 5 Performance Evaluation We compare the proposed solutions with the PSM-MMAC protocol [2]. This protocol has been proved to outperform an enhancement of IEEE 802.11 PSM (PSM + ), which 309 Estimation PSM-MMAC [7] Estimation Average 2O~' • .s«: '1 ~-----------: l CIO,.._~._~~ = <;;10 ~-".- °0 500 1000 tSOO 2000 l 00 500 1000 ------- 1500 2000 Iterations Estimation ARMA (a = 0.005) Estimation ARMA (a = 0.25) <::hf °0 500 1000 1500 2000 "I CIO\ --~r'---r, :L__ ~~~5~OO~~1~OOO~~1~500~~20'OO ~ ..-.,.,' I ,,[Estimation ARMA (with si man) Estimation History ClO C' °0 500 'LL1000 1500 2000 iterations iterations Figure 2: The addition of simulated annealing on top of an ARMA filter improves convergence and accuracy Table 1: The Power Table used in the simulation study Transmit Power 1.8W Receive Power 1.3W Idle Power 1W Doze Power 0.05W uses the same timing structure and channel access mechanism as the PSM of IEEE 802,11, but can balance traffic over multiple channels. We have implemented PSM- MMAC and PSM+ in ns-2 [I1J and validated the results obtained in [2J. For the sake of comparison, we use the same parameters for analysis and simulations as in [2J. The transmission rate for both control messages and data packets is set to 2MBps. The data packet length is fixed at 512 bytes. The beacon interval is lOOms. 8 orthogonal channels are considered in this simulation. Tf8X is 20ms, Tc.s is 40f.Ls, but we reduced NI from 25 to 5, which means less overhead and less energy expense. (3 is set to 1.2. The power table is the same as in [2], where it was derived from a Cisco AIR-PCM 350 802.11b radio (see Table 1). We will consider two new alterations of the PSM-MMAC protocol, based on om proposals made in section 4. PSM-MMAC+ is the basic fiavor PSM-MMAC extended with the proposed solutions in subsection 4.1. PSM-MMAC++ is an extension of PSM-MMAC+ with an ARMA filter and simulated annealing (subsection 4.2). We also compare the proposed protocols with a PSM-MMAC with a-priori information about the number of active links (i.e. the estimation is always correct). Due to space limitations we only present the results for four different scenarios. In Fig. 4 the timelines of these four different scenarios can be seen. We present the results for these scenarios in Fig. 5. It can be seen that for some scenarios PSM-MMAC++ outperforms PSM-MMAC with 40% energy gain and 55% decrease in delay. It can however also be seen that the addition of an ARMA filter only results into a marginal increase (up to 5%) in energy- efficiency. If we look at delay we see that PSM-MMAC+ has a high delay in non-stable scenarios, while PSM-MMAC++ consistently reaches delay and energy-efficiency of the PSM-MMAC with a-priori information. 310 Scenario 1 Scenario 2 15 15 '" ~ 10 10 :::; Q) > "13 5 5 Ou> 5