- Twenty-fourth Symposium on lntorrnation Theory in the - Benelux Veldhoven, The Netherlands May 22 & 23, 2003 Program of the 24-th Symposium on Information Theory in the Benelux De Koningshof, Veldhoven, The Netherlands May 22 & 23, 2003 Organized by Philips Research Laboratories Eindhoven for the Werkgemeenschap voor Informatie- en Communicatie theorie (WIC) Co-sponosered by the IEEE Benelux Information Theory Chapter Prize for the best presentation of a young researcher donated by the Gauss foundation. ,. Thursday, May 22 9.15 Registration 10.00 Opening 10.05 - 11.25 Channel Coding and Decoding On understanding the performance of the IEEE B02.IIa WlAN physical layer for the Gaussian channel, Wim J. van Houturn, Philips Research Laboratories, Eindhoven Set Decoding of Convolutional Codes with Application to GSMIGPRS, Andries P. Hekstra, Philips Research Laboratories, Eindhoven On the Use ofthe Cut-Off Rate for Determining Optimal Input Quantiraiion of a Viterbi Decoder on Fading Channels, Stan Baggen, Sebastian Egner, and Bertrand Vandewiele, Philips Research Laboratories, Eindhoven. Static and Dynamic Chase-Like Bounded Distance Decoding, Jos H. Weber, Delft University of Technology. 11.25 - 11.45 Coffee and tea break 11.45 - 12.45 Invited Presentation ~cI.jk.B Analyzing DNA microarrays to unravel gene function, . Marcel Reinders, Delft University of Technology. 12.45 - 13.45 Lunch 13.45 - 14.45 Cryptanalysis Pt'Vfl. »: Q Side-channel entropy for modular exponentiation ;(forithms, ~ Lejla Batina and Cees Jansen, SafeNet BV, Vught, and Katholieke Universiteit Leuven. Extending the Boneh-Durfee-de Weger's attack to RSA-like Cryptosystems, )( Fabien Laguillaumie and Damien Vergnaud, France Télécom R&D, Caen, and Université de Caen. Key-Dependent Approximations in Cryptanalysis - An Application of Multiple :£':4 and Non-Linear Approximations, F.X. Standaert, G. Rouvroy,~, JJ. Quisquater, and J.D. Legat, Université Catholique de Louvain. 14.45 - 15.05 Coffee and tea break " S:~J cif tn r/;J.e_ lJJvY\cA + d~ ~ CÓ!l/\tckJ i»: ~0n~nhof x- ~v&1S _. !i- ,I'~ f(t0fJ+k Vltt1 5p0.Le: h~b ~ maal IR 2fYl l/~ eAWc4; C OhljJ&z tit. 15.05 - 16.25 Source coding Huffman codes revisited, ~BUIIJtJlld J? R. Stasinski and G. Ulacha, Poznan University of Technology and Szczecin University of Technology Improved Elastic Storage of Digital Still Images, René J. van der Vleuten, Philips Research Laboratories, Eindhoven. \ Optimal Partitioning of Video Sequences for MPEG-4 Sprite Encoding, 1 irk Farin, Peter H.N. de With, and Wolfgang Effelsberg, University of Mannheim, • Logica CMG, and Eindhoven University of Technology. de. A SW-based Complexity Scalable MPEG Encoder for Mobile Consumer Equipment, ~. j_~ S. Mietens, P.H.N. de With, and C. Hentschel, Eindhoven University of Technology, CU\twOIlllWr. Logica CMG, and Philips Research Laboratories, Eindhoven. 16.25-16.45 Coffee and tea break 16.45 - 17.25 Data-embedding and Signal Separation Vd(/~ Capacity of reversible information embedding for small distorsions, ~ Deran Maas, Ton Kalker and Frans Willems, Technical University Eindhoven, and Philips Research Laboratories Eindhoven. Jl(_~:sr 2eNtuul~ .. Blind source separation uf speech and background music for improved speech J p iJ- i,i recognition, P. Vanroose, Katholieke Universiteit Leuven. :J...'t~~~ 17.40 - 19.00 General Assembly of the WIC 19.00 Symposium Dinner Friday, May 23 9.00 - 10.20 Biometrics ~, I !! Îf;s .i3iJE Biometrie verification: A result and an exotic example, Raymond Veldhuis, Asker Bazen, and Maarten Boersma, Twente University. Verification using partially known biometrics, ~ Jasper Goseling, Stan Baggen and Ton Akkermans, Twente University, and Philips Research Laboratories, Eindhoven. Reliable (robust) biometrie authentication. with privacy protection, E. Verbitskiy, P. Tuyls, D. Denteneer, and J.-P. Linnartz, Philips Research Laboratories, Eindhoven. Experimenting with Face Detection and Recognition for Home Surveillance: a. Status Report, F. Zuo and P.H.N. de With, Eindhoven University of Technology and Logica CMG. 10.20 - 10.40 Coffee and tea break 10.40 - 12.00 Transmission and Recording Channels .s~1l- ~ Equalization and Target Response Optimisationfor High-Density Two-Dint~onal Optical Storage, J. Riani, J.W.M. Bergmans, S.J.L. van Beneden, W.M.J. Coene, and A.H.J. lmmink, Eindhoven University of Technology and Philips Research Laboratories Eindhoven Index Assignment Schemes for M -description Coding, Jean Cardinal, Université Libre de Bruxelles. An efficient algorithmfor computing the entropy of output sequences for bitshift channels, Stan Baggen and Vladimir B. Balakirsky, Philips Research Laboratories, Eindhoven, andEIDMA. Higher order asymptotics ofmutual information for nonlinear channels with non-Gaussian noise, v.v. Prelov and E.e. van der Meulen, IPPI, Moscow, and Katholieke Universiteit Leuven. 12.00 - 13.00 Lunch 13.00 - 14.20 Cryptography ~ f;' _,........ A structure of block ciphers achieving some resistance against fault attacks, Mathieu Ciet, Gilles Piret and Jean-Jacques Quisquater, Université Catholique de Louvain '. Tensor Transfomlof Functions over finite fields, -ree~:1j.tJk(J IlRJ.lIk:r: Alexander Kholosha, Eindhoven University of Technology. ,Çi p!Aft + Efficient Designated Verifier Signature Schemes, Shahrokh Saeednia, Steve Kremer, and Olivier Markowitch, Université Libre de Bruxelles. Authenticated and efficient key management for ad-hoc networks, -r Stefaan Seys and Bart Preneel, Katholieke Universiteit Leuven. hJa.at ~ vq~?;/dag ~ , 14.20 - 14.4Ó'Coffe~ and rea break ~. 14.40 - 16.00 Wireless Communication Algebraic Techniques for Signal Separation, L. de Lathauwer, B. de Moor, J. Vandewalle, and A. de Baynast, ETIS, Cergy-Pontoise, and Katholieke Universiteit Leuven. Power allocation and optimal Tx/Rx structures for MIMO systems, ~ R. Cendril!on, O. Rousseaux, M. Moonen, Etienne van den Bogaert, and Jan Verlinden, Katholieke Universiteit Leuven, and Alcatel Bel! Antwerpen. A Power-Efficient Compound Modulation Scheme for Addressing Multiple Users in the Downlink, Gerard J.M. Janssen, Delft University of Technology. Novel Sampling Method for increased spectral efficiency in wireless communication systems, J. Levendovsky, L. Kovács, A. Olah, D. Varga, and E.e. van der Meulen, Budapest University of Technology and Economics, and Katholieke Universiteit Leuven. 16.00 Closing; presentation of Gauss award Proceedings of the 24th Symposium on Information Theory in the Benelux May 22-23, 2003 Veldhoven, The Netherlands Edited by L.M.G.M. Tolhuizen Published by: Werkgemeenschap voor Informatie- en Communicatietheorie Enschede, The Netherlands, 2003 Previous symposia 1. 1980 Zoetermeer, The Netherlands Dept. of Electrical 2. 1981 Zoetermeer, The Netherlands Engineering, Technical 3. 1982 Zoetermeer, The Netherlands University, Delft 4. 1983 Haasrode, Belgium ISBN 90-334-0690-X 5. 1984 Aalten, The Netherlands ISBN 90-71048-01-2 6. 1985 Mierlo, The Netherlands ISBN 90-71048-02-0 7. 1986 Noordwijkerhout, The Netherlands ISBN 90-6275-272-1 8. 1987 Deventer, The Netherlands ISBN 90-71048-03-9 9. 1988 Mierlo, The Netherlands ISBN 90-71048-04-7 10. 1989 Houthalen, Belgium ISBN 90-71048-05-5 11. 1990 Noordwijkerhout, The Netherlands ISBN 90-71048-06-3 12. 1991 Veldhoven, The Netherlands ISBN 90-71048-07-1 13. 1992 Enschede, The Netherlands ISBN 90-71048-08-X 14. 1993 Veldhoven, The Netherlands ISBN 90-71048-09-8 15. 1994 Louvain-Ia-Neuve, Belgium ISBN 90-71048-10-1 16. 1995 Nieuwerkerk a/d 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 21. 2000 Wassenaar, The Netherlands ISBN 90-71048-15-2 22. 2001 Enschede, The Netherlands ISBN 90-365-1598-X 23. 2002 Louvain-la-Neuve, Belgium ISBN 90-71048-16-0 CIP-gegevens Koninklijke Bibliotheek, Den Haag (NL) Proceedings Proceedings ofthe 24th Symposium on Infonnation Theory in the Benelux led. L.M.G.M. Tolhuizen, Eindhoven Werkgemeenschap voor Informatie- en Communicatietheorie ISBN: 90-71048-18-7 ii The Twenty-fourth Symposium on Information Theory in the Benelux has been orga- nized by Philips Research Laboratories Eindhoven, The Netherlands on behalf of the Werkgemeenschap voor Informatie- en Communicatietheorie and the IEEE Benelux Infonnation Theory Chapter. Program Committee: C.P.M.J. Baggen A.P. Hekstra A.A.C. Kalker L.M.G.M. Tolhuizen P. Tuyls R.J. van der Vleuten FM.J. Willems The organizing committee gratefully acknowledges the financial support of the Gauss foundation. iii Preface Since 1980, the Werkgemeenschap voor Informatie- en Communicatie theorie (WIC) has annually organized a symposium on Information Theory in the Benelux. This year's symposium is being held in Veldhoven, the Netherlands, and has been or- ganized by Philips Research Laboratories, Eindhoven, The Netherlands. We are most pleased that Dr. M.J.T. Reinders, Information and Communication Theory Group, Delft University of Technology, has accepted our invitation to be a guest lecturer at our symposium, where he will give a presentation on the analysis of DNA microarrays to unravel the gene function. These proceedings contain the papers that have been accepted for presentation at the 24th Symposium. We are grateful to the authors for submitting their latest results. The program committee, responsible for the selection of the accepted papers from 39 con- tributions, consisted of Stan Baggen, Andries Hekstra, Ton Kalker, Ludo Tolhuizen, Pim Tuyls, René van der Vleuten, and Frans Willems. The organizing committee gratefully acknowledges the co-sponsorship of the IEEE Benelux Information Theory Chapter and the financial support of the Gauss Founda- tion for the best Young Researcher Presentation Award. Finally, I express my thanks to Mrs. Yvonne Lansink for her assistance in the orga- nization of the symposium. We are confident that this symposium offers a good opportunity to improve personal contacts, exchange knowledge, experience and insights, thereby contributing to one of the aims of the WIC, viz. the stimulation of the work of professionals in the field of information and communication theory in the Benelux. Ludo Tolhuizen, editor Eindhoven, May 2003 v Table of Contents Session 1: Channel coding and decoding • On understanding the performance of the IEEE 802.11 a WLAN physical layer for the Gaussian channel Wim 1. van Houtum • Set Decoding of Convolutional Codes with Application to GSM/GPRS Andries P. Hekstra 9 • On the Use of the Cut-Off Rate for Determining Optimal Input Quantization of a Viterbi Decoder on Fading Channels Stan Baggen, Sebastian Egner, and Bertrand Vandewiele 17 • Static and Dynamic Chase-Like Bounded Distance Decoding Jos H. Weber 27 Session 2: Invited lecture Analyzing DNA microarrays to unravel gene function Marcel Reinders 35 Session 3: Cryptanalysis • Side-channel entropy for modular exponentiation algorithms Lejla Batina and Cees Jansen 37 • Extending the Boneh-Durfee-de Weger's attack to RSA-like Cryptosystems Fabien Laguillaumie and Damien Vergnaud 45 • Key-Dependent Approximations in Cryptanalysis - An Application of Multiple 24 and Non-Linear Approximations FX Standaert, G Rouvroy, G Piret, 11 Quisquater, and JD Legat 53 Session 4: Source coding • Huffman codes revisited R. Stasinski and G. Ulacha 63 • Improved Elastic Storage of Digital Still Images René 1. van der Vleuten 71 • Optimal Partitioning of Video Sequences for MPEG-4 Sprite Encoding Dirk Farin, Peter H.N. de With, and Wolfgang Effelsberg 79 • A SW-based Complexity Scalable MPEG Encoder for Mobile Consumer Equipment S. Mietens, P.H.N. de With, and C. Hentschel 87 VIl Session 5: Data-embedding and Signal Separation • Capacity of reversible information embedding for small distorsions Deran Maas, Ton Kalker, and Frans Willems 95 • Blind source separation of speech and background music for improved speech recognition P. Vanroose 103 Session 6: Biometrics • Biometrie verification: A result and an exotic example Raymond Veldhuis, Asker Bazen, and Maarten Boersma 109 • Verification using partially known biometrics Jasper Goseling, Stan Baggen, and Ton Akkermans 117 • Reliable (robust) biometrie authentication with privacy proteetion E. Verbitskiy, P. Tuyls, D. Denteneer, and J.P. Linnartz 125 • Experimenting with Face Detection and Recognition for Home Surveillance: a Status Report F Zuo and P.H.N. de With 133 Session 7: Transmission and Recording Channels • Equalization and Target Response Optimisation for High-Density Two-Dimensional Optical Storage J. Riani, J.W.M. Bergmans, S.J.L. van Beneden, W.M.J. Coene, and A.H.J. lmmink 141 • Index Assignment Schemes for M -description Coding Jean Cardinal 149 • An efficient algorithm for computing the entropy of output sequences for bitshift channels Stan Baggen and Vladimir B. Balakirsky 157 • Higher order asymptotics of mutual information for nonlinear channels with non-Gaussian noise V. V. Prelov and E. C. van der Meulen 165 viii Session 8: Cryptography • A structure of block ciphers achieving some resistance against fault attacks Mathieu Ciet, Gilles Piret, and Jean-Jacques Quisquater 171 • Tensor Transform of Functions over finite fields Alexander Kholosha 179 • Efficient Designated Verifier Signature Schemes Shahrokh Saeednia, Steve Kremer, and Olivier Markowitch 187 • Authenticated and efficient key management for ad-hoc networks Stefaan Seys and Bart Preneel 195 Session 9: Wireless Communication • An algebraic technique for blind MIMO deconvolution of constant modulus L. de Lathauwer, J. Vandewalle, and B. de Moor 203 • New algebraic techniques for the separation of DS-CDMA signals L. de Lathauwer, A. de Baynast, J. Vandewalle, and B. de Moor 211 • Power allocation and optimal TxlRx structures for MIMO systems R. Cendrillon, O. Rousseaux, M. Moonen, Etienne van den Bogaert, and Jan Verlinden 219 • A Power-Efficient Compound Modulation Scheme for Addressing Multiple Users in the Downlink Gerard J.M. Janssen 227 • Novel Sampling Method for increased spectral efficiency in wireless communication systems J. Levendovsky, L. Kovács, A. Olah, D. Varga, and E.e. van der Meulen 235 ix List of authors Author Page Author Page Akkermans, A.H.M. 117 Maas, D. 95 Baggen, C.P.M.J. 17,117,157 Markowitch, O. 187 Balakirsky, VB. 157 Meulen, E.e. van der 165,235 Batina, L. 37 Mietens, S. 87 Baynast, A. de 211 Moonen, M. 219 Bazen, A. 109 Moor, B. de 203,211 Beneden, S.J.L. van 141 Olah, A. 235 Bergmans, J.W.M. 141 Piret, G. 53,171 Boersma, M. 109 Prelov, V V 165 Bogaert, E. van den 219 Preneel, B. 195 Cardinal, J. 149 Quisquater, J.J. 53,171 Cendrillon, R. 219 Reinders, M.T.J. 35 Ciet,M. 171 Riani, J. 141 Coene, W.M.J. 141 Rousseaux, O. 219 Denteneer, D. 125 Rouvroy, G. 53 Effelsberg, W. 79 Saeednia, S. 187 Egner, S. 17 Seys, S. 195 Farin, D. 79 Standaert, F-X. 53 Goseling, J. 117 Stastiriski, R. 63 Hekstra, A.p. 9 Tuyls, P. 125 Hentschel, e. 87 Ulacha, G. 63 Houturn, W.J. van Vandewalle, J. 203,211 Immink, A.H.J. 141 Vandewiele, B. 17 Jansen, e. 37 Vamoose, P. 103 Janssen, G.J.M. 227 Varga, D. 235 Kalker, A.A.e. 95 Veldhuis, R.N.J. 109 Kholosha, A. 179 Verbitskiy, E. 125 Kremer, S. 187 Vergnaud, D. 45 Kovács, L. 235 Verlinden, J. 219 Laguillaumie, F 45 Vleuten, R.J. van der 71 Lathauwer, L. de 203,211 Weber, J.H. 27 Legat, J.-D. 53 Willems, FM.J. 95 Levendovsky, J. 235 With, P.H.N. de 79,87,133 Linnartz, J.-P. 125 Zllo,F 133 xi ON UNDERSTANDING THE PERFORMANCE OF THE IEEE-802.11A WLAN PHYSICAL LAYER FOR THE GAUSSIAN CHANNEl. Wim J. van Houtum Philips Research prof. Holstlaan 4, 5656 AA Eindhoven, Netherlands Wim.van.Houtum@Philips.com The physical layer (PHY) standard, "IEEE-802.11a", of an important Wireless Local Area Network (W LAN) achieves transmission data-rates from 6 Mbps to 54 Mbps within a transmission bandwidth of 20 MHz at a carrier frequency of 5.x GHz. We describe the functionality and show some simulation results of this P HY. Simulation results are given of the bit error rate (B ER) as function of the signal to noise ratio (SN R) at the input of the receiver. The aim of the simulations is to understand and identify some key factors of the IEEE- 802.11 a P HY for the Gaussian channel. The required SN R for a BER = 10-4 is approximately 12.9 dB away from the Shannon bound of 7.4 dB for 2.7 lr/e/Hz, where 10.9 dB is due to system definitions and approximately 2.0 dB to the choice of a simplified sub-optimal receiver. INTRODUCTION A WLAN PHY like the IEEE-802.11a shows at the moment a great potential to become a widely accepted standard for wireless networking. The IEEE-802.11a PHY is based on the combination of Bit-Interleaved Coded Modulation (BICM) with Orthogonal Frequency Division Multiplexing (OFDM) and achieves trans- mission data-rates from 6 Mbps to 54 Mbps within a transmission bandwidth of W = 20 MHz at a carrier frequency of 5.x GHz in a license free band. We explain the functionality and show simulation results of this WLAN PHY. The simulation results are given of the BER as function of the SNR at the input of the receiver. The aim of the simulations is to understand and identify some key fac- tors of the IEEE-802.11a PHY for the Gaussian channel. Our simulation results take into account: convolutional encoding, puncturing, modulation, frequency di- vision, filtering, channel estimation, demodulation, deinterleaving, depuncturing and soft-decision Viterbi-decoding. Moreover, we assume perfect synchronization and the only impairment is AWGN. The outline is as follows. In Section 1, the system model and some definitions are introduced. Sections 2-4 elaborate on the BICM-part, and Section 5 on the OFDM-part. Section 6 introduces a communication channel model for BICM with OFDM and AWGN. In Section 7 an analysis on the BER is performed. Section 8 shows simulation results in the form of BER vs SNR curves, which are 1 compared to the Shannon bound and the Bhattacharyya Union Bound (BUB). In Section 9 we summarize some conclusions. 1 SYSTEM MODEL OF THE IEEE-802.11A PHY The IEEE-802.11a PHY is a combination of convolutional coding, block- interleaving, M = 2m-QAM and OFDM so, the system model is based on OFDM and a model for BICM introduced by Caire et.al. in [2]. First we introduce, in accordance with [2], some notational conventions: lower case symbols denote scalars or complex numbers, boldface symbols denote vectors and underlined boldface symbols denote a sequence of vectors. Figure 1 shows the block-diagram of the IEEE-802.l1a PHY system model. Figure 1: Block-diagram of the IEEE-802.11a PHY system model. The incoming information bits S! are encoded by a 1/2-rate convolution en- coder with 64-states (1/ = 6) using the industry-standard polynomial go = 1338 and gl = 1718. Higher code-rates of 2/3 and 3/4 are obtained with puncturing. To avoid burst errors, the coded bits _ç are fed into a modified classical row-column block interleaver with a block size equal to mN" coded bits c. The interleaved coded bits 'if{ c} are divided into Nil groups of m bits. Each such group is con- verted via a labeling map f.L into a point x of the finite signal set X ç CCof size lXI = M [2]. For the IEEE-802.11a PHY, Nil = 48, X is square M-QAM with M = 2,4,16 or 64, and f.L is a Gray-labeling [6, Sec. 17.3.5.7]. Next, Nil points, x, are expand with null-symbols to suppress Adjacent Channel Interference (ACI) and pilot-symbols for channel estimation, to N' = 64 points. These points are converted via a N'-points complex Inverse Discrete Fourier Transform (IDFT) plus a cyclic prefix expansion to another group of N = 80 complex numbers, the OFDM-symbol s. Thermal noise n is added to the OFDM-symbol, r = s-l-n. The entries {7]} of n are circular complex Gaussian, i.e, the real and imaginary part are independently identically distributed (i.i.d.) with a Gaussian distribution N(O, ~o) and a probability density function (pdf) given by [4, Sec. 4.l.4] 1 _1'12 p,,(z) = -N eN;;"" (1) 'if 0 where [z] indicates the modulus (magnitude) of the complex number z . The transition pdfs of the channel are given by Ph(rls) = Ph(S + nis) = Ph(n) = Pn(r - sj. The cyclic prefix of OFDM-symbol r is removed, and an N'-points z Discrete Fourier Transform (DFT) is applied. Then, via a removal operation, a group of Nil complex numbers, y, is formed. Now, based on training symbol T a channel estimation H is performed. Then, y is used to compute a set of channel bit metrics, Ai(y, b), for the bit at position i of y, where b E {O, I} and i = I, ... ,m. The computation of Ai(y, b) is based on the Log-Likelihood Ratio (LLR). Actually, in this scenario the demodulator is a bit-metric computer. The bit-metric calculation is followed by deinterleaving. Depuncturing is performed by introducing erasures into a Viterbi decoder, which acts as a Maximum Likelihood Sequence Estimator (MLSE) for retrieving estimates ~ of the original information bits ~. 2 CONVOLUTIONAL ENCODING AND PUNCTURING To discuss the properties of the 64-stage Rc = kin = 1/2-rate convolutional code, we wil! use the transfer function T(D, N, J) of the code, where the expo- nent of D indicates the Hamming distance, the exponent of N the number of input bit 1 branch transitions, and the exponent of J the number of branches [4, Sec.8.2.1]. The number ad of paths with Hamming weight d is the coefficient of Dd in T(D, I, I), that is [4, Sec.8.2.1] 00 L adDd = T(D, I, 1) = llD 10 + 38D12 + 193Dl4 + 1331D16 + ... (2) d=dJree The number f3d of information bit errors on all incorrect paths with Hamming weight d is the coefficient of D" in the derivative of T(D, N, 1) with respect to N and setting N = 1 [4, Sec. 8.2.3], that is f f3dDd = d [T(D, dN N, 1)]1 N-I = 36D10 + 211D12 + 1404Dl4 + ... (3) d=dfn:e - The parameters dJree and f3d are referred to as the code weight spectrum and will be used, in Section 7, to derive the BUB. Puncturing is deleting specific coded bits according to a given perforation pattern. The perforation matrices for the IEEE-802.11a PHY are given by [P~] = [11] 10 [Pt] = [110] 10 1 (4) In [1] the weight spectra of these punctured codes can be found, 00 { D6 + 16D7 + 48D8 + ... Rc = 2/3 T(D, I, 1) = L adDd = (5) d=dt.... 8D5 + 31D6 + 160D7 + ... Rc = 3/4 and R; = 2/3 (6) Rc = 3/4 From (5) and (6) can be seen that puncturing the 1/2-rate parent code reduces dJree from 10 to 6 and 5 for the 2/3-rate, respectively, 3/4-rate code. 3 3 BLOCK-INTERLEAVING Caire et.al. showed in [2] that in the AWGN case, the only effect of interleav- ing is to break the correlation between the bits mapped onto the same M-QAM symbol. In the IEEE-802.11a case, where the label-size is maximum 6 bits, the modified classical row-column block-interleaver with a depth of 16 bits [6] should be sufficient to approach the ultimate performance in the AWGN case. 4 BIT-METRIC CALCULATION The bit metric calculation, where the ith bit of the label of x equals b, is based on the LLR (7) where X: is the subset of all the signals x E X whose label has the value b in position i, and b denotes the complement of b [2]. A simplified bit-metric calculation is based on the assumption that the sums in (7) are dominated by a single term, which typically occurs at high SN R, this yields , . maxPH(ylx) XEXb } 1 { . } A'(y, b) = In ( I) = N min Iy - Hxl2 - min lv - Hxl2 (8) { max p., Y x 0 xEX~ XEXb xEr1'i b To avoid noise power estimation at the receiver side the value is approximated ~D by a receiver parameter () with a finite number of possible values. In (8) per- feet Channel State Information (CS!), H, is assumed but in our simulations we perform a channel estimation H = YT = H + nT-1 = H + e (9) T where T is a training symbol according to [6, Sec. 17.3.3] and YT the received training symbol. This results in a set of simplified sub-optimal bit-metrics (lU) which, for all i and (), lie between - max and + max to ease quantization. Finally, a MLSE makes decisions according to the rule [2] I< ç = argmax ~ Ä_i(Yk> n(c1)), Vi (11) eEC Z:: - k=l where K is the number of blocks Y of the sequence Y (without YT). The Viterbi decoder, in our case, makes decisions based on the summation of L bit metrics, where L is the trace-back length. 5 ORTHOGONAL FREQUENCY DIVISION MULTIPLEXING It is well known, [5], [7, Ch. 2] and references therein, that OFDM is a method to divide ISI channels into a number of parallel ISI-free subchannels. For the IEEE-802.11a PHY, NI = 64 parallel subchannels are created but only Nil = 48 of these subchannels are used to transmit the sequence of coded bits £. The remaining 16 subchannels are reserved for null-symbols and for pilot-symbols. Thus, the IEEE-802.11a PHY is giving up N - Nil = 80 - 48 = 32 complex dimensions to combat channel impairments". We will take this dimension loss into account if we compare our simulation results against the normalized channel capacity as defined by Shannon ([4, Sec. 7.1.2]) - C C = W = log2(1 + SNR) [bis/Hz] or [bits/cplx.dim.] (12) 6 COMMUNICATION CHANNEL MODEL FOR BICM WITH OF DM In the AWGN case, the combination of BICM and OFDM can be seen as Nil parallel independent BICM transmissions [5]. Each of these Nil BICM communi- cation channels will be modeled by the equivalent channel model for BICM with ideal interleaving introduced by Caire et.al. in [2]. Figure 2 shows the channel model for BICM with OFDM. The model consists of mN11 parallel independent --1&navCho'Y1eI m(N"-lJ+ Ir- --1"""""';"_.'1+ y Binary C~nneI mN"~ Figure 2: Communication channel model of BlCM with OFDM and AWGN. and memoryless binary input channels connected to the convolutional encoder output via a random switch, which models ideal interleaving, so for every bit c the switch selects randomly a position index j E {I, ... , mNII} and sends c on the yth channel. 1 Here we neglect the complex dimensions required for pilot-symbols (preamble) at the be- ginning of a transmission. 7 BIT-ERROR PROBABILITY ANALYSIS To ease analysis, Caire et.al. in [2]showed that the Pairwise Error Probability (PEP) between _ç_ and ç_ can be represented as a function of the Hamming distance d between _ç_ and ç_ (and not the pair (_ç_, ç_)), the labeling M and the signal set X i.e. f(d, M, X) for the BICM channel with ideal interleaving. Now the usual union bound for linear binary codes can be used [2, Eq. (26)], 1 00 EER S k L f3df(d, M, X) (13) d=d"." For a single BICM channel with ideal interleaving and a maximum likelihood decoder with perfect CS!, Caire et.al. derived the BUB on the PEP [2, Eq. (27)]. Now, by rewriting [2, Eq. (27)] for Nil parallel BICM channel usage, as shown in Figure 2, we get the BUB, f(d, M, X < ) - ( NU 1 mN" m L Eb,¥_,H j=1 [ PH(ylb,j)- ( Ib) PH;r ,J l) d (14) where Eb,y,H[g(b, y, H)] is the average of 9 over b, y and H, which might be obtained via Monte Carlo simulations. Substitution of (14) into (13) gives an upper-bound on the EER for BICM with OFDM. 8 SIMULATION RESULTS This section shows simulation results of the IEEE-802.11a WLAN PHY at the highest bit-rate of 54 Mbps, i.e. X is 64-QAM and C is the rate 3/4 punctured convolutional code. The simulation results show the EER vs the SN R = E~2} = !Ju' The parameter values are set to: () = 2 (representing ~J,max = 8 and L = 96. Now, based on our simulations, we discuss different implementation losses at a EER = 10-4. Firstly, due to system definitions, the loss in SN R for giving up dimensions where Nil 18 {2= - = - =0.6 (16) N 80 is the ratio between the dimensions used for transmission of the sequence ~ and the total available dimensions. Next, the Shannon bound is only valid if the el- ements of the sequence ~ (the M-QAM symbols) have a Gaussian distribution [4, Sec. 7.1.2]. In our case, the M-QAM symbols are uniformly distributed, re- sulting in a shaping loss of 6.SN R'hap, ~ 1.53 dB, as shown in [3, p. 1125]. Now, we introduce the "IEEE-802.11a bound", that is the Shannon bound plus the dimension loss and shaping loss of the IEEE-802.11a PHY. The Shannon and the "IEEE-802.11a" bound are shown in Figure 3. 1O-1 L-___I___[_--,LO ------',------_L__L___l'6,------..L"------,2LO ____JL..L------,L--__[_-_J28 6 SNR in dB Figure 3: BER of the IEEE-802.11a PHY at 54 Mb/s on the AWGN channel. If we substitute for Re = 3/4 the set {,B5 ... ,Bll} of (6) and (14) with m = 6 into (13), we obtain the BUB on the BER as shown in Figure 3. The simulated reference curve of Figure 3 is obtained with almost perfect CSI i.e. based on a 100 dB power boosted T, no channel updating, almost no quantization effects i.e. 8 bits of quantization and the LLR bit-metrics given by (7). This reference curve is upper bounded by the BUB within approximately 0.9 dB, which is to be expected from the tightness of the BUB [2]. Figure 4 shows different SN R losses of the IEEE-802.11a PHY at 54 Mb/s on the AWGN channel. It can be seen that the non-ideal punctured 3/4-rate convolutional code introduces a fJ.SNReode ~ 3.4 dB Loss in SNR. Another fJ.SNRquant ~ 0.1 dB loss is caused by the quantization of the bit-metrics (7) into 4 bits. Further can be seen that the noisy channel estimation H introduces fJ.SNR;nit :=;:0 l.7 dB loss. Finally, the usage of the simplified sub-optimal bit-metrics, given by (10), introduces fJ.SN Rmetric ~ 0.2 dB loss. 9 CONCLUSION The IEEE-802.11a PHY is a combination of BlCM and OFDM. The required SN R for the highest rate of 54 Mb/s on the AWGN channel, at a BER = 10-4, is approximately 12.9 dB away from the Shannon bound at 7.4 dB for 2.7 bis/Hz. Of this 12.9 dB, approximately 10.9 dB is due to system choices i.e. to be robust against multipath, channelization, using square 64-QAM and the de Figure 4: SN R losses of the IEEE-802.11a PHY at 54 Mb/s. facto standard 64-state rate-l/2 binary convolutional code with puncturing rate- 3/4. The other approximately 2.0 dB is due to quantization effects, sub-optimal bit-metric usage and imperfect channel estimation. Further, all the simulation results are obtained with ideal synchronization and without RF-impairments. REFERENCES [1] G. Begin, D. Haccoun, and C. Paquin, Further results on high-rate punc- tured convolutional codes for Viterbi and sequential decoding, IEEE Trans. on Communications 38 (1990), no. 11, 1922-1928. [2] G. Caire, G. Taricco, and E. Biglieri, Bit-interleaved coded modulation, IEEE Trans. on Information Theory 44 (1998), no. 3, 927-946. [3] G. David Forney, Coset codes-part I: Introduetion and geometrical classifica- tion, IEEE Trans. on Information Theory 34 (1988), no. 5, 1123-1151. [4] John G. Proakis, Digital communications, fourth ed., Higher Education, McGraw-Hill, Northeastern University, 2001. [5] Dirk Sommer and Gerhard P.Fettweis, Aspects of coding and modulation for OFDM, 6th Int.OFDM-workshop (INOWo), 2001, pp. 21-1-21-4. [6] IEEE standards Department, High-Speed Physical Layer (PHY) in the 5 GHz Band, IEEE Std 802.11a-1999 Supplement to IEEE Std 802.11-1999. [7] Richard van Nee and Ramjee Prasad, OFDM for wireless multimedia commu- nications, first ed., Artech House Publishers, Boston, 2000. SET DECODING OF CONVOLUTIONAL CODES WITH APPLICATION TO GSM/GPRS Andries P. Hekstra Philips Research Prof. Holstlaan 4, 5600 AA Eindhoven, NL We define "set decoding", a variation of list decoding of convolutional codes for which the series of decoded codewords is unordered (w. r. t. likelihood). The size of our sets is a random variable, as opposed to the list size, which normally is an input to list decoding algorithm. For our set decoding prob- lem, we present an alqorithmic solution with low complexity. INTRODUCTION Sundberg and coauthors [1] consider the communication situation in which messages that include a eRe checksum are convolutionally encoded. They show that length L = 2,3, ... 8 list decoding of the convolutional code and selection of the most likely list entry for which the eRe checksum corresponds to the remainder of the message can achieve a significant decoding gain over classical Viterbi decoding (L = 1). In the following, when we speak of the trellis, we mean the trellis of the convolutional code. The main contribution of this paper is the so called depth- first B-algorithm, that can produce decoded sets of messages with a size in the hundreds, depending on the time and memory complexity limits that apply. The letter" B" stands for" budget", an input parameter of our algorithm. We start our development in section with a slight change in the formulation of the list decoding problem, which we call set decoding, which obviates the need for any sorting or ordering, thus striving for an algorithmic solution at a lower complexity than the original list decoding problem. The algorithm which we develop in sections, , and, the depth-first B-algorithm illustrates the advantage of using a Viterbi preprocessing step. This approach goes further than the single- wrong-turn technique of Allpress and Hahrn [2]. The main step of the B-algorithm then consists of either a depth-first or breadth-first tree search of the trellis. In section , we present a multi-layer application strategy, that can be used to deal with the random decoded set size of our algorithm. In section we discuss simulation results. Finally, we give conclusions. PROBLEM FORMULATION Our motivation to define the so called set decoding problem as a variant of the list decoding problem, is to avoid the need for sorting or ordering, which would follow from fixing the list size. Our intention is that this avoidance of sorting will 9 lead to decoding algorithm that can produce longer lists of most likely paths for a given complexity. As is customarily the case, we assume that the metrics in the Viterbi algo- rithm (VA) are log-likelihoods. Furthermore, we assume in the following problem formulation, that we know the path metric CM L of the maximum likelihood (ML) path. We define the cost C(p) of a trellis path pas C(p) = CML - "path metric of "p. Thus, the ML path has zero cost.'. In general, a path has nonnegative cost and quantifies the degradation of the path's log-likelihood with respect to the ML path. Now, fix a certain budget parameter B. By the trellis set decoding problem, we mean the following. Produce an unordered list, i.e. a set D(B), of all trellis paths pand their cost C(p), for which the cost C(p) are at most the budget B. Observe, that the size of the produced list will in general be random. For a given convolutional code, it depends on the received sequence, which typically consists of soft decision values from an equalizer or bit-detector". ALGORITHM DEVELOPMENT If one realizes that path metrics are sums of branch metrics, the trellis set decoding problem is an example of a computer science problem that could be solved by a depth-first or breadth-first tree search algorithm [3J. Depth-first tree search is also known as backtracking search. The name backtracking search has to do with the fact that during the execution of a depth-first search, sometimes any extension of a trellis path to deeper levels in the trellis would give a path for which the cost would exceed the budget. Then, the algorithm has to go back (" to a shorter trellis path"). Of course, these events of running into dead ends, do contribute to the time complexity of the algorithm. We will show, that using a Viterbi preprocessing step, one can create a look ahead property during tree search which avoids that the algorithm ever runs into such dead ends. For reasons of simplicity, we assume that the convolutional code" is binary and has rate R = 1/2, so that for each time unit, one bit is shifted into the encoder's register and one bit is shifted out. We assume that the trellis is terminated at both ends. By a trellis node n, we mean a tuple of a shift register state and a time index in the trellis. For our rate R = 1/2 code, a trellis node is connected lThe ML path may not be unique. In that case, it becomes arbitrary what to the call the ML path. Our algorithm still works in that case. Because it is more intuitive, we speak of "the" ML path. 2If one would seek maximurn generality, one could replace "convolutional code" by "trellis code". One could even consider an equalizer instead of a convolutional decoder, in the following. 3 more generally, a trellis code by at most two branches with trellis nodes one time index earlier and also, it is connected by at most two branches with trellis nodes one time index later. In the Viterbi algorith, for each node, for each incoming branch, the sum of the branch metric and the path metric of the node one time unit earlier is formed. We call these sums candidate path metrics. For n a trellis node, let 0(n) be the difference of the candidate path metric for that node given that a O-bit was shifted out of the encoder, minus the candidate path metric for that node given that a I-bit was shifted out. Storage of one trace back bit per trellis node is a common technique to obtain the decoded message in the VA [4]. This trace back bit of a given trellis node then equals the most likely bit shifted out of the encoder at that trellis node. In other words, if o(n) > 0, the trace back bit is "0", otherwise it is "1". In the VA, the maximum likelihood (ML) path is obtained by starting at the end of the trellis and following in the reverse time direction of the trellis the stored trace back bits. Tracing back a given path other than the ML path, one needs to divert from the trace back bits at certain nodes. We then say that at those nodes, "non-Ml: (bit) decisions are taken "4. A LEMMA We can now formulate a Lemma that enables us to express the cost of a path as a sum of quantities other than branch metrics. Lemma. The cost C(p) of a trellis path p equal the sum of the absolute values of the o(n)'s of the trellis nodes n on p for which non-Mi, decisions are taken. Whether an ML-decision or a non-ML-decisions is taken is a function of the branch, rather than of the node. Thus, we can say that the cost of a trellis path are the sum its branch cost, where we define the cost of an ML-decision to be zero, and the cost of a non-ML decision to be the 0 of the start node of the branch, where branches are directed from the final node of the trellis to the start node of the trellis. The Proof of this Lemma goes by induction, and is left to the reader. 1Note that in case the 15of a node is zero, it becomes arbitrary which branch to call ML and which branch to call non-MLo In that case, our algorithm still works. The cost of both branches are equal to zero, either way. 11 TREESEARCH Given a (binary) linear block code, e.g. a eRe, the syndrome of a block of (binary) symbols is a well known concept in coding theory. By a partial syndmme, we mean that not a complete block is available to compute the (full) syndrome, and that only those columns of the parity check matrix are summed that lie in the index range of the incomplete block. In the sequel we formally define the partial syndrome of the message sequence that corresponds to the path in the trellis of the convolutional code, and starts at the final node of that trellis, and end somewhere midway that trellis. The set of all trellis paths that start at the end of the trellis can be thought of as a tree with as root the final node of the trellis. When two paths p and pI from the final node of the trellis, end in the same trellis node n, they may have different partial eRe syndromes. Therefore, in general paths that meet at the same node cannot be merged, but one has to try to extend p and pI separately to paths that reach the start of the trellis. This is why we speak of a tree search in the trellis. Paths are not merged. The set of all trellis paths for which the cost are at most the budget B is a sub tree of this tree. It follows from the Lemma, that when tracing back from the final node, when we have reached a certain trellis node and thus far accumulated a certain cost, we can always continue that path with all ML-decisions up to the starting state of the trellis without an increase in cost. This means that the "dead end" events discussed in section, cannot occur if we do a depth-first tree search starting from the final node of the trellis while summing o's instead of branch metrics. If a certain non-ML decision is taken at a node n, the quantity 10(n)1 accounts for the total cost necessary to complete that path up to the start of the trellis. Let N be the block length of the eRe code and let m be the memory order of the convolutional code. Then, N + m is the block length of the truncated convolutional codeword. As the m bits that terminate the trellis of of the convo- lutional code are assumed not to be part of the CftC codewords. The trellis has N + m + 1 columns of trellis nodes with time index i = 0,1, ... , N + m, resp. At time index ° and at time index N + m, there is just one node. With this definition of the time index for trellis nodes, we give a trellis branch the same time index as its starting node. We direct all branches from the end of the trellis to the start of the trellis (this definition of direction is more logical during trace hack). A trellis stage consists of all branches with a common time index. Let Xi(P), i = 1,2, ... , N + m denote the output bit of the convolutional encoder's shift register at its node with time index i (we will also say "at stage i"). Observe that during a trace back, for i = m, m - I, ... ,1 the bits of the starting state of the trellis are shifted out; they are not real message bits. There is no output bit for the starting state 0. During the tree search which advances by trace back, the algorithm keeps track for a given path p from the final node of the trellis up to a certain trellis 1'2 stage i, what the partial syndrome S(p) of the eRe bits used for list reduction is over that path. The fact that we check only a limited number of the eRe checksum bits, means that we effectively consider a super code of the original eRe code. In other words, we use only a subset of the parity check equations, that involve those checksum bits that are tested for list reduction purposes. Let hj be the j-th column, j = 0,1, ... , N - lout of the parity check matrix H of the block length N eRe code, restricted in height to the columns used for list reduction. For the path p the partial syndrome is defined as, S(p) = (1) j=i+l,i+2, ... ,N+m,j>m The fact that our index range in this formula is {m, m + 1, ... , N + m} is due to the fact that Xj(p) is the output bit at of the encoder's shift register instead of the input bit. Observe that in the trivial case where p consists just of the final node of the trellis and i = N + m, we have S(p) = O. When p spans the entire trellis and i = 0, the partial syndrome S(p) equals the syndrome of p, as it is ordinarily defined for a linear block code, in casu the CftC. THE DEPTH-FIRST VERSION OF THE B-ALGORITHM In a depth-first or breadth-first tree search problem, one needs to define an ordering on the set of all possible vectors [3], in our case the trellis paths or the pertaining messages. It is quite common to choose a lexicographic ordering. For the depth-first algorithm, this would mean that the all zeroes message is explored first. Instead we prefer to have the algorithm explore the ML path first. Thus, we define a message bit which corresponds to an ML-decision to be smaller than a non-ML bit decision. The lexicographic ordering we use, with the high time index bits being most significant, and the ML message bits being the least bit value. Alternatives to this depth-first B-algorithm would be a breadth-first B-algorithm, or an algorithm that runs two breadth-first search on two halves of the trellis and then combines them using the technique of Dumer [5J. The maximum number of calls of the depth first B-algorithm, we call the "node quota." The required node quota can been reduced ifone "glues" together sequences of ML-branches for which a single corresponding non-Ml. branch would by itself already exceed the budget parameter. This way, one can create a trellis of pointers where each pointer is directed towards the trellis node one can im- mediately jump to, given the budget. We call such concatenations of branches, "super branches". We count taking a super branch as one node visit. A further modification - which we only mention for the sake of completeness - of e.g. the depth-first B-algorithm would be not to try to reach the end of the trellis, during the search, but to stop u stages before that, if u eRe bits are used for list reduction. These last u bits can then be computed from the u bits partial 13 syndrome up to that point so that always a eRe codeword will be obtained. In general, the extension of a path with u computed bits will carry non-zero cost. At that point the criterion no longer is whether one can reach the starting node of the trellis with acceptable cost, but whether one can reach u stages before the starting state, with acceptable cost including the aforementioned last cost charge. MULTI-LAYER STRATEGY TO DEAL WITH RANDOM LIST SIZE In this section, we answer to question of how to choose the B parameter in relation to the decoded set size ID(B) I. Given a received soft bit sequence r , the decoded set size ID(B) 1 strongly depends on the sequence r , and is in general a "steeply increasing" function of B. The time complexity of the decoding operation is also a steeply increasing function of B. Apart from that it is steeply increasing, it is in general difficult to accurately predict the function B ~ ID(B)I or its inverse. It depends on • the distribution of the ó(n)'s which are smaller than B, • the location of those Ó(n)'s in the trellis, • how many such "small" ó(n)'s there are. A practical solution to this problem of choosing B, is not to try to predict B as a function of the channel conditions or the received sequence, but instead to try a sequence BI, B2, B3,'" ofsuccessively larger values, BI < B2 < B3 < ... , with an upper limit on the total computation time or an estimate thereof. The resulting decoded sets also form an increasing sequence, D(Bd c D(B2) c D(B3) c . ... For instance, assume that D(B3) is the first decoded set that contains a message for which the eRe checksurn bits used for list reduction correspond to the remainder of the message. As the time complexity for a call of a B- algorithm is a also a steeply increasing function of B, the computation time spent on the evaluation of D(BI) and D(B2) is in general negligible with respect to that of D(B3). In simulation experiments for GSM/GPRS packet channel coding schemes 1 and 2 with 12 eRe bits used for list reduction, a linearly increasing sequence of three B values turns out to be perform well. The results of such simulations are discussed in the next section. SIMULATION RESULTS Our interest is in the GSM/GPRS mobile communication system in which many instances occur of the communication situation studied by Sundberg and coauthors, e.g. GPRS packet channel coding scheme 2. This coding scheme uses a punctured memory order m = 4, originally rate R = 1/2 convolutional codec and has a 16 bit eRe. Our aim is to achieve a larger decoding gain through the exploitation of significantly more than 4 eRe bits, which necessitates the use of longer decoded lists. Optimal decoding of a memory order m = 4, rate R = 1/2 convolutional code and up to 10 eRe bits can still be performed in reasonable computation time using a joint trellis. In such a joint trellis, a joint state is the combination of the convolutional encoder state and a number of partial syndrome bits of the eRe. For 10 eRe bits, a joint trellis with 2m+lO = 214 states is obtained. We present simulation results for GSM/GPRS packet channel coding (eS) scheme 1 and 2. The SAeeH control channels use the same channel coding as CS-I. The difference between the two coding schemes is that • in eS-2 the convolutional code is punctured, in eS-l it is not, • CS-2 uses a 16 bit eRC, eS-l uses a 40 bit shortened Fire code eRe. The graphs that follow compare • classical Viterbi decoding of the convolutional code, • joint trellis decoding of the convolutional code and a 5 bit CRe syndrome, • B-decoding, using 10 CRe bits for list reduction, using the depth-first B- algorithm, • joint trellis decoding of the convolutional code and a 10 bit CRe syndrome. The parameters of the depth-first Bvalgorithm" were tuned to give small computation times. To give an idea, on a 650 MHz Pentium III laptop, for eS-1 over an AWGN channel at 0 dB, the average decoding time for a non-optimized e++ program was ca. 6 ms per codeword. In fact, the fraction ofthe computation time used by the B-algorithm was negligible. The majority of the computation time was due to Viterbi processing. The maximum computation time is what counts in an implementation in a mobile device. Since the computation times are so short, this is difficult to measure in a C++ implementation. Also, complexity in an implementation on a chip is an entirely different measure of complexity as when running on a Pentium. For the Block Error Rate (BLER) graphs, see figure 1. CONCLUSIONS We have formulated the set decoding problem as a variation of the list de- coding problem and have presented in detail one algorithm to solve this decoding problem. In the set decoding problem, the set size (list size) is random. Using 10 eRe bits for list reduction, for eS-l (identical to SAeeH channel coding) and CS-2 packet channels of GSM/GPRS, we obtained a decoding gain of around 1.5 dB. When using an optimal decoding technique using more CRe bits for list reduction, a law of diminishing returns becomes evident. 5with super branches, node quota 4000, three B values, 10 CRC bits SNA Figure 1: Block Error Rate (BLER) for (1) Viterbi decoding, (2) joint trellis decoding of the convolutional code and 5 GRG syndrome bits, (3) decoding with aB-algorithm (10 GRG bits used for list reduction), (4) joint trellis decoding of the convolutional code and 10 GRG bits used for list reduction, as a function of SNR (top to bottom curves, resp.).SNR in dB. GPRS coding scheme 2. Static AWGN. SNR in dB. ACKNOWLEDGMENTS The author would like to thank Juergen Petersen of Philips Semiconductors Nuremberg, for providing him with the references on the List Viterbi algorithm [1]. Furthermore, the author acknowledges important discussions during his re- search with his colleague Dr. Stan Baggen of Philips Research. REFERENCES [1] N. Seshadri, C.E.W. Sundberg: "List Viterbi Decoding Algorithm with Appli- cations", IEEE Transactions on Communications, Vol. COM-42, No. 2/3/4, Feb/Mar/ Apr 1994, pp. 313-323. [2] A. Allpress, D. Hahrn, "Viterbi decoding using single-wrong-turn correction," US Patent 6378106, 1999. [3] T. Corrnen, C. Leiserson, R. Rivest, "Introduction to algorithm," MIT Press, McGraw-Hill, 1992. [4] C. Rader, "Memory management in a Viterbi decoder," IEEE Transactions on Communications, Vol COM-29, pp. 1399-1401, Oct. 1981. [5] 1. Dumer, "Sort-And-Match Algorithm," IEEE Transactions on Information Theory, Vol. IT-45, No. 7, Nov. 1999. U sing Ra for Determining the Quantization of the input of a Viterbi Decoder on Fading Channels Stan Baggen, Sebastian Egner, and Bertrand Vandewiele Philips Research Laboratories Prof. Holstlaan 4 5656 AA Eindhoven The Netherlands ABSTRACT The input to a practical Viterbi decoder consists of quantized soft decision informa- tion. We study the impact of this quantization on the performance of the commu- nication system for the infinitely interleaved Rayleigh fading channel. It turns out that optimal quantizers can be designed by maximizing the cut-off rate Ro of the equivalent discrete memoryless channel. This extends similar results known for the Gaussian channel. We have verified our conclusions with extensive simulation. INTRODUCTION We consider the case of digital communication over the Rayleigh fading channel. Binary information, encoded by a convolutional code, is transmitted via this channel using BPSK modulation. The channel introduces fading and Additive White Gaussian Noise (AWGN). In the discrete-time equivalent baseband channel (Figure 1), fading is represented by multiplying each transmitted symbol by H, where I H I is i.i.d. Rayleigh distributed (infinite interleaving). H--------- I n ----~ransmitter Figure I: Communication over the Rayleigh fading channel. H is assumed to be known at the receiver. Therefore any rotation of the signal constellation due to H can be undone. We assume H to be non-negative real. 17 In order to limit the implementation complexity, the soft-decision BPSK demod- ulator output is quantized using a fixed number of m bits before sending it to the in- put of a Viterbi decoder which decodes the convolutional code. The concatenation of BPSK modulator, channel, demodulator and quantizer results into an equivalent discrete memoryless channel (DMC) with input alphabet of size A = 2 and output alphabet of size Q = 21n (see Figure 2). A~2 inputs OMe Q~8 outputs Figure 2: Equivalent discrete memoryless channel, m = 3 bit quantization. Quantization leads to an implementation loss, i.e., a slightly larger average SNR on the channel is required for obtaining the same decoded bit error rate as compared to sending real numbers to the Viterbi decoder. We are interested in designing the quantizer such that the implementation loss is minimal for given m. For the AWGN-only'case (H = 1), it is known how to optimally quantize the channel outputs given m, the number of bits we want to spend. Viterbi has remarked that the optimal quantizer settings are also found by studying the cut-off rate of the resulting DMC. For instance, it is found that with m = 3 bit quantization, the spacing of the quantizer levels can be chosen uniformly with a distance of about 0.6u, where uZ is the noise variance. The resulting implementation loss for m = 3 is 0.2 dB. This result is also found in [4]. In the sequel, we first recapitulate what is known for the AWGN channel and then we explain how a similar approach can also be used for the Rayleigh fading channel. QUANTIZATION FOR THE AWGN CHANNEL For BPSK, the symbols" 1" and "0" are transmitted using antipodal signaling. At the proper sampling times and in absence of noise, the output r of a matched filter at the receiver equals r = +~ or r = -.../Es, depending on whether a "1" or a "0" has been sent. Due to the additive noise, r becomes a Gaussian distributed random variable having a mean ±.../Es and a variance uZ (Figure 3). The signal to noise ratio (SNR) is defined as Es/uZ. A quantizer operating on r results in the subdivision of the r-axis into a finite number of Q intervals. For example Q = 2 may correspond to two intervals being r < 0 and r ::: 0, respectively. With each interval j, 0 :'S j < Q, we associate two Figure 3: Distributton oir. Gaussian channel, 3 dB SNR, "1" was transmitted. probabilities qij, 0 ::s i < 2, corresponding to the probability of r falling in interval j conditioned on a "0" and a "1" being sent, respectively. The cut-off rate Ro of a DMC having A inputs, Q outputs, transition probabilities qij, and an input distribution Pi equals [1, Eq. (6.62b)] Ro = - log2 ~ Q-l [A-l t; Pi,fiiij ]2 For BPSK modulation A = 2. The transition probabilities qij depend on the setting of the thresholds separating the intervals. From symmetry arguments, we can deduce that optimal thresholds are symmetric around zero. This leads to a symmetric DMC; in other words qO,j = ql,Q-l-j for all j. It can be shown that Ro assumes its maxi- mum for the uniform input distribution PO = PI = 1/2 for any symmetric two input DMC. Moreover, it is known that non-uniform quantization, i.e. with intervals of dif- ferent size, increases Ro only marginally, [3]. As uniform quantization (all intervals the same size) is also much more attractive for implementation, we restrict ourselves in the remainder to uniform quantization of the output, symmetrically around zero. This means, the quantizer is determined by just two parameters, the number of quantization intervals Q = 2m and the spacing of thresholds b.. > O. As an example, Figure 4 shows Ro as a function of b../u with m = 4 bit quan- tization (Q = 16) for two different SNRs. Note that Ro assumes its maximum for both SNRs at about b.. = 0.32u. Furthermore, observe that Ro decreases quickly if b.. is chosen too small whereas Ro is less sensitive if b.. is chosen too large. This skew sensitivity of Ro on b.. can be observed for all SNR~'-and all m. Figure 5 shows how the optimum b.., the one maximizing Ro, depends on the SNR. 0.55 __. Delta/sigma 0.' 0.' 0.5 0.8 0 .• 5 Figure 4: Cu t-off ra te Ro(l'!.la). Gaussian channel, 2dB or4dB SNR, m = 4. This illustrates the well-known (but often forgotten) result that I'!.opt!a hardly depends on the SNR, i.e., the optimum quantizer spacing only depends on the noise variance. Deltaoptl sigma 0.3 0.' 0.1 10 -- snr [dB] Figure 5: Optimum spacing I'!.optla as function of SNR. Gaussian channel, m = 4. Similar results are obtained for other values of m, albeit with different optimal quantizer spacings I'!.opt. Figure 6 shows how Rü, the cut-off rate for m bit quantization and I'!.opt. depends on the SNR The righthand side is a detail around Ro = 0.5. The implementation losses correspond to the horizontal distance between curves as this distance tells us how much more signal energy we need to operate a code with a given rate on the Gaussian channel if we quantize the modulator output. Note that it does not make much sense to make m larger than 4 for a Gaussian channel. By simulation we have confirmed that the losses estimated by studying Rü are in agreement with the losses observed in a simulation of the system consisting of convo- 2.0 1 ~ ... m o.S R. RIP o ,. 1nt Ro ~~.- »: -- f ,." l. c .• ~ ..... .. ···~0 ,., snr ------+ [dB] 5 nr --------+ [dB] Figure 6: Maximal cut-off rate Ra as a function of SNR. Gaussian channel. lutional encoder, channel, quantizer and Viterbi decoder. Also the numerical value of !lapt for each m and each SNR, and other discussed consequences of picking a certain !l are in remarkable agreement with those found in simulation. QUANTIZATION FOR THE RAYLEIGH FADING CHANNEL A Viterbi decoder finds the maximum likelihood (ML) sequence from the set of all possible input sequences [2, Sect. 4.2]. The ML sequence corresponds to the se- quence for which the sum of the properly weighted log likelihood ratios (LLRs) of each received symbol is maximal. For a Gaussian channel, this corresponds to finding the code sequence which has minimum Euclidean distance to the received sequence r. In case of BPSK, we can search for the code sequence that has maximum correlation with r. We now consider the case of independent Rayleigh fading, with the channel trans- fer H known to the receiver (Figure I), BPSK modulation, and u.i.i.d. transmitted symbols. In this situation, the log-likelihood ratio (LLR) of each received matched filter output r is (r-H-../Esl2) Pr[IJr] exp ( - 2a2 ..JES y = In = In -----'-----~ = 2-2-H . r. Pr [0 r] J exp ( _ (r+~ffs)2) (5 Quantization at the input of the Viterbi decoder means that LLR y is quantized before being passed to the Viterbi decoder. This leads to an equivalent discrete memoryless channel (DMC) of which we now derive the cut-off rate Ro. In order to obtain the transition probabilities of the DMC, we first compute the the probability density function (pdf) of the unquantized LLRs of the Rayleigh fad- 21 ing channel. The transmitted signalof amplitude ffs is multiplied by the Rayleigh distributed real number H 2: O. The pdf of H is Pr[H] = - H exp (H-- 2f32 f32 2 ) . We choose the parameter f3 = I/-J2 such that the expected value E [H2] = 1, i.e., the average SNR at the receiver equals ES/(J'2. The pdf of y, for the case "1" is transmitted and for a given H, is Gaussian dis- tributed with mean E [y] = 2H2 E~ u and variance Var [y] = 4H2 E~. u Formally, Pr [y I 1, H) = 1 exp - ( Y -2H 2E )2) Eu 22 J87CH2ES u2 ( 8H2-f u • Hence, the marginal pdf of y for the case a "1" has been sent equals Pr[y 11] = 00 10o Pr[y 11, H]Pr[H]dH = -E-exP 2a-f 1 (I --alyl 2 1) + -y 2 , u where we have used Pr [H I 1] = Pr [H), as the fading does not depend on the trans- mitted symbol, and have introduced the parameter a= 1+ 2 (Es)-l (J'2 > 1. Figure 7 shows Pr [y I 1] for an average SNR of 3 dB. Note that Pr [y I 1] is piecewise exponential with a discontinuous derivative at y = O. Pr (y 11) Y [LLR] Figure 7: Distribution ofy. Rayleigh fading, 3 dB average SNR, "1" was transmitted. 2.2 Hence, its cumulative distribution function, i.e., the probability Pr [y < x I 1], is also piecewise exponential with two pieces x < 0 and x 2: O. By symmetry we obtain Pr [y I 1] = Pr [- y I 0] and this allows us to compute the transition probabilities % of the DMC for any choice of quantization intervals. As an example, Figure 8 shows Ro as a function of the quantization spacing !l, assuming a uniform quantization symmetric around zero with Q = 2m intervals, m E {4, 5}, for the Rayleigh fading channel with average SNR 4 dB or 8 dB. The horizontal axis is dirnensionless as it is an LLR. (In the Gaussian case we have quantized the received signal r.) m=4 m=5 8 dB RO RO 8 dB c . ,,;-- 4 dB 4 dB 2 2.5 -----+ Delta -. Delta Figure 8: Cut-off rate Ro as a function of !l. Rayleigh fading, 4 dB or 8 dB average SNR, m = 4 or m = 5. As in the Gaussian case, we find that the optimal spacing of quantization intervals depends only weakly on the average SNR. Moreover, for the fading channel, it is even more pronounced that the spacing should better be chosen too large than too small. Figure 9 shows how the optimal t:,. depends on m and the SNR. LCR Delta opt 4 bit ~ .......................... 5 bit :~::~.:.~:.~:.~_ .. ..-. -.,,--- 6 bit ------+ snr [dB] Figure 9: Optimum spacing !lopt (SNR). Rayleigh fading, 4 ~ m ~ 6. 2.3 Although !::lapt slightly increases with increasing SNR, we may pick a fixed !::l without loosing much as we have learned from Figure 8, provided this !::l is large enough for all operating conditions. For instance !::l = 1 seems quite reasonable, both for m = 4 and m = 5, in a broad range of SNRs. Finally, refer to Figure 10 for studying the implementation loss of quantization for the Rayleigh fading channel. The figure shows the cut-off rate Rón with uniformly quantized LLR such that the interval spacing !::l is optimal for given m, the number of bits for quantization. 0.8 0.5S m 0.7 R: O_~4 Rf 0." 0.' 0.' 1 R. 1 0.53 O_~:iI 0.3 0.' 0.51 0.1 -- Sol!> 10 snr [dB] snr -- [dB] Figure 10: Maximal cut-off rate Rö' as a function of SNR. Rayleigh fading channel. Observe that some form of soft-decision information is very important as the hor- izontal difference between the curves R~ (unquantized) and RÓ (hard decision) is in the order of 6 dB. On the other hand it does not seem to make much sense to go beyond m = 5, provided that a proper spacing of thresholds is used. We have verified all results found for the Rayleigh fading channel by extensive simulation of the convolutional encoder, the channel, the quantizer, and the decoder. DISCUSSION We have found that the implementation losses due to quantization of the input of a Viterbi decoder can be studied by considering the cut-off rate Ro of the resulting discrete memoryless channel. This holds both for the Gaussian channel and for the infinitely interleaved Rayleigh fading channel. In particular we can find the quantizer setting minimizing the implementation loss for given m, the number of bits represent- ing a log-likelihood ratio. We find that m = 4 for a Gaussian channel and m = 5 for the Rayleigh fading channel lead to a negligible implementation loss, using a uniform quantizer symmetrically around zero. We also find that an interval size of about f). = 1 in terms of LLR results in close to minimum implementation loss for m = 5 for a broad range of SNRs on the Rayleigh fading channel. Since the latter quantizer also works excellent on the Gaussian channel, we believe that the same quantizer choice is also usable if thefading exhibits memory or if the fading has a different characteristics, e.g. Ricean. This presumption seems reasonable given the fact that the Gaussian channel corresponds to the case Pr[H] = 8(H - 1) and a slowly fading channel behaves locally Gaussian. Moreover, the design of the quantizer is only critical close to the limit of the op- erating region. If the channel is substantially worse, the system cannot deal with the channel anyhow. In case the channel is substantially better, a smallloss in accuracy of the soft-decision information due to a non-optimal quantizer setting is uncritical. For simplicity, we have only analysed the BPSK case. The analysis can be ex- tended to 4-PSK in a straight forward way. The results are also applicable to systems using higher order modulation systems (e.g. IEEE802.11a), provided the demapper delivers bit-wise LLRs at its output. SYMBOLS Es average signal power, Es> 0 a2 variance of Gaussian noise (No = 2a2), a > 0 Esla2 signal to noise ratio (SNR) H channel transfer coefficient, H ::::0 real, E [H2] = 1 f3 parameter of the Rayleigh distribution, f3 > 0 r,r received vector, one component, r real y log-likelihood ratio, y = In (Pr [1 Ir] IPr [0 Ir]) m number of bits after quantization, m ::::1 Q number of quantization intervals, Q = 2m f1 spacing of quantization interval thresholds, f1 > 0 f10pt the spacing maximizing Ro for given m Ro cut-off rate ofthe discrete memoryless channel (DMC) Rö' value of Ro for f1 = f10pt and given m A number of input symbols of OMC, A = 2 for BPSK index for input symbols of OMC, 0 ::: i < A j index of output symbols of OMC, 0 ::: j < Q Pi distribution of input symbols of OMC, Li Pi = 1 % transition probabilities of OMC, Lj qij = 1 a parameter of Pr [y I 1] for the Rayleigh fading channel Pr[x] probability/pdf of variable/event x Pr [x I y] conditional probability/pdf of x given y E [x] expected value of random variable x Var [x] variance of random variable x REFERENCES [1] J. M. Wozencraft and I. M. Jacobs. Principles of Communication Engineering. John Wiley & Sons, 1965. [2] A. J. Viterbi and J. K. Omura. Principles of Digital Communication and Coding. McGraw-Hill,1979. [3] J. A. Heller and 1. M. Jacobs. Viterbi decoding for satellite and space communica- tions. IEEE Transactions on Communication Technology, Com-19 (October), pp. 835-848,1971. [4] I.M. Onyszchuk, K.-M. Cheung, and O. Collins. Quantization Loss in Convolu- tional Decoding. IEEE Transactions on Communications, Vol. 41, No. 2, pp. 261- 265, 1993. STATIC AND DYNAMIC CHASE-LIKE BOUNDED-DISTANCE DECODING Jos H. Weber Delft University of Technology, Fac. ITS POB 5031, 2600 GA Delft, The Netherlands J.H.Weber~ITS.TUDelft.NL A soft-decision decoder for an error-correcting block code of Hamming dis- tance d is said to achieve bounded-distance (BD) decoding if its error- correction radius is equal to that of a complete Euclidean distance decoder. The Chase decoding algorithms are reliability-based algorithms achieving BD decoding. The least complex version of the original Chase algorithms ("Chase-3") uses about d/2 trials of a conventional binary decoder. In this paper, we propose two Chase-like decoding algorithms which also achieve BD decoding: a static method requiring about d/6 trials, and a dynamic method requiring only about d/12 trials. Hence, the complexity is reduced by factors of three and six, respectively, compared to the Chase-S algorithm. 1 INTRODUCTION Over the years, many soft-decision decoding techniques have been proposed for binary linear error-correcting block codes [4]. Although a maximum-likelihood (ML) decoding algorithm minimizes the decoding error probability, other sub- optimum algorithms are still of interest as well, due to the (prohibitively) high computational complexity of ML decoding for long codes. Of particular interest are the ones which achieve bounded-distance (BD) decoding, i.e., for which the error-correction radius is the same as for a complete Euclidean distance decoder. On certain channels, such as the additive white Gaussian noise (AWGN) channel, this property guarantees that an algorithm is asymptotically optimal, i.e., it has the same error performance as ML decoding at high signal-to-noise ratios (SNR). Various classes of sub-optimum algorithms provide an efficient trade-off be- tween error performance and decoding complexity. One such class is formed by the Chase algorithms [2], running a number of trials of a conventional algebraic binary decoder and thus generating a set of candidate codewords, of which the most likely one is chosen as the final decoding result. In each trial, some of the most unreliable symbols are inverted before the actual decoding starts. The inversion patterns, also called test patterns, are taken from a (fixed) test set. Al- though the Chase decoding approach is rather old, such decoders are still highly relevant. They are not only used as stand-alone decoders, but also as constituent components in modern techniques like iterative decoding of product codes ( "block turbo codes") [8]. All three methods proposed in [2] achieve BD decoding when applied to any binary linear block code C of length n, dimension k, and Hamming distance d < n. The numbers of trials are (ld/2J)' 2ld/2J, and ld/2 J + 1, respectively. Note that for the last one, known as "Chase-3", the number of trials grows only linearly in the Hamming distance d. Limited-trial Chase-like decoding algorithms, not necessarily achieving BD decoding, are proposed in [1]. In [7], a BD decoding method using about d/4 trials was presented. The basic idea is to split the Chase-3 test set into two smaller test sets, and to choose between the two, for each received word, based upon a brief analysis of the associated reliability information. Therefore, such a method is said to be dynamic, whereas a method with a fixed test set is said to be static. In this paper, we present both a static and a dynamic Chase-like decoding method achieving BD decoding. The numbers of trials are only about d/6 and d/12, respectively, thus realizing a considerable complexity rednotion over exist- ing methods. The rest of this paper is organized as follows. First, BD decoding issues are reviewed in Section 2. Then, the Chase decoding principle is described in Section 3. Next, low-complexity algorithms are presented in Sections 4 (static case) and 5 (dynamic case), including proofs that these indeed achieve BD de- coding. Finally, the paper is concluded in Section 6. 2 BOUNDED-DISTANCE DECODING We assume the following setting. A sequence of k information bits is en- coded into a codeword x = (Xl, X2, ... ,xn) according to code C. Binary phase- shift keying (BPSK) modulation is used, i.e., a binary codeword x is represented by the vector X = (Xl, X2,' .. , Xn) through the usual componentwise mapping from {O, I} to {±1}. Let {! = (&'1, (22,···, (2n) denote the received sequence in n-dimensional Euclidean space, and y = (Yl, Y2, ... , Yn) denote the binary hard- decision vector for which each Yi follows merely from the sign of [}i We define the binary error vector 1J.y z = x I··y. A complete Hamming distance (or binary) decoder generates for any y a codeword x which is closest in Hamming distance sense. The largest sphere in n-dimensional Hamming space centered at x such that all points in the sphere uniquely decode to x has radius l(d - 1)/2J. A decoder A is said to achieve bounded Hamming distance decoding if it generates the original transmitted code- word x for all error vectors z of Hamming weight at most l(d - 1)/2 J . Similarly, a complete Euclidean distance decoder generates for any received {! a codeword x for which its ±1-representation X is closest in Euclidean distance sense. The largest open sphere in n-dimensional Euclidean space centered at X such that all points in the sphere uniquely decode to x has squared radius d. A decoder A is said to achieve bounded Euclidean distance decoding if it generates the original transmitted codeword x for any received {! for which the squared Euclidean distance to X is smaller than d. In general, a complete channel measurement decoder generates for any re- ceived (! a codeword x minimizing the analog weight of z = y + x, defined by w",(z) = I:~=1 aiZi, where the summation is over the real numbers, and a = (al, a2,.· ., an) contains the channel measurement information, which is of the format ai = IWiQil with the w;'s being positive weight factors. When choosing Wi = 1 for all i, then minimizing the analog weight is equivalent to minimizing Euclidean distance. For certain channels, such as the AWGN channel, this is also equivalent to ML decoding. For other channels, fixing the weights Wi may not be the best thing to do. For example, for the coherent Rayleigh fading channel with channel state information (CSI), Wi should be set as the fading coefficient [2]. The term bounded-distance decoder mayalso be reserved for decoders cor- recting up to the error-correcting radius, but not beyond. This is particularly the case in Hamming space. In this paper, however, the term bounded-distance decoding is used for any decoder for which the squared error correction radius in Euclidean space equals the code's Hamming distance d. For a soft-decision decoding algorithm A and any ±l-vector X representing a codeword x, let r A(X) be the region in n-dimensional Euclidean space consisting of those {! for which algorithm A gives X (or x, equivalently) as the decoding result, and let rA(X) be the complementary region. Hence, the squared error-correction radius ,6. of A can be formulated as 11 ,6. = min inf ~)Xi - Qi)2 (1) X I1Er~(X) i=1 Since rA(X) = (rA (X) n rA" (X)) u (rA (X) n rA" (X)), (2) where A* is a complete Euclidean distance decoder, and since 11 min inf ~)Xi - Qi)2 = d, (3) x l!Er~(X)nrA'(X) i=1 we define n Ij = min inf 2)Xi - Qi? (4) x l!Er~(X)nrA"(X) i=1 It follows from (1), (2), (3), and (4) that ,6. = min{ d, Ij}. (5) If 1'1 = d, i.e., Ó ;:::: d, then A achieves BD decoding. In [4), a unified method for computing Ó (and thus 1'1) for reliability-based soft-decision algorithms has been proposed. In case of an AWGN channel, (} is the sum of the transmitted sequence X and the noise sequence l/ = (VI, V2, ... ,vn), where the v;'s are independent zero- mean Gaussian random variables. For ML decoding, or equivalently complete Euclidean distance decoding, the decoding error probability PML has an asymp- totic error exponent determined by d. For a sub-optimum decoding algorithm A, the decoding error probability PA has an asymptotic error exponent determined by 1'1. Hence, the asymptotic loss of algorithm A compared to ML decoding is 10 10glO(d/1'1) dB, and thus any BD decoding algorithm A is asymptotically optimal, i.e., log PML/ log PA -> 1 as the signal-to-noise ratio approaches infinity. 3 CHASE DECODING A complete Euclidean distance or channel measurement decoder may be far too complex for practical implementation. The idea behind the Chase decoding approach is to use a binary decoder in a multi-trial fashion, in combination with the reliability vector a = (0'1,0'2, ... , an), to obtain a relatively small set of possible binary error patterns, of which one of minimum analog weight is the final decoding result. The algorithms have been designed to work with a conventional (algebraic) binary decoder, which determines the codeword which differs in the least number of places from the decoder's input sequence, provided that this number is Hot greater than l(d - 1)/2J. The set of error patterns is obtained by the following procedure. A binary test pattern t = (tl, t2, ... , tn) from a test set T of size I is added to the received vector y. The resulting vector v' = y + t is fed into the binary decoder, giving either an error pattern z' or a decoding failure. In case an error pattern has been found, the error pattern Zt = z' + t relative to y is calculated. After this has been done for all test patterns t from T, the Zt with minimum analog weight is detennined and added to y to obtain the estimate for the transmitted codeword. In case all I trials result into decoding failures, the decoder output is the received vector y itself. In [2] Chase has proposed three algorithms, i.c., three test sets T. For Algo- rithm 1 the set T consists of all binary vectors of length n which contain exactly ld/2 J ones. For Algorithm 2 the set T consists of all binary vectors of length n which have the n - ld/2 J most reliable positions equal to zero. For Algorithm 3 the set T consists of all binary vectors of length n which contain ones in the i most unreliable positions and zeros elsewhere, where i = 0,2,4, ... , d - 1 if d is odd and i = 0,1,3,5, ... , d - 1 if d is even. All three algorithms achieve BD decoding, and give essentially the same performance as ML decoding at high SNR in case of binary antipodal signaling and transmission over the AWGN or coherent Rayleigh fading channel [2]. 4 STATIC METHOD Before presenting our decoding methods, we first introduce some notation. For i = 0,1, ... , n, let ti denote the test pattern of length n which contains ones in the i most unreliable positions and zeros elsewhere. Let aj denote the concatenation of j times the vector a, e.g., (01)302 = 01010100. For convenience, we assume without loss of generality throughout the rest of this paper that the ordering of the received symbols is such that (6) for i = 1, ... n - 1. Under this assumption, note that (7) for i = 0,1, ... , n. Note that using this notation, the Chase-S test set reads {to, t2, t4,·.·, td-d if d is odd, and {to, tI, t3,···, td-d if d is even. Obviously, the original Chase-S inversion patterns were inspired by Forney's Generalized Minimum Distance (GMD) decoding algorithm [3], in which unreliable symbols are erased (instead of inverted) in the various trials. Indeed these patterns are very well suited for erasures, but this paper shows that we can do better in case of inversions. For codes of even Hamming distance d, we allowasmall improvement in the binary decoder, like in [5]. A binary decoder for a code of even Hamming distance d can be designed in such a way that any pattern of d/2 - 1 errors is corrected, while d/2 errors are corrected if one of these errors occurs in a pre-determined position, for which we choose the most unreliable. Throughout the rest of this paper we assume the binary decoder is implemented using this feature. Now we are ready to present a static Chase-like decoding method for binary linear block codes of Hamming distance d 2: 7. It is similar to Chase-S in the sense that all test patterns are of the ti format, but it is different from Chase 3 in the sense that the numbers of inversions per trial have the same parity as the Hamming distance d (except for the. all-zero test pattern in case d is odd) The test set reads (8) r Note that the size of the test set is thus 2 + L(d - 1)/6J = d/61 + 1. In the rest of this section we show that the algorithm based on this test set achieves BD decoding in case we set ai = I~J;Ifor all i. We follow the approach from [4]. Let A be the Chase-like algorithm based on the test set from (8), let X be the ±l-representation of any codeword x, and let {}E rA(X) n rA- (X), where A* is a complete Euclidean distance decoder. Hence, upon receipt of {},algorithm A * does deliver the true codeword, while algorithm A does not. This implies that algorithm A does not generate the transmitted codeword x in any of its trials. Thus, since to is in the test set, the error vector z = x + y contains at least Id/21 ones in the first n - b positions, where if d is odd, (9) if d is even. Furthermore, z contains at least Id/21 - (i - 1) /2 ones in the first n - i - b positions, for any odd i such that ti+b is in the test set. The error vector with the minimum number of ones and with these ones in the least reliable positions, while satisfying the restrictions just mentioned, reads z" = on-d-l1(0313)lCd-l)/6JOv+l1vOb, (10) where v = led - 1)/2J - 3l(d - 1)/6J, (11) and b is as defined in (9). The squared Euclidean distance between {}and X satisfies n n i=l i:::..n-d i=n-d i=n-d i=n-d n-d+3 n-d+3 2: d + 1 + I:(ai)2 + 2a n_d - 2 I: ai i=n-d i=n-d+l 2: d + 1 + min(4,82 - 4,8) = d, (12) f3?:_O where the first inequality is trivial, the first equality follows from the facts that ai = Igil and that Xi and gi have the same sign if and only if Zi = 0, the second equality is trivial, the second inequality follows from (10) and (6), the third inequality follows by observing that under the restrietion an-d 2: an-d+1 2: ",n-d+3 ( an-d+2 2: an-d+3 2: O,t h e va Iue 0 f Di=n-d )2 2 ai + an-d - 2 ",n-d+3 . Di=n-d+1 ai 1S minimum in case all four involved ai are equal to the same nonnegative real number equal ,8, and, finally, the third equality follows from the observation that this minimum value is -1 (achieved for,8 = 1/2). Since (12) holds for any X representing a codeword and any {}E rA(X) n I'A-(X), it follows from (4) that Ó 2: d, and thus from (5) that .6. = d. Hence, algorithm A achieves BD decoding. 32 5 DYNAMIC METHOD In this section we present a dynamic Chase-like decoding method for binary linear block codes of Hamming distance d 2: 13. The basic concept of such dynamic decoding is not new, it has been applied before in the context of GMD decoding [6] as well as Chase decoding [7]. The methods from [6] and [7] added a dynamic feature to the original static GMD [3] and Chase-3 [2] algorithms, respectively. Our method adds a dynamic feature to the static method presented in the previous section. We define two sets (13) and (14) Note that the sizes of test sets from (13) and (14) are thus 3 + L(d- 7)/12J = r(d + 6)/121 + 1 and 2 + L(d- 1)/12J = rd/121 + 1, respectively. At the start of the decoding process, we check the inequality l(d-ï)/12J 5 6 vI-I L L i=1 j=O ctn-d+6+12i-j + L.ctn-d+j + L ctn-b j=4 j=O j :::: l(d-I)/12J 5 v2-1 L L i=1 j=O ctn-d+l2i-j + L ctn-b-j, j=O (15) where b is as defined in (9), VI = l(d-7)/2J -6l(d-7)/12J, (16) and V2 = l(d - 1)/2J - 6l(d - 1)/12J. (17) If (15) is satisfied, then we use test set 71, else test set 72. Further, the usual Chase procedure is followed. In the rest of this section we show that this dynamic algorithm achieves BD decoding. The proof follows the same steps as in the static case. The equivalents of z' are zi = on-d-l1(0313)(0616)l(d-7)/12JOvl+1PlOb (18) in case 71 is chosen as the test set, and (19) in case 72 is chosen as the test set, where b, VI, and V2 are as defined in (9), (16), and (17), respectively. The analysis from (12) remains valid. The second inequality in this analysis follows by applying (15) in combination with (18) in case T" is used, and by applying the counterpart of (15) in combination with (19) in case 72 is used. Hence, again 0 2: d, and thus also the dynamic method achieves BD decoding. 6 CONCLUSION In this paper we have presented static and dynamic Chase-like decoders. The numbers of trials are id/61 + 1 and i(d + 6)/121 + 1, respectively, and thus they are about three times less complex than the static Chase-3 algorithm and its dynamic version from [7]. Still, the proposed methods achieve bounded-distance decoding, and thus they are asymptotically optimalon the AWGN channel, for example. A very interesting open research problem is to investigate whether or not BD decoding can be achieved by a Chase-like decoder using less than d/12 trials. For example, we may consider introducing more than two possible test sets. The choice of which test set to use upon receipt of a certain reliability vector a could then be made based upon a more comprehensive analysis of a than merely a single check such as in (15). REFERENCES [1] G. Arico and J.H. Weber, "Limited-trial Chase decoding", submitted to IEEE Trans. on Inform. Theory, Jan. 2002, revised March 2003. [2] D. Chase, "A class of algorithms for decoding block codes with channel mea- surement information", IEEE Trans. Inform. Theory, vol. 18, pp. 170-182, Jan. 1972. [3] G.D. Forney, Jr., "Generalized minimum distance decoding", IEEE Trans. Inform. Theory, vol. 12, pp. 125-131, April 1966. [4] M.P.C. Fossorier and S. Lin, "A unified method for evaluating the error- correction radius of reliability-based soft-decision algorithms for linear block codes", IEEE Trans. Inform. Theory, vol. 44, pp. 691-700, March 1998. [5] M.P.C. Fossorier and S. Lin, "Chase..type and GMD coset decodings," IEEE Trans. Commun., vol. 48, pp. 345-350, March 2000. [6] SJ. Kovalev, "Two classes of minimum generalized distance decoding algo- rithms," Problems] Peredachi Inform., vol. 22, no. 3, pp. 35-42, 1986. [7] J. Nilsson, A Geometric Analysis of Algebraic Soft Decoding, Lic. Thesis, Linköping University, Sweden, Feb. 1991. [8] RM. Pyndiah, "Near-optimum decoding of product codes: block turbo codes", IEEE Trans. Commun., Volume 46, pp. 1003-1010, Aug. 1998. 34 Analyzing DNA microarrays to unravel gene function Marcel Reinders Information and Communication Theory Group, Delft University ofTechnology Email: m.j.t.reinders@its.tudelft.nl Fifty years after Watson and Crick's discovery of the fundamental structure of DNA, numerous genome projects reveal the exact DNA sequence, as well as the genes that they encode, of a growing number of organisms including humans. This growing body of data, together with the development of DNA microarrays, has made it possible to record the activity of virtually all genes of the organism under study in a rapid and parallel way. The resulting snapshots of the transcriptional activity within cells can be used to study fundamental biological phenomena by examining the gene expressions across many experiments that survey a wide range of cellular responses, phenotypes and conditions. This promises a wealth of data that can be used to develop a more complete understanding of gene function, regulation and interaction. In this talk, I will discuss the computational analysis tools used to interpret the microarray data. Selected reading Microarrays, normalization, transformation I. Duggan et al. Expression profiling using cDNA microarrays. Nature Genetics, 21, 10-14, 1999. 2. Cheung VG, et al. Making and reading microarrays. Nature Genetics, 21, 15-19, 1999. 3. Loekhart DJ, et al. Genomics, gene expression and DNA arrays. Nature, 405, 827-836, 2000. 4. Chen Y, et al. Ratio-based decisions and the quantative analysis of cDNA microarray images. Journalof Biomedical Optics, 2,364-374, 1997. 5. Quaekenbush J. Microarray data normalization and transformation. Nature Genetics, 32 Suppl.2, 496-50 I, 2002. Gene selection, clustering 6. Eisen MB, et al. Cluster analysis and display of genome-wide expression patterns. PNAS, 95,14863-14868,1998. 7. Alizadeh AA, et al. Distinct types of diffuse large B-cell lymphoma identified by gene expression profiling. Nature, 403, 503-511,2000. 8. Hastie T, et al. Gene shaving as a method for identifying distinct sets of genes with similar expression patterns. Genome Biology, 1(2), research0003.1-0003.21, 2000. 9. Quaekenbush 1. Computational analysis of microarray data. Nature Review 2(8),418- 427,2001, 10. Bittner M, et al. Molecular classification of cutaneous malignant melanoma by gene expression profiling. Nature, 406, 536-540, 2000. 11. Hughes TR, et al. Functional discovery via a compendium of expression profiles. Cell, 102, 109-126, 2000. 12. Brazma A, and Vilo J. Gene expression data analysis. FEBS Letters, 480,17-24,2000. Molecular classification and gene selection 13. Dudoit, S, et al. Statistical methods for identifying differentially expressed genes In replicated cDNA microarray experiments. Statistica Sinica, 12, 111-140,2002. 14. Tusher VG, et al. Significanee analysis of microarrays applied to ionising radiation response. PNAS 98(9), 5116-5121, 2001. 15. Perou CM, et al. Molecular Portraits of human breast tumours. Nature 406:747-752, 2000. 16. Ben-Dor A, et al. Tissue classification with gene expression profiles. Journalof Computational Biology, 7, 559-584,2000. 17. Golub TR, et al. Molecular classification of cancer: class discovery and class prediction by gene expression monitoring. Science 286, 531-537, 1999 18. Van't Veer L, et al. Gene expression profiling predicts clinical outcome ofbreast cancer. Nature, 415, 530-536, 2002. 19. Tibshirani, R, et al. Diagnosis of multiple cancer types by shrunken centroids of gene expression. PNAS 99(10),6567-6572,2002. 20. Hedenfalk I, et al. Gene expression profiles of heredity breast cancer. New England Journalof Medicine, 344, 539-48, 200 I. 21. Khan J, et al. Classification and diagnostic prediction of cancers using gene expression profiling and artificial neural networks. Nature Medicine, 9, 505-512,2002. 22. West M, et al. Predicting the clinical status of human breast cancer by using gene expression profiles. PNAS, 98, 11462-11467,2001. 23. Nguyen DV, and Rocke DM. Tumor classification by partial least squares using microarray gene expression data. Biofinformatics, 18,39-50,2001. 24. Dudoit S, et al. Comparison of discrimination methods for the classification of tumors using gene expression data. Statistical Association, 97, 77-87, 2002. 25. Hedge P, et al. Identification of Tumor Markers in Models of Human Colorectal Cancer Using a 19,200-Element Complementary DNA Microarray. Cancer Research 61, 7792- 7797,2001. Genetic network modeling and systems Biology 26. Creighton C, and Hanash S. Mining gene expression databases for association rules. Bioinformatics 19, 79-86,2003. 27. De Jong HJ. Modeling and simulation of genetic regulatory systems: a literature review. Computational Biology, 9(1), 67-103, 2002. 28. Friedman N, et al. Using Bayesian networks to analyse expression data, Journalof Computational Biology, 7, 601-620, 2000. 29. Pe'er D, et al. Inferring subnetworks from perturbed expression profiles. Bioinformatics, 17, S215-S224, 2001. 30. Van Someren EP, et al. Genetic network mudeling. Pharmacogenornics, 3(4):507-525, 2002. 31. Wahde M, and Hertz J. Modeling genetic regulatory dynamics in neural development. Journal ofComputational Biology 8, 429-442 (2000). 32. Dhaeseleer P, et al. Genetic network inference: from eo-expression clustering to reverse engineering. Bioinformatics, 16 (8), 707-726, 2000. 33. Yeung, M.K.S., Tegnér, J., Collins, J. J. Reverse engineering gene networks using singular value decomposition and robust regression. PNAS 99, 6163-6168, (2002) 34. Ideker, T, et al. Integrated genomic and proteomic analyses of a systematically perturbed metabolic network. Science 292, 929-934, (200 I). 35. Kitano, H. Computational systems biology. Nature 420, 206-210, (2002) SIDE-CHANNEL ENTROPY FOR MODULAR EXPONENTIATION ALGORITHMS Lejla Batina'v' and Cees Jansen? 1 K.U. Leuven ESATjSCD-COSIC Kasteelpark Arenberg 10, B-3001 Leuven-Heverlee, Belgium Lejla.Batina®esat.kuleuven.ac.be 2SafeNet BV Boxtelseweg 26a, Vught, The Netherlands cjansen®safenet-inc.com In our previous work we used the combinatorial approach to develop a simple model for Hamming weight leakage. In this paper we go one step further by considering exponents to be random but co-prime to some even composite number. This is based on the assumption that a private exponent is a unit in Z;(Nl' chosen uniformly at random. The probability of such an exponent depends on the choice of the modulus N, i.e. what type of primes are pand q. We consider safe primes, strong primes and the situation where p - 1 and q - 1 are products of small prime factors. The result is given by an upper bound on the information leakage in this refined model. It is shown that the worst case information leakage amounts to only 3.6 bits for 1024 bit moduli. 1 INTRODUCTION Today many analysis methods exist which are used to attack implementations in hard- ware and software of cryptographic algorithms. Rather than attacking the algorithms themselves, specific properties of the implementation such as timing behaviour [3, 8] and power consumption [9], during execution of the algorithm are exploited to gain informa- tion about the secret key. These, so called side channel attacks can be very effective in breaking the cryptosystem, necessitating careful implementation and consideration of countermeasures. In a first order approximation in a previous paper [1] it was assumed that the secret exponents are chosen at random from the set of odd numbers. For this random exponent model (REM) the exact probability distribution was 'derived, and the entropy H(I<) of the number of operations I< determined. In this paper the validity of this model is shown to hold when the exponent is relatively prime to the Euler (Totient)

0, where Pi are prime factors of N. Then, by definition bk+1 4. (JCI + C3 ;::: 0 and (JC2 + (;4 ;::: 0 The following theorem gives a bound on the determinant of a geometrically pro- gressive matrix, from which some rows have been removed. Theorem 1 ([1]) Let M be an (a+1)bx (a+l)b geometrically progressive matrix with parameters (C,D,CO,Cl,C2,C3,C4,(J), and E a real number. Define SB:= {(k,l) E [0,0,] x [l,b]IM(k,l, k,l) < E}, and set w:= ISBI. If Lis the lattice defined by the rows (k, I) E SB of M, then det(L) < «a + 1)b)w/2(1 + C)W 2 IT M(k, I, k, I). (k,l)ESB 1 if we suppose that mini l!uTI! ~ 1. 2 OVERVIEW OF RSA-LIKE CRYPTOSYSTEMS 2.1 LUC scheme ([13]) Let's consider x2 - Px + Q E Z[x], and let a and ai he its a polynomial roots in the quadratic field Ql( vi D), where D = p2 - 4Q. The Lucas se- quence (Vn(P, Q))nEN with parameters Pand Q is the integer linear sequence defined by Vn = an + an, for all n E N. This sequence satisfies the recursion Vn+2 = PVn+1 - QVn, for all nE N, and each term can be computed in O(log(n)) using a square-and-multiply algorithm. Furthermore, it can be shown that for all prime l, the sequence (Vn(P, Q) mod l)nEN is periodic with a period that divides l - (D jl), and that for all (k, n) E ~, Vkn(P, Q) = Vk(Vn(P, Q), Qn). KEY GENERATION: Alice chooses two large primes pand q and computes the product N = pq and lu,v(N) = lcm(p + (-1)u, q + (-1)V), for (u, v) E [1,2]2. She chooses an integer e which is coprime to lu,v(N) for all (u,v) E [1,2]2 and computes integers du,v with (u,v) E [1,2]2 such that edu,v == 1 mod lu,v(N). Alice's secret key is (d1,l,d1,2,d2,I,d2,2,P,q) and her public key is (N,e). ENCRYPTION AND DECRYPTION: Let m E ZjNZ be a plaintext. Using the square-and-multiply formulae, Bob computes the ciphertext c = Ve (m, 1). By computing t = c2-4 E ZjNZ and setting (-I? = (tjp) and (_I)V = (tjq), Alice can recover the plaintext since Vdu,v (c, 1) = Vedu,v (m, 1) = VI (m, 1) = m mod N. 2.2 Elliptic Curve-based Cryptosystems We consider elliptic curves 2 over Zj NZ, where N = pq is a product of two primes p > q > 3. Let a, s e Z such that gcd(4a3 + 27b2, N) = 1 and let Ep(a, b), Eq(a, b) denote the set of points (x, y) satisfying y2 = x + ax + b in (ZjpZ)2 3 and (ZjqZ)2 together with infinity points Op and Oq. Ep(a, b) and Eq(a, b) are abelian groups under the tangent-and-chord operation, and #Ep(a, b) = p+ 1- tp and #Eq(a, b) = q + 1 - tq, where Itpl :::; 2VfJ and Itql :::; 2...ji. Defining EN (a, b) as the direct sum Ep (a, b) EBEq (a, b), we get an abelian group of order (p+l-tp)(q+l-tq). Every point (x, y) E (ZjNZ)2 satisfying y2 = x3+ax+b gives by reduction modulo pand modulo q a point in EN(a, b) and when the tangent-and-chord operation makes sense for such points (which is almost always the case), it coincides with the group law in EN(a, b). 2 A detailed description of the theory of elliptic curves can be found in [12]. KMOV scheme ([8]) KEY GENERATION: Alice chooses two large primes pand q such that p == q == 2 mod 3 and computes the product N = pq and Y(N) = lcm(p + 1, q + 1). She chooses an integer e which is coprime to Y(N) and computes d such that ed == 1 mod Y(N). Alice's secret key is (d, p, q) and her public key is (N, e). ENCRYPTION AND DECRYPTION: Let M = (mx, my) E (ZINZ)2 be a plain- text. b = m; - m~ E ZINZ and the cyphertext C = eM = Bob computes (cx, cy) EN(O, b), using the tangent-and-chord E operation. By computing b = c; - c~ E ZINZ, Alice can recover the plaintext M = dC E EN(O, b), since #Ep(O, b) = p + 1, #Eq(O, b) = q + 1 and #EN(O, b) = (p + l)(q + 1) = Y(N). Demytko's scheme ([4]) KEY GENERATION: q and computes N = pq ; Alice chooses two primes pand she picks two integers a and b such that gcd( 4a + 27b2, N) = 1 and computes 3 tp = P + 1 - #Ep(a, b), tq = q + 1 - #Eq(a, b), and Yu,v(N) = lcm(p + 1 - (-1) tp, q + 1 - (-l)Vtq), for (u, v) E [1,2]2 Alice's keys are as in LUC. U ENCRYPTION AND DECRYPTION: Let M = (mx, my).E EN(a, b) be a plaintext. Bob com.putes the ciphertext C = eM = (cx, cy) E EN(a, b), using the tangent- osui-chord operation. By computing t = c~+acx+b E ZINZ and setting (-1)u = (tip) and (_l)V = (tlq), Alice can recover the plaintext du,vC = M E EN(a, b). 2.3 Cryptosystem based 011 orders of quadratic imaginary fields The ring of integers OJ( of a quadratic field K is the maximalorder of K, aud satisfies OK = Z + [(dJ( + Jd;)/2]Z, where dK is the discriminant of K. For any order Od of discriminant d in a quadratic field K, we consider the set of proper fractional Od-ideals, and the ideal class group C( Od) is the quotient by the principal ideals. The class number is h(d) -= IC(Od)l. HMT3 scheme ([7]) We consider the third scheme of [7J, which uses totally non-maximal orders. KEY GENERATION: Aliee chooses two large primes pand q and set the funda- mental discriminant ,6.1 = -8 so that h(,6.1) = l. ,6.pq = ,6.1P2q2 is public. Th. 7.24 of [3] gives the value h(,6.pq) = (p ± l)(q ± 1). The public key e is such that gcd (h( ,6.pq), e) = 1 and the secret key d satisfies ed == 1 mod h( ,6.pq). ENCRYPTION AND DECRYPTION: Let rn, an ideal of O':;pq be a plaintext. The computations are analoguous to RSA in the multiplicative group C(O':;pJ. 3 A NEW EXTENSION OF BONEH-DURFEE-DE WEGER ATTACK Let N = pq, and let's write ed + kY(N) = 1, for k E Z and with lcm(p ± 1, q ± 1) for LUC and HMT3 cryptosystems, Y(N) = !cm(p + 1, q + 1) for KMOV cryptosystem, { lcm (p + 1 - (~) tp, q + 1 - (~) tq) for Demytko's cryptosystem. For each case, we can write (up to some small multiplicative constants depending on gcd's related to Y(N)) ed + k(A + s) = 1, with (A, s) = (N ± 1, ±p ± q) for LUC and HMT3, (N + l,p+q) for KMOV and (N + 1, SDem) for Demytko, where SDem = P (1 - U) tq) + q (1 - (~) tp) - (~) tp - Ü) tq + Ü) (~) tptq. We need now to evaluate some bounds on k and s, in order to solve the small inverse problem. Let f(x, y) = x(A + y) - 1 E Z[x, y], this polynomial has (k, s) as a solution modulo e.: This solution has to be small enough so that we can apply the following theorem. Theorem 2 (cf. [6]) Let P(x, y) be a polynomial which is a sum of at most w monomials. Suppose P(xo, Yo) == 0 (mod em) for some positive integer m, where Ixol < X and IYol < Y. If IIP(xX, YY)II < em /..;w, then P(xo, Yo) = 0 E Z. Let's write d = NJ and assume for simplicity that e ~ N. As de Weger pointed out in [14], it is relevant to consider the distance between the two primes in the modulus: let ~ := lp -ql = N(3. We assume f3 E ]~, ~[. Using the following bound: 0 < p +q - 2VFi < ~2 /4VFi we deduce that, up to some multiplicative constant we ignore, Ikl :::; é and [s] :::; e2(3-1/2 (resp. e(3, e3/4), when s = ±(p + q) (resp. ±(p - q), SDem)' We call X the bound on [s] and Y the bound on Ikl. The main idea developped by Boneh and Durfee is to find two polynomials gl and 92 which have (k, s) as a solution modulo em for a m to be found, thanks to polynomial i, and which have small enough norms so that to apply Th. 2. So our two polynomials will have (k, s) as a solution in Z, and computing Resx(91, g2) will make it possible to recover s, with classical techniques of factorization in Z[x], if gl and 92 are not algebraically dependent, which is heuristically often the case. Recovering s gives the factorization of the modulus. To find these two polynomials of low norm, we construct a lattice L from two families of polynomials as defined in [1]: gi,k(XX, yY) (called x-shifts) and hj,k(xX, yY) (called y-shifts), with k E [0, m~, i E [0, m - k], j E [0, t~, where m and t are parameters of the dimension of L. As in [1] their coefficients form a triangular matrix corresponding to L. Using LLL on this lattice allows low norm integer linear combinations of these polynomials to be found. We know the bound on the norm of the two first vectors by Lemma 1, so we can find conditions on b so that the norm of the first two basis vectors is small enough to have (k, s) as a solution over the integers. We have det(L) = detxdety with m(m+l)(m+2) m(m+l)(m+2) m(m+l)(m+2) d et, = e 3 X 3 Y 6 { det., 'm(m+l) 'm(",+I) .(m+l)(m+'+I) (2) = e 2 X 2 Y 2 • where det; is the determinant of the matrix spanned only by the x-shifts, and det., is the product of the diagonal terms of the part of the matrix involving only the y-shifts. Computing those determinants will give a bound on b, but the matrix corresponding to det., is actually a geometrically progressive matrix, and we can improve this bound, by deleting the rows whose diagonal term is greater than em and applying Th. 1. Let's l\1y be the matrix made up with the rows corresponding to the y-shifts of the matrix and whose columns correspond to the columns of this matrix such that x'yJ with j > i: Lemma 1 For all positive integers m, and ti the matrix My is geometrically pro- gressive with parameters (m2m, e, m, 2(3 - 3/2,.5 + 2(3 - 1/2, -1, 1,2) when X = é and Y = e2(3-1/2 (m2m,e,m,(3-1,o+(3,-I,I,2) when X = é and Y = e(3 { (m2m, e, m, -1/4, b + 3/4, -1, 1,2) when X = eÓ and Y = e3/4 Proof: As h1,k(XX, yY) = em-kylylr(xX, yY) = I::=o I:~=ocu,vxuyv+l ([1]), with cu,v = (k)(U)(_I)k-u u V em-kAu-vX"uyV+l J, we.. can compute NI Y l·i, J. , k , l) = Ci,i+j-l = (~)(i+;_J(-I)k-iem-kAl-jXiyi+j. Cond. 3 of Def. 1 is satisfied, and because A ~ e, we have: IMy(i,j, k, l)1 ::; m2mem-k+l-j Xiyi+j. And by replacing for each case X and Y by their value, we obtain Cond. 1 and 2. Finally, the two inequalities of Cond. 4 are effective, so we obtain the stated result. • Instead of using Eq. (2) directly, we can transform our matrix into the following form and use the fact that the matrix My is geometrically progressive. 1 x xy ... xmym y y2 ... yt I ... I xmym+l . .. xmym+t x-shifts D 0 selected y-shifts 0 M~ 50 In this matrix, D is diagonal (obtained with a Gauss elimination) and M; is the matrix obtained by removing the rows of My when the diagonal term is greater than em. This matrix corresponds to a lattice L1 of dimension w = m( m + 1) /2 + w', where w' is the dimension of the lattice L~ of matrix M;. We are able to bound its determinant because My is geometrically progressive, and therefore we can apply Th. 1. We only keep the rows with a diagonal term lower than em, i.e. M(k l k l) < em which leads to l < (3/2-ó-2{3) k (resp l < (l-ó-{3) k l < (l-4ó) k) , , " 2{3-1/2' {3' 3 when Y = e2{3-1/2 (resp. Y = e{3, Y = e3/4). To compute the dimension of Ly' we nee III eac case to compute w = uk=O lCkj were ' d . h I ~m h c = (3/2-ó-2{3) 2{3-1/2' (1-~-{3) or (l-;4Ó) and t = cm for each case. Using Th. 1, the determinant of the lattice L~ can be bounded by det(L~) S À n::o nlL~~ M(k, l, k, l), where À of 0 which can be ignored. is only a function Using this bound, det(L1) = det(D) det(L~) S À'ec'm3+o(m3) where c' depends on the situation. To apply Th. 2 we need it to be less than ern(w"-l), where Wil = ~(m + l)(m + 2) + w', which leads to -20 2 + 40 - 3 + 4,8 < 0 (resp. -02 + 20 +,8 - 1 < 0, -202 + 40 - ~ < 0) when Y = e2{3-1/2 (resp. Y = e{3, Y = e3/4). Finally the following table gives our bounds on 0 = 10gN (d) as a function of ,8 (and the limit values when ,8 = 0.5 or 0.25), up to which we recover s in (heuristical) polynomial time and so break the cryptosystems. Our results Pinch's results (fJ = 0.5) fJ fJ = 0.5 fJ = 0.25 HMT3 - 1 - J8fJ - 2/2 0.292 1 1 - J8fJ - 2/2 1 LUC 0.25 0.292 1- v-g 0.5 KMOV 0.25 1 - J8fJ - 2/2 0.292 1 Demytko 0.125 0.133 5 CONCLUSION AND OPEN PROBLEMS We have improved Pinch's results with some techniques of resolution of mod- ular polynomials. Such attacks work for fast variants of RSA (cf. [5J and [2]) but determining if such performant attacks work for RSA moduli of the form pr qS and on cryptosystems based on non-maximal orders in imaginary quadratic fields of discriminant _pq2 is still an open problem. What should be borne in mind is that it is extremely dangerous to use a small secret exponent, in particular because the correct bound is thought to be the square root of the modulus ([1]). 51 Ackowledgements We express our gratitude to Jean-François Misarsky and Éric Reyssat who read a draft of this paper and made many helpful comments. Many thanks to Pierre and Laura for correcting some misprints and our broken english. REFERENCES [1] D. Boneh, G. Durfee: Cryptanalysis of RSA with Private Key d Less Than NO 292. Adv. in Crypto. - Proc. of Eurocrypt '99, LNCS 1952 (1999) 1-11 [2] M. Ciet, F. Koeune, F. Laguillaumie, J.J. Quisquater: Short Private Exponent Attacks on Fast Variants of RSA. Tech. Rep., UCL Crypto Group (2002) [3] D.A. Cox: Primes of the form x2 +ny2, John Wiley & Sons, New-York (1989) [4] N. Demytko: A new elliptic curve based analogue of RSA. Adv. in Crypto. - Proc. of Eurocrypt'93, LNCS 765 (1994) 40-49 [5] J. Hinek, M.K. Low, E. Teske: On some Attacks on Multi-prime RSA, SAC 2002, LNCS 2595 (2002) 385-404 [6] N. Howgrave-Graham: Finding Small Roots of Univariate Modular Equations Revisited. Cryptography and coding, LNCS 1355 (1997) 131-142 [7] D. Hühnlein, A Meyer, T. Takagi: Rabin and RSA Analogues based on Non- Maximal Imaginary Quadratic Orders. Proc. of ICICS'98 (1998) 221-240 [8] K. Koyama, U.M. Maurer, T. Okamoto, S.A. Vanstone: New Public-key Schemes based on Elliptic Curves over the Ring Zn. Adv. in Crypto. - Proc. of Crypto'91, LNCS 576 (1992) 252-266 [~] A.K. Lenstra, H.W. Lenstra Jr., L. Lovász: Factoring Polynomials with Ra- tional Coefficients. Math. Ann. 261 (1982) 515-534 [10] R.G.E. Pinch: Extending the Wiener Attack to RSA-type Cryptosystems. Electronic Letters, 31:20 (1995) 1736-1738 [11] R.L. Rivest, A. Shamir, L. Adlernan: A Method for Obtaining Digital Sig- natures and Public-Key Cryptosystems, Technical Report, MIT jLCSjTM-82, MIT Laboratory for Computer Science, Cambridge, Massachusetts (1977) [12] J.H. Silverman: The arithmetic of elliptic curves, Graduate text in mathe- rnatics 106, Springer, Berlin (1986) [13] P. Smith: LUC Public Key Encryption: a Secure Alternative to RSA, Dr Dobb's Journal, 18:1 (1993) 44-49 [14] B. de Weger: Cryptanalysis of RSA with Small Prime Difference. Appl. Algebra Eng. Commun. Comput. 13:1 (2002) 17-28 [15] M.J. Wiener: Cryptanalysis of Short RSA Secret Exponents. IEEE Trans- action on Information Theory 36:3 (1990) 553-558 52 KEY-DEPENDENT APPROXIMATIONS IN CRYPTANALYSIS. AN APPLICATION OF MULTIPLE Z4 AND NON-LINEAR APPROXIMATIONS. FX Standaert, G Rouvroy, G Piret, JJ Quisquater, JD Legat Universite Catholique de Louvain, DCL Crypto Group, Place du Levant, 3, 1348 Louvain-Ia-Neuve, sta ndaert, rouvroy, pi ret,q uisq uater, legat@dice.uel.ac.be Linear cryptanalysis is a powerful cryptanalytic technique that makes use of a linear approximatioti over some rounds of a cipher, combined with one (01' two) roundis] of key guess. This key quess is usually performed by a partial decryp- tion over every possible key. In this paper, we investigate a porticuier class of non-linear boolean functions that allows to mount key-dependent approximations of s-boxes. Replacing the classical key guess by these key-dependent approxima- tions allows to quickly distinguish a set of keys including the correct one. By combining different relations, we can make up a system of equations whose solu- tion is the correct key. The resulting attack allows larger flexibility and improves the success rate in some contexts. We apply 'it to the block cipher Q. In parallel, we propose a chosen-plaintext attack against Q that reduces the required number of plaintext-ciphertext pairs from 297 to 287. 1. INTRODUCTION In its basic version, linear cryptanalysis is a known-plaintext attack that uses a linear relation between input-bits, output-bits and key-bits of an encryption algorithm that holds with a certain probability. If enough plaintext-ciphertext pairs are provided, this approximation can be used to assign probabilities to the possible keys and to locate the most probable one. Non-linear approximations are commonly used in cryptanalysis in order to increase the probabilities of linear approximations. The key-dependency of non-linear approx- imations is mentioned in several papers and allows more flexibility in the attacks. In this paper, we underline how a particular class of non-linear approximations can be used to mount interesting key-dependent relations. Then, we combine these relations to make up a system of equations whose solution is the secret key. It allows a great flexibility in the number of key-bits we want to recover and improves the success rate in some contexts. We apply the method to the block cipher Q, where potential improvements exist in multiple approximations. 'vVe also improve the linear crypt- analysis of Q by moving to the chosen-plaintext context. This paper is organized as follows. Section 2 lists some previous works in the area of cryptanalysis that are closely related to this paper. Section 3 explains the basic prin- ciple of our attack. Section 4 describes the block cipher Q as well as an iterative linear characteristic of the block cipher. We stress that moving to the chosen-plaintext con- text can significantly improve the linear attack. Section 5 compares our key-dependent attack with the classical attack against Q. Finally, section 6 poses some open problems and underlines potential improvements. Conclusions are in section 7. 53 2. RELATED WORKS Since the first description of linear cryptanalysis by Matsui [9], plenty of papers tried to take advantage of the method in different attempts to break public ciphers and some of these papers include theoretical improvements. We try here to list the improvements that are directly connected to our work. In 94, Nyberg [10] introduced the concept of linear hull and explains why the practical success rate of the attack is sometimes better than theoretically predicted by Matsui. In the same time, Kaliski and Robshaw [11] investigate the possibility to use multiple linear approximations in order to improve this success rate. Although practical im- provements in the cryptanalysis of DES are limited, their work underlines situations where multiple approximations can be efficiently combined. In 96, Knudsen and Robshaw [12] tried take advantage of non-linear approximations to improve the probabilities of the characteristics used to approximate block ciphers. They underlined the key-dependency of non-linear approximations and concluded that the problem of connecting them together is complex. Practically, their improvements are limited to the outer rounds of block ciphers. Shimoyama and Kaneko use similar ideas to improve the cryptanalysis of DES in 9S [13]. In 2000, Knudsen and Mathiassen [14] illustrate that moving from the known plaintext to the chosen plaintext context can improve matters in linear cryptanalysis. Finally, we refer to Lite recent work of Parker and Raadum! [7, S], who generalize linear crypt- analysis to larger fields than Z2' This paper tries to take advantage of Z4 approxirnations when we directly recom- bine them into the binary case. This allows to get several approximations with very interesting biases. Then, we investiga.te the possibility to mount key-dependent re- la.tionships and underline that these can help to quickly distinguish a small set of keys including the correct one. By combining different approxirnations, we can find a system of equations whose solution IS the correct key. Potential advantages could then be found in the large number of equations making up the system. In terms of connections, these results are directly connected to Z1 cryptanalysis but the recombination into the binary case can be viewed as a partjeular case of non- linear approximations. However, our objective is to underline that the classical way to perform the key guess, using a real s-box in the last round, is not necessarily the best way to do it. Key-dependency in non-linear approximations offers interesting alternatives. The combination of several equations is also closely related to multiple approximations. Finally, we take advantage of the chosen-plaintext context in order to improve the crypt.analysis of the block cipher Q. 3. BASIC PRINCIPLE We assume that the reader is familiar with linear cryptanalysis as well as with its improvements presented in section 2. 3.1 Z4 Approximations of s-boxes: Let's take a simple 4-bitx4-bit substitution lTechnical reports of the NESSIE project. box. For example: SB = {a, 15, 11,8,12,9,6,3,13, 1,2,4, 10,7,5, 14} ( 1) In a linear attack, we try to approximate this s-box with a linear boolean function. For every output bit, there exist 24 different linear functions and if we combine out- put bits together, we have 24 x 24 possible linear approximations of the s-box. The problem of finding good linear approximations is easily done by exhaustive search. Practically, the best linear approximations of SB holds with a bias E = 4/162. Obviously, other approximations are possible. For example, non-linear approxima- tions offer more possibilities by combining XOR (or addition modulo 2) operations with AND (or multiplication modulo 2) operations. The classical problem in non- linear cryptanalysis is to combine these non-linear relations with key addition layers. In linear cryptanalysis, key additions only influence the sign of the bias. When using non-linear approximations, also the value of the bias is key-dependant. In [7, 8], a generalization of the linear cryptanalysis in Z4 is proposed. We observed that a simple recombination of this generalization into the binary case allows to ob- serve very interesting biases. In this paper, we propose to approximate n-input s-boxes with functions f : (Z4t -> Z2 whose coefficients are in Z4 . We recombine symbols (or function outputs) of Z4 into Z2 with the simple rule: 1. Symbols 0,1 in Z4 are 0 in Z2. 2. Symbols 2,3 in Z4 are 1 in Z2. The obvious consequence of this generalization is a larger number of possible approx- imations, moving from 2 in the binary case to 4" in Z4' However, this is nothing 71 else than a kind of non-linear cryptanalysis. Indeed, when we recombine into Z2, coefficients 1 and 3 will give rise to quadratic terms and coefficients 2 and 3 to linear terms. For example: (3) YI = Xo EEl XI EEl XOX2 EEl XOX3 EEl X2X3 (4) when we recombine" it into Z2 and it holds with a bias E = 6/16. 3.2 Key Dependent Approximations: Now the question remains: "What can we do with these non-linear relations?". As the problem of combining non-linear approximations together has not changed, we propose here to take advantage of the 21n this paper, we define the bias of a lineal' or Z4 approximation that holds with probability p as E = P - 1/2. This definition allows to determine the probability P of an approximation involving several active s-boxes approximated with biases Ei (pilling-up lemma): 1 P = - + 2,,-1 IT " Ei (2) 2 i=l 3We mean that both functions have the same truth table. 43xO and 2Xl give rise to lineal' terms Xo and Xl' Then we have 3 quadratic terms XOX2, XOX3 and X2X3 (because X2 and X3 have coefficient 1 and Xo has coefficient 3). 6/l6x 1 21l6x 1 -142:=----_ O/16x2 Figure 1: Linear Cryptanalysis and Key Dependant Attack. key-dependant behavior of these relations. 'vVecan easily investigate the influence of this key addition on a non-linear approximation. for example, if the 4-bit input of the s-box is XORed with 4 key-bits, we have: (5) The next table gives the probability that 5 holds depending on the key added: K Probability K Probability K Probability K Probability 0 14/16 4 6/16 8 8/16 12 8/16 1 8/16 5 8/16 a 6/16 13 14/16 2 2/16 6 10/16 10 8/16 14 8/16 3 8/16 7 8/16 11 10/16 15 2/16 We observe that the largest bias (é = 6/16) can happen for 4 different keys (0,2,13,15). Remark that a coefficient 2 only introduce linear terms in the boolean function and therefore, the associated key bits do not affect the magnitude of the bias. For example, the bias magnitude of (4) is independent of bit kj which cause 1< = 0 and 1< = 2 to have the same bias magnitude. Definition: Let equation Y be considered" independent" of equation X if the highest bias achieved by X suggest a set of k (in our example k = 4) keys, and the highest bias achieved by Y suggest another set of keys, so that X and Y do not suggest the same keys. Definition: Let a complete set of equations be a set of equations where everyone of the 2n possible keys are suggested by only one equation. A simple exhaustive search allowed us to find several complete sets of equations. Fur a complete set of equations of SB, the biases are always distributed in the following way: é(good.case) = ±6/16, E(bad.cased = ±0/16 E(bad.case2) = ±0/16, ctbad.case-} = ±2/16 (6) Distinguishing the good case obviously involves determining that the key is in a 4- element set. 3.3 An Attack using Key Dependent Approximations: In a classical lin- ear cryptanalysis against a r-round block cipher, the attacker uses a (r - I)-round 56 approximation. Then the ciphertext is partially decrypted through the final round under every possible key in order to get the active bits of the linear approximations at round r - 1. The linear approximation is checked for every possible key and the correct key will cause the relation to hold more significantly. However, some wrong keys will also cause the approximation to hold, but with a lower bias, as shown in Figure 1. In our practical example with SB, the problem is to distinguish a curve (representing the good key) that holds with a bias e = ±8/16 from 6 curves with bias e = ±4/16 and 9 with bias e = 0/16. The resulting success rate depends on the probability that the linear approximation holds, the number of plaintext-ciphertext pairs and the correlation between the different curves. Computation of the Success Rate (9): Let N be the number of given ran- dom plaintext-ciphertext pairs and p be the probability that the linear approximation holds (assume lp - ~I is sufficiently small). Let q(i) be the probability that a wrong key candidate K~;) produces the same partial decryption in the final round than the correct key Kg. Then, if q(i)'s are independent, the success rate of the attack is: (7) In our alternative approach, the final round is replaced by a key-dependent Z4 approx- imation. Then we decrypt the ciphertext under the 4 equations of a complete set and one of these equations will cause the linear approximation to hold more significantly. In our practical example with SB, the problem is to distinguish a curve (representing the good 4-element set of keys) that holds with a bias e = ±6/16 from 1 curve with bias e = ±2/16 and 2 with bias e = 0/16. In section 5, we apply both approaches to the block cipher Q and compare them. We also investigate how different sets of equations can be combined to recover the key. 4. THE BLOCK CIPHER Q 4.1 Description: Q [3] is a block cipher submitted as a candidate to the NESSIE project. It is already broken by differential and linear cryptanalysis [4, 5]. It has a straightforward SPN structure with s-boxes based on those in Rijndael (The AES selection) and Serpent, leaving out linear transformations excepted a simple permu- tation of the bytes. As a result, its diffusion properties are suboptimal. Q has 128-bit text and key blocks. The block is divided into 4 words and 16 bytes as shown in Figure 2. The round function of Q is represented in Figure 3 and is repeated 8 or 9 times in order to get a secure cipher. In the round function, Bytesub is taken from Rijndael. It substitutes the value of each byte independently. The bit-slice s-boxes (SA and SB) are taken from Serpent. For i = 0, ... , 31, we construct a 4-bit input i by taking bit i from every word, then we replace each input according to the s-box and return the new bit values to their original place. Finally, the permutation changes the order of the bytes in the words in the following way: word 0 is not changed, word 1 is rotated by 1 byte: (4,5,6,7) becomes (7,4,5,6), word 2 is rotated by 2 bytes and word 3 is rotated by 3 bytes. All these transforms are combined with classical key addition 3 7 11 15 2 6 10 14 1 5 9 13 0 4 8 12 WO W1 W2 W3 Figure 2: Q Blocks. KA KB KR input_ message .. ~1 . BYTESUB . ~ . S-BOX A ~ f-E±11 I '-!.I I PERMUTATION HS.BOX . . B ~ . output message Figure 3: Q Round. layers (KA, KB, KR). For clarity, we ignore the modifications of the first and final rounds. Only a final key addition is added after the last s-box SBS. 4.2 A Simple and Iterative Linear Approximation: Due to the very simple structure of Q, movements of bits and bytes are specific for every part of the round: l. A vertical shift of bytes is achieved by the perrnutation only. 2. An horizontal shift of bytes is achieved by s-boxes SA and SB only. 3. Bit modifications inside one byte are achieved by Bytesub only. Combining this observation with the absence of a specific diffusion layer, we can easily build an iterative characteristic with only one active s-box in every layer of the cipher. Our iterative characteristic uses the following approximations and we illustrate the first round in Figure 4 where the grey bytes are active. Bytesub: l. Round 1 : X7 EB.To = Y7, e = 16/256. 3. Round 3 : X2 = Ys,e = 16/256. 2. Round 2 : X7 = Y2, e = 16/256. 4. Round 4 : X5 = Y7, e = 12/256. SA and SB: (the same approximations are used in every round) l. SA: Xo = YI, e = 2/16. 2. SB: Xl = Yo, e = 2/16. The output of round 4 can be linked to the input of round 2 if we want more rounds to be approximated, On the same figure, we illustrate that by moving to a chosen plaintext context, we can easily fix the input bits of Bytesub and SA in the first round (black bytes are fixed). This provides a significant improvement of the probability that the linear approximation holds by a factor 25. Equations 8, 9, give the probabilities that our 4-round approximation holds in a known- or chosen-plaintext context. (8) (9) 5The bias e is defined in the appendix. 58 Figure 4: Iterative characteristic and chosen plaintext effect. Note that applying this simple observation to the best-known attack against 8 rounds of Q [5], we can improve the probability of the approximation by a factor 25 and the number of plaintext needed by about 210 The resulting attack would need about 287 chosen-plaintexts to reach a success rate of 98.4%. The 32 fixed bits leave us with 296 chosen-plaintexts to mount an attack and therefore do not restrict the plaintext area too much. Finally, it is important to note that by changing approximations of SA and SB (with the same biases), we can easily construct similar characteristics where we change the last active s-box S B6. Everyone of these characteristics allow to recover 4 different key bits with the same plaintext-ciphertext set. For example,by simply changing the approximation of SA in the final round, (xo = Y1, xo = Y2 and Xo = Y3 have the same bias), we could have bytes 4, 9 and 14 active in the last round and recover 12 key bits. More approximations exist if more bits are needed. Every attempt to recover 4 key bits is an independent experiment and if p is the probability to recover 4 key bits, the probability to recover 4 x n key bits equals the probability that the nattempts success: P = p": 5. A CHOSEN-PLAINTEXT ATTACK AGAINST 4 ROUNDS OF Q 5.1 Comparison: In this section, we evaluate the success rate of our attack against 4 rounds of Q and compare it to a classical key guess. In the classical case, we have 9 active s-boxes because the first Bytesub and SA are fixed and the last SB is used to perform the key guess. The resulting probability is: 1 1 1 1 12 1 Pchosenplaintext =2 8 ·s·( 2 16' S·S) .(256'S) = 2 -22.41 (10) As mentioned in section 3, the keys are correlated in the following way: the correct key exhibits the best bias (±8/16), 6 wrong keys exhibit a bias ±4/16 and the 9 last ones have a bias ±0/16. When using a key-dependent approximation with bias e = ±6/16 in the last round, we have 10 active s-boxes because only the first Bytesub and SA are fixed. The resulting 6The same reason causes a significant linear hull effect. Method/N 242 243 244 245 24b 241 24~ 249 Classical 11.17 16.36 25.08 38.62 56.71 76.57 92.73 99.31 Key-dep 25.51 32.26 42.61 57.43 75.31 90.61 98.11 99.86 Table 1: Success rate of both methods (given in %). probability is: p . ch.osesi.ploiritext. = 29 . ~8' (~16' ~8' ~)2 (E ~~)= 2-22.83 8 . 256' 8' 8 (11) The next table indicates a possible complete set of equations and the keys suggested by every equation: Equation Keys suggested Xl = 3Y3 + Y2 + 2Yl + Yo 0,2,13,15 Xl = Y3 + 2Y2 + 2YI + Yo 1,3,5,7 Xl = Y3 + Y2 + 2YI + 3yo 4,6,9,11 Xl = 3Y3 + 2Y2 + 2YI + 3yo 8,10,12,14 For every key, these equations are correlated in the following way: the correct equa- tion exhibits the best bias (±6/16), one wrong equations exhibit a bias ±2/16 and the 2 last ones have a bias ±0/16. From this, we can evaluate the success rate of both methods, as shown in Table I, where N is the number of plaintext-ciphertext pairs. Our method is obviously faster because we only distinguish a 4-element set including the correct key, in place of the correct key itself in a classical linear cryptarialysis. 5.2 How to Find More Bits: The previous section underlines that we can quickly distinguish a 4-element set of keys using a key-dependent approximation of s-box SB. Then, the problem becomes to decrease the size of this key-set. Practically, this in- volves the use of other complete sets of equations and we illustrate this in Figure 5. For the input bit Xl of SB, WP found12 equations, making up 3 complete sets (1,2,3) of equations. As every key is suggested by a different combination of these equations, we can recover the key as soon as all our 3 complete sets suggest the good 4-element set of keys. These 3 complete sets have the same success rate (say sr) Considering them as independent experiments, the probability that they all suggest the correct key would be sr3 We observe that after a certain level of computations (about N = 242 in our example), this is more efficient that the classical key guess. Note that in practice, these complete sets are not independent" but we also found approximations involving other bits as we will explain in the next section. Another interesting point is the ob- servation that some situations can never appear. Imagine that, after a certain level of computations, the first set suggests equation la and the second set suggests equation 2b. As they have no common keys, we obviously know that one (or both) of these experiments are wrong. 7 All these equations involve the same bits. bo la lb le Id 2a 2b 2e 2d 3a 3b Je 3d ~n y 0 • • • 1 • • • 2 • • • 3 • • • 4 • • • 5 • • • 6 • • • 7 • •• 8 •• • 9 •• • 10 • • • 11 • • • 12 • • • 13 • • • 14 • • • 15 • •• Figure 5: 3 Complete Sets of Equations involving Xl and the Suggested Keys. 6. OPEN QUESTIONS AND IMPROVEMENTS At this time, we have shown that the way to perform the final key guess in linear cryptanalysis does not necessarily involve the use of a real s-box. Situations where we use a non-linear key-dependent approximation to guess the key could be useful and at least, this method offers a great flexibility compared to the original one. The princi- pal open problem is to investigate if this can help to make an efficient use of multiple approximations. This last point would be a great improvement as we demonstrate now. In the preceding section, we investigated an efficient combination of 3 complete sets of equations, allowing to recover the 4 key-bits at the input of a non-linearly ap- proximated s-box. These 12 equations all involve the same input and output bits. However, our exhaustive search allowed us to find other complete sets of equations, involving different input bits. As we suggest in section 4, it is also possible to find other linear approximations by simply changing the way we approximate SA and SB. Consequently, we can connect different linear approximations with our addi- tional complete sets. Practically, for the same s-box SB, we found 9 complete sets of equations, including the 3 sets of Figure 5. As a result, we have a large redundancy in the information we get from a plaintext-ciphertext pair. The way we could com- bine this additional information is an open problem and of course, is very similar to the combination of multiple approximations in linear cryptanalysis, perhaps with a slightly different point of view. Another open question concerns the choice of non-linear approximations. We inves- tigated a particular case of quadratic relations, where our boolean functions can be represented as functions in 24, Other approximations are possible and perhaps allow better results. Algebraic descriptions of block cipher components, as presented in [15], could for example be useful. b( Finally, our investigations were limited to the final round of the block cipher Q. This allowed to evaluate a different way to guess the key. Previous papers presented differ- ent methods to use non-linear approximations in order to improve linear cryptanalysis. Most of these techniques could be combined with this work. 7. CONCLUSIONS We explored a different way to perform the key guess in linear cryptanalysis. It allows great fiexibility because the key is dynamically specified when additional plaintext- ciphertext pairs are provided. From a 4-element set including the correct key, we limit the set to 2 elements and finally recover the key itself. In practice, we used a particular class of non-linear approximations to make up a system of equations whose solution is the secret key. An advantage is to be found in the large number of possible approximations (from 2n to 4n). As a consequence, we found a large number of equations that over-define the system. The best use of these multiple approximations is an open problem. Compared to classical cryptanalysis, we improved the probability of success after a number of plaintext-ciphertext pairs is provided. We also have additional information because some solutions of the system are not allowed, informing the attacker about possible wrong experiments. Finally, we suggested a chosen-plaintext attack against the block cipher Q that reduced the required number of plaintext-ciphertext pairs from 297 to 287. REFERENCES [1) .J.Daemen and V.Rijmen, AES Proposal: Rijndael, http://csrc.nist.gov / encryption/ aes/ rijndael/Rijndael. pdf. [2) R.Anderson, E.Biham, L.Knudsen, Serpent: A Flexible Block Cipher With Maximum Assurance, The First Advanced Encryption Standard Conference, Ventura, California, August 1998. [3) L.McBride, Q : A Proposal JOT NESSIE, submitted to NESSIE, 2000. [4) E.Biham et al, Differential Crypta.nalysis o] Q, in the proceedings of Fast Software Encryption 2001, LNCS 2355, pp.174-186, Springer-Verlag. [5) L. Keliher, H. Meijer, and S. Tavares, High Probability Linear Hulls in Q, Proceedings of Second Open NESSIE Workshop, Royal Holloway College, University of London, Egham, U.K, 2001. [6) L.Keliher, H.Meijer, S.Tavares, New Method JaT' Upper Bounding the Maximum Average Linear Huil Proba.bility Jar SPNs, proc. of Eurocrypt 2001, LNCS 2045, pp.420-436, Springer-Verlag. [7) M.G.Parker, Genmlized s-box Nonlinearity, NESSIE Report NRS/DOC/UIB/ WP5/020/ A, .June 2002. [8) H.Raadum, M.G.Parker, Z4 Linear C1'Ypta.nalysis, NESSIE Report NES/DOC/UIB/ WP5/018/1, June 2002. [9) M.Matsui, Linear Cryptanalysis Method Jar DES Cipher, in the proceedings of Eurocrypt 9~, LNCS 0765, pp.386-397, Springer-Verlag. [10) K.Nyl>erg, Linear Approximatiun o] Block Ciphers, in the proceedings of Eurocrypt 94, LNCS OY50, pp.439-444, Springer-Verlag. [Ll] B.S.Kaliski, M ..J.B.Robshaw, Linea,' Cryptanalysis using Multiple Approximations, in the pro- ceedings of Crypto 94, LNCS 0839, pp.26-39, Springer-Verlag. [12) L.R.Knudsen, M.J.B.Robshaw, Non-Linear Approximations in Linear Crupiomolusis, in the pro- ceedings of Eurocrypt 96, LNCS 1070, pp.224-236, Springer-Verlag. [13) T.Shimoyama, T.Kaneko, Quadmtic Relations o] s-box and Its Application to the Linear Attack oJ Full Round DES, in the proceedings of Crypto 98, LNCS 1462, pp.200-211, Springer-Verlag. [14) L.R.Knlldsen, J.E.Mathiassen, A Chosen-Plaintext Linear Attack on DES, in the proceedings of Fast Software Encryption 2000, LNCS 1978, pp.262-272, Springer-Verlag. [15) A.BirYllkov, C.De Canniere, B.Preneel, Block Ciphers and Systems oJ Quadratic Equations, in the proceedings of the Third NESSIE Workshop, November 6-7 2002, Munich, Germany. 62 HUFFMAN CODES REVISITED R. Stasiáski, and G. Ulacha Dept. of Electronics and Telecom., Poznan University of Technology, and Faculty of Computer Science, Szczecin University of Technology Piotrowo 3A, PL-60-965 Poznari, and Zofnierska 49, PL-71-210 Szczecin, Poland rstasins~et.put.poznan.pl, gulacha~wi.ps.pl In the paper Huffman codes that mix different ri-nary code elements in one code are presented, i = 1,2, ..., k, k is an integer. The r-nary elements are then binary coded, and two based on well known facts coding techniques are described. In general, appropriately chosen mixed Huffman codes are not worse than r-nary ones for any r , hence, the idea of optimal Huffman codes is introduced. The method is relatively simple, as this is basically an extension of the Huffman coding approach, while examples show that indeed, savings in the average code lengths are obtained. INTRODUCTION Huffman coding is the best known systematic approach to generation of com- pact block source codes [1, 2]. The average code length of compact block source code (counted in r-nary code elements) is upper-bounded by the source entropy value increased by one, however, this is usually a rather pessimistic evaluation. It is also a well known fact that for some sources code improvement is obtained when using r-nary codes for specially chosen r [3, 4, 5], the simplest example are here sources having symbol probabilities of the form r :", i are integers. In such a case the average code length for an r-nary Huffman code is exactly equal to the theoretical minimum, which in general is not true for other codes. In the paper Huffman codes mixing binary and multilevel code elements in one message are described. Namely, the goal is to obtain optimal Huffman codes having the shortest possible average code lengths, section 3. For these codes nodes of Huffman trees may have variable numbers of sons coded using r-nary elements for variable r, Then, multilevel elements are grouped in blocks which are binary coded, section 2. The code is sent immediately when a block is completed and coded, section 4. Section 5 contains examples illustrating different aspects of the technique. The method is relatively simple, as it is basically an extention of Huffman coding approach. g m = b(rq) bq(r) log r Ibq(r) 5 8 1.60000000000000 0.99060156295072 17 27 1.58823529411765 0.99793935230591 29 46 1.58620689655172 0.99921548958508 41 65 1.58536585365854 0.99974557737796 94 149 1.58510638297872 0.99990922864288 147 233 1.58503401360544 0.99995488242923 200 317 1.58500000000000 0.99997634114899 ... ... ... .,. 190537 301994 1.58496250072164 0.99999999999969 log 3 = 1.58496250072116 ... 1.0 Table 1: Best approximations of log 3 by rational numbers mig for growing al- lowable m, q values. EFFICIENT CODING OF MULTILEVEL CODE ELEMENTS Let us introduce the number length b(r), being the smallest number of bits necessary to represent a non-negative integer r. Of course: logr ::::b(r) < logr I- 1, (1) b(r) is the number of bits necessary to represent an r-nary digit using fixed-length binary code. Note that for powers g of number r: b(rq) < g. b(r), e.g.: b(5) = 3, b(53) = b(125) = 7 < 3· b(5) = 9. This is the hint how to reduce the number of bits for coding sequencies of r-nary signals. Namely, we collect. them in groups of size g, interpret as r-nary numbers, and then code using b(rq) bits. We define average number of bits necessary for coding an r-nary element: (2) Note that the best q values are obtained when rq is the closest possible but smaller than some power of 2. The obvious way to find such q values is to search for pairs of integers (g, m) which proportions approximate number logr in the best possible way, mig> logr. Then, the number m = b(rq). Table 1 shows how these proportions improve if we allow greater and greater m, q values for r = 3. r l2(r) q m bq(r) i2,,(r) g(r) g'(r) log r Ibq(r) logrl!2q(r) 3 11 5 8 is 1.5893 0.06667 0.07737 0.99060 0.99727 3 11 41 65 I¥, 1.5851 0.08130 0.08158 0.99975 0.99991 5 2~ 3 7 3~ 2.3253 0.06667 0.07467 0.99511 0.99855 7 2% 6 17 2~ 2.8143 0.02381 0.04283 0.99083 0.99753 7 2% 11 31 2fï 2.8104 0.03896 0.04678 0.99616 0.99892 11 3fi 13 45 3f:J 3.4601 0.08392 0.08539 0.99939 0.99981 Table 2: Binary coding of r-nary symbols, m = b(rq). In fact, it is possible to use somewhat smaller numbers q and m than in Table 1 for precise approximation of logr. Namely, q-element blocks of r-nary elements can be coded using variable-length binary code. Not having any a priori information about frequency of each r-nary value in the coded data we assume that the values have the same probabilities, and apply the Huffman coding scheme. When q = 1 we get a binary code in which one part of codewords is of length b( r), and the other of length b( r) - 1. The average code length is: l2(r) = b(r) - (2b(r) - r)lr = b(r) - 2b(r) Ir + 1. (3) We are interested in cases when bq(r) < l2(r), hence, the code length gain is introduced: g(r) = l2(r) - bq(r). (4) The gain can be increased when q-element r-nary blocks are coded using variable- length binary code: g'(r) = l2(r) - !2q(r), !2q(r) = l2(rq)lq. (5) Table 2 contains some interesting values of the above parameters for few r . When comparing the last columns with that in Table 1 we can see that variable-length code for pairs (q,m) = (5,8),(41,65) from first and fourth row in Table 1 are approximately as efficient as fixed code for pairs from rows second and fifth. MIXED AND OPTIMAL HUFFMAN CODES In our considerations we will be working with n-element data sources ordered in accordance with increasing probabilities of alphabet letters, i.e. Pi < P2 < ... 1.5 . P3, (9) where P4 :::: PI + P2, and for n = 4 we have additional conditions: 0.6· (Pl + P2 + P3) < p4, and PI + P2 :::: P4· NOTE ON MIXED HUFFMAN CODER AND DECODER The crucial for simple coder and decoder realization feature of Huffman trees is that each node of it is associated with some fixed prefix. This means that appearance of an r-nary element in the coded data stream is always preceded by some particular prefixes, hence, it need not to be signalized otherwise. Addition- ally, the number of rl elements is equal to the number of coded source symbols, numbers of other ones are defined by occurence counts of appropriate prefixes. For each ri it exist a coder transforming qi ri-nary digits into binary code. For minimizing decoding delays the coder may send the code immediately after collecting and coding qi ri-nary digits, of course, if re = 2 then no delay is introduced. Decoding delays strongly depend on code structure, in some cases on data structure, too. For example, when each codeword starts with one r-nary element and the rest of it is binary, there is a constant delay of q source symbols. On the other hand, if the r-nary element is associated with r least probable source symbols, coding delays are data dependent and can be quite significant. When mixed Huffman code is known, coder and decoder realization is not much more complicated than that for the binary code. For both code types the control is determined by code Huffman tree, for mixed Huffrnan code there is somp extra memory management, and a procedure for translating qi digit. ri-nary numbers into binary code. These task are of low computational complexity. EXAMPLES Example 1: The probabilities of source letters are: {O.l, 0.1, 0.1, 0.3, 0.4}. If r = 3, then the source fulfills constraints from the previous chapter: PI = P2 = :=- Pr = p, and (r - 1) . P :::;Pr+!. In Table 3 binary, mixed, and ternary Huffman codes can be found. The average code length for the binary code is: ('2 = 0.4 + 2 . 0.3 +;) . 0.1 + 2 . 4 . 0.1 = 2.1, while for the mixed one it is either L2,3 = 0.4 + 2 . 0.3 + 3 . (2 + 1.6) . 0.1 = 2.08, if fixed-length block coding of quintuples of ternary symbols is done, or L~,3 = 0.4 + 2 . 0.3 + 3 . (2 + 1.5893) ·0.1 = 2.0768, Pi Binary code Mixed code Optimal code 0.4 1 1 03 0.3 00 00 13 0.1 011 Ol 03 2303 0.1 0100 0113 2313 0.1 0101 0123 2323 Table 3: Huffman codes for Example 1. Pi Binary code Mixed code 0.3 00 00 0.25 10 01 0.15 or 0.17 11 103 0.15 010 113 0.15 or 0.13 011 123 Table 4: Huffman codes for Examples 2 and 3. for variable-length code, Table 2. Equations (4), and (5) are fulfilled. The codes have identical elements on first two positions, in particular combination 'Ol' forms the header for least probable codewords. This reflects similarity of Huffman trees for the codes, they differ only in the shape of subtree for r least probable letters. What is interesting, for variable-length coding of quintuples the optimal code is the ternary one having parameters: L3 = 2.08, and L~ = 2.0661. Example 2: The letter probabilities are: {0.15, 0.15, 0.15, 0.25, 0.3}. This time only the condition PI = P2 = ... = Pr = P is met, r = 3. Codes for this example are presented in Table 4. The average code lengths are: L2 = 2.3, L2,3 = 2.27, and L~,3 = 2.2652, equations (4), (5) are fulfilled. The codes are different, which is not surprising, as condition (r - 1) . P :S Pr+l is not met. Here ternary code is not optimal. Example 3: The letter probabilities are: {0.13, 0.15, 0.17, 0.25, 0.3}, none of conditions from section 3 is met, but relation (9) holds. Codes are identical to those from previous example, and can be found in Table 4, too. This means that average code lengths for mixed Huffman codes remain the same (representations of blocks of five ternary digits do not differ). On the other hand, the average code length for the binary code diminishes to L2 = 2.28, hence, equations (4), (5) are not valid, see section 3. As above, the mixed code is the optimal one. CONCLUSION New class of Huffman codes has been introduced in the paper. Their code- words contain binary and multilevel elements mixed together, hence, the proposed name: mixed Huffman codes. The codes are derived from nonbinary Huffman trees, each r-nary code element correspond to a node with r sons. If the number of sons of each node is optimized with respect to the average code length, then the optimal Huffman code is constructed. The case when r-nary element codes r least probable source letters is analyzed in detail, and formula providing maxi- mal gain in the average code length per one r-nary element is presented. When transmitting data r-nary elements are grouped in blocks, binary coded, and sent, no side information is needed. The method efficiency depends on the quality of binary codes for blocks of multilevel elements, hence, two approaches has been proposed: in one blocks are treated as r-nary numbers, the other is hased on variable-length coding. The latter approach is slightly more efficient, but han- dling of fixed-length codewords is easier, hence, both techniques are analyzed. The main drawback of the method are important coding delays that emerge for some codes and data structures. The main advantage of the technique is its simplicity, being characteristic of the Huffman coding approach in general. REFERENCES [IJ K. Sayood, "Introduction to Data Compression," 2nd edition, Morgan Kauf- mann Publ., 2000. [2J R.W. Hamming, "Coding and lnformation Theory," 2nd edition, Englewood Cliffs, NJ, Prentice-Hall, 1986. [3J D. Manstetten, "Tight bounds on the redundancy of Huffman codes", IEEE Transactions on Information Theory, Vol. 38, Nr 1 , pp. 144-151, Jan. 1992. [4J R.M. Capocelli, A. De Santis, "A note on D-ary Huffman codes", IEEE Trans- actions on Information Theory, Vol. 37, Nr 1 , pp. 174-179, Jan. 1991. [5J A. Kato, Te Sun Han, H. Nagaoka, "A D-ary Huffman code for a class of sources with countably infinite alphabets", Proc. 1995 IEEE Int. Symp. on Information Theory, p. 324, 1995. ~o Improved Elastic Storage for Digital Still Cameras René J. van der Vleuten * Philips Research Laboratories, Eindhoven, The Netherlands Abstract We have analyzed elastic storage, a recently proposed method for optimally stor- ing a variable number of images in a fixed storage space. While the original solution maximized the average image quality, we have found a new solution that maximizes the minimum image quality. Our experimental evaluation for a digital still camera example shows that for the new solution, compared to the original solution, the minimum image quality, which determines the overall image qual- ity impression, increases by up to 2.3 dB (PSNR), whereas the average image quality never decreases by more than 0.3 dB. Furthermore, compared to a tradi- tional digital still camera that assigns the same storage space to each image, our experiments show that the new elastic storage strategy provides storage capacity gains ranging from 10% to more than 100%, depending on the selected images and desired guaranteed image quality level. 1 Introduetion In [1, 2] we introduced elastic storage, a new solution for storing a variable number of images in a fixed storage space at the highest overall quality. Initially, when only a few images are stored, they are stored losslessly (or near-losslessly). When more images have to be added, the storage space occupied by the previously stored images is adjusted to fit in each new image. To obtain the best storage space allocation, a variable amount of space is allocated to each image, depending on its complexity. The implementation is based on bit-rate scalable image compression methods, which enable the data for each new image to simply overwrite part of the data of previously stored images. Thus, the method operates without any decoding and re-encoding of image data on the storage medium. The elastic storage strategy determines how the data of individual images is com- bined to be jointly stored on the storage medium. As it turns out, there are several *Rene.van.der. Vleuten@philips.com f:{-1 alternatives for doing this, differing in the distortion criterion that is optimized by the strategy. The distortion criterion that is considered here is the system level distortion criterion and not the distortion criterion used for compressing the individual images. On the system level, it is assumed that e.g. perceptual importance criteria that may have been used for compression of individual images are properly represented by the block significanee values provided for the image data blocks (see e.g. [2]). The original elastic storage strategy was to optimize the overall rate-distortion per- formance of the storage medium, i.e. to guarantee the lowest overall total distortion of the stored images. In this optimization, no attention was paid to the resulting quality of the individual images and no quality guarantees for individual images could be given. Therefore, to be able to more precisely control the quality of individual stored images, an alternative strategy is to try to achieve approximately equal quality of the individual images. Thus, no image will have a quality that significantly differs from the average quality. However, as a consequence, this may result in a higher total overall distortion than achieved by the original implementation. A new elastic storage strategy will be introduced and evaluated in Section 2. Next, in Section 3 the performance of a digital still camera using the new strategy will be compared to that of a traditional still camera. Section 4 concludes the paper. 2 Improved storage strategy The elastic storage method is based on the application of bit-rate scalable image corn- pression methods, such as described in [3,4, 5, 6, 7, 8]. These scalable compression methods have the feature that the bit string that describes the image can be cut off at any point, while the bits that are not cut off provide the best possible reconstruction quality for the image, given the number ofbits used to represent it. When the bit string is not cut off, the image is encoded losslessly or "near-losslessly", i.e. at least at such a quality that the reproduetion is perceptually indistinguishable from the original. The scalability feature allows us to cut the encoded bit string into a number of equal-sized blocks and to drop blocks from the end of the string. By defining a significanee mea- sure for each block, we can compare the blocks of each new image to be stored with the already stored blocks ofprevious images. The previously stored blocks are overwritten by new blocks that have a higher significance. For the original strategy, as described in [2], the significanee of an image data block is formally defined by -orig Di,k-l - Di,k S k = (1) " Ri,k - Ri,k-J where the index i refers to the specific image, and the index k indicates the number of encoded blocks that are available at the decoder. Di,k-l thus represents the distor- tion in the reproduetion when k - 1 subsequent blocks have been decoded and Di,k represents the distortion in the reproduetion after k blocks have been decoded. Ri,k-l represents the rate, i.e. the total number of bits used, for k - 1 subsequent blocks and Ri.k represents the number of bits used for k blocks. Di.O is the initial distortion at the decoder, when no bits have been decoded and Ri.O = O. Since for the current irnple- mentation all blocks in the main memory have the same size, the division by the block size Ri.k - Ri,k-! can be left out, giving the following equivalent significanee measure, which is actually used in the implementation: for k ~ 2, (2) for k = 1. The constant C is added to prevent the first block of an item from being overwrit- ten (so a "thumbnail" image, stored in the first block, can always be retrieved). The value of C is chosen such that the resulting significanee for the first block is larger than any significanee value that can occur for the other blocks in the memory. Further- more, the significanee value for the first block is not based on the distortion reduction value (Di.! - Di.o), but on the absolute distortion (Di.!) after decoding the first block. In this way, it is possible to accurately compute the total distortion (and hence the PSNR in case of the squared error distortion measure) for each image stored in the memory. Since we want to more precisely control the individual image qualities, the alterna- tive strategy we investigated first is to directly replace the distortion difference values used in the original strategy by the absolute distortion values (i.e. the image qualities). The significanee field for each block now contains the total distortion of an image after decoding all its blocks including the current block: saltr = { o., for k ~ 2, (3) i.k: o., +C for k = 1. The effect of the proposed strategy is that always the quality of the image that currently has the highest quality (i.e. the lowest distortion) will be reduced to make room for new images. Each block of a new image will be stored as long as the image distortion after storing the block is still higher than the distortion of the image that currently has the lowest distortion. To compare the performance of the alternative strategy with that of the original strategy, we use the same experimental setup as in [2]. Thus, we use the example of a digital still image camera storing images on a diskette. The storage capacity was divided into 88 blocks, of 16384 bytes each, for a total of 1441792 bytes. For the scalable image compression method, we again used the low-complexity scalable DCT- based image compression method that is described in detail in [7, 8]. This method offers about the same compression performance as JPEG, but at a significantly lower hardware implementation complexity and with the additional bit-rate scalability fea- ture. The images used in the experiments are again the 24 Kodak PhotoCD PCD0992 images (see, e.g., [9]). Table 1 lists the average image qualities for the original and alternative strategies for subsequently storing the 24 images. The average image quality for the strategy Ayr Ayr Ayr Min Min Min Orig Altr New Orig Altr New +01: 58.9 58.9 58.9 58.9 58.9 58.9 +02: 58.9 58.9 58.9 58.9 58.9 58.9 +03: 58.9 58.9 58.9 58.9 58.9 58.9 +04: 58.9 58.9 58.9 58.9 58.9 58.9 +05: 58.9 58.9 58.9 58.9 58.9 58.9 +06: 54.8 54.5 54.5 5l. 0 53.3 53.3 +07: 51.6 51. 4 51. 4 49.8 50.9 50.9 +08: 48.4 48.2 48.2 45.8 47.3 47.4 +09: 46.8 46.6 46.6 44.7 46.1 46.1 +10: 45.8 45.7 45.7 44.7 45.2 45.2 +11: 44.9 44.7 44.9 44.4 43.1 44.4 +12: 43.8 43.8 43.8 40.7 42.6 42.7 +13: 41. 8 41.5 41.5 39.5 40.7 40.7 +14: 40.7 40.4 40.6 38.4 39.0 39.7 +15: 40.3 39.8 40.2 38.3 37.3 39.4 +16: 39.9 39.5 39.8 38.3 37.3 39.1 +17: 39.5 39.2 39.4 38.3 37.3 38.5 +18: 38.7 38.3 38.7 36.H 36.7 37.3 +19: .,38.0 37.8 38.0 36.6 36.1 36.7 +20 : 37.7 37.5 37.6 35.0 36.1 36.3 +21: 37.1 36.9 37.0 35.0 35.4 36.0 +22: 36.6 36.5 36.5 34.4 35.4 35.5 +23: 36.5 36.3 36.4 34.1 34.3 35.4 +24: 3G.0 35.6 35.9 33.0 32.7 34.6 Table 1: Average (Avr) and minimum (Min) image qualities (PSNRs) after subse- quently storing the images 01 through 24 using the original strategy (Orig), the first alternative strategy (Altr) and the improved new strategy (New). proposed here (Altr) is equal to or lower than for the original strategy (Orig), as was to be expected since the original strategy maximizes the average image quality. However, the loss in average image quality is quite small (typically only 0.25 dB and at most 0.5 dB) and therefore acceptable. But, a further analysis of the proposed strategy reveals that it, in some cases, can have an undesirable effect on the quality of individual images. In particular, for these cases the minimum image quality is lower than for the original strategy. To make it easy to detect these cases, the minimum image quality values for both the original (Orig) and alternative (Altr) strategies haven been plotted in Figure 1 as well as listed in Table 1. There are seven cases in which the minimum quality of the proposed strategy (Altr) is lower than for the original strategy: after storing images 11, 15-19, and 24. The minimum image quality is important, next to the average quality, since it gives the user a guaranteed quality for each individual image. Furthermore, the overall image quality impression/satisfaction is often determined by 55 50 co ~ cr: 45 z Cl) CL 40 35 2 4 6 8 10 12 14 16 18 20 22 24 Number of stored images Figure 1: Minimum image qualities after subsequently storing the images Ol through 24 using the original strategy (Orig), the fust alternative strategy (Altr) and the pro- posed new strategy (New). the lowest-quality image, since artefacts will be first or most visible in this particular image. Fortunately, it turns out that there exists a further improved strategy. The improved strategy uses the absolute distortion values, like the first alternative strategy. However, instead of always reducing the quality of the image that currently has the highest qual- ity, a "look-ahead" of one quality reduction step is employed: at each time the image that has the highest remaining quality after the next data block is removed from it will be reduced in quality. It is easily seen that this strategy has the effect of always max- imizing the minimum image quality. The block significanee definition for this new strategy is snew = {Di,k-l for k :::: 2, i.k Di,O + C for k = 1. (4) In Table 1 the average and minimum image qualities have also been listed for the new strategy (New). The minimum image qualities for the three strategies are also shown in Figure 1. The minimum image quality for the new strategy is always higher than or equal to the minimum qualities for the other strategies, as expected since the new strategy maximizes the minimum quality. A comparison of the average image quality values reveals first that the average quality for the new strategy (New) is always at least as good as that of the previous strategy (Altr) and furthermore that the average quality is very close to the optimum of the original strategy. For the specific experimental setup chosen for still image compression, Table 1 shows that for the new strategy, compared to the original strategy, the minimum image quality increases by up to 2.3 dB, whereas the average image quality never decreases by more than 0.3 dB. Furthermore, the in- crease in minimum image quality is in all cases larger (and often much larger) than the decrease in average image quality. Therefore, the overall image quality impression is always improved. 3 Comparison with a traditional digital camera Finally, we want to get an impression of the advantage of elastic storage, using the newly found strategy (Section 2), compared to a traditional digital still camera that assigns the same storage space (or a fixed bit rate) to each image. To do this, we investigated the minimum image quality for both the best-case and worst-case selection of images from the test set. In the best case, the images are stored in the order from "easy" to "difficult" to compress, whereas in the worst case they are selected in the opposite order. As a measure of compression difficulty, we used the number of bits required to losslessly compress the image. In Table 2 the minimum image qualities are listed. Since the numbers for the traditional non-elastic camera were manually generated, only the cases that enabled an exactly equal allocation of the 88 memory blocks were selected: 8, 11, and 22 images. In the best case, or when the differences in image complexity are relatively small, the gain in storage capacity for a certain minimum quality is modest. E.g. 9 instead of 8 or 12 instead of 11 images can be stored: a gain of about 10%. However, in the worst case, or when the differences in image complexity become larger, the gain in storage capacity increases significantly. E.g. Ll or 12 instead of 8, or 24 or more instead of 11 images can be stored: a gain ranging from about 40% to more than 100%. Since the storage capacity gain from applying elastic storage depends so much on the selected images, it is impossible to represent this gain by a single number. Ex- tensive experiments in a practically relevant setting would be required to determine the gain in a real camera system design. However, for a camera that is designed for the worst case (as is the case for traditional digital still cameras, which use very con- servative compression ratios), our experiments indicate that a 40% increase in storage capacity can easily be demonstrated. 4 Conclusion In order to be able to more precisely control the individual image qualities in an elastic storage system, we have investigated the elastic storage strategy. This strategy deter- mines how the data of individual images is combined to be jointly stored on the storage BEST WORST # Img (C) New Old Img (C) New Old 1 +20 (12) : 59.5 +13(21): 58.9 2 +03(13) : 58.9 +08 (20) : 58.9 3 +23 (13) : 58.9 +01(19) : 58.9 4 +07(14) : 58.9 +18(18) : 58.9 5 +12 (14) : 58.9 +14 (18) : 53.2 6 +15 (14) : 58.9 +05(18): 49.3 7 +02(15) : 55.6 +24(17): 46.0 8 +09(15): 51.7 50.6 +22(16): 44.9 39.7 9 +10(15): 50.4 +21(16): 42.1 10 +16 (15) : 47.8 +19 (16) : 40.7 11 +17(15) : 46.6 45.7 +11 (16) : 40.0 34.3 12 +04(15): 45.7 +06 (16) : 39.3 13 +06(16): 45.0 +04 (15) : 39.1 14 +11(16) : 43.8 +17(15): 38.4 15 +19 (16) : 42.2 +16 (15) : 38.2 16 +21 (16) : 41.5 +10 (15) : 36.8 17 +22(16) : 40.7 +09(15): 36.6 18 +24(17) : 40.1 +02(15): 36.1 19 +05 (18) : 39.3 +15 (14) : 36.0 20 +14 (18) : 39.0 +12 (14) : 35.7 21 +18 (18) : 37.3 +07 (14) : 35.4 22 +01 (19) : 36.4 31-.4 +23(13): 35.3 27.9 23 +08 (20) : 35.7 +03(13): 34.8 24 +13 (21) : 34.6 +20(12): 34.6 Table 2: Best-case and worst-case minimum image qualities for elastic storage (New) and traditional non-elastic storage (Old). The images are stored from low to high (best) and high to low (worst) complexity CC:number of memory blocks required for lossless compression of the image). medium. We have found a new strategy that maximizes the minimum image quality, so it has a higher guaranteed image quality than any other strategy. Since the overall quality impression is often determined by the image with the lowest quality (i.e., the image in which compression artefacts will first become visible), the new strategy also improves the overall perceived quality. Our experimental evaluation for a digital still camera example shows that for the new strategy, compared to the original strategy (which maximized the average image quality), the minimum image quality CPSNR) increases by up to 2.3 dB, whereas the average image quality never decreases by more than 0.3 dB. Furthermore, the increase in minimum image quality is in all cases larger (and often much larger) than the de- crease in average image quality. Therefore, the overall image quality impression is always improved. Compared to a traditional digital still camera that assigns the same storage space to each image, the new elastic storage strategy provides storage capacity gains ranging from 10% to more than 100%, depending very much on the selected im- ages and desired guaranteed image quality level. Although it is therefore impossible to represent the capacity gain by a single number, our experiments indicate that a 40% increase in storage capacity can easily be demonstrated. The new strategy is implemented by a simple modification of the compressed im- age data block significanee values used for the elastic storage method. Therefore, all basic operations (store, retrieve, delete) remain the same and the low complexity of the original strategy implementation is retained. References [1] R. J. van der Vleuten, R. P. Kleihorst, and C. Hentschel, "Flexible storage of images for digital cameras," in Data Compression Conference (DCC 2001), (Snowbird, UT), p. 521, Mar. 27-29, 2001. [2] R. J. van der Vleuten, R. P. Kleihorst, and C. Hentschel, "Flexible storage of images with application to digital cameras," in Int. Con! Image Proc. (ICIP 2001), (Thessaloniki, Greece), pp. 1097-1100, act. 7-10, 2001. [3] M. W. Marcellin, M. J. Gorrnish, A. Bilgin, and M. P. Boliek, "An overview of JPEG- 2000," in Data Compression Conference (DCC 2000), (Snowbird, UT), pp. 523-541, Mar. 28-30, 2000. [4] M.1. Gormish, D. Lee, and M. W. Marcellin, "JPEG 2000: Overview, architecture, and applications," in Int. Con! Image Proc. (ICIP 2000), vol. Il, (Vancouver, Canada), pp. 29- 32,Sep. 10-13,2000. [5] J. M. Shapiro, "Embedded image coding using zerotrees of wavelet coefficients," IEEE Trans. Signal Processing, vol. 41, pp. 3445-3462, Dec. 1993. [6] A. Said and W. A. Pearlman, "A new, fast, and efficient image codec based on set parti- tioning in hierarchical trees," IEEE Trans. Circuits, Syst. video Techn., vol. 6, pp. 243-250, June 1996. [7] R. J. van der Vleuten and R. P. Kleihorst, "Low-complexity scalable image compression," in Data Compression Conference (DCC 2000), (Snowbird, UT), pp. 23-32, Mru. 28-30, 2000. [8] R. J. van der Vleuten, R. P. Kleihorst, and C. Hentschel, "Low-complexity scalable DCT image compression," in Int. Con! Image Proc. (IClP 2000), vol. Ill, (Vancouver, Canada), pp. 837-840, Sep. 10-13, 2000. [9] "Kodak PhotoCD PCD0992 images," 1999. http://sqez.home.att.netJthumbsrrhumbnails.html. OPTIMAL PARTITIONING OF VIDEO SEQUENCES FOR MPEG-4 SPRITE ENCODING Dirk Farin+, Peter H. N. de With2, Wolfgang Effelsberg! 1 Dept. of Computer Science IV, University of Mannheim, Germany 2 LogicaCMG / Univ. Techno!. Eindhoven, 5600 MB Eindhoven, Netherlands This paper shows that the concept of merging several views of a non-changing scene-background into a single backqround sprite is not necessarily the most efficient way to transmit the background image. We have found that the counter-intuitive approach of splitting the background into several indepen- dent parts can reduce the overall amount of data. For this reason, we pro- pose an algorithm that provides an optimal partitioning of a video sequence into independent background sprites, resulting in the minimum coding cost. Moreover, our algorithm results in backgmund sprites with better quality by ensuring that the sprite resolution has at least the final display resolution throughout the sequence. INTRODUCTION One video-encoding tool defined in the MPEG-4 standard is the coding of a scene background as a single image. If the camera is moving, this background im- age (spTite) is larger than the actual video format. The decoder can reconstruct the current background view from the sprite based on a small set of transmit- ted camera parameters. Hence, the sprite itself needs to be transmitted only once, which can result in a large improvement of coding efficiency [1]. A sprite is typically synthesized in the encoder by first applying a robust global-motion estimator to determine camera-motion. The current input frame is then warped into the coordinate system of a reference frame to get a seamless mosaic. To our knowledge, optimal selection of the reference coordinate system has not been dis- cussed previously, although this has direct implications for the generated sprite size and resolution. Interestingly, transmitting the background in a single sprite is not generally the most efficient approach. This paper shows that transmit- ting the background as several separate sprites can result in an overall reduced amount of data. Besides this, we also present an algorithm that computes the optimal partitioning of a video sequence in terms of minimum coding cost. Addi- tionally, our algorithm can incorporate a constraint ensuring that no input frame is warped to a size smaller than the input resolution. As a result, sprite coding will not cause any loss of resolution. PROBLEM CASES The MPEG-4 sprite decoding algorithm is based on the perspective motion model, which can compensate arbitrary camera motion if the scene background is planar or as long as the camera does not change its location in the 3-D world. The current background view b(x', y') is reconstructed from the sprite image s(x, y) using the transformation , alOx + allY + ty Y = (1) PxX + Pyy +1 This transformation is actually a plane-to-plane mapping (a homography [2]). Thus, the background sprite image can be envisioned as the projection of the 3-D world onto a plane. This induces one direct limitation of the MPEG-4 sprite model: only 180 degrees field of view can be represented in a single sprite image. In practice, the usable viewing angle is even smaller since the perspective distor- tion increases rapidly when the camera rotates clearly away from the frontal view position (see Figure 1). Consequently, the required sprite size increases quickly duriug a camera pan with short focallength. Even though some input images are projected to a larger area in the sprite than their original.size, this does not result in an increased resolution at the decoder output, since the image will be scaled down to its original resolution again at the decoder. Hence, the sprite-coding is inefficient in the sense that it uses high resolution for transmitting the sprite although this extra resolution is never displayed. A comparable problem occurs for sequences containing zoom-out operations. Since each image covers a larger view than the last one, the image size in the sprite is constantly increasing. At first, the sprite-mode is advantageous, because most of the image was already visible in the last image. However, when the zoom continues, a point occurs where the increase of total sprite size outweighs the reuse of existing background and it would be better to start with a new sprite. In the sequel, we propose a more efficient coding technique based on split- ting the video sequence into several partitions and calculating a separate back- ground sprite for each partition. Although some parts of the background may be transmitted twice, the overall sprite area to be transmitted is reduced. This counter-intuitive property results from the fact that the geometric distortions from camera operations do not accumulate as much in this case, so that larger parts of the sprite can be transmitted in a resolution close to the lowest possible value. A complementary problem case are zoom-in operations. If the camera per- forms a zoom-in after the reference frame, the pictures are mapped onto a smaller (Jo background sprite plane camera image planes Figure 1: Top-view of projecting the input frames onto the background sprite plane. The more the camera rotates away from the frontal view (lal increases), the larger the projection area on the sprite plane. area of the sprite than the reference frame. Hence, the resolution in the sprite is lower than the input resolution. This results in a reduced decoder output quality. To solve this problem, we have to ensure that the sprite resolution is never lower than the corresponding input resolution. We have designed the algorithm such that it can integrate this additional constraint in its optimization process. ALGORITHM To find the best sequence partitioning, the algorithm has to determine the optimal segment boundaries and, additionally, for each segment the optimal ref- erence frame. The reference frame has to be chosen such that the required sprite area for this segment is minimal under the extra constraint that the sprite reso- lution is never below the input resolution. However, there are cases where both criteria cannot be satisfied at the same time. Therefore, we introduce a segment scaling-factor for increasing the total sprite resolution. As an example, let us consider the case depicted in Fig. 2b. For optimality, frame B should be selected as reference and the scaling factor has to be chosen such that A and C still have full input resolution. Definition of coding cost Consider a sprite, synthesized from frames i to k and using the reference frame r E [i; kl. We approximate .the sprite area by computing the bounding box Si;k around the image-corner pixel positions in the sprite coordinate system (Figure 3). This approximation is valid since an optimal selection of the reference frame results in a sprite that almost completely fills a rectangular area. In cases where no background sprite can be constructed (angle of view> 180 degrees), Si,k is set to the special value 00, denoting a bounding box of infinite size. We further ePI reference frame lower resolution (a) resolution change during pan (b) zoom out, pan, zoom in Figure 2: (a) Camera rotation leads to warping parameters that transform the input with non-constant scaling. (b) Example sequence for which it is not possible to choose a reference frame while meeting the minimum resolution constraint. An additional scaling factor has to be introduced. select a specific bounding box Si~k according to IIS;kll = min, IIS[;kll where 11·11 denotes the bounding-box area, The parameter T, that minimizes the expression, indicates the optimal reference frame for the sequence range [i; kj and liStkil is its approximate sprite size. As an approximation, we assume that the coding cost is proportional to the sprite area. Since a direct computation of all Si~k would be too complex, wc split the cal- culation of S[;k into two steps by combining S[;r and S;;k (note that the reference is fixed at the end and start of the range, respectively) into a bounding box en- closing both. The bounding boxes Sf;r (backwards from the reference frame) can be computed iteratively by enlarging Si+l;r using the four corner points of frame i. As initialization, S;;r is set to the input frame area. In the forward direction, S;;i can be computed similarly by extending S;;i i Optimal sequence partitioning Let P = ((l,Pl -1), (Pl,P2 -1), (P2,P3 -1), ... , (Pn-l, N)) be a partitioning of the video sequence of length N into n sub-sequences. We now minimize the total sprite size over all possible partitions by determining P* = arg min '" p L..t _1_11 S~& m ' (2) (a,b)EP a;b The magnification factor ma;b will be introduced in the next section. For the time being, it can be assumed unity. The minimization problem can be computed ~~================================~-----------------, I : I ;-----------------------+-------------------------------- , , I :' :' :' 1 5 6 :' 7 :' :' :' :' " 4 :, 4 i reference frame : S 4·7 ;, ''--_ ~-~-~-~-~-0- o-o-o-o-~-o-o- o-~- 0-0~2-;~0-~:~:~:~:~:~:~:~:~:~:~:~-~-~-'~- ~-. . ~-~-~-~-~-~-~-~-~-_-~' bounding box S~7 Figure 3: Sprite for frames 1 to 7 with frame 4 as the reference frame. In this case, the bounding-box total St.7 can be determined as combined bounding-box using St;4 and St7· ' efficiently with an iterative algorithm. For each image i, we compute the minimum cost c; (co = 0) of a partitioning ending in image 'I as c, = min {Ck-l + -l-IIS~.ill}. (3) kE[l,i] ma:b' The index k denotes the beginning of the last segment in the partitioning up to frame i. For each image, we store the k for which the minimum was reached. Tracing back these stored k-values, starting at frame N, results in the optimal partitioning with respect to total sprite size. Determining the scaling factor The algorithm described so far does not enforce a constraint on the minimum sprite resolution. This results in undesirable behaviour if the camera zooms into the scene. Since the algorithm tries to minimize the total sprite area, it will select the frame at the beginning of the zoom as reference. However, this willlead to a poor quality for the decoded images at the end of the zoom. Hence, we have to constrain the solution such that the resolution never falls below the input frame resolution. This is achieved by calculating the magnification factor ma:b, that equals the minimum factor by which a frame will be scaled when building the sprite for frame range a to b. Since the motion model includes perspective distortion, the scaling factor is not constant over a single input frame (see Fig. 4). The local scaling factor can be computed using the Jacobian determinant of the transformation mapping the Figure 4: Change of local resolution. .. The input image (left) is warped to the sprite coordinate system (right). This transformation can change the size of a pixel. input coordinate system to the reference coordinate system: 8X' m(x',y') = £i. 1 8x where D = pxx + Pyy + 1 is the denominator of the motion model Equation (1) 1. Since m(x', y') is linear in x' and y', its minimum value over the image area can be found in one of the image corners. Hence, we compute m(x', y') for all four image corners and take the minimum. Finally, we set ma.;I> to the minimum scale of all frames between a and b. To regain full input resolution in the sprite, we have to increase the sprite resolution by a factor of I/ma;" in segment (a; b). This increased coding cost is reflected in the optimal partitioning algorithm presented earlier by integrating the scaling factor into the cost definition. EXPERIMENTS AND RESULTS This section describes the algorithm behaviour for the two sequences table- tennis and stefnn. From the table-tennis sequence, the first part consisting of a long zoom-out has been selected (first 132 frames). The algorithm prevents the sprite from getting too large by splitting the sequence into three parts (Fig. 5). It also selects the highest-resolution image as reference to get optimal reconstruction quality. A single sprite-image, generated from the MPEG-4 sequence stefan without using the described algorithm is shown in Figure 6. It is not possible to synthesize 1For affine transformations, Px, py are zero and D = 1. Therefore, the pixel scale is simply the determinant of the affine matrix, which is 1 for orthonorrnal transformations like rotations. (a) frames 1-51 (b) frames 52-77 (c) frames 78-132 Figure 5: Multi-sprite synthesized from a long zoom-out operation. The sequence is partitioned into three separate sprites of almost the same size. The center image has been selected as the reference coordinate system (shown in a darker shade). a single background sprite for the whole sequence, because the total viewing angle is too large. Instead, we used only the first 255 frames for building the sprite. Alternatively, the new algorithm splits the complete sequence of 300 frames into four partitions as shown in Figure 7. We have measured that the total required sprite size for the multiple-sprite approach is a factor of 2.7 smaller than for the single sprite case, which did not even cover the whole input sequence. CONCLUSIONS This paper showed that transmitting a background sprite in several inde- pendent parts can result in clearly reduced coding cost and better resolution at the same time. A proposed algorithm computes the optimal partitioning of a se- quence, the reference frame for each partition, and associated scaling factors. The reduction of coding cost depends on the type of camera motion in the sequence. For the stefan sequence, a reduction by a factor of 2.7 has been achieved. REFERENCES [1) Hiroshi Watanabe, Kumi Jinzenji. "Sprite Coding in Object-based Video Coding Standard: MPEG-4". In World Multiconf. on SCI2001, Vol. XIII, pp. 420-425. [2) Richard Hartley, Andrew Zisserman. "Multiple View Geometry in Computer Vi- sion". Cambridge University Press, 2000. [3) Frédéric Dufaux and Fabrice Moscheni. "Background Mosaicking for Low Bit Rate Video Coding". In IEEE International Conference on Image Processing 1996, Vol. 1, pp. 673-676. [4) Yan Lu, Wen Gao, Feng Wu. "Sprite generation for frame-based video coding". In IEEE International Conference on Image Processing 2001, Vol. 1, pp. 473-476. Figure 6: Sprite synthesized from stefan sequence. Only the first 255 frames can be used since it is impossible to create the sprite for the complete sequence if the first frame is selected as reference. Sprite resolution is 2445 x 1026 pixels. (a) 1-241,926 x 339 (b) 242-255,699 x 296 (c) 256-292,830 x 318 (d) 293-300,431 x 350 Figure 7: Sprite partitions synthesized using the described algorithm. The re- spective reference frames are depicted in a darker shade. Note that the long camera pan is broken up into two separate sprites and that the zoom-in at the end of the sequence is put into a separate sprite. Total sprite area of all partitions is 2.7 times smaller than in the single sprite case (which covered not all input frames). A SW-BASED COMPLEXITY-SCALABLE MPEG ENCODER FOR MOBILE CONSUMER EQUIPMENT S. Mietens", P.R.N. de With'' and C. Hentschel ' 1Eindhoven University of Technology, The Netherlands 2LogicaCMG, Eindhoven, The Netherlands 3Philips Research Labs., Eindhoven, The Netherlands Complexity scalability offers the advantage of one-time design of video ap- plications for a large product family, without the need of redesigning the applications on the algorithmic level to meet the requirements of the differ- ent products. In this paper, we present complexity-scalable MPEG encoding techniques having core modules with modifications for scalability. The in- terdependencies of the scalable modules and the system performance are evaluated. Experimental results show scalability giving a smooth change in complexity and correspondinq video quality. Scalability is basically achieved by varying the number of DCT coefficients computed and the number of motion-vectors evaluated, but other modules are designed such they scale with the precious parameters. In the experiments using the "Stefan" se- quence, the elapsed execution time of the scalable encoder, reflecting the computational complexity, can be gr'adually reduced to roughly 50% of its original execution time. The video quality scales between 20 dB and 48 dB PSNR with unity quantizer setting. INTRODUCTION State-of-the-art MPEG-2 algorithms are usually designed with a fixed com- putational complexity, thereby hampering the portability and the parameterized use of MPEG video coding. For example, mobile devices have limited available resources like computation power or memory, and thus are not suited for video coding using the regular algorithms. In a multi-signal TV system, the algorithms are not capable of run-time adjustable computational complexity as proposed in [1]. We have designed a scalable MPEG-encoding system, featuring scalable video quality and a corresponding scalable resource usage. Our algorithms enable advanced video-encoding applications ranging from broadcast-quality TV to low- cost mobile consumer terminals. Our objective is to design a scalable algorithm for an MP EG coder that is suitable for a broad range of applications instead of a single product and enhancing time-to-market. Scalable algorithms for encod- ing/decoding have been proposed recently. Literature references will be provided in the next section. SCALABLE MPEG CORE FUNCTIONS We have explored the individual MPEG core functions (modules) and their interconnections with respect to complexity scalability as given below. The focus of the exploration is on techniques for scaling the computational complexity at the algorithmic level, so that the benefit of the techniques can be applied to various types of hardware architectures. Architecture-specific optimizations of the modules can be made after selection of a target architecture (see e.g. [2]). Scalability in MPEG encoding can be applied at the picture level by modifying the GOP structure. Although this is possible, it will not be discussed further. In the sequel, we will focus on the core processing blocks at the macroblock level. • Discrete Cosine Transformation (DCT). Our new scalable DCT [3] is based on finding a specific computation order of the DCT coefficients, that maximizes the number of coefficients computed for a given limited amount of computation resources. Another approach for scalable DCT computation predicts at several stages during the computation whether a group of DCT coefficients are zero after quantization and their computation can be stopped or not [4]. • Quantization. We exploit scalability based on the scaled DCT by prese- lectiug coefficients for the computation. • Inverse DCT (IDCT) and inverse quantization. Coefficients that are not computed by the forward DCT are not processed by these modules. Note that both modules have been designed such that they omit zero com- putations and still are compliant with the MP EG standard to avoid error drift al the receiver side. For this reason, previous work on scalability of the IDCT at the receiver side [5] cannot be directly applied. • Motion Estimation (ME). Our recent ME technique [6] performs the ME in three stages and exploits high-quality frame-to-frame ME. A new scalable recursive ME that aims at optimizing the number of MV candidates by using block-content classification is presented in [7]. Another approach for scalable ME computation provides a technique for selecting the number of MV candidates and an approximation of the block-matching criterion [8]. • Variable Length Coding (VLC). The computational effort is scalable with the number of non-zero coefficients that remain after qnantization. SYSTEM EXPERIMENTS Experimental environment The scalable modules for the (I)DCT, (de)quantization, ME and VLC are integrated into an MP EG encoder framework. In order to visualize the obtained scalability of the computations, the scalable modules are executed at different parameter settings, leading to effectively varying the number of DCT coefficients and motion-vector candidates evaluated. When evaluating the system complex- ity, the two different numbers have to be combined into a joint measure, In the following, the elapsed execution-time of the encoder needed to code a video se- quence is used as a basis for comparison. Although this time parameter highly depends on the underlying architecture, the programming and operating system, it reflects the complexity of the system due to the high amount of operations involved. The experiments were conducted on a Pentium-III Linux system running at 733 MHz. In order to be able to measure the execution time of single functions being part of the complete encoder execution, it was necessary to compile the C++ program of the encoder without compiler optimizations. Additionally, it should be noted that the experimental C++ code was not optimized for fast execution and usage of architecture-specific instructions (e.g. MMX). For these reasons, the encoder and its measured execution times cannot be compared with existing software-based MPEG encoders. However, we have ensured that the measured change in execution time results from the scalability of the modules, as we did not change programming style, code structures or common coding parameters. Effect of scalable DeT The execution time of the modules when coding the "Stefan" sequence and scaling the modules that process coefficients, is visualized in Figure l. The cate- gory"other" is used for functions that are not exclusively used by the (I)DCT. For convenience, the figure shows the results from an experiment, where the sequence was coded with I-frames only. Other experiments including P- and B-frames show similar results. To remove the effect of quantization, the experiment was performed with qscale = l. In this way, the figure shows results that are less dependent of the coded video content. The measured PSNR of the scalable encoder running at full quality is 46.5 dB. When the number of computed coefficients is gradually reduced from 64 to 8, the PSNR drops gradually to 2l.4 dB. In Figure I, the quality gradually reduces from "no noticeable differences" down to "severe blockiness". When using scalable inter-frame coding, we have discovered a special phe- nomenon from the scalable DCT. It was found that the DCT-coded frame differ- ences show temporal fluctuations in frequency content. The temporal fluctuation is caused by the motion in the video content combined with the special selection function of the coefficients computed in our scalable DCT. Due to the motion, the energy in coefficients shifts over the selection pattern, so that the quality gradually increases over time. Figure 2 shows this effect from an experiment when coding the "Stefan" sequence with IPP frames (Gap structure (GaP-size N, lP-distance M) = (12,1)), while limiting the computation to 32 coefficients. i ~ 20 Ë ~ 15 o j 10 = 64 56 48 40 32 24 16 number of computed coefficients Figure 1: Visualization of computational complexity generated by the scalable DCT for the computation of I-frames. Figure 2: Visualization of the increasing quality using a scalable DCT. It can be seen that for example the artifacts around text decrease. Figure 3 shows a PSNR measurement of the same phenomenon for the sequence "Table tennis". The comb-like structure of the curve results from the periodic I-frame occurrence that restarts the quality build-up. The low periodicity of the quality drop gives a visually annoying effect that can be solved by computing more coefficients for the I-frames. The aforementioned phenomenon was mainly found in sequences containing not too much motion. The described effect leads Lu the idea of tem- poral data partitioning using a cyclical sequence of several scalable DCTs with different coefficient selection functions. The complete cycle would compute each coefficient at least once. Although this seems interesting, this was not further pursued because of limited time. Effect of scalable ME The execution time of the MPEG modules when coding the "Stefan" sequence go 1- dyn<'lmic inter DCT --, fixed inter DCT - intra DCT 1 40 38 36 1 34 J\ill rW ,.., fV ~ ~ co 32 :!1. 0:: 30 z {]- é for all e > O. The region of achievable (6, (]) pairs is now well defined and in [2] Kalker and Willems showed that the capacity-function is given by C(6) = max H(Y) - H(X), (3) where the maximum is over all test channels Pr{Y ylX = x} such that 2::x,yPr{X = x} Pr{Y = ylX = x}d(x,y) :::::6. The region of achievable (6, (]) pairs is convex and closed. Therefore the capacity-function C(6) is continuous in 6. Moreover it is non-decreasing and concave in 6, i.e. C(a61 + (1- a)62) 2: aC(6d + (1- a)C(62) for distortion levels 61 and 62 and 0 < a < l. 3. THE TEST CHANNEL In what follows we assume that X and Y are intervals on IL, with cardiualities lXI = J and IYI = K. For the probabilities of the symbols we simplify the notation; Pr{X = j} = Pj and Pr{Y = k} = qk, with j E X and kEY respectively. Furthermore we assume that for all j EX, Pj > 0, and that the distortion is quadratic, i.e. d(j, k) = (j - k)2. We write djk for d(j, k). As stated in the previous section, the capacity function is computed as a maximum over a set of distortion constrained test channels. A test channel is completely described by its transition probability matrix Q, with elements Qklj = Pr{Y = klX = j} for j E X and kEY. Lemma 1. For a quadratic distortion measure, i, j E X and k, l E Y (4) with i < j and k < l. Proof. Substitution of the distortion gives dik + djl - dil - djk = (i - k? + (j _l)2 - (i -l? - (j - k)2 = 2( -ik - jl + il + jk) =2(i-j)(l-k)<0. (5) This proves the lemma. 0 eft Without proof, we state that lemma 1 also holds for an Lp distortion measure with P > 1, i.e. djk = Ij - kiP. p, • Pi Qlli • t>.qk t>.qk Pj Qklj • Pj • t>.ql t>.ql (a) (b) Figure 2: Removing crossing edges Theorem 1. Assuming quadratic distortion, a channel Q with crossing edges, ean be replaced by another channel Qnew, with the same output distribution, but with a smaller distortiotï. An edge is a transition having non-zero probability. Proof. Consider a part of the channel with crossing edges as depicted in Fig- ure 2(a). The contribution of this partial channel to the distortion is (6) Note that 6 plays a different role here. If PjQkli > PiQlIi, the partial channel in figure 2(b) is a better alternative. The contribution to the output probabilities is the same, but the distortion is smaller than before. This follows from ,0.Dnew = PiQlli(dik + djl - djk) + Pj Qkl.j djk < PiQllidil + PjQÁ,ljdjk = ,0.D. (7) For PjQklj :::;PiQlIi the proof is similar. o Definition 1. A test channel Q without crossing edges is called a proper channel. Theorem 2. Given an output distribution {qk, kEY}, the average quadratic distortion is minimized if and only if the test channel Q is proper. Proof. Our consists of two parts: first that for every output distribution there exists only one proper test channel, secondly that a non-proper channel does not have minimal distortion. For the first part we describe an algorithm that 'builds' a proper test channel. Consider the smallest l E Y with ql > 0 and let i be the smallest element in X, then Qlli = min(Pi, ql)lpi to avoid crossings. This transition is fixed now. If Pi < ql then continue with PHl (thus also QIIHl > 0) else continue with the next output k > l having qk > 0 (and then Qkli > 0). Continuing like this we process all inputs and outputs. At every step there is only one possible transition to avoid crossings and we end up with a test channel without crossings. Since this is the only one way to 'build' a proper test channel we have proved the first part. The second part follows from Theorem 1 which states that each non-proper channel Q can be replaced by another channel having a smaller average distortion, so the average distortion of Q was not minimal. o If an output distribution {qk, kEY} achieves capacity, then, as above, we can construct a proper test channel and compute the corresponding aver- age distortion. The capacity C(.6.) = max H(Y) - H(X) is upper-bounded by log IYI - H(X) = C*, with equality only if qk = l/IYI. The distortion for maxi- mum capacity is called D*. 4. KUHN-TUCKER CONDITIONS To find test channels at capacity we have to maximize H(Y) - H(X), see (3). Since H(X) is constant and using a Lagrange multiplier À for the distortion, we get the Lagrangian L(Q, À) = H(Y) - ÀD. The derivative with respect to Qkjj is oL(Q, À) _ oH(Y) Oqk À aD oQklj - aq;:- oQklj - OQkjj = _ 0 L qk logqk 0 LPjQklj _ À 0 LPjQkljdjk Oqk oQklj oQkli = -Pi (log qk + log e + Àdjk) . (8) The Q that maximizes L has to satisfy Qkjj :::::0 and Lk Qkli = 1. To incorporate the sum constraints we add the Lagrange multipliers ïlc, i E X. Byelementary calculus, the maximum occurs where oQo. klJ (L(Q, À) - 2:= n. 2:= Ql1i) ~ 0, i I (9) with equality if the probability Qklj is nonzero. This is equivalent to à "'Q L(Q, À) :S 7]j. (10) u klj Substituting (8) and noting that Pj > 0 for j E X, the Kuhn-Tucker conditions become log qk + Àdjk 2: /-Lj for all j and k (11) log qk + Àdjk = iJj Qklj > 0, (12) where iJj = -log e -7]JlPj. The Kuhn-Tucker conditions are satisfied if and only if the test channel Q is at capacity. 5. CAPACITY FOR SMALL DISTORTIONS We continue by assuming that the input and output alphabets are the same, i.e. X = Y. Distortion zero is obtained if Q = I, the identity matrix. The capacity is then also zero. In this section the capacity is calculated for distortions o < D :S L'-. = a where a > 0 is small. From D = L,j,kPjQkijdjk :S a we obtain pjQklJ :S pjQklJdjk :S D :S a and therefore Qklj :S a/pj' Thus (13) Using these bounds for the transition probabilities we construct bounds for the output probabilities qk qk 2: PkQklk 2: Pk - IXia and qk = PkQklk + L pjQklJ :S Pk + IXia. (14) k:kfi Usingln(l+x) :S x, In(1-x) 2: -x/(l-x), 'Y = maxk(loge)IXla/(pk-IXla), and choosing a so small that Pk > IXia holds for all k E X, we obtain the following bounds for log qk (15) Note that 'Y ----> 0 for a ----> O. Substituting the right-hand side of (15) in (11) gives (16) 100 for all j and. k. Since Qjlj > 0, (12) is valid for j k, thus f.Lj log qj. Substituting this in (15), f.Lj is bounded as (17) The average distortion D is larger than zero, thus there must be at least one positive transition probability between a j and a k, with j i= k. For this(these) transition(s) we use (12) and (15) to obtain (18) Substituting (17) in (16) gives for all j and k 1 Pj 2, thus À 2: max-log- --. (19) j# djk Pk djk On the other hand, substituting (17) in (18) leads to (for at least one j and k) 1 Pj 2, thus À::; max-log- +-. (20) J# djk Pk djk Combining (19) and (20) and letting 0 .......0 we obtain 1 P lim À = max -d log...l... (21) 6~O ilk jk Pk We call this limit À*. Finally note that À is also the equal to the derivative fJC/fJ6. Since the capacity function is continuous in 6 we obtain (22) 6. BOUNDS ON THE CAPACITY Using results of preceding sections, an upper and a lower bound can be con- structed. Since the capacity function is concave, all the points on the line con- necting (0,0) and (D*, C*) are below the capacity function. This gives a lower bound. On the other hand concave functions are always below a tangent. The tangent for 6 = 0 is À*6. An other upper bound is log IYI - H(X) = C*. 101 Together this leads to C* ~* < C(.6.) < min()..·.6.,CO), with 0 < .6. ::::D'. (23) For the binary case, X = Y = {O, I}, we know the capacity, viz. C(.6.) = H(max(po -.6.,1/2)) - H(po)· For Po = 0.7 the capacity function and the bounds are shown in Figure 3. Note that the upper bound for small distortions is tight. Furthermore C' = 1 - h(0.7) ~ 0.1187, D* = 0.2 and )... = log(7/3) ~ 1.2224. 0.15 011101110" Figure 3: Bounds on the capacity. 7. CONCLUSIONS We showed that in the quadratic distortion case, an optimal test channel does not have crossing edges. We gave a procedure that yields a test channel which minimizes the distortion. Furthermore we found the Kuhn- Tucker conditions for the test channel. They can be used to check whether a test channel is at capacity or not. Finally we derived a lower and an upper bound for the capacity function. REFERENCES [1] M.H.M. Costa, "Writing on dirty paper," IEEE Trans. Inform. Theory, vol. IT-29, pp. 439-441, May 1983. [2] A.A.e.M. Kalker and F.M.J. Willems, "Capacity bounds and constructions for reversible data-hiding." in Proc. 14th International Conference on Digital Signal Processing, July 1-3, 2002, Santorini, Greece. CDROM. [3] D.J.H.C. Maas, A.A.C.M. Kalker, and F.M.J. Willems, "A code construction for reversible data-hiding," in Proceedings of the 2002 ACM workshops on Multimedia, pp. 15-18, Dec. 2002. 102 BliND SOURCE SEPARATION OF SPEECH AND BACKGROUND MUSIC FOR IMPROVED SPEECH RECOGNITION P.Vanroose * Katholieke Universiteit Leuven, div. ESAT/PSI Kasteelpark Arenberg 10, B-3001 Heverlee, Belgium Peter.Vanroose@esat.kuleuven.ac.be This paper considers the problem of improving the automatic speech recognition of audio fragments containing background music. This problem is put in the framework of linear source separation, where the music component is subtracted from the signal, thereby aiming at a better speech recognition, not necessarily a better subjective audio quality. PROBLEM FORMULATION Consider the setup where one wants to apply ASR in the presence of background music, as is often the case with broadcast news or documentary programmes. The speech of these is of good quality, a human has no problem understanding it, but an ASR system (although very robust against moderate white noise) fails terribly when the noise is more structured, since music is disturbing the frequency spectrum in a selective way. Typical audio fragments of this type can be found at e.g. the news website of the BBC (http://news . bbc. co. uk/ cbbcnews!) or the news flashes on VRT ra- dio (seehttp://www . radiol. be)orNOS (seehttp://ornroep .nl/nieuws), but also any documentary programme will add background music to most, if not all, commentary, since this gives the programme a "juicier" flavour. The type of music used for this purpose is such that it does not disturb human understanding of the spoken content and does not distract attention. Hence often the music consists of relatively long constant frequency tones, as can be seen on the spec- trogram in Figure I. In the example of Figure 1, an audio fragment of 31 seconds from a BBC docu- mentary was sampled at 16 kHz and the FFT spectrum was calculated on 512 samples • This work was partially supported by the K.U.Leuven Research Fund and by the E.U. 5th Framework project "MUSA". 103 Timll f'::i) Figure 1: Spectrogram of a 31 second audio fragment with mixed voice and music at a time, with a time shift of 10 ms. These are standard values for speech recogni- tion, see e.g. [1]. The spectrogram plots these FFT values (vertical axis) against time (horizontal axis), where darker pixels correspond to higher FFT values. From this spectrogram of a combined voice + music audio fragment, the music contribution, and especially the most disturbing aspect of it for ASR, is visible as horizontal lines, A speech recogniser will typically start from a simplified version of the spec- trogram, viz. the Mel-scale cepstral coefficients, which essentially downsample each column of the spectrogram in a nonlinear way to 24 values, see the upper one third of Figure 2. These 24 values per time instant are here visualised in a similar way as for the spectrogram. Since not only Mei values but also their temporal changes are important for speech recognition, Figure 2 also visualises the 48 additional feature values often used by a speech recogniser, viz. the first and second order time derivatives of the Mei cepstrum, resulting in 72-dimensional feature vectors, one per 10 ms time frame, which are used to perform a Viterbi search in an HMM phoneme network [2]. Figure 2: Mel-scale cepstral coefficients and derivatives of the same audio fragment It is clear that the long horizontal lines in the spectrogram, stemming from the music, are still present in the HMM features, hence it is no surprise that the Viterbi search will map these to completely different phonemes, as opposed to the situation with moderate white Gaussian noise where the MeI cepstral coefficients are much less affected. A RELATED PROBLEM Removal of additive noise from a signal is a widely studied problem [3]. It is typi- cally tackled by separating signal and noise, thereby making use of assumed statistical properties of both, like the stationarity of the noise, or the statistical independenee of signal and noise, plus of course some discriminative feature which distinguishes the two, e.g. the assumption that the noise is white. The noise removal problem can be seen as a special case of the more general blind source separation problem [4], whereby the sum of two or more statistically independent (stationary) sources is observed and the task is to extract the components. This differs from the related problem of speech/music segmentation, as considered in e.g. [5,6], where the task is to label audio fragments as either speech or music. That 10)' problem can be tackled directly within the ASR HMM framework, by training the "si- lence" state with music fragments. Unfortunately, a similar approach for background music reduction (applied to the other HMM states) fails, probably because the thus trained phoneme models start to overlap too much. But from this speech/music segmentation problem we can learn which discrimina- tive features are successful, and use these as guidelines to solve the source separation problem. In [5] two useful features are found to be the momentary frame entropy and the change rate of the audio. From [6] we learn that music fragments are more "or- dered" than speech, i.e., the entropy of music is much more constant in time than the entropy of speech. INDEPENDENT COMPONENT ANALYSIS Our task is thus to subtract the music component from the signal, where we may assume that the music and speech components are statistically independent. Indepen- dent component analysis (K'A) [7] is a well-known technique to do this in an unsu- pervised way. The efficient Fastlf.A algorithm [8] (for which a freely downloadable matlab version exists) was applied to the 72-dimensional feature vectors. The result is a decomposition of these feature vectors into 72 linear components which are as independent from each other as possible. The 72 independent components cannot be used directly, since on the one hand we only need two components, and on the other hand leA does not tell us which component(s) come from the speech part of the signal and which from the musie. Here the results from the speech/music segmentation problem can be used: we assume that music has a more constant frame entropy than speech. Applying K'A to several audio fragments, it was found that the best ASR results were obtained when subtracting from the signal the 10 leA components with the lowest entropy in the 24 first order derivative components. The obtained improvement in speech recognition result is not spectacular: the word error rate drops from 45% to around 35%, which is still far to high, but at least this proves that blind source separation of speech and music can be useful for improving speech recognition. CONCLUSION Removal of background music from mixed speech/music audio fragments is a difficult problem. A first attempt to use leA for this purpose shows that it is indeed possible to reduce the speech recognition word error rate substantially. 106 Figure 3: ICA "signal" component of the MeI cepstrum Figure 4: ICA "music" component of the MeI cepstrum REFERENCES [1] P. Vamoose, G. Kalberer, P. Wambacq, L. Van Goal, "From speech to 3D face animation", in Proceedings of the 23rd Symposium on Information Theory in the Benelux, Louvain-la-Neuve, pp. 255-260, 2002. [2] X.D. Huang, Y. Ariki, M.A. Jack, Hidden Markov Models for speech recognition, Edinburgh University Press, 1990. [3] K. Hermus, P. Wambacq and D. Van CompemolIe, "Improved noise robustness for speech recognition by adaptive SVD-based filtering", in Proc. 20th Symp. on Inform. Theory in the Benelux, Enschede, pp. 117-124, 1999. [4] T.W. Lee, M.S. Lewicki, M. Girolami and T.J. Sejnowski, "Blind source separation of more sources than mixtures using overcomplete representations", IEEE Signal Processing Letters, 4(4), pp. 87-90, 1999. [5] J. Ajmera, 1. McCowan, H. Bourlard, "Speech/music segmentation using entropy and dynamism features in a HMM classification framework", Speech Communi- cation 40, pp. 351-363,2003. [6] J. Pinquier, J. Rouas, R. André-Obrecht, "Robust speech / music classification in audio documents", 7th International Conference On Spoken Language Processing (ICSLP), pp. 2005-2008, 2002. [71 P. Comon, "Independent component analysis, a new concept 7", Signal Processing, 36(3), pp. 287-314, 1994. [8] A. Hyvärinen, J. Karhunen, E. Oja, Independent Component Analysis, John Wiley & Sons, 2001. BIOMETRIC VERIFICATION: A RESULT AND AN EXOTIC EXAMPLE Raymond Veldhuis, Asker Bazen and Maarten Boersma Universiteit Twente, Fac. EEMCS P.O. Box 217,7500 AE Enschede, The Netherlands R.N.J.VeldhuisQel.utwente.nl A well-known result from detection theory is that the likelihood ratio is an optimal criterion for discriminating between signals based on obseruations. It applies directly to the equivalent problem of biometrie verification. The result is extended to multi-user verification by showing that the overall per- for-mance of a multi-user verification scheme is optimal when the likelihood- ratio thr-eshold is set to the same value for each user. A somewhat uncom- mon biometrie verification method is presented, based on rhythms tapped on a pressure sensor by a finger, as an illustration. INTRODUCTION In biometrie verification [1], a person's claimed identity is verified on the basis of biometrie data, consisting of a measured body characteristic, e.g. a fingerprint, or a behavioural trait, e.g. gait. The biometrie data is represented by a set of numbers called a feature vector. In the verification process a user does two things: he claims an identity ('I am Elvis') and he presents his biometrie data. The measured feature vector is compared to ct stored feature vector, the template, which is representative for the claimed identity. When the measured feature vector and the template are sufficiently similar the user's claim is accepted (it is assumed that he is indeed Elvis), otherwise it is rejected. The production of biometric data has some inherent variability, which can be modelled as a random process. This means that a user with the claimed identity may produce a feature vector that is insufficiently similar to the template. This leads to a false rejection. Conversely, a user with the wrong identity may produce a feature vector that is sufficiently similar to the template. This leads to a false acceptance. The performance of a biometrie verification scheme is 10q characterized by two error probabilities: the jalse-rejection rate and the jalse- acceptance rate. Increasing the similarity threshold decreases the false-acceptance rate at the expense of an increased false-rejection rate, and vice versa. Biometrie verification can be approached as a signal-detection problem by partitioning the feature-vector space into two parts, one corresponding to the claimed identity and one corresponding to all other identities. The optimal par- titioning follows on thresholding the likelihood ratio [5] (1) with y the (fixed-length) feature vector, PYlc(yl c) the probability density of y when the user has the claimed identity c and PYlc(yl c) the probability density of y when the user does not have the claimed identity c. For a likelihood-ratio threshold t the user's claim is accepted if L(y) > t, otherwise it is rejected. Increasing t decreases the false-acceptance rate at the expense of an increased false-rejection rate, and vice versa. The likelihood ratio is optimal in the sense that (a) at a given false-acceptance rate no decision criterion can be derived that will give a lower false-rejection rate and (b) at a given false-rejection rate no decision criterion can be derived that will give a lower false-acceptance rate. At the same time, it functions as a similarity measure. This observation shows the link between biometrie verification and detection theory. This paper considers the case that multiple users have to be verified by the same verification scheme. The question is what the likelihood-ratio thresholds for the individual users must be, in order to obtain optimaloverall performance. It is shown that this is achieved when each individual likelihood-ratio threshold is set to the same value. An earlier proof was presented in [2]. As an illustration of this result, and because it has some entertainment value of its own, a somewhat uncommon method of biometrie verification is presented, based on rhythms tapped by a finger on a pressure sensor. The results from two experiments are presented, one in which the test and the training were recorded together and one in which the test set was recorded two to four weeks later. OPTIMAL MULTI-USER VERIFICATION In multi-user verification the number of users can be finite, countably infinite or uncountable. We will consider the uncountable case, but our results also apply to the other cases. 110 We assume that the identity of user c is represented by a random real-valued parameter vector c, for example the expected feature vector of this used, with a probability density Pc(c). The verification decision is whether an observed feature vector y was drawn from a probability density PYlc(yl c), modelling the feature- vector production of user c, or from a probability density py(y), modelling the feature-vector production of all users. The likelihood ratio related to user c is L( y,c. ) = PYlc(yl ()' c) (2) PY Y This is a random variable. Its probability density is 0, it must be that i(e) = À. Thus we have derived that the overall false-rejection rate is minimized, given a constant overall false-acceptance rate, when the likelihood-ratio thresholds of all users are set to the same value. This value À is determined by the fixed overall false-acceptance rate and follows from solving j pc(c) 100 CPo(L; c) dL de = a. (11) The overall false-acceptance rate (6) and false-rejection rate (7) are now func- tions of the overall likelihood-ratio threshold t and are given by cx(t) = j cx(tl e)pc(c) de = 100 j cpo(L; c) pc(e) de dL, (12) (J(t) = j (J(tl c)Pc(c) de = lat j cpj(L; c) Pc(c) de dL. (13) An overall Receiver Operating Characteristic (ROC) is obtained by plotting (cx(t),{J(t)) for 0 ~ t < 00. Let us return to the case of an overall fixed false-acceptance rate a. A con- sequence of our result is that the minimum false-rejection rate is not achieved when the false-acceptance rates of the individual users are all set to a, but these must be set to values cx(tlc) given in (4), with t the solution of cx(t) = a, (12). Since a(t) is the average a(tle), this means that there will be users for which the 112 false-acceptance rate is above the fixed overall value 0:. AN EXOTIC EXAMPLE In [4] the use of signals resulting from tapping a rhythm on a thick-film pressure sensor was explored for biometrie verification. The features used for authentication were divided into rhythm and waveform features and only the waveform features were used. The decision criterion used in the verification was similar to the Mahalanobis distance between feature vectors after a dimension reduction. An equal-error rate of 7.7% was achieved and suggestions for improve- ment were given. In this paper we will present results of an algorithm that is improved in three ways: it combines waveform and rhythm features; it uses the the likelihood ratio as a decision criterion and it models the probability densities of the individual feature vectors as Gaussian mixtures. We will present the re- sults of two experiments. The first was done on the data that were also used in [4]1. These data have the disadvantage that the training and the test set were recorded in one session. The second experiment was done on new training and test sets, recorded with two to four weeks in between. The data used in the first experiment consist of sequences obtained from 33 subjects. For each subject there are 16 recordings of the same self-chosen rhythmic sequence of pulses. All sequences of one subject were recorded in one session of about5 minutes. The length of a sequence is typically 3 to 4 seconds. A sequence may contain 2 to 8 pulses, between 50 and 500 samples long. Eight sequences of each subject were put in a training set. The remaining sequences were taken as the test set. The signals were sampled at a rate of 2 kHz. Four typical examples are shown in Figure 1. The left panels show the first (top) and last (bottom) sequence of Subject 1. The right panels show the first (top) and last bottom) sequence of Subject 15. One can observe that the subjects produce different waveforms. Intra-subject variations can also be observed: Subject 1 does not seem to vary the waveform of the pulses within one sequence, but the pulses of the last sequence differ from those of the first. Subject 2 seems to vary the pulse shape systematically within one sequence. Seemingly, this subject produces a different pulse for accented taps. The pulses were not directly used as waveform-feature vectors, because of their different lengths and the relatively small data sets. The dimension of the waveform-feature vector was reduced by a principal component analysis on all IWe kindly acknowledge Neil Henderson and the University of Southampton for availing the data. pulses [3]. Only the first 5 principle components were taken as the waveform- feature vector, which is further denoted as y. This explained about 80% of the variance. The probability densities PYlc(yl c) of the waveform-feature vectors of individual users were assumed to be Gaussian mixtures with 2 components. Thus we were able to model the intra-subject variations mentioned above. The overall probability density py(y) was assumed to be Gaussian. The choice for 5 principal components and a Gaussian mixture with 2 components gave the best results on the test set. The rhythm-feature vectors, de- noted as z, consisted of the number of samples between the onsets of sub- ~':u"lliillL"'_"'~""OO" ~ ~ :QJ'".' ' ' ' W' ' ' ' ' .."'!40 I. 1 sequent pulses. Unfortunately, the 20 20 number of pulses per sequence dif- o o 1 1["1 2 3 0 0 0.5 1 tlsl ,_S a fered per subject. One subject pro- duced only 2 pulses per sequence; var- ious subjects produced 4 pulses per sequence. We tried rhythm-feature vectors of different lengths by exclud- ing the subjects that produced too Figure 1: Typical waveforms. Left pan- few pulses per sequence. In fact, us- els: First and last sequence of Subject ing more than 2 pulses did not im- 1. Right panels: First and last sequence prove the recognition results. There- of Subject 15. fore, we stayed with a rhythm feature vector with one element. The prob- ability densities Pzld(zl d) of the rhythm-feature vectors of individual users and the overall probability density pz(z) were assumed to be Gaussian. The waveform and rhythm features are assumed to be statistically inde- pendent. Therefore, the total likelihood ratio is computed as L(y, z; c, d) = L(y; c)L(z; d). The parameter vectors c and cl of each subject consist of the ex- pected feature vectors, their covariance matrices and, in the case of the Gaussian mixtures, the a-priori probabilities. They were estimated from the training set. Figure 2 shows the estimated overall ROe on a log-log scale. The equal-error rate is about 1.5%, which is a substantial improvement over the 7.7% reported in [4]. In order to demonstrate the superiority of the likelihood ratio, we computed the overall false-rejection rates when the false-acceptance rates for each subject 11 LJ were fixed to 1%, 3% and 5%, respectively. The thus obtained overall false- rejection rates are plotted in Figure 2 as solid dots. The dots are, indeed, well above the estimated overall ROC. The purpose of the second ex- periment was to study the effects of a time lag between the recording of the training and the test set. This would give information on the prac- 2-1.5 fi0'-2 • tical value of biometrie verification based on tapped rhythms, because in eo .,g -2.5 • practice there is a time lag between enrolment and verification. It also al- lowed us to explore the use of rhythm features better, by requiring a mini- -~4L__-_-:':,.5:--~-_-:':2.5:---_O-2 -_~1.5:--~--,'c-___J mum number of 6 subsequent pulses 10glO(FAR) per sequence. Figure 2: Estimated ROe on a log- The training set was recorded from log scale(solid lines) and overall false- 37 subjects, who tapped 10 sequences rejection rates for fixed individual false- each. The rhythm was self-chosen, acceptance rates of 1%, 3% and 5% but each sequence had to contain a (dots). minimum of 6 pulses. After 2 to 4 weeks the subjects were asked to tap the same number of sequences and the same rhythm again. When they could not remember the rhythm, it was played to them. This data was used as the test set. Unfortunately, we had to use a different sensor (the I-SCAN 5076 by Tekscan), which has a sampling frequency of 127 Hz instead of the 2 kHz that was used in [4]. The verification scheme was the same as in the first experiment. The overall equal-error rate obtained in the second experiment was 2.4%. When only rhythm features were used, this marginally increased to 2.5%. When only waveform features were used, the equal-error rate was 23%, which is sur- prisingly high, but is in line with the marginal effect of the waveform features on the overall equal-error rate. There are two possible explanations for this. The first is that the subjects did not reproduce the same waveform well after 2 to 4 weeks. The reasons can be, for instance, the use of a different finger or simply the effect of (not) cutting the finger nails. The second explanation is that the effect is due to the lower sampling rate. The experiment with only the waveform 11 s: features was repeated with a new test and training set, which was obtained by splitting the original training set into two equal parts. Now an equal-error rate of 16% was obtained. This indicates that a part of the effect is indeed due to the time lag, and that another part must be accounted for by the reduced sam- pling frequency, causing loss of detail in the waveform. We expect that a higher sampling frequency will decrease the overall equal-error rate of 2.4% somewhat further. CONCLUSION We have shown that the overall performance of a multi-user verification scheme using the likelihood ratio as a criterion is optimal when the thresholds of all individual users are set to the same value. This has been illustrated with the results of a biometrie verification scheme based on tapped rhythms. Both waveform and rhythm features were used for verification. The scheme has an equal-error rate of 1.5%, but the training and test set were recorded in the same session. Experiments with a test set recorded some weeks later resulted in an equal-error rate of 2.4% and showed that the time lag between the recordings had a negative effect on the verification based on waveform features. REFERENCES [1] J. Ashbourn. Biometrics: Advanced Identity Verificoiion. Springer-Verlag, London, 2000. [2] A.M. Bazen and R.N.J. Veldhuis. Likelihood-ratio-based biometrie verifi- cation. In Proceedings ProRISC 2002, 13th Annual Workshop on Circuits, Systems and Signal Processing, Veldhoven, The Netherlands, November 2002. [31 K. Fukunaga. Introduetion to Statistical Pattern Recognition. Morgan Kauf- mann, San Diego, second edition, 1990. [4] N. Henderson, N. White, R. Veldhuis, P. Hartel, and K. Slump. Sensing pressure for authentication. In Proceedings of the 3rd IEEE Benelux Signal Processing Symposium (SPS-2002), pages 241-244, Leuven, Belgium, 2002. [5] H.L. van Trees. Detection, Estimation and Modulation Theory. John Wiley and Sons, New York, 1968. OPTIMAL VERIFICATION USING PARTIALLY KNOWN BIOMETRICS Jasper Goseling Stan Baggen Ton Akkermans University of Twente Philips Research Laboratories j .goseling@ieee.org {stan. baggen, ton.h.akkermans }@philips.com We consider a biometrie verification system that has measurement data of the biometrics of one user available as reference. The system has to decide whether new measurement data is from the same or a different user. This situation arises for example in on-card matching of biometrics. Since all biometrics are only available through noisy measurements, they are only partially known. The hypothesis testing problem that arises in this situation results in a decision rule based on the likelihood ratio. Using a model with Gaussian sources it will be illustraied that the likelihood ratio is significantly different compared to hypothesis testing problems with fully known signals. 1 INTRODUCTION In this paper we consider verification systems based on biometrics, where we consider biometrics to be any physiological or behavioral characteristics that can be used to distinguish between persons. Following the definitions of [3], verification and authentication are situations where a person claims to have a certain identity by presenting his biometrics for measurement. This claim is verified by means of a stored template of the biometrics. Since security of the stored template is not of our concern in this paper, our problem is defined as verification. Usually a verification system is described by distinguishing between two phases: the enrollment phase and the verification phase. In the enrollment phase all users present themselves to the system such that their biometrics can be mea- sured and stored for future reference. In the verification phase someone presents himself to the system and claims to be user k. The system has to decide, based on the presented biometrical data and the stored template for user k, whether this user is indeed user k. In this paper we consider the situation that in the enrollment phase a mea- surement of biometrics for one user are stored on a smartcard. In the verification phase new measurements are performed, the data is fed to the card and verifica- tion is performed on the card [5]. Most important in this situation is that there is no database available with biometrie templates for all users. Inherent to the use of biometrics is that any measurement will always be affected by noise. In most applications considered [2], measurement of the bio- metrics in the enrollment phase is assumed to be in a controlled environment such that the noise on this measurement can be ignored. There are however situations that measurements in the enrollment phase can not be performed noise free. This might be the case if visitors to a company receive a smartcard, e.g. for access to certain facilities. If the biometrics are measured at arrival of the visitor it will in general not be possible to do multiple measurements to reduce noise. This means that in general the enrollment phase can not be considered noise free. Main topic of this paper is to find an optimal decision rule for the verification system in the situation described before that there is no database available with biometrical templates for all users and that the noise in the enrollment phase can not be ignored. The situation will be presented as a detection problem and it will be illustrated that it is basically different than other problems in detection theory [1]. Main result of this paper is how to treat noise in the enrollment phase. One possibility is to think of the enrollment phase as noise free and add another noise source to the verification phase. It will be illustrated t.hat this gives a non- optimal verification system. We will also see that performance of the optimal verifier is significantly better than that of one based on a correlation or a squared difference measure. Since these measures can be used to base a decision on, it is interesting to see how much can be gained by using an optimal verifier. In section 2 the problem will be stated more precisely. Section 3 subsequently will apply results of section 2 to a model of Gaussian variables. This model will be generalized in section 4 to sequences of Gaussian variables. The results of this paper will be summarized and discussed in section 5. 2 PROBLEM STATEMENT This section will present a model used for biometrics and states the verifica- tion problem as a hypothesis testing problem. A similar model for biometrics is also treated in [6]. The biometrics for a user k are a realization of the random variable S and are denoted by Sk. The random variable S is distributed according to Ps. Consider two (possibly the same) users k and l with their biometrics Sk and si. The Xe Verifier k~1 Xv Nv ",PNu (a) Verification system (b) Situation for hypothe- sis HI Figure 1: Overview verification system has two measurements of biometrics available: the enrollment measurement Xe and the verification measurement Xv' These measurements are affected by additive noise: Ne, the noise in the enrollment phase with distribution PNe, and Nv, then noise in the verification phase with distribution PNv' It is assumed that S, Ne and N; are independent. Using the notation S ex: S ~ Ps to denote that S is a realization of the random variable S which is distributed according to Ps, the situation is visualized in figure l(a). In the verification process a decision has to be made whether the same user was present in the enrollment and the verification phase, more precisely it has to be decided whether k = I. This basically boils down to deciding whether or not Sk and SI are the same realizations of the random variable S. A slightly different view to the problem is that we want to detect if Sk is present in the verification phase or that we have an independent signal SI, k i= l. Since we only know a noisy version of Sk, this can be seen as detection of a partially known signal. The verification process can be formulated as the decision between two hy- potheses. Hypothesis Ho in which case k i= 1 and hypothesis HI in which case k = I. The situation for hypothesis HI is visualized in figure l(b). In choosing between the two hypotheses two types of errors can occur. The first one is a false acceptance which is the event that the system chooses for hypothesis HI while Ho is true. The second type of error is a false rejection which occurs when the system chooses for hypothesis Ho while hypothesis HI is true. We call the probabilities for these two types of errors the false rejection rate (FRR) and the false acceptance rate (FAR). The goal is to optimize the performance of the system. The optimal per- formanee can be defined by different criteria. If the a priori probabilities for the hypotheses are known it is for example possible to define the average error probability and minimize this accordingly (Bayes like criterion). Another option is to fix the FAR and to minimize the FRR accordingly (Neyman-Pearson like criterion). It is well known [1] that all strategies like the ones mentioned, lead to a decision rule based on the likelihood ratio (1) where we use fi(Xe, xv) to denote the joint probability density function for Xe and X; given hypothesis Hi, If the likelihood ratio for certain Xe and Xv exceeds a certain threshold, the system chooses for hypothesis Hl else for hypothesis Ho. The value of the threshold is determined by either a priori probabilities for both hypotheses (Bayes criterion) or by the fixed value for the FAR (Neyman-Pearson criterion). The performance of a system can be given in terms of the equal error rate (EER), which is the value of FRR and FAR if the decision threshold is chosen such that FRR=FAR. A decision can also be based on a monotone function of the likelihood ratio. It often turns out that the logarithm of the likelihood ratio, usually called the log likelihood ratio, is convenient to work with. How the (log) likelihood ratio looks like depends completelyon the probability distributions of S, Np and Nç: In the next section we will show that for Gaussian processes, the log likelihood ratio is fundamentally different compared to the results of other problems in detection theory. 3 APPLICATION TO GAUSSIAN SOURCES In this section the log likelihood ratio will be evaluated for Gaussian dis- tributed random variables. More precisely Ps = N(J.lSl a;), PNe = N(J.lne, a~J and PNv = N(J.lnv, a~J. We assume that the verifier has full knowledge of all distributions. In order to simplify the derivations, we define new variables (2) (3) 120 and derive the likelihood ratio for these variables. Like the logarithm of the likelihood ratio results in an optimal decision criterion, it is also possible to use the likelihood ratio for the normalized variables as a decision criterion [IJ. Firstly, we find the joint probability distributions for Xe and x; given both hypotheses. In case of hypothesis Ho, Se and S; are independent by definition, which means that Xe and x, are also independent. The probability distribution is hence given by (4) For hypothesis HI the situation is visualized by figure 1(b). In this case Xe and x; are correlated and the correlation coefficient can be expressed by (/2 s (5) The probability distribution for Xe and x; is a bivariate Gaussian distribution with correlation coefficient p so (6) Using (4) and (6) the likelihood ratio becomes and after rewriting _ _) -- pxexv P 2(-Xe - -)21 Xv (2) In A ( Xe, Xv = -- - ( 2) - -2 In 1 - P . (7) l+p 21-p Examining the size of the terms in (7) for different p, it can be seen that for p close to 0 (which means low signal to noise ratio) the log likelihood ratio is basically a correlator. For p close to 1 (high signal to noise ratio) the squared difference term becomes dominant. 121 EER EER 5 10- O.';---i;40;;---8~O;----"12!;;;O;--~1,-!;6"'O--,d200 Vector length (a) EER as a function of the signal to (b) EER as a function of the vector length, noise ratio, vector length equal to 20. signal to noise ratio equal to 0 dB. Figure 2: Performance of the optimal detector compared to a correlator and a squared difference detector. 4 VECTORS OF GAUSSIAN VARIABLES In the previous section the log likelihood ratio was derived for the situa- tion that all signals where Gaussian distributed scalars. In this section con- sider the situation wh~re all signals, including the noise sources Ne and Nv, are independent identically distributed sequences of length n. More precisely Se = [Se,l, Se,2, ... where Se ,i E N(p,., , se,n], for all iEl, aD 2,' .. , ti. For all other signals similar definitions hold. Since the probability density function of i.i.d sequences is a product of the probability density for each element, it can eas- ily be seen that the log likelihood ratio is a sum of terms similar to equation (7) 2 1n A(-Xe, x., -) = Z:: ~ [PXe,;i:v'i _ P (Xe(2) ,i - Xv,i)2 _ ~l (1- n P 2)] . (8) i=1 1+P 2 1- P 2 The performance of the optimal verifier as given in equation (8) has been com- pared with a verifier based on only a correlation or a squared difference measure. 0";) for Figure 2(a) plots the EER as a function of the signal to noise ratio (10 log C'n both the optimal and the suboptimal verifiers using a vector length of 20. It is clear that for low signal to noise ratio's the performance of a correlator approaches the optimum. For high signal to noise ratio's it is the squared difference detector that approaches the optimal performance. This agrees with the conclusion drawn at the end of the previous section. Figure 2(b) shows the performance for a fixed signal to noise ratio of 0 dB and increasing vector length. From figure 2(a) it is clear that in this case performance of the correlator and the squared difference verifier is equal. For larger vector lengths the figure shows that the difference in performance between the optimal and the suboptimal verifiers increases. 5 DISCUSSION In this paper we have treated a biometrie verification system where in both the enrollment and the verification phase the measurement of the biometrie is substantially influenced by noise. The optimal verifier uses a threshold decision based on the (log) likelihood ratio. The optimal decision rule has been derived for the Gaussian case and it was illustrated that the performance compared to a correlator or a squared difference detector is significantly better. At first sight it might not be clear why this detection problem applied to Gaussian sources results in such an unusual log likelihood ratio. In order to get some insight, consider a "traditional" detection problem [1]. The question is whether a noisy version of a known signal s is available or that only noise is available. We have Ho: x = n and HI : x = s + n. In this case the likelihood ratio is A = !J(x) = 1/( V2"KO"n) exp [-(x - s)2/(2oD] (9) fo(x) 1/( V2"KO"n) exp [-x2/(20";)] x; - and the log likelihood results in In A = an 2522' Un Because we have equal varianees for fa (x) and !J (x), only a correlation term appears in the log likelihood ratio. If the varianees are not equal, the resulting log likelihood ratio will also have terms with x2 Suppose we have the model presented in figure l(a), but without the noise in the enrollment phase Ne, so Xe = Sk. The biometrics Sk are fully known, so hypothesis HI is equal to hypothesis HI of the previous, "traditional", situation. In hypothesis Ho however there are different unknown biometrics in addition to the noise tu; The likelihood ratio is equal to A = !J(xv) = 1/(~) exp [-(xv - Sk)2/2/0";J (10) fo(xv) 1/( j21f(0"; + O";J) exp [-x~/2/(0"; + 0";.)] Because of the different varianees for fa (x) and !J (x), terms x2 and S2 appear in the log likelihood ratio. It is possible to rewrite (10) into the same form as (7). The log likelihood ratio does not result in a correlator because not all signals are known. The biometrics in case of hypothesis Ho are unknown, because we consider the situation that only one biometrie template is present. If we would have considered the situation that all biometrie templates are stored in a database 123 (instead of an on-card matching system) the biometrics in case of hypothesis Ho could also have a fully known signal. The fact that (10) can be rewritten into (7) might suggest that the noise in the enrollment phase can be treated as an additional noise source in the verification phase. To see that this is not the case define 0-;', = 0 and O-;'v = 0";, + O";'v· Using 0-;. and O-;'v in (2), (3) and (5) shows that the log likelihood ratio (7) is not equal to the original situation with 0";, and O";'v. Therefore it is not possible to treat the enrollment phase as noise free and add an extra noise source to the measurement in the verification phase. The model presented in this paper and the resulting log likelihood ratio for Gaussian signals does not appear to arise in other problems in the field. Although the detection problem was presented in a context of biornetrical verification we believe that the detection of partially known signals is more widely applicable, for example in [4]. ACKNOWLEDGEMENTS The authors would like to thank Pim Tuyls and Andries Hekstra for reviewing the paper and giving some helpful hints. REFERENCES [1] C.W. Helstrom, "Elements of Signal Detection and Estimation", Prentice Hall, 1994 [2] A. Jain, R. Bolle and S. Pankanti, "Biometrics: Personal Identification in a Networked Society" , Kluuier Academic Publishers, 1999 [3] J.P. Linnartz and P. Tuyls, "New Shielding Functions to Enhance Privacy and Prevent Misuse of Biometrie Templates", To be presented at 4th Interna- tional Confer-ence on Audio And Video Based Biometrie Person Authentica- tion, June 2003 [4] R. Pappu, B. Recht, J. Taylor and N.Gershenfeld, "Physical One-Way Func- tions" , Science, 297, 2026-2030, 2002 [5] B. Struif and D. Scheuermann, "Smartcards with Biometrie User Verification", Proc. 2002 IEEE International Conference on Multimedia and Expo, 589-592, 2002 [6] F.M.J. Willems, T. Kalker, J.Goseling and J.P. Linnartz, "On the Capacity of a Biometrical Identification System", To be presented at the 2003 IEEE International Symposium on Information Theory, June 2003 12y RELIABLE BIOMETRIC AUTHENTICATION WITH PRIVACY PROTECTION E. Verbitskiy, P. Tuyls, D. Denteneer, J.P. Linnartz Philips Research Laboratories Prof. Holstlaan 4, AA 5656 Eindhoven, The Netherlands {Evgeny.Verbitskiy,Pim.Tuyls,Dee.Denteneer,J.P.Linnartz@philips.com} We propose a new scheme for reliable authentication of physical objects. The scheme allows not only the combination of noisy data with crypto- graphic functions but has the additional property that the stored reference information is non-revealing. By breaking into the database and retrieving the stored data, the attacker will not be able to obtain any realistic approx- imation of the original physical object. This technique has applications in secure storage of biometrie templates in databases and in authentication of PUFs (Physical Uncloneable Functions). 1 Introduction Many cryptographic protocols are based on encryption algorithms and one-way functions. One of the fundamental properties of those functions is that they are very sensitive to small perturbations in their inputs. Therefore, those cryp- tographic primitives can not be applied straightforwardly when the input data are noisy. This is typically the case when the input data is obtained from the measurement of physical objects such as biometrics [10], PUFs (Physical Un- cloneable Functions) [5], [12] etc. Consequently, some additional processing has to be performed in order to remove the noise, while not compromising security. It is clear that in order to perform the verification procedure of biometrie templates, some reference information has to be stored at a central server at work, in the bank, or in the supermarket. However as biometrics are unique identifiers of human beings, a privacy problem arises. People feel uncomfortable with supplying their biometrie information to a large number of seemingly secure databases for various reasons. The above arguments imply that a successful protocol has to satisfy the following requirements i) Robustness to noise, ii) Security and iii) Privacy protection. 1L_5 More specifically, by privacy we mean, that by breaking into a database, an attacker will not learn anything about the biometrie template (or the physical structure of the PUF). We prove that a universal authentication scheme satisfying the above-mentioned requirements i), ii) and iii) does not exist. Hence, the authentication scheme has to be based on features which are selected individually, i.e. on side-information. In this paper, we propose such an authentication method, based on statistical se- lection of robust features adapted to the given template while preserving privacy. We evaluate the performance of our scheme with respect to requirements i), ii) and iii) in case of Gaussian data with Gaussian noise. There is a large body of literature on the various aspects of biometrie identi- fication, and corresponding cryptographic problems [I, 3, 4, 8, 9J. Those papers propose a scheme based on error-correcting codes and one-way functions. We emphasise that our proposal does not rely on error-correcting codes but is based on a robust way of feature extraction. The method is set-up in such a way that an honest user is correctly authenticated with high probability. Furthermore, given the public information in the database, it is very hard to derive any information about the biometrie template. This paper is organised as follows. In Section 2, we describe the model on which the remaining part of the paper is based. A general capacity bound for this problem setting is derived in Section 3. Finally, we give a detailed description of our solution in the case of Gaussian data with Gaussian noise, in Section 4. 2 The Model In this section, we describe the model that we have in mind. We distinguish two phases: An Enrolment phase and an Authentication/ Verification phase which are described in detail below. First, Alice goes with her biometrie through an enrolment phase at a eer- tification authority (CA). During this procedure the properties of her biometrie are measured with specialised equipment. From the measurement data a secret S is derived. The reference data stored in the database is obtained by applying a (possibly) one-way function h to S. When Alice wants to authenticate herself to Bob at a later point in time, a measurement that extracts analog data Y of her biometrie is taken. She asks Bob for the corresponding helper data W which is communicated to her by Bob. These measurement data are then processed Finger- y ~ce h(S) print-+-++-~G(Y,W) .~ Noise helper W Figure 1: Schematic presentation of an authentication protocol together with the helper data W by means of a signal processing function G to construct a secret S'. Finally, h(S') is computed and compared to the stored data h(S) in the database. In order to set up a secure system, the function G has to be robust to noise, versatile and information hiding. The precise meaning of these notions is defined below. Definition 2.1 Let G : ]Rn+m --+ {O,l}k be a function and E 2 o. The function G is called s-robust to noise if and only if for all X E ]Rn there exists a vector W E ]Rm such that lP'(G(X + N, W) i- G(X, W)) :::::E, where lP' denotes the probability according to the distribution of the noise N. Definition 2.2 Let G : ]Rn+m --+ {a, I}k be a function. The function G is called versatile if and only if for all S E {a, l}k and all X E ]Rn, there exists a vector WE ]Rm such that G(X, W) = S. Definition 2.3 A two-party protocol generating a secret S is called E-revealing if and only if the communicated helper data W satisfies I(W; S) ::::: E. We stress that in order to have a robust, versatile signal processing function G = G(X, W), W must depend on X, i.e. each participant gets its own specific helper data. This was first observed in [10] under stronger robustness conditions. Here, we state a more general version of this theorem. Theorem 2.1 Assume that the noise has a continuous density on ]Rn. Then every e-robusi function G = G(X), with E < 1/2, is constant. 3 Capacity In this Section, we derive a bound on the entropy of a secret S generated from noisy data X (taken during enrolment) and Y (taken during measurement) when additional side information W is communicated between both parties. It follows from the model in Section 2, that the constraints of the system are given by: H(SIX, W) = 0, H(S'IY, W) = 0, I(S; W) < b, IP'(S i- S') ~ s , (1) where S = G(X, W) and S' = G(Y, W). Using standard entropy arguments, and Fano's inequality we obtain the following result 1. Theorem 3.1 Let S be a binary string derived from X and Y by communicating W as described in Eq. 1 then, H(S) ~ I(S; W) +I(X; YIW) + H(SIS') ~ s +I(X; YIW) + h(c) +c(log2(ISI) -1) (2) where h is the binary entropy function. It is clear that the requirement that W gives little information about S, also implies that W gives little information about X. The previous theorem implies that when I(S; W) ~ b, one can only get sufficient entropy in S if I(X; YIW) is large, i.e. if given the helper data W, Y gives much information about X. By taking the supremum over all input probability distributions for X, the bound becomes, H(S) < I(S; W) + CXY + H(SIS'). (3) where CXY is the capacity of the "channel" between X and Y. For a Gaussian channel, CXY is given by log(l + ;;) [2]. 4 Gaussian data and Gaussian Channels In this section, we first give a general description of our scheme and then focus on the special case where the physical data X and the noise Nare Gaussian distributed. lThis theorem is related to the common randomness bounds of [11), though with much less communication. 128 4.1 Fisher's Transformation We assume that the measured physical data consists of enrolment data corrupted by noise. More precisely, assume that Y = X + N, where Y = (Yl, ... , Yn) represents the measured physical data, X = (Xl, ... , Xn) stands for the true signal and N = (NI, ... ,Nn) represents the noise. Suppose that X has mean m and covariance matrix L:;x, and that N has mean 0 and covariance matrix L:;N, which we assume to be positive definite. Let r* be a matrix, consisting of the eigenvectors of L:;~1/2L:;x L:;~1/2,i.e. L:;~1/2L:;x L:;~1/2r* = I"A = r*diag( Àl' ... , Àn). Hence, Ài ~ 0 for all i = 1, ... , n and we may assume without loss of generality that Àl ~ ... O. Next define r = L:;~1/2r*. Using r, we define a new ~ Àn ~ vector a = (al, ... , an) by ai = (Y - m, Ti) where Ti represents the i-th column of r. Assume that X and N have a Gaussian distribution. Then, the following is true''. Theorem 4.1 ([7]) If X rv N(m, I;x ), N "'-'N(O, L:;N), L:;N > 0; X and Nare independent, and a is as defined above, then a rv N(O, A + I). 4.2 The Scheme Our proposal for a secure authentication of physical objects consists of a selection a k-bit secret based on the signs of several components with large absolute values", The idea is that the noise is not sufficiently large to corrupt the signs of those significant components. This willlead to the reliability of our approach. Let 6 be a small positive number. We will choose 6 appropriately depending on the noise level. For each i denote by Pi = 1P'(lail > 6), qi = 1 - Pi = 1P'(lail :::; 6) = 1 vl2".>.; f_óó-~e 2)" dt. Note that we have the following trivial estimate of qi, qi:::;#6. 2Fisher's Discriminant Transformation is very similar in spirit to the Principal Component Transformation. However, in the case the noise is coloured, i.e., the covariance matrix of the noise is not a multiple of the identity, the Fisher discriminant transformation can provide superior performance. 3We note here that two effects are happening: i) we take care of the error correction prop- erties by constructing a binary symmetric channel with low error probability, ii) we generate a secret about which an attacker has no information. This second step can be compared with a privacy amplification step. Extensions of the construction mentioned here are investigated in a forthcoming paper [6J. Define the random variables Zi, i = 1, ... ,n, as follows Zi = 0 if lail :::; 8 and z; = 1 if lail > 8. Note that z., i = 1, ... , n, are independent Bernoulli random variables, with lP(Zi = 1) = Pi, lP(Zi = 0) = 1- Pi = qi. In order for the authentication scheme to be versatile, one has to ensure a large number of significant components, or in other words, the sum 2::::1 Zi, must be large with a large probability. Note that its expected value is given by lE(2:::~=1 Zi) = n - L~=l qi· It is natural to assume that there is a substantial number of components with variance larger than c82, c > 1. Suppose that the fraction of such components is at least (J. Note that if the number of components with variance substantially larger than 82 is small, then the whole problem of authentication of physical objects with such properties becomes infeasible, as the data X and Y become then decorrelated. There should be a sufficient amount of "energy" to distinguish various measurements. If there is not enough energy in the signal, the noise will dominate. This will make robust authentication impossible. Using the estimate on qi'S obtained above, we conclude that Hence we can conclude that if we have a substantial fraction of components with large variance, then the expected value of the sum we are interested in, will be at least a large fraction of the number of such components. In other words, we do not lose many components. We estimate the probability of the event that the sum 2:::i z, is small, i.e. that it is substantially smaller then the expected value. Using a classical Bernstein inequality, one easily obtains the following result. Theorem 4.2 Let {Z;}f=l be independent Bernoulli random variables. Let Pi = lE(Zi), Kl = 2:::~=lpdn, T = L~=lPi(I-Pi)/n. Thenfor any K2, K2 < Kl, one has (4) Hence, we conclude that the probability of a substantial deviation of 2:::i z, from its mean value, is exponentially small. In the case, the noise has a Normal distribution N(O,a'FvId), where Id is the identity matrix, Ij has to he chosen depending on o » . For instance, for the Fisher discriminant Transformation, Ij = 3aN or Ij = 5aN will be sufficient to ensure correct identification of one bit with probability 99.87% and 99.99997% respectively. 4.3 Versatility Estimates of the previous subsection imply that with a large probability the transformation will give a sufficient number of significant components. We define the set h(o:) = {i = 1, ... , n: 100il > Ij}. Our main goal is to create a certain k-bit binary secret 5 = (Sl,"" Sk) E {O, l}k based on 0:. We say that a secret 5 = (Sl,"" Sk) is feasible for 0: if there exist distinct indexes i1, ... , ik such that ij E h(o:), for every j = 1, ... , k, and Sj = H(O:iJ for every j = 1, ... , k (H denotes the Heaviside function). Denote by Só(O:) C {O,l}k the set of all feasible secrets for 0:: Só(O:) = {5 E {O, 1y: 5 is feasible for a}. One would like Só(O:) to be a large as possible. Under normality assumptions, O:i has a symmetric distribution. Hence if Si = H(O:i), then IP'(Si = 1110:il > Ij) = = 0llail > IP'(Si Ij) = ~.In the previous section we showed that the expected number of significant components is equalto a certain fraction of ti, say ,n. Moreover, the probability of a large deviation from the expected number is exponentially small. Since Si for each i such that O:i > Ij is a symmetrically distributed Bernoulli random variable, it follows from the theory of typical sequences that approximately one-half of Si'S is equal to one, and approximately one-half s is equal to zero. Hence, if we let k (the length of our secret) to be a certain fraction of the expected number of significant components, i.e. k = 1hn, say Til = ,110. Then with a large probability, a large portion of all 2k secrets is feasible for 0:. Once we have chosen a feasible secret 5, we create the helper data W = W(X) by taking rows of r, with indexes ij, j = 1, ... , k, i.e. W is a k x n matrix. There is a close relation between the proposed scheme and universal hash functions used for Privacy Amplification [11]. A more general theoretical framework for this and other schemes [3, 4, 8, 9] will be presented in [6]. 131 4.4 Information revealing The transformation g(X, W) is defined as g(X, W) = W X where W is a k x n matrix that filters out the significant components. Theorem 4.3 The proposed scheme is O-revealing, i.e., I(W; S) = O. REFERENCES [1] L. Csirmaz, G.O.H. Katona, Geometrical Cryptography, Proceedings of the International Workshop on Coding and Cryptography, Versailles (France), 2003. [2] T.M. Cover, J.A. Thomas,Information Theory, Wiley, New York, 1991. [3] G.r. Davida, Y. Frankel and B.J. Matt, On enabling secure applications through off-line biometrie identification, in IEEE Symposium on Privacy and Security, 1998. [4] G.r. Davida, Y. Frankel and B.J. Matt, On the relation of error-correction and cryptography to an ofj"linc biometrie based identification scheme, in Pro- ceedings WCC99, Workshop on Coding and Cryptography, 1999. [5] Blaise Gassend, Dwaine Clarke, Marten van Dijk and Srinivas Devadas, Con- trolled Physical Random Functions, Proceedings of the 18th Annual Com- puter Security Applications Conference, December, 2002. [6] J. Goseling, T. Kalker, P. Tuyls, Secure Authentication Using Physical Ran- dom Functions, in preparation. [7] K.V. Marda, J.T. Kent, and J.M. Bibby, Multivariate Analysis, 1995. [8] A. Juels and M. Wattenberg, A Fuzzy Commitment Scheme, in G. Tsudik ed, Sixth ACM Conference on Computer and Information Security, 28-36, ACM Press 1999. [9] A. Juels and M. Sudan, A Fuzzy Vault Scheme, in ISIT proceedings, Int. Symp. on Inf. Theory, 408, 30 June- 5 July, 2002, Lausanne. [10] J .P. Linnartz, P. Tuyls, New shielding functions to enhance privacy and prevent misuse of biometrie templates, accepted at AVBPA 2003 conference on biometrics. [11] D.M. Maurer, The Strong Secret Key Rate of Discrete Random Triples, Com- munication and Cryptography - Two Sides of One Tapestry, 1994. [12] P. S. Ravikanth, Physical One- Way Functions, ,Massachusetts Institute of Technology, 2001. 1s2 EXPERIMENTING WITH FACE DETECTION AND RECOGNITION FOR HOME SURVEILLANCE: A STATUS REPORT- F. Zuo" and P. H. N. de Withab "Eindhoven University of Technology LG 0.10, P.O.Box 513, 5600MB Eindhoven bLogicaCMG, EHAT-l, PO.Box 7089, 5605JB Eindhoven F.Zuo0tue.nl and peter.de.with01ogicacmg.com Automatic human face detection/recognition is one of the key tech- niques used in video surveillance systems. We developed a prototype face de- tection/recognition system for personal home surveillance. The system op- erates in a typical consumer environment, requiring real-time performance and robustness with low-quality input images. To achieve this goal, we have experimented unih. various face detection and recognition techniques and built up a modular framework for real-time face identification. The framework consists of successive processing steps including face detection, face normalization and recognition. This paper presents a comprehensive report of our current research status and proposes future research directions. INTRODUCTION In the past ten years, we have witnessed an increase of research in human face processing and applications. One of the prevalent applications in this field is video surveillance using automatic human face detection and recognition. We aim at building a face detection/recognition system for personal home surveillance, providing safety and personalized control functions. The system should operate in a typical consumer environment, thereby requiring the following aspects. First, the system makes use of inexpensive cameras to keep the hardware cost at a low level. However, this imposes extra challenges to the system, because cheap web cameras offer low-quality images and are sensitive to illumination changes. Second, (near) real-time performance of the system is required, demanding highly efficient algorithms. To meet these requirements, we designed and experimented with face detec- tion and recognition algorithms that can achieve both high processing speed and robustness with low-quality input. A prototype system has been developed which combines the following major processing steps: - This work is supported by the HOMENET2RUN project, which is running under the ITEA research programme within the EUREKA framework. Normalized 'snapshot' sequences Figure 1: The modular framework for face identification. • face detection for finding human faces in a scene, • face normalizatiou for normalizing the face by scale, illumination and po- sition, and • face recognition for comparing the face with a pre-defined database and finding the match. In Section 2, we will present the modular framework for face identification. Sec- tions 3 through 5 will give more detailed illustrations of the individual processing steps. In Section 6, we will analyze the advantages and disadvantages of the current system and propose future research directions. A MODULAR FRAMEWORK FOR FACE IDENTIFICATION In this section, we present a modular system framework for [ace identification (Fig. I). The real-time captured video sequences are first fed into a face detection algorithm, where a novel three-stage fast face detection method is used to segment the face area(s) from tbe sequence [1]. The detected faces are then outlined using a rectangular bounding box. Since the face detection method involves neural- network-based techniques, the facial region outlined by the detection algorithm can vary significantly in size, frame by frame, and may contain small background areas around the face. Therefore, we apply a face normalization step to further extract a more accurate facial contour and facial features (i.e. the eyes) from the detection output. The advantage offered by the normalization step is twofold. First, it can determine and discard face images with a 'bad pose' (faces with large A cascade of face detectors Figure 2: The face detector architecture. in-plane and in-depth rotations), which are incompatible with the (near) front al- view face images in the database. A 'snapshot' image is selected from a sequence of frames, which is comparatively well-posed. Second, for 'snapshot' images, the eye positions provide important information for face alignment, which is a crucial preprocessing step preceding face recognition. The actual face recognition is carried out at the last stage, where the normalized face images are compared with a database using a statistical subspace method. The nearest neighbor found in the database is reported as a 'match'. FACE DETECTION The objective of face detection is to find face(s) within a given image (video sequence). Tremendous effort has been spent on designing face detection meth- ods in literature. These methods can be roughly classified into knowledge-based classifiers [8] and statistical learning-based classifiers [9]. The former generally uses direct knowledge of facial image features, such as skin-calor, face shape and feature distribution. It can usually achieve high processing speed and is partien- larly attractive for real-time applications. The latter classifier aims at acquiring high-level face-pattern characteristics by learning from face samples. This class of methods generally provides more robustness with respect to face variability, but it is usually computationally expensive. Recently, we have developed a novel three-stage face detection algorithm em- ploying a combination of image features [1]. These detectors, listed in the order of usage and complexity, are: (1) skin-calor detector which employs facial calor information, (2) facial structure detector which examines intensity distribution characteristics of facial features and (3) learning-based face detector which makes use of high-level pattern inforrna- tion extracted by neural-networks. The above-mentioned detectors are cascaded in such a way that each detector progressively restricts the possible face candidates into fewer areas. The initial Detected I Normalized Faces I faces I I t ! Face normalization I Incremental region growing -~ Ellipse fitting Feature ~~ localization f. Illumination normalization ~~ Position and scale normalization Figure 3: The face-normalization processing steps. fast elimination of non-face regions significantly reduces the number of inputs for the subsequent learning-based detector. This largely reduces the computa- tion cost for most learning-based approaches, while retaining the high detection accuracy. The cascaded face detector architecture is illustrated in Fig. 2. When exper- imenting with the face detector, we obtained an average of 92% correct detection rate and near real-time detection performance (an average of 0.3 seconds per image of 384 x 288 pixels on a 1.7 GHz Pentium-IV PC). The system showed reasonably reliable detection results when using a web cam. However, the system experienced detection failures when confronted with poorly illuminated environ- ments. FACE NORMALIZATION Face normalization is an indispensable stage between face detection and recognition. In our normalization system, two consecutive steps are performed. First, the face contour fitting provides a more accurate estimate of the position, scale and orientation of the face inside the rectangular bounding box of the face- detector output. It prunes the residual background areas within the bounding box including the hair and reduces the difficulty of locating facial features like eyes. Only (near) front-view face images are retained for subsequent face recognition. Second, the feature localization locates the eye positions and this information is used later for normalizing faces towards uniform size, position and normalized intensity. To obtain high processing efficiency, we have adopted a color-based approach for the face contour fitting, which is based on the following heuristic knowledge about the facial color. 1. The facial area constitutes a relatively homogeneous area, which contrasts with most background colors. Figure 4: Head-pose estimation. 2. The color components of the image are less sensitive to illumination changes than the intensity component, thus they provide better extraction results when a clear illumination change occurs across the face. We have compared three facial color-segmentation algorithms for this stage. We first experimented with skin-color segmentation, based on a global skin-color model. The global skin-calor model is a well-known face-detection technique [10], which assumes a concentrated color distribution in a given color space (RGE, YCbCr or HSV). This is not suitable for extracting individual face contours, because a uniform global skin-color model (i.e. Gaussian or mixtures of Gaussian) cannot well identify the face-color for a single individual face. We have found that a generalized color-segmentation technique is more effective in extracting the face-contour, given the a-priori knowledge about the face existence in the face bounding box (the detector output). Therefore, as a second experiment, we tested the color-segmentation technique proposed by [2], which is based on a mean-shift algorithm. The algorithm is reasonably successful in finding the homogeneous color in an image. However, it sometimes erroneously segments a face into several color clusters. Afterwards, we used a face-merging process to combine the different color patches that can 'best' constitute a face shape. The segmentation achieves good performance in finding an accurate face area. However, the overall segmentation process takes more than half a second on a Pentium-IV PC and is not suitable for real-time applications. For this reason, we propose a fast incremeriial region-growing method for facial color area segmentation. The algorithm grows from a seed region of 5 x 5 pixels from the center and relaxes the threshold criteria during each growing it- eration until a face shape is obtained. Experiments have shown that the method can achieve sufficiently reliable results in most situations and it is also computa- tionally efficient: it takes 1/6 of the computation time of the mean-shift-based segmentation algorithm. When the face area is accurately located, its contour is fitted with an ellipse. The contour provides a rough estimate of the head-pose as shown in Fig. 4. The feature localization can then be performed on a binary image after applying a threshold by 'adaptive threshold selection' [3]. Faces with large in-plane and Figure 5: Eye and mouth detection for face alignment and scaling. in-depth rotations (with respect to a normal front-view image) (see Fig. 4) are defined as 'bad-pose' images and discarded. Those faces with (near) front-view are aligned by position, scale and intensity and passed to the final face-recognition stage. Experimentally, we have pursued this concept further by using only front- view images for normalization [11]. This is a constrained case where the symmetry of the eye positions in the face can be exploited for reliable feature (eyes, mouth) localization. Some experimental results are shown in Fig. 5. Although this is interesting, the results do not solve the problem of irregular face positions as portrayed by Fig. 4. FACE RECOGNITION The purpose of face recognition is to identify a given face as a subject in a pre-defined face database. In our recognition system, the inputs to the recognition module are well-aligned face images of uniform size (130 x 150 pixels). The face database contains face images of different people, and each person has 6-12 differ- ent 'sample' images in the database capturing slightly different expressions. We use a slightly different version of the LDA-based (Linear Discriminant Analysis) classification method. The technique uses a global feature extraction by applying a statistical analysis of the training images. The face images are then transformed into a feature space where the intra-personal varianoes are maximized and the inter-personal variances are minimized. Although most face-recognition methods proposed in literature (including the LDA-based approach) achieve a high recognition rate on some standard face databases [5][4], their performance degrades significantly when applied in a real- time uncontrolled environment. This is largely due to the reason that most databases only contain face images taken in a constrained environment (same imaging device, against the same background or under controlled lighting condi- tions, etc). This contrasts with the real-time situation of a consumer surveillance 13tf system, in which there are varying conditions with regards to illumination, face rotations and complex background. We have found in our experiment that the environmental factors have a larger influence on recognition performance than the face detection, since face recognition involves a more intricate discrimination among different persons. The authors of this paper believe that different facial features, such as eyes, mouth, nose, chin, etc, play an important role in face classification. The structure and texture of these features can be exploited to give discriminant information of human faces. We are now experimenting with a feature-based recognition method which exploits both the global feature-distribution structure and local feature-texture information. This comparison will be preceded by an accurate feature-point selection algorithm extracting characteristic facial points from a given face image. The face-identification information will consider the different feature structure and texture between different people and differentiate inter- and intra- personal variability. DISCUSSION AND CONCLUSION In this paper, we briefly reported on our current research status and expe- rience on a real-time low-cost person identification system. Although various methods for face detection and recognition have been proposed in literature, de- veloping a real-time consumer system is difficult as it should accommodate to various environmental changes like illumination. Let us summarize several prob- lems we have encountered during our experiments with face recognition, which have to be solved for achieving a robust face identification system. 1. The face recognition algorithms we experimented work reasonably well un- der homogeneous lighting conditions and for (near) front-view face images. However, varying illumination conditions and head-pose changes can cause severe problems for the recognition performance. For the illumination prob- lem, a simple linear lighting correction method [6] does not lead to satis- factory results due to shading and complex face surface structure. An SFS- based illumination compensation scheme [7] seems attractive, however, the application of the algorithm to a real-time unconstrained environment is still an open issue. Similarly, most head-pose (view) estimation methods also have problems when the illumination condition is not ideal. A ro- bust face-recognition algorithm should have the capability of handling both illumination and head-pose changes. 2. It has also been noticed that in the experiment, the face image quality also plays an important role. Small faces (original size) can be a problem for both normalization and recognition. We are now experimenting with more advanced algorithms to improve the ro- bustness of the current system. These include a more accurate facial feature tracking under different views, a more reliable illumination-correction scheme and a local-feature combined with a global-structure approach for face recogni- tion. We expect these new methods can improve the robustness on the existing system and enhance the recognition performance. REFERENCES [1] F. Zuo and P. H. N. de With, "Fast Human Face Detection Using Successive Face Detectors with Incremental Detection Capability" , Proc. SPIE Vol 5022, 2003. [2] D. Comaniciu and P. Meer, "Robust Analysis of Feature Spaces: Color Image Segmentation", Proc. IEEE Conf. CVPR, pp. 750-755, 1997. [3] X. Zhu, J. Fan and A. K. Elmagarmid, "Towards Facial Feature Extraction and Verification for Omni-Face Detection in Video/Images", Proc. IEEE conf. ICIP, pp. II1l2-116, 2002. [4] A. M. Martinez and R. Benavente, "The AR Face Database" , Tech. Rep. CVC #24, 1998. [5] F. Samaria and A. Harter, "Parameterisation of a Stochastic Model for Human Face Identification" , Proc. 2nd IEEE Workshop on App. of Computer Vision, 1994. [6] K. K. Sung and T. Poggio, "Example-based Learning for View-based Human Face Detection", A.I.Memo 1521, CBCL Paper 112, MIT, 1994. [7] W. Zhao and R. Chellappa, "llumination-insensitive Face Recognition using Symmetric Shape-from-Shading," , Proc. Conf. Computer Vision and Pattern. Recog., 2000. [8] J. Yang, W. Lu and A. Waibel, "Skin-color modeling and adaptation", Proc. of ACCV, pp. 687-694, 1998. [9] H. Rowley, S. Bahlja and T. Kanade, "Neural Network-Based Face Detection", IEEE Trans. on Pattern Analysis and Machine Intelligence, vol 20(1), pp. 23- 38, 1998. [10] R-L. Hsu, M. Abdel-Mottaleb and A. K. Jain, "Face Detection in Color Im- ages", IEEE Trans. on Pattern Analysis and Machine Intelligence, vol 24(5), pp. 696-706, 2002. [U] F. Zuo and P. H. N. de With, "Towards Fast Feature Adaptation and Lo- calization for Real-Time Face Recognition Systems" , accepted by VCIP 2003, Proc. SPIE Vol 5150. EQUALIZATION AND TARGET RESPONSE OPTIMIZATION FOR HIGH DENSITY TWO-DIMENSIONAL OPTICAL STORAGE J. Riani*, J.W.M. Bergmans*, S.J.L. v.Beneden*, W.M.J. Coene**, A.H.J.Immink** *Technische Universiteit Eindhoven, Den Dolech 2, 5600 MB, Eindhoven, The Nether- lands **Philips Research Laboratories, Prof. Holstlaan 4, 5656 AA, Eindhoven, The Nether- lands j.rianiCOtue.nl A Two-Dimensional Optical Storage (TwoDOS) technology is currently un- der development, in which data is stored in a hexagonal bi-dimensional lat- tice, along broad spirals. This paper investigates the problem of 2D Partial Response Equalization and the design of the target response for the Two- DOS receiver. In the first part we investigate 2D Minimum Mean Square Error (MMSE) Equalization on a hexagonal lattice. An analytical expres- sion describing the MMSE equalizer is presented. The second part gives a Bit Error Rate (BER) analysis of a general 2D Partial Response Maximum Likelihood (PRML) receiver. Performance consequences of channel noise and residual Inter Symbol Irüerjerence (ISI) are analyzed. This analysis is used to derive a measure to optimize the target response in terms of BER. Simulations were conducted to confirm the validity of the analytical results. I-INTRODUCTION The need for ever higher capacities in optical storage calls for a step from ID to 2D signal processing for storage. The TwoDOS project considers 2-D data, i.e. the information on the disc has a 2-D character, and aims at achieving an ultimate increase of a factor 2 in capacity and 10 in data rate with respect to the 3rd generation of optical storage, [2]. In this paper we will investigate the problem of 2D equalization and partial response design for TwoDOS. The paper is organized as follows. Section 2 provides a derivation of the 2-D 1L11 MMSE equalizer for hexagonal lattices. Section 3 provides a BER analysis for a PRML receiver and a target response optimization procedure. Finally, simulation results are provided to verify the analytical predictions. 2-SYSTEM MODEL AND NOTATIONS Figure 1: The discrete channel model for 2D optical storage Fig. 1 shows a system model for 2D optical storage. It consists of 2D in- dependent sequences of bi-polar binary data that are filtered by a 2D dispersive channel hA, where A is a 2D index that reflects the lattice used for storage. For the TwoDOS system, the choice has been made to consider a hexagonal lattice. This choice is justified by an increase of around 15% in storage capacity. ([2]). The stored or input data consists of a broad spiral with a hexagonal structure, as shown in Fig. 1. The received or replay signal Tk is a noisy version of the filtered data. The following notations are used: NR : The number of bits stored in parallel on the hexagonallattice. Qk : The channel symbol at time k, i.e. the set of NR bits (±1) in the v-direction, see Fig. 1. The received signal r.k can be written as: r.k = I:H",Qk-m + Tlk = (H * Q)k + n,. (1) rnEZ where, each component of the noise nk is white and gaussian with a variance 0"2 Hrn are square matrices of size N R x N R, describing equivalently the 2D filtering with the channel impulse response hA. This equivalent notation is used for the sake of clarity of the mathematical expressions. The set (Hrn)rnEZ is called a Matricial Impulse Response (MlR). The signal to noise ratio SNR is defined as: SNR = 10loglO CLJ:2h~). 3-TWO-DIMENSIONAL EQUALIZATION ON A HEXAGONAL LATTICE The purpose of linear equalization in a PRML receiver is to make the detector input resemble as well as possible a target data sequence ((g * b)A) where gA is a prescribed target response and '*, denotes 2D convolution. In other words, the linear equalizer attempts to estimate the target data sequence ((g*b)A) by a linear operation on the corrupted received signal (1:k), i.e. by applying a transformation of the type: 7(1:) = (W * 1:h = LWn1:k-n' n Here (Wn) (NR x NR) is called the Equalizer MlR. We assume that (Wn) has a finite length: :J L I Wn = 0 ' L, implying that only the received symbols between k - Land k + L are used for estimation at time k. Here L is called the length of the equalizer. The output of the equalizer can then be written as: L JLk= (W * 1:h = L Wn1:k-n- n=-L The equalizer MlR is obtained by a minimum mean square error optimization. We seek to minimize the power of the error given by: where (Gn) is the desired target response MlR. Here XT denotes the transpose of the matrix X. The optimization problem related to the problem of 2D linear equalization finds the set of matrices (Wn) that minimizes the "cost" function J. The final result of our optimization problem is provided in the next lemma. Lemma 1: The MlR (Wk) of the MMSE equalizer satisfies: k=L -L :S ' 2, we can naturally reuse this criterion and try to minimize the maximal index difference when a single description is lost. This, however, is not sufficient. It is easy to exhibit M-dimensional index assignments whose spread is very small, e.g. equal to zero, but such that there exists two indices mapped on two tuples differing on only two components, that are far away from each other. It is clear that redundancy can be allocated for protecting against different number of losses. Note that the minimal spread assignment problem is closely related to that of finding the minimal bandwidth of a N-subgraph of a Hamming graph [3, 1]: the bandwidth of a graph is the minimal difference between the indices of two adjacent vertices in any ordering of the vertices and a Hamming graph is a carte- sian product of cliques. The first two-description IA method was proposed by Vaishampayan in [7]. The two proposed methods minimize the spread d of lAs in which only the main diagonal and the 2k diagonals closest to the main diag- onal are used. It is shown that for these two methods, d = k(2k + 1). In [2] Berger-Wolf and Reingold show that Vaishampayan's bound is actually optimal for diagonal assignments. In the next section, we examine a property of highly-redundant M -description diagonal assignments that greatly simplifies the design. Then we propose a heuris- tic method that combines simple two-description assignments to produce good M-description assignments. In the latter case, we show that some controlover the redundancy allocation is available. This is confirmed experimentally. 2. DIAGONAL M-DESCRIPTION ASSIGNMENTS A diagonal of the assignment matrix is a set of cells with coordinates of the form a + i .1, where 1 is the vector (1,1, ... ,1) of size M, i is a natural number, and a E {a, 1, ... , n - I}M, with at least one component] such that aj = a. Let us call a the starting cell of the diagonal. Starting cells a such that maxi ai = t have exactly n - t cells. When an IA is diagonal, it is expected that minimizing the spread will yield a solution which is also good for more than one loss. This issue should however be examined in more details. We now analyze the structure of the problem when the redundancy is high. We have the following fact: Let us consider the set of diagonals with starting points a in the set S = {a E {a,I}M I Li ai ~ M - 2}. Clearly ISI = 2M - M - 1. The cells in these diagonals induce a subgraph of the Hamming graph. This subgraph is made of n unconnected components, n - 1 of which are of the same form as the subgraph induced by S. The proof of this fact is very simple. Let a E Sand b in one of the 2M - M-I diagonals, such that aj i- bj for a certain] and ai = bi Vi i- ]. The description vectors a and b differ on exactly one component. We show that b belongs to the same connected component S as a. From the definition of S, there are two indices ]1 and ]2 such that ah = ai> = a. If] i- ]1 and] i- ]2, then bj, = bi> = a. If] = ]1 then bi> = a. Finally, if] = ]2 then bjl = a. In all cases there is at least one component l for which bi = a. Hence b is a starting cell. Since all starting cells are in S, b is in Stoo. All these components except the last one have the same form: they are subsets of the hypercube (product of two-cliques). Hence the bandwidth problem for this subgraph reduces to the bandwidth problem for a single component, whose size is independent of n. Such small instances of the minimal bandwidth problem are likely to be solvable quickly using methods such as the one described in [4J. In Fig. l(a) we present an example with M = 3, and 2M - M-I = 4 diagonals. The pattern is repeated along the main diagonal of the cube, and we can see that the only possible confusions are between cells of the same pattern. Hence solving the bandwidth problem for this pattern only is sufficient. We can study the corresponding redundancies. The total number of bits is B = M log n. Among the M - 2 M-I diagonals, there is one diagonal with n elements, and the others have n-l elements. Hence the number ofsource bits is S = log((2M -M -2)(n-l)+n). The ratio (B - S)jB is plotted in Fig. l(b). 151 fraction of channel bits 0.7 0.6 0.5 0.4 0.3 0.2 0.1 o 8 2 (a) Optimal diagonal (b) Plots of the minimal redundancies for which an assignment for M = 3 optimal diagonal IA can be found by solving the min- imal bandwidth problem on a smaller subgraph. The size of this subgraph is 2M - M-I, independent of n. Figure ( Diagonal generalized index assignments 3. MULTISTAGE ASSIGNMENTS The extension of IA to more than two descriptions using a matrix with M entries is not easy to cope with. Instead of this, we propose to define a 2L_ description IA by cascading L two-description lAs (F, 02, ... , oL. Definition of multistage assignments The encoding algorithm proceeds by iteratively sending indices of each stage to the two-description IA of the next stage, as illustrated on Fig. 2(a) and 2(b) for L = 2 and L = 3. Each stage doubles the number of descriptions, culminating in M = 2L descriptions. The size of the IA matrix is ni for the ith stage. For two-stage lAs, the encoder can be written (1) The mapping can be represented in a 2L-dimensional matrix of side tit. containing the numbers from 1 to N. The encoder can store the mappings Oi as precomputed 152 (a) Two-stage IA (b) Three-stage IA Figure 2: Block diagrams of the proposed coding schemes i W 0) (F)(i) i (81 0 82) (i) 1 (1, 1, 1, 1) 6 (2, 2, 2, 2) 1 2 4 2 (1, 1, 2, 2) 7 (3, 3, 2, 2) 3 6 8 3 (2,2, 1, 1) 8 (2, 2, 3, 3) 5 7 9 4 (1, 1, 3, 3) 9 (3, 3, 3, 3) (a) assignments for each stage 5 (3,3, 1, 1) (b) encoder outputs Figure 3: Example of multistage IA encoding tables, and simply perform M-I table lookups per sample. An example is given on Fig. 3. l E {I, 2, ... , nL, - F , L The decoding algorithm receives a 2L-tuple of descriptions where - is the symbol for a missing description. It iteratively considers all pairs of descriptions (l2j, l2j+1) and replace them by lists of candidate indices from the previous stage. At each stage, the size of the tuple is divided by two. The final list is the list of all possibilities for the original index. From this list, it is easy to compute a minimum mean squared error approximation of the original index. Spread Let us first give the expression of the redundancy of multistage lAs. Generalizing the expression for two-description IA, we obtain r = log(nfL) IN). In the following, we assume that the multistage IA is based on the simple 1S-3 constructions proposed in [7] for diagonal lAs. In a multistage IA we can define d as the maximal distance between two indices such that their associated description tuples differ only on a single component. Such index pairs are found on the same line in the matrix associated with the multistage IA. It is related to the maximal error due to the loss of exactly one description. To find an approximation of d in a multistage IA, we first consider to two-stage case, where Ol and 02 are two diagonal lAs with 2kl + 1 and 2k2 + 1 diagonals, respectively. A missing description in the second stage translates in an uncertainty in the row or column number used to index the first stage IA. The spread d2 of the second stage 02 is the maximal difference between row or column numbers of the index found in Ol. Therefore, to determine d we can compute the product of d2 by the distance between two adjacent indices in (P. This distance is upper bounded by 2kl for the lAs defined in [7]. Hence since d2 = k2(2k2 + 1), we find (2) An approximate value of d can be found more precisely by considering the ex- pected distance between two adjacent indices in Ol, rather than an upper bound. Such a value can be found by dividing the spread of the IA by the number of inter-indices intervals. Since the spread is k, (2kl + 1), this expected distance is l l + 1)/(2kl) = kl + 1/'2. Hence we have k (2k (3) By a similar reasoning for L > 2 we find a general formula d ~ kd2kL + l 1) rrf:l (ki + 1/2), where Zk, + 1 is the number of diagonals used in the ith stage Oio Expression 2 also sheds light on the way the redudancy should be distributed among stages to minimize d. In the L = 2 case, it is easy to see that k2 should be chosen as small as possible given the rate budget, and most redundancy should 2 be allocated at the second stage. As an extreme case, if the spread in 0 is larger than the number indices per row or column in Ol, then losing one description has essentially the same effect as losing two. This happens when k2 (2k2 + 1) > 2kl + 1. 154 1 2 3 4 5 6 7 8 9 Figure 4: A multistage IA with better spread for two losses More than one loss When more than one loss occur, d is not the relevant quantity to minimize. Giving a closed formula for the maximal difference between two indices that share a given number of descriptions does not seem to be a trivial task. However, it is not difficult to realize that the redundancy at a certain stage is related to the error occuring when descriptions yielded from this stage are lost. Hence we can distribute the redundancy among stages to optimize for a certain loss profile. Let us compare for instance the two-stage IA presented on Fig. 4 with that of Fig. 3. In the latter, we have d = 0, but when two losses occur, the maximal difference is 5. While in Fig. 4 we have d = 1 but the maximal difference for two losses is only 2. Therefore, the choice between these two assignments clearly depends on the expected number of losses. To illustrate this, we made the simple experiment of encoding an 8-bpp image in four description (L = 2), with T = 8 and different redundancy allocations. The PSNR curves for two redundancy parameters sets are given on Fig. 5. When a single loss is expected, the parameters (kl, k2) = (7,1/2) will be preferred. On the other hand, when two losses are expected, the values (kl, k2) = (1,3) are more interesting. The fact that the curves are crossing shows that there is IlO single best allocation. 4. CONCLUSION We proposed two practical solutions for the design of generalized multiple description index assignments. We first showed that diagonal assignments with minimal bandwidth could be found rather easily if the redundancy is not too te;W j:l.igi1. Then we proposed a multistage assignment approach that allows for a good control of the redundancy allocation. We plan to compare the various approaches experimentallyon scalar quantizers for various sources. 1~S 65 k1=1, k2=3 60 k1=7, k2=1/2 55 50 cr: 45 z 40 (J) / o, 35 / , .' 30 25 .' 20 ..-------- 15 1 1.5 2 2.5 3 number of received descriptions Figure 5: PSNR for Lena with various redundancy parameters The author thanks Martine Labbé for pointing out reference [4]. REFERENCES [1] T. Berger-Wolf and M. A. Harris. Sharp bounds for bandwidth of clique products. submit- ted, 2002. [2] T. Berger-Wolf and E. Reingold. Optimal index assignment for multichannel communica- tion. In ACM-SIAM Symposium on Discrete Algorithms, January 1999. [3] T. Berger-Wolf and E. Reingold. Index assignment for multichannel communication under failure. IEEE Trans. Inform. Theory, October 20Q3. [4] A. Caprara and J.-J. Salazar-González. Laying out sparse graphs with provably minimum bandwidth. Technical report, University of Bologna, Italy, 2003. [5] A. A. El Gamal and T. M. Cover. Achievable rates for multiple descriptions. IEEE Trans. Inform. Theory, 28(6):851-857, November 1982. [6] L. Ozarow. On a source coding problem with two channels and three receivers. Bell Syst. Tech. J., 59:1909-1921, December 1980. [7] V. A. Vaishampayan. Design of multiple description scalar quantizers. lEEE Trans. Inform. Theory, 39(3):821-834, May 1993. [8] R. Venkataramani, G. Kramer, and V. K. Goyal. Successive refinement on trees: A special case of a new MD coding region. In Proc. IEEE Data Oompression Conf., 2001. [9] J. Wolf, A. Wyner, and J. Ziv. Source coding for multiple descriptions. Bell Syst. Tech. J., 59(8):1417-1426, October 1980. AN EFFICIENT ALGORITHM FOR COMPUTING THE ENTROPY OF OUTPUT SEQUENCES FOR BITSHIFT CHANNELS Stan Baggen and Vladimir B. Balakirsky Philips Research Laboratories, EIDMA stan.baggen~philips.com. v.b.balakirsky~tue.nl We consider data transmission over the so-called "bitshift channel", which models the storage and read-out of data of magnetic and optical recording systems. We consider the case of (2,00) -constrained sequences, where a valid input sequence to the channel is a binary sequence having at least two 0 's between any 1'so If a "1" is located at position j in the input sequence, then it can be received at positions j - 1, j + 1, and j in the output sequence with probabilities E, E, and 1 - 2E, respectively. We obtain tight lower and upper bounds on the entropy of output sequences and on the mutual information between input and output sequences when the input sequence is generated as follows." select bit 1 with probability p and encode it by the subblock 010; select bit 0 with probability 1 - P and encode it by the subblock o. An efficient algorithm for computing the bounds is proposed. INTRODUCTION For hard-limiting recording channels such as magnetic and optical recording, the channel can only be in one out of two states. We call these states "low" and "high", respectively. Since the information for such channels is contained in the transitions from "low" to "high" and vice versa, we might as well consider sequences, where a "1" stands for a transition and a "0" for the absence of a transition. Since transitions cannot be arbitrarily close to each other on such channels because of bandwidth constraints, we usually impose a so-called "d- constraint" on the (0, 1)-sequences representing a string of transitions, where d refers to the minimum number of O's between any two 1's [1]. In the sequel, we consider only d = 2 constrained sequences, but our approach is easily generalized to any d 2: 2. A major impairment of the recorded signal during read-out is a shift of the recorded transitions with respect to their intended locations during writing. The bitshift channel [2] is a simplified discrete-time model for such shifts of transitions. A binary d = 2 constrained sequence x = (Xl, X2, ... ) is a valid input sequence for a bitshift channel if and only if it can be represented as the result of concatenation ofsubblocks 0 and OIO, i.e., if and only ifx = (Xl, X2, ... ), where Xj E {O, 01O} for all j = 1,2, ... A binary sequence y = (YI, Y2, ... ) is a possible output sequence of a bitshift channel when x was transmitted if and only if y = (YI' Y2, ... ), where Xj = 0 implies Yj = 0 and Xj = 010 implies Yj E {lOO, OIO, OOI}. We assume that subblocks of the input sequence are independently transmitted over a channel and that W",(y) denotes the probability of receiving subblock Y when subblock X was sent. Already for such a simple channel model it turns out to be surprisingly difficult to compute information-theoretic quantities. The channel capacity is unknown since the optimizing input distribution is unknown. Even for some given input distribution, only bounds on the mutual information are obtained [2], [3], [4]. Our paper presents bounds on relevant information-theoretic quantities for the case that the binary input is Markovian, i.e., the input in terms of subblocks is memoryless. We first derive the easily computable quantities like the entropy of the input sequences and the conditional entropy of the output sequences given the input sequence. Next we present bounds on the entropy of output sequences that can be easily computed within the desired accuracy; these results also give bounds on the mutual information between input and output sequences. EASILY COMPUTABLE INFORMATION-THEORETIC QUANTITIES We assume that subblocks of the input sequence are generated by a Bernoulli source and denote the probability of selecting subblock X at some time instant by P(x). Let P(X) (1 - p)X{x = O} + PX{x = OlO}, W",(y) c: X{x = Y = O} + (1 - 2é)x{X = Y = OlO} + EX{X = 010, yE {lOO, OOI}}, where X stands for the indicator function and the parameters pE [0,1], c E [0,1/2] are given. The entropy of input sequences and the conditional entropy output sequences given a valid input sequence are easily computed. Namely, t::.. H(Xt) 1 Hin = lirn -- = --h(p) 1-+00 t 1 + 2p 1fs(S'; y) s s' 1f}\ (A; 0) = 1 - P 1f}\(0; 0) = p(1 - t:) 1f}\(I; 1) = pe 1fO(OO; 0) = t:/(1 - s) 1fo(Ol; 1) = 1 - t:/(1 - s) 1fl (10; 0) = 1 1foo(A; 1) = 1 1fOI (A; 0) = 1 1flO(A; 0) = 1 Figure 1: Transitions of the machine. and t lim H(ytIX ) = _p_ (2t: + h(2t:)), Hoo t 1+ 2p where h(z) ~ -zlogz - (1 - z) log(1 - z), z E [0,1], stands for the binary entropy function. Note that 2(-t:logt:) - (1 - 2t:)log(1 - 2t:) = 2t: + h(2t:) corresponds to "the jitter entropy". As we are interested in potential limits on the communication over the bitshift channel, we want to know the estimates of the mutual information The computation of the entropies H(yt), and H(Xtlyt), t = 1,2, ... , is a difficult problem and we develop an algorithm for estimating them in the next section. BOUNDS ON THE ENTROPY OF OUTPUT SEQUENCES All valid input sequences and all possible output sequences can be generated as follows. Introduce a machine having the set of states S = { A, 0,1,00,01,10 } whose transition from the state s to the state s' is associated with the conditional probability (s'; y), which is defined as the probability of transition s --+ s' 7rs and sending y E {O, I} to the output. The probability of generating any fixed sequence of states and corresponding output sequence is defined as the product of conditional probabilities associated with the transitions. All positive conditional probabilities (when p, E > 0) are given in Figure 1, where transitions with the output symbol 1 are shown by dashed edges. One can easily check that if the machine starts in state A and E = 0, then each Yt is the prefix of some valid input sequence to the channel, and if E > 0, then Yt is the prefix of some possible output sequence. One can also see that ( QA, Qo, o.. Qoo, Q01, Q10 ) = 1: 2p ( 1,p(l - E), PE, PE, p(l - 2E), PE ) is the stationary probability distribution on the states of the machine. The basic idea of introducing the machine can be explained as follows. There can be many ways of partitioning a given output sequence Y in subbblocks, since a concatenation of elements of {O, 100,010, OOI} is not a uniquely decodable code. Each partitioning is implemented in such a way that we move a pointer from left to the right by 1 position at each time instant and insert a special symbol "," as soon as the current subblock is complete. The state of our machine is the vector that is observed between the last "," and the current position of the output sequence; if a "," is put at the current position, then we assume that the state is A. This procedure is illustrated below by 3 possible ways of partitioning of the prefix vector Y4 = 0100 of some valid output sequence, where Y 4 denotes a vector obtained by inserting symbols "," in the vector Y4 and S4 is the corresponding vector of states : Y4 = 0, 1 0 0, 0 1 0, 0, 0 1 0, 0 S4 = A 1 10 A 0 01 A A 0 01 A 0 All possible states that can be observed form the set S. In the general case, gen- erating of possible output sequences is represented as passing through some path in the trellis constructed as a result of repetition of the section of the transition Level = 0 1 2 3 4 Node = A 0 1 00 Ol 10 Figure 2: Fragment of the trellis for generating all valid input sequences and all possible output sequences of a bitshift channel. diagram in Figure 1. The first 4 sections of the trellis and paths corresponding to the output vector 0100 are given in Figures 2, 3, respectively. Proposition. t . H(XtlYt) lim -"----'----'- lim ~ "" H(XeIXe-1, yt) t=rco t t-+oo t L...J £=1 QII. lim "" 8(Ye)H(S1ISo = A, Ye), (1) t-+oo L...J YIE{O,l}l where e 8(ye) ~ L IT 'lfSj_l (Sj; Yj), So = A, Sl, ... ,s/ES j=1 is the probability of observing the prefix Ye of a valid sequence at the output of the bitshift channel. If one computes the sum on the right-hand side of (1) taken on all Y£max for some Emax < 00, then it would require the inspection of 2emax output vectors, and the algorithm can be implemented only for sufficiently small Emax. Furthermore, we can only obtain an upper bound on limt-+oo H(Xtlyt)jt in this way. Level = 0 1 2 3 4 Node = A -, -, ° ~_j \ -, 1 \ 00 _j \ _j \ 01 10 _j Figure 3: Paths of the trellis corresponding to the output vector Y4 = 0100. Theorem. Suppose that the integer £max and the sets yf ç {O,1}l, £ = 1, £max, are fixed in such a way that their union is a complete prefix subset of the set of sequences that can be generated by the machine in Fiqure 1} which starts in the state A, i.e., for all t 2: £max and Yt E {O, lp with 8(Yt) > 0, there exists a unique £ E {I, ... ,£max} such that Ye E ye is a prejix of Y« and emax L L 8(Ye) = 1. f=l YIEyl Then where H(U) (Ye) ~ H(SlISo = A,Yf), H(L)(Yf) ~ H(U) (Ye) - I(Sl; SflSo = A, Yf) = H(SlISo = A, Se, Ye)· Table 1: The values obtained from the bounds on the entropy of output sequences and on the bit error probability for p = 1/2, ê = 0.1, where Cemax = 2:~~~x Iyel L and Hiernax ) ,HiUcrnax ) are values of the lower and upper bounds on limHoo H(yt)/t. £max 'Y H(L) emax H(U) emax cc: 16 10 2 .601215 .601545 131 10-3 .601256 .601323 191 10-4 .601258 .601310 223 24 10 -z .601231 .601535 414 10-3 .601282 .601303 991 10-4 .601285 .601288 1358 32 10 2 .601232 .601535 959 10-3 .601282 .601302 4233 10-4 .601285 .601286 6945 The sets ye, E = 1, £max, are recursively chosen as follows. Fix a parameter 'Y E (0,1) and set { Ye : Ye has no prefix in v', ... ,ye-\ H(L) (Ye) 2: (1 - 'Y)HCU) (Ye) }, yemax { Yemax : Yemax has no prefix in yl, ... ,yemax-l }, where £ = 1, £max - 1. The numerical illustration in Table 1 shows that this approach can be very efficient. The values of the functions D. - lim H(yt) Hout t= co t ' I(Xt. yt) Iin;out ~ lim t-+oo ' t for pE {0.3176, 1/2} are given in Figure 4. Notice that p = 0.3176 ... maximizes the entropy of input sequences to the channel, h(p)/(l + 2p). p = 1/2 Hout p = 0.3176 0.551 1/2 Iin;out 0.332 0.287 P = 1/2 0 1/3 1/2 E: Figure 4: The values of Iin;out and Hout as functions of E: for pE {0.3176, 1/2}. REFERENCES [1] P. H. Siegel, "Recording codes for digital magnetic storage," IEEE Trans. Magnetics, vol. 21, no. 5, pp.1344-1349, 1985. [2] S. Shamai (Shitz) and E. Zehavi, "Bounds on the capacity of the bit-shift magnetic recording channel," IEEE Trans. Inform. Theory, vol. 37, no. 3, pp. 8fi:,{-872, 1991. [3] C. P. M. J. Baggen, An Information Theoretic Approach to Timing Jitter. Ph.D. Thesis, UCSD, 1993. [4] C. P. M. J. Baggen and J. K. Wolf, "On the influence of timing jitter on the capacity of hard-limiting channels," Proc. URSI Int. Symp. on Signals, Systems and Electranies (ISSSE'92), Paris, France, pp. 799-804, 1992. Asymptotic expansions of mutual information for a general class of additive noise channels with small signal-to-noise ratio * Viacheslav v. Prelovt and Edward C. van der Meulenl t Institute for Information Transmission Problems of the Russian Academy of Sciences 19 Bol'shoi Karetnyi, 101447 Moscow, Russia. prelov@iitp.ru t Department of Mathematics, Katholieke Universiteit Leuven Celestijnenlaan 200B, 3001 Heverlee, Belgium. edward.vandermeulen@wis.kuleuven.ac.be Abstract - We consider a general class of nonlineor channels with non- Gaussian additive noise, in which the transmitted signal is a random function of the input signal. Under some conditions on the smoothness and the tails of the probability density function of the noise, a higher order asymptotic expan- sion of the mutual information between the input and output signals in such channels is obtained as the signal-to-noise ratio goes to zero. 1. INTRODUCTION We consider the following model of a nonlinear memoryless communication channel where the output signal Y is equal to the sum Y = f.f(X) +Z (1) of the transmitted signal f.f(X), which is a random function of the input signal X, and the noise Z. The parameter f. > 0 characterizes the signal-to-noise ratio in the channel 'This work was carried out with the partial support of the Russian Foundation for Basic Re- search under Grant 03-01-00592, INTAS Project 00-738, and Project GOAj98j06 of Research Fund K.V.Leuven. (1). We assume that X, f(X), and Z are real-valued random variables. Moreover, we assume that f(X) and Z, as well as f(X) and Z given X, are independent. In particular, if f(X) = 0 let o; d;j {z E Rlp(z) > tJ.}, C~ d;j R \ c: (6) Assume further that there exist some constants À > 0, M > 0, and tJ.o > 0 such that for all 1:::.,0 < tJ. :S 1:::.0, the following inequality holds: [c Ip(z)logp(z)ldz:S 6. tJ.À(log ~)M. (7) I~b Denote by p = p(À) the minimum (nonnegative) number such that (8) and (9) for all 6.,0 < 6. :::::6.0 (mes (-) denotes the Lebesgue measure). Finally, for a given integer n define the quantity N = N(n, À, p) as N d:;j r(1 + ~)nl, (10) r where x 1 denotes the minimum integer that is greater than or equal to x. In terms of the parameters n, N, À, M, and 6.0 we formulate the following assump- tions (A) - (D) on p(Z) under which the main results will be proved: (A) p(z) is bounded on R, has bounded derivatives p(kl(z), k = 1,· .. , N, and lim p(z) = lim p(kl(z) =0 (11) Izl-+oo Izl-+oo for all k = 1,· .. , N - 1; (B) 1 Ip(klzl :::::(log 6.)Mp(z), ZEGt::,., (12) for all 6., 0 < 6. :::::6.0, and k = 1,···, N; (C) (13) for all 6.,0 < 6. :::::6.0, and k = 0,1,···, N (here and below p(Ol(z) d:;j p(z)). In particular, for k = 0 condition (13) reduces to (7); (14) for all6.,O < 6.::::: 6.0, and for all k = 0,1,··· ,N, and j = 2,···, L~J; sup v:lvl 0 and some e = e({3) > 0; (D) limsup D(pllpV) < 00 (16) Ivl-+oo lyIN+<> for some a > 0, where D(pllpY)= de! /00 p(z)log (p(z) )dz (17) -00 p z - y is the divergence between p( z) and its shift by distance y denoted by pY. Finally, for any given random variables V and W, denote by ms(V) d~ E(1! - EV)S (18) and ms(1!IW) d~ E[(V - E(1!IW))SIW]' (19) the central moment of V of order s and the conditional central moment of V of order s given W, respectively. Also, let us introduce the following characteristics of the random variable Z: (20) for any integers k, n, il,' . " in, and jl,"', i-: provided the integrals on the right-hand side of (20) converge. In particular, (21) is the Fisher information of the random variable Z. 3. STATEMENT OF THE RESULTS We are now ready to formulate the main results of this paper. Theorem 1. Assume that the probability distriinitioti (that can depend on c) of the input signal X in the channel (1j satisfies the condition (22) for all 6 > OOI where 60 > 0 and 1/ > 0 are some positive constants independent o] e. Assume also that the noise Z has a finite second moment and a probability density function p(z) which satisfies for a given inieqer ti 2': 2 conditions (A) - (Dj. Finally, assume that the random function f(X) satisfies the conditions (23) and a.s. (24) fOT some finite positive constants C and £ where the constants N and a are the same as in conditions (A) - (Dj. Then uniformly in all X satisfying the conditions of the theorem the following asymptotic expansiori holds : n n [~l I(X; ff(X) + Z) = loge[L Aplfs + L L( _1)k+S(k - 2)!B;~2fSl + O(fn), f --+ 0, (25) s=2 s=4k=2 where A~l) = (-S~)s l\:i:;_l(l)[ms(f(X)) - E[ms(f(X)IX)]] (26) and (27) Here L~s,~),n-2 2, i means that the summation is taken over all indices i2, ... ,in-2 such that i2,···, in-2 E {O,···, k}, i2 + ... + in-2 = k, and 2i2 + 3i3 + ... + (n - 2)in-2 = s. For the channel with a random parameter (2) it is of interest (cf. literature of fading channels) to find not only the asymptotics ofthe mutual information I(X; eipt X, U)+Z) as f. -+ 0 but also the asymptotics of the conditional mutual information I(X; f.cp(X, U)+ ZIU) as f. -+ o. The latter case means that the receiver knows the realization of the random parameter U. To obtain the asymptotics of I(X; apt X, U) + Z) we can di- rectly apply Theorem 1 if Zand cp(X, U) satisfy the conditions of that theorem, in particular, cp(X, U) should satisfy conditions (23) and (24) where f(X) is replaced by cp(X, U). The corresponding asymptotic expression of 1(·;·) would be given by (25) - (27) with f(X) replaced by cp(X, U). The asymptotic expansion for the conditional mutual information I(X; f.cp(X, U) + ZIU) in the channel with a random parameter (2) is given by the following theorem. Theorem 2. Assume that the random parameter U in the channel model (2) satisfies the condition (28) for all 6 > 60 where 60 > 0 and v > 0 are some positive constants (independent of e). Assume also that the noise Z satisfies the conditions of Theorem 1, and the non-random function cp(., .) and the input signal X are such that (29) for some finite positive constants c and e where the constants N and Cl are the same as in conditions (A) - (D). Then uniformly in all input signals X satisfying condition (29) the following asymptotic expansion for the conditional mutual information holds: n n l~J I(X; f.cp(X, U) + ZIU) = log elL A~2)f.S+ L L (_l)k+S(k - 2)!B;~iES] + 0(£'), E -+ 0, s=2 s=4k=2 (30) where (31) and (32) As corollaries we obtain asymptotic expansions for the mutual information I (X; f.UX + Z) in channel model (3), and for I(X; f.X +Z +EU) in channel model (4). We also carry out these asymptotic expansions in the special case that Z is Gaussian. Furthermore, we obtain in an explicit form the first few terms of the asymptotic expansions for the mutual information in the different cases considered. The proofs of Theorems 1 and 2 and of the corollaries can be found in [6J. REFERENCES [IJ I.A. Ibragimov and R.Z. Khasminsky, "Weak signal transmission in a memoryless channel", Probl. Inform. Transmission, Vol. 8, no. 4, pp. 28-39, 1972. [2J V.V. Prelov and E.C. van del' Meulen, "An asymptotic expression for the informa- tion and capacity of a multidimensional channel with weak input signal" , IEEE Trans. Inform. Theory, Vol. 39, no. 5, pp. 1728-1735, 1993. [3J V.V. Prelov, "Communication channel capacity with almost Gaussian noise", The- ory of Probab. and Applications, Vol. 33, no. 3, pp. 405-422, 1988. [4J V.V. Prelov, "Asymptotic expansions for the mutual information and for the ca- pacity of continuous memoryless channels with weak input signal" ,Probl. Control and Inform. Theory, Vol. 18 (2), pp. 91-106,1989. [5J V.V. Prelov and S. Verdu, "Second-order asymptotics of mutual information", sub- mitted to IEEE Trans. Inform. Theory, 2002. [6J V.V. Prclov and E.C. van der Meulen, "Higher order asymptotics of mutual infor- mation for nonlinear channels. with non-Gaussian noise", submitted to Probl. Inform. Transmission, 2002. 11° A STRUCTURE OF BLOCK CIPHERS ACHIEVING SOME RESISTANCE AGAINST FAULT ATTACKS Mathieu Ciet, Gilles Piret and Jean-Jacques Quisquater UCL Crypto Group Place du Levant, 3. B-1348 Louvain-Ia-Neuve. Belgium. {eiet, piret, jjq}~diee.uel.ae.be - http://www.dice.ucl.ac.be/erypto/ In this paper, we are concerned on countermeasures against differentiol [auli attacks in the case of block ciphers. We propose to use error correcting codes in their design. Keywords. Block Ciphers, Fault Attacks, Countermeasures. 1. INTRODUCTION Cryptography is concerned with the conceptualization, definition and con- struction of computing systems that address security concerns. Cryptography is also concerned with concrete implementations of such systems. There are mainly two families of implementation attacks: faults attacks [4, 2] and side-channel attacks from Kocher et al. [8, 9]. In this article we deal with the first family. Recently, lot of work has been done in the sense of attacking block ciphers by faults [3, 7, 5], but less for countermeasures [6]. The only used countermeasures for block ciphers, contrary to RSA where the Shamir trick can be used, are to encrypt twice or encrypt and then decrypt, and then compare respectively the encrypted or plain texts. This is generally satisfactory because block cipher encryption is fast. In this paper, we propose to use error correcting codes in the design of a block cipher to avoid fault attacks. This gives a better performance than encrypting twice. We also prove that our modification applied to a block cipher does not affect its security against the classical attacks. However, we show that bad use of error correcting codes can help the attacker to retrieve the secret key. Then we have to be very careful when using them. Finally, the use of an error correcting code does not seem to be the panacea to immunize block cipher against fault 1 1 1 but this is the first proposal for advanced countermeasures compared with the previous basic ones. This paper is organized as follows. In section 2, we deal with fault correction on block ciphers, we detail the basic components and give a general structure. Then, in section 3, we present a variant that allows fault detection. We show how, in some cases, fault countermeasures can help an attacker and how this can be avoided. Section 4 is the conclusion. 2. A FAULT CORRECTING BLOCK CIPHER The error correcting code The general principle is the following: the data to encrypt is divided into words of 8 - r bits. Each word is encoded using a [8,8 - rl linear error-detecting code over IF2. Codewords are thus 8-bit length. We denote the code used (i.e. the space of all codewords) by C. By Nb or n we denote the block size in bytes, including error-detecting bits. Thus the real block size (in a cryptographic sense) is (8 - T') . Nb bits. If we want to be able to correct any fault on one bit, we need to choose T' = 3. Furthermore r > 3 has no sense, as then it would become more efficient tol. encrypt twice and check the result validity. In the remaining of this section we reep speaking about r for better readability. ? Basic components We now detail the different components of the block cipher, taking care of im- plementation issues, such that each component receiving a faulty byte as input (with a I-bit difference) do the error correction before the computation itself. S-LIl.J)ces As the words of the code are 8-bit long, it is necessary to use 8 x 8 S-boxes; however cryptographically speaking the S-boxes to be designed are (8 - T') x (8 - r) (we call them reduced S-boxes; the 8 x 8 S-boxes are called full S-boxes), as the r last bits are used for error correction 1 Functionally speaking, the full 8 x 8 S-box performs the following computation: 1We could also use 16 x 16 S-boxes (with (16 - 2,.) x (16 - 21') reduced S-boxes), but so big a S-box is more difficult to design and impossible to implement in very constrained environments such as smart cards. • LeL x E GF(28) be the input byte to the S-box. Check whether x is a word of the code or not. • If x is indeed a word of the code, compute y = S(x), where x denotes the first 8 - r bits of x, and S is the reduced S-box. Then compute y the word of the code whose first 8 - r bits are y. • If x is not a word of the code, correct it into the nearest word in the code, denote it by x*. Then compute y = S(x*), and the word y E C whose first 8 - r bits are y. It is clear that such a S-box maps any byte x to a byte y E C. But as it is described, a fault occurring during the S-box computation (for example, just after the error correction step) would ruin this property. Most of the time, S- boxes are implemented by table lookups (except in hardware implementations). A fault-resistant implementation of the S-box consists in using a 256-bytes long table. Key mixing and key schedule As the code is linear over lF2, the E9of two codewords is still a codeword; moreover if x tf. C, k E C, and sp denotes the decoding application, then r.p( x E9k) = r.p( x) E9k, Thus it seems reasonable to use E9 as the key mixing operation. Note however that we may have x, ij tf. C, and x E9ij E C. It means that occurrence of several faults at different locations could make fault correction fail. However this is not too worrying, as such an event is difficult to induce and exploit by an attacker. The second part of the problem of designing a key mixing compliant with the code, is to select a key schedule such that every byte of every subkey is a codeword. The easiest way of doing this is to use a key schedule which is the ciphering algorithm itself. It implies that the input to the key schedule is compound of codewords. We will denote by Nk the key size in bytes, including error-detecting bits; thus the real size of the key space is 2(8-r)Nk. If we are not satisfied with Nk = Nb, and prefer Nk = 2 . Nb, a Feistel whose round function is the one of the ciphering algorithm can be used. Finally, note that the" round keys" used during the key scheduling are round constants, which are codewords as weIl. Linear Transform In order to be compatible with the code, the linear transform needs to be byte- oriented. Therefore we suggest the reduced linear transform (ignoring the parity bits) e:GF(28-r)n ---7 GF(28-r)n to be expressible by a matrix H E GF(28-r)nxn: e(a) = b {=> b = a· H2 Such a linear transform can be implemented using only EBand multiplications by the polynomial g(x) = x in GF(28-r). Consider what happens with the full linear transform B : GF(2)8n -> GF(2)8n associated with e. We already showed that EBis compatible with the code. Mul- tiplications by g(x) = x can be implemented in a fault-resistant way using a 256-bytes long table T exactly as we did for the S-boxes. General structure We suggest the overall structure of the cipher to be a classical substitution- permutation network. There are two reasons for this choice: the first one is that it is a simple and robust structure, which minimizes the danger of a structural weakness. The second one is that it is perfectly compatible with the conclusions of our discussion about the basic components (see previous section). The different layers of a round Q[k] are thus: • The nonlinear layer "( it consists in the parallel application of Nb 8 x 8 S-boxes. They are all identical. • The linear diffusion layer B: it is a linear mapping based on a MDS code, which implies maximal diffusion properties. • The key addition layer CJ[k]: it consists in the EBof each byte of the state with a byte of the round key. One round Q[k] consists in the composition CJ[k] oBo-y. Given a sequence of round keys KO, tc-, ..., KR, the full R - rounds algorithm is given by: R-l cxR[KO, ... , KR] = CJ[KR] 0 -y 0 (0 Q[Kr]) 0 CJ[KO] r=l Note that this structure is similar to the one of cipher Khazad [1]. We can choose a block size of 128 bits (i.e. Nb = 16); then the real block size, cryptographically 2It requires to specify a primitive polynomial PB-r(X), in order to represent GF(2B-r) as GF(2)[xIIPB_r(x). speaking, is 80 bits. Similarly, a 256-bit input to the key schedule (i.e. Ni; = 32) will imply a real key size of 160 bits. Security Analysis We prove that the parity bits introduce no weakness with respect to classical attacks (linear and differential cryptanalysis, slide attacks, ...). Indeed, in the same way as we defined a reduced S-box, we can define the reduced cipher as the cipher we obtain if we remove all parity bits and adapt the computations accordingly. If we denote by C the complete cipher (with parity bits) and by C* the reduced cipher, C can be alternatively described by the following three steps: l. Remove the parity bits of the plaintext. 2. Apply Co. 3. Compute the parity bits of each word of the ciphertext, and append them. The input-output behavior of these three steps is the same as the one of the implementation of C previously described; the only difference is that it does not have fault correction properties. From this alternative description, it is clear that C and C* have the same security properties. Thus designing a secure C* is enough to have a secure C. 3. AN ERROR DETECTING VARIANT ... The Design The weak point of the error-correcting block cipher we described until now is that it allows correction of bit-flipping faults only. Although some physical attacks are intended for this [10], the most common ones disturb one whole byte. Using our technique in order to correct faults affecting one whole byte is not interesting: in this context it is better to use double encryption. Thus in this section we investigate how to detect these faults. Again, we use a [8,8 - rJlinear code over lF2. The probability for a fault affecting an entire byte to get detected increases with the value of r (more precisely a fault remains unnoticed with probability 1/2T). On the other hand, the amount of computation needed to encrypt a given amount of data increases with r, A tradeoff is thus to be made, keeping in mind that there is no point in choosing r > 3. In the following we consider the case r = 1. The components of the cipher are designed such that every input x E C results in an output y E C, and every input :i; 1- C results in an output ij 1- C. We give a brief description of each of them. S-boxes Cryptographically speaking the S-boxes to be designed are 7 x 7. Functionally they can be described as: • Let x E GF(28) be the input byte to the S-box. Check whether x is a word of the code or not. • If x is indeed a word of the code, compute y = S(x), where x denotes the first 7 bits of x, and S is the reduced S-box. Then compute y the word of the code whose first 7 bits are y. • If x is not a word of the code, the output of the S-box is some particular byte not in the code. We denote it by CL Once again, table lookup-is the ideal way to implement S-boxes in a fault-resistant way. As all bytes 1- C result in the same value, we hope the attacker will not be able to recover any inforrnation from a faulty ciphertext. Key mixing and key schedule The EBoftwo codewords is still a codeword; moreover if xE C and ij 1- C, xEBij 1- C. Thus EBis adequate for key mixing. We can still use the algorithm itself (or a Feistel whose round function is the one of the algorithm) as key schedule. Linear Transform We use the same type of linear transform as in section 2. The multiplication by g(x) = x is viewed as an S-box and thus irnplemented by a table lookup . ...Is not secure? .. The most immediate way to use the fault detection property of our construction would be to check whether all bytes of the ciphertext are valid codewords. How- ever this way of doing could lead to a ravaging fault attack. We illustrate it in Figure 1, where exhas already been defined, and (3, (31, ... , (3n denote any words not in the code. • • • • • • Figure 1: An attack against bad use of error detection. The attack is the following: suppose a fault on one byte before the last linear transform eR-1 turns it into a byte ti. C. It is easy to prove that after application of e R-l, none of the bytes are codewords. Thus application of the last S-boxes layer will turn them into Q. It means that an attacker can obtain the whole last round key by a simple EBof the ciphertext bytes and Q (he knows that a fault occurred, as he observes that the ciphertext bytes ti. C). A single fault allowed him to recover a whole round key! Thus as it is applied, our fault detection construction makes fault attacks easier instead of preventing them ... But may be repaired. However it is possible to avoid this problem: after every S-box lookup and every multiplication by g(x) = x, we check whether the output is a codeword. If not, the computation is stopped. 4. CONCLUSION In this paper, we have dealt with countermeasures against fault attacks against block ciphers. We have suggested the use of error correcting codes to design a dedicated block cipher immunized against fault. We have first proposed to correct faults generated by fault induction. This allows corrections of one flipped bit per 8-bit word. Then, we have presented an error detecting variant, and we have seen that contrary to the first feeling, this can be an advantage for the attacker if badly used. 111 This approach is the first proposal to immunize block ciphers against faults, except the trivial double-encryptions or encrypt-then-decrypt algorithms. REFERENCES [1] P.S.L.M. Barreto and V. Rijmen. The Khazad Legacy-Level Block Cipher. Available at http://www.cryptonessie.org. [2] E. Biham and A. Shamir. Differential Fault Analysis of Secret Key Cryp- tosystems. In B. S. Kaliski Jr., editor, Advances in Cryptology - Proceedings of Crypto 97, volume 1294 of Lecture Notes in Computer Science, pages 513-525. Springer, 1997. [3] J. Blöemer and J.-P. Seifert. Fault based cryptanalysis of the advanced encryption standard. Cryptology ePrint Archive: Report 2002/075, 2002. [4] D. Boneh, R. DeMillo, and R. Lipton. On the importance of checking cryp- tographic protocols for faults. In W. Fumy, editor, Advances in Cryptology - Proceedings of Eurocrypt '97, volume 1233 of Lecture Notes in Computer Science, pages 37-51. Springer, 1997. [5] P. Dusart, G. Letourneux, and O. Vivolo. Differential fault analysis on a.e.s. Cryptology ePrint Archive: Report 2003/010, 2003. [6] S. Fernández-Gómez, J-J. R.odriguez-Andina, and E. Mandado. Concurrent Error Detection in Block Cipher. Pr-oceedings IEEE International Test Con- ference 2000, 2000. IEEE Computer Society 2000. [7] C. Giraud. DFA on AES. Cryptology ePrint Archive: Report 2003/008, 2003. [8] P. C. Kocher. Timing Attacks on Implementations of Diffie-Hellman, RSA, DSS, and Other Systems. In N. Koblitz, editor, Advances in Cr-yptology - Proceedings of CRYPTO 1996, volume 1109 of Lecture Notes in Computer Science, pages 104-113. Springer, 1996. [9] P. C. Kocher, J. Jaffe, and H. Jun. Differentlal Power Allalysis. In M. Wiener, editor, Advances in Cryptology - Proceedings of CRYfJTO 1999, volume 1666 of Lecture Notes in Computer Science, pages 388-397. Springer, 1999. [10] S. Skorobogatov and R. Anderson. Optical Fault Induction Attacks. In B. S. Kaliski Jr. and Ç. K. Koç, editors, Advances in Cryptology - Proceedings of CHES 2002, volume 2523 of Lectur-e Notes in Computer Science, pages 2-12. Springer, 2002. To Appear. TENSOR TRANSFORM OF FUNCTIONS OVER FINITE FIELDS Alexander Kholosha Department of Mathematics and Computer Science Technische Universiteit Eindhoven P.O. Box 513, 5600 MB Eindhoven, The Netherlands A.Kholosha~tue.nl We introduce a tensor transform for multivalued logical functions. Partic- ular instances of this trasisjorm cover the classical algebraic normal and Walsh transforms. Our approach facilitates proving of basic matrix identi- ties and allows to establish some new properties of the ajorecited transjorms. 1 INTRODUCTION With the development of computer technology, multivalued logical functions become more and more important in cryptography, particularly in the design of stream ciphers. It is currently generally accepted that secure functions to be used in key-stream generators must satisfy the following properties: balancedness, high nonlinearity, sufficiently high algebraic degree that should be optimized with re- spect to certain correlation properties. The algebraic degree of a multivalued function is the degree of its algebraic normal form (ANF); balancedness, nonlin- earity, and correlation properties are defined by its Walsh transform [IJ. Thus, the algebraic normal and Walsh transforms of a multivalued function define the most important cryptographic characteristics of the function. Recently, in [2J we introduced a tensor transform for pseudo-Boolean func- tions that covers the algebraic normal and Walsh transforms but which also allows for the definitions of new, probabilistic and weight transforms. The objective of this paper is to generalize the tensor transform to the case of functions over GF(q). We describe the general basis for a tensor transform of multivalued func- tions. Special cases of this approach not only provide easy proofs for known important relations in the theory of algebraic normal and Walsh transforrns, but also allow to establish some new properties of these transforms. 2 TENSOR TRANSFORM AND ITS INSTANCES Let Mn(P) denote the ring of n-dimensional square matrices over the field P. For a pair of matrices A E Mn(P) and B E Mm(P) let A ® B denote the Kronecker product of these matrices and Alk] denote the kth Kronecker power of A. For a matrix A E Mqn(P) we use notation A = (go, ... ,gq"-I), where gi (i = 0, ... , qn - 1) denotes the ith column of A and the coordinates of gi are indexed lexicographically by the elements in {O,... , q - l}n, so gi(O, ,0) J gi(O, ,I) a. = ( gi (q ., 1, ... , q _ 1) . Let O'i (i = 0, ... , qn - 1) denote the n-digit q-ary expansion of i. Then gi = (gi(O'O), ... , gi(O'qn-df, where the superscript T denotes transpose of a matrix. Lemma 1 Let A = (go, ... ,gqn-Il E Mqn(P) arui=A' = (gS, ... ,g~n-l_l) E Mqn-l(P). Suppose that A = B ® AI for some matrix B = (bm,k)qxq (m,k = O, ... ,q-l). ThenforanyiE{O, ... ,qn-l} where O'i' is the (n - I)-digit vector, q-ary expansion of if and Im(xd is the indicator function of the event {Xl = m}. Proof: By the definition of the Kroneekor product, A = (bm,kAf)qnxqn (m, k = 0, ... , q-l).Therefore, the entry gi(XI,'" , x,,) of matrix A lies in the cell bm,kA' of size qn-l X qn-l, where m = XI and k is equal to the most significant digit of ai· Local coordinates of gi(Xl,""Xn) in this cell are equal to (X2,""Xn) and ai'. Thus, for any m = 0, ... , q - 1 This proves the claimed identity. 0 The following proposition easily follows from Lemma 1. \ 8D Proposition 1 Let A = BI ® ... ®Bn, uiltere Bj = (b;;')k) qxq (m, k = 0, ... , q-1) I fOT j = 1, ... ,n, and A = (go, ... ,gq"_I). Then fOT any iE {O,... ,qn - 1} uihere ai = (a}, ... , ai). In this paper we consider functions of ti variables over GF(q). In order to define the string of values for such a function we need to order the elements in GF(q)n Let ç denote a primitive element of GF(q). Then all nonzero elements of the field are exactly {ç, e, ..., ç-q-I} and we can build the one-to-one correspon- dence between GF(q) and the set of integers in the range 0, ... , q - 1 in such a way that 0 corresponds to the zero-element of the field and i E {1, ... , q - 1} cor- responds to c: With this correspondence any element in GF(qt has the unique counterpart ai for some i E {O,... , qn -1} and, therefore, the elements in GF(q)n can be ordered lexicographically. Let function f(XI' , xn), mapping GF(qt to P, be defined by its string of values T! = (J(ao), , f(aqn-I)f E Pï", Here, z, denotes the variable taking on its value in GF(q). However, using the above described correspondence, x, can be also seen as an integer in the range 0, ... , q - 1. Similarly, (XI, ... , xn) can either be an element of GF(q)" or an integer in the range 0, ... , qn - 1 in its q-ary expansion. In the rest of this section we will use the same notations to denote both the elements of the field and the corresponding integers hoping that any ambiguity can easily be resolved by the reader in each specific case. Further, let A E Mq"(P) be an invertible matrix, A = (go, ... ,gqn-d, and let function F(XI' ... , xn) be defined by the string TF = A-IT! = (F(ao), ... , F(aqn_I))T E pq". Vectors T! and TF are considered further as column-vectors. Then T! = ATF, q"-I q"-I T! = :L giF(ai) and f(XI, ... ,Xn) = :L gi(XI, ... ,xn)F(a;) (1) i=O i=O for any (XI, ... , xn) E GF(q)n. Equations (1) represent the decomposition of function f in the basis vector set (go, ... , gqn_I). Hereafter, by ff,:';;~= for any 1 :::::il < < im ::::: n, we denote the subfunction of f obtained by fixing variables Xi" , Xi= with values f31, ... , f3m respectively. 18 { It is well known that if BI and B2 are invertible matrices over P then the Kronecker product matrix B10B2 is invertible too and (B10B2)-1 = B110B;;1 In particular, if B E M2(P) is an invertible matrix and A = B[nJ then A is invertible too and A-I = (B-1)[n J. Now we will demonstrate how Proposition 1 substantially facilitates proving some basic matrix identities for the most important representations of functions over GF(q). The Identity Transform. Let P be an arbitrary field and set B = Eq - the identity matrix of size q, and A = B[nJ = Eqn. Then, by Proposition 1, if ai = (Xl, ... , xn), otherwise and The Algebraic Normal Transform. Take P = GF(q) and set 1 0 0 0 0 1 ç e çq-2 1 B= 1 e e e(q-2) 1 (2) çq-2 ç(q-2)2 ç(q-2)(q-2) 1 1 1 1 1 1 1 and A = B[nJ. Then, by Proposition 1, n gi(X1, ... , xn) = IT bXj,o.~ = IT (Xj)~, j=l j=l, ...,n: 0.;",0 where Xj on the right hand side of the last identity denotes the element of GF(q). Therefore, 18 L One can easily recognize the ANF of function f over GF(q) on the right hand side of the last identity, where F(ai) (i = 0, ... , qn - 1) are the coefficients of the ANF polynomial. Denote matrix (2) as Rq and set Rqn = R~nl. If P! is the coefficient vector of the ANF polynomial for function f then where R;;2 = (R;;l )[nl and 1 0 0 0 0 _çq-2 _ç(q-2)2 _ç(q-2)(q-2) 0 -1 R-q l= 0 -Ç2 -e _Ç2(q-2) -1 0 -ç -Ç2 -e: -1 -1 -1 1 -1 -1 The algebraic normal transform over GF(q) was introduced in [3, Sect. 4.5] where it also was proved that R;;l has the specific form stated above. The Walsh Transform. The Walsh transform of a complex-valued function f of n variables over GF(q) can be defined as the n-dimensional discrete Fourier transform over the complex field " .. ,xkn_r)' (Xkl, .. ,Xkn_r)EGF(q)n-r where Yi E GF(q) for i = 1, ... ,r. Now, using the matrix notation for-the direct Walsh transform of function wand by means of (5), we have the identity S'" = qT H;/Tw On the other hand, for any a E GF(q)" Sw(a) ~ 2: W(Y)XI((a,y)) = 2: 2: fi~I,::t(z)XI((a,y)) = YEGF(q)r YEGF(q)' ZEGF(q)n-r L f(x)xI((x,(Ja)) ~ Sf((Ja) xEGF(q)n where Y = {YI'···'YT}' Z = {Zj, ... ,Zn_T} and (Ja is the n-digit vector which coordinates at the index positions il, ... , i; are equal to al, ... , aT respectively (where (al, ... , aT) = a) and the remaining (n - r) coordinates are set to zero. Thus, (6) where the (J's are indexed with integer values in the range 0, ... , q'. - 1 corre- sponding to the elements of GF(q)". Identity (6) is the generalization of [5, Proposition 3.1], while the proof here is less complicated. If r is set equal to n then w(y) = f(y), (Ja = a and (6) transforms into (5). Consider now a function f that takes on its values in an arbitrary field P. In order to define the Walsh transform for such a function we need to estimate the complex image of f(x) under a nontrivial additive character of P (that will be denoted by X). By (3), the pair of Walsh transforms of f are the following: 2: X(J(X))XI((a,x)) and XEGF(q)n 1 X(J(x)) n L SÎ(a):~\((a,x)) q aEGF(q)n Both S! and SÎ transforms can be computed using the nth-order fast Fourier transform algorithm which complexity is equivalent to o(nqn) arithmetic opera- tions in 9 Y(N)H (BT (>9 BH) = (5) Q_04 in which ® denotes the Kronecker product. By multiplying both sides of Eq. (5) with a Householder or a discrete Fourier transform matrix, we obtain a set of equations of the form (6) in which MI E CIx(LR)2 and M E C(N-l)x(LR)2. The first equation is only a normalization constraint. Every row B; of B leads to a vector in the kernel of M. Generically, for N big enough, the kernel of M is of dimension R (for convenience, we assume at this point that all sources have the same equalizer length; we will come back to this issue in Section 4). Hence, the problem consists of (i) computing the kernel of M (by means of an SVD), and (ii) looking for vectors in the kernel subspace that have a Kronecker structure. Note that in the Single Input Single Output (SISO) case, we have a relatively simple problem. The kernel of M is theoretically one-dimensional, and the kernel vector theoretically corresponds to a rank-l matrix. Hence the equalizer may be computedas the dominant eigenvector of the matrix that is represented by the kemel vector of M. 3. REDUCTION TO INSTANTANEOUS MIXTURE The fact that the kernel of M is spanned by the vectors {B; ® B;r}, can be reformulated as BT.DR·B*, (7) in which Fl, ... , FR are (LR x LR) matrix representations of R basis vectors of the kernel, and in which Dl, ... , DR E ]RRxR are diagonal. We can reduce the dimensionality of the problem by noticing that BT spans the column space of every matrix Fr. Hence, in the absence of noise, the column space of BT can be determined as the subspace corresponding to the R dominant left singular vectors ofthe matrix F = [Fl ... FR]. Let the columns of U E CLRxR form an orthonormal basis of this subspace. Then the remaining problem is of the form (8) in which G, E CCRxR, 1 ~ r ~ R, are defined by Gr = UH ·Fr· U and in which E E CCRxR is equal to UH . BT. This problem has been solved in [3]. Let us associate to UT a filter UT (z) of which the Markov parameters are the subsequent (R x R) submatrices of UT. Passing Y(n) through UT(z) in fact reduces the equalization problem to the blind separation of a linear mixture, since we have that B = ET. UT. If the data are noisy, an appropriate U can be determined in a least-squares sense as a column-wise orthonormal matrix that maximizes the function R f(U) = L IIU H . Fr· U11 . 2 (9) ,·=1 In general the global maximum is not obtained by computing the subspace of the dominant left singular vectors of the matrix F, although this is usually a good estimate of the global maximum. Actually this problem corresponds to the best rank-(Rx R x R) approximation of the (LRx LRx R)-tensor obtained by stacking the matrices {Fr} [2]. Computation of the dominant left singular subspace of F corresponds to truncation of the "Higher-Order Singular Value Décóïnpösition'' (HOSVD), discussed in [1]. In contrast to the situation for matrices, the best rank-(R1 x R2 x R3) approximation of a third-order tensor cannot be obtained in general by simple truncation of the HOSVD. However, the HOSVD-truncate may be used as a good initial value for the optimization of (9); the optimization itself may take the form of an Alternating Least Squares (ALS) iteration [2]. The idea is to compute an estimate Uk+1 at iteration step k + 1, given an estimate Uk at iteration step k, as a matrix that maximizes R f(Uk+d = L IIU~+l·Fr· U kl1 2 (10) r=l The columns of Uk+l can be determined as orthonormal basis vectors of the subspace of the R dominant left singular vectors of the matrix [F1·Uj . .. FR·Ud· 4. DETERMINATION OF THE EQUALIZER LENGTH Let us first assume that each source has the same equalizer length L. Let L be an estimate of L. Generically, for N big enough, M E C(N-l)x(£R)2 will be nonsingular if L < L. For L = L, M has a kernel of dimension R. For L = L + 1, the kernel is of dimension 2R: it is generated by the columns of Br 8 BP and B; 8 B~, in which BL, B; E CRx (L+1)R are defined by BL [0 B] a, [B 0] and in which 8 denotes the Kathri-Rao or column-wise Kronecker product. So L may be determined by inspection of the singular values of M, for different values of L Now assume that for R' < R sources the equalizer has length L - l. Then, for L = L - 1, the kernel of M will already be R' -dimensional. By proceeding as in the previous section, the corresponding sources may be equalized. In analogy with the previous paragraph, we obtain that the kernel of M, for L = L will have dimension (R - R') + 2R'. In the derivation of the previous section, we already know 2R' columns of U: they form an orthonormal basis for the columns of U'L [0 U,T]T tr, [U'T O]T, in which U' is the solution of Eq. (9) for L = L - l. After computation of the remaining R - R' columns of U, and a reduction of the dimensionality, we obtain a simultaneous diagonalization in C(R+R')x(R+R'). Here too, we already know 2R' columns of the transformation matrix: for instance, U'L should be multiplied by a matrix E' E CR'xR', such that U'L·E' = [0 By, in which B' is the equalization matrix obtained for L = L -l. Eq. (8) now takes the following form: (11) in which Dr,l and Dr,2 are diagonal and Ell is known (this is the part that corresponds to U', and U'ç ) (1:::; r :::;R). This equation shows that E22 may be obtained from a simultaneous diagonalization in C(R-R')x(R-R'): Gr,22 = E22 . Dr,2 . E~ 1:::; r :::;R. (12) The matrix E12 may subsequently be estimated from an overdetermined set of linear equations: (13) The error accumulation that is inherent to a deflation approach may be avoided by (i) computation of the optimum of (9), (ii) determination of the directions in the dominant subspace that have a shift structure (this can be done by solving a set of linear equations), (iii) simultaneous diagonalization in C(R+R')x(R+R'), and (iv) retaining the new components. The technique described in this section may be generalized to handle arbitrary equalizer lengths. 5. CONCLUSION In this paper we have generalized the constant modulus algorithm derived in [3] to convolutive mixtures. The technique involves (i) the computation of the R-dimensional kernel of an (( N - 1) X (LR)2) matrix, (ii) the best rank-(R, R, R) approximation of an (LR x LR x H) tensor, and (iii) the simultaneous diagonalization of R (R x R) matrices (N is the number of samples, L the length of the equalizer, and R the number of sources). Our approach is deterministic. As opposed to statistical techniques, in which moments up to order 4 have to be estimated, only short datasets are needed. Acknowledgements This work is supported by several institutions: 209 1. Research Council K.V.Leuven: Concerted Research Action GOA-MEFISTO-666 (Mathematical Engineering for Information and Communication Systems Tech- nology), 2. Flemish Government: the F.W.O. project G.0240.99 (Multilinear Generalisations of the Singular Value Decomposition and Applications in Signal Processing and System Identification), the F.W.O. Research Communities ICCoS (Identification and Control of Complex Systems) and ANMMM (Advanced Numerical Methods for Mathematical Modelling), 3. Belgian Federal Government: Interuniversity Pole of Attraction Programme IVAP V-22 (2002-2006): Dynamical Systems and Control: Computation, Identification & Modelling. Lieven De Lathauwer holds a permanent research position with the French Centre National de la Recherche Scientifique (C.N.R.S.); he also holds a honorary research mandate with the K.U.Leuven. Joos Vandewalle and Bart De Moor are Full Professor with the K.U.Leuven. Joos Vandewalle is currently on a sabbatical leave at the 13S laboratory of the C.N.R.S. at Sophia-Antipolis, France, sponsored by the F.W.O. The scientific responsibility is assumed by the authors. REFERENCES [1] L. De Lathauwer, B. De Moor, J. Vandewalle, "A Multilinear Singular Value Decomposition", SIAM J. Matrix Anal. Appl., Vol. 21, 2000, pp. 1253-1278. [2] L. De Lathauwer, B. De Moor, J. Vandewalle, "On the Best Rank-l and Rank- (Rl, R2, ... , RN) Approximation of Higher-Order Tensors", SIAM J. Matrix Anal. Appl., Vol. 21, 2000, pp. 1324-1342. [3] A.-J. van der Veen, A. Paulraj, "An Analytical Constant Modulus Algo- rithm", IEEE Trans. Signal Processing, Vol. 44, 1996, pp. 1136-1155. 2o_g NEW ALGEBRAIC TECHNIQUES FOR THE SEPARATION OF OS-COMA SIGNALS L. De Lathauwer A. de Baynast J. Vandewalle B. De Moor ETIS (CNRS,ENSEA,UCP) K.U.Leuven, E.E. Dept. (ESAT), SCD Cergy-Pontoise, France Leuven (Heverlee), Belgium {delathau,debaynas}~ensea.fr {vdwalle,demoor}~esat.kuleuven.ac.be This paper introduces new algebraic techniques for the separation of DS- CD MA signals received on multiple antennas. We show that the PARAFAC structure induced by the coding can be imposed by means of a simultaneous matrix diagonalization. The Constant Modulus property of the symbols can be imposed by means of a simultaneous matrix diagonalization involving the inverse transformation. We also investigate the algebraic structure of con- volutive mixtures of DS-CDMA signals. The blind deconvolution problem leads us to the study of a generalized Canonical Decomposition in multilin- ear algebra. 1. INTRODUCTION Let us start from the following noiseless / memory Iess data model for mul- tiuser DS-CDMA: R Yijk = L airCjrSkr· (1) r=l Yijk is the output of the ith antenna for chip j and symbol k (1 ~ i ~ I, 1 ~ j ~ J', 1 ~ k ~ K, with I the number of antennas, J' the code length and K the number of transmitted symbols). air is the fading / gain between user rand antenna element i, Cjr is the jth chip of the spreading sequence of user rand Sb- is the kth symbol transmitted by user r. If there is Inter-Chip-Interference (ICI) but no Inter-Symbol-Interference (IS1) (this can be realized by means of a "discard prefix" or "guard chips" strategy, as explained in [4]), we can keep the same model provided we replace Cjr by hjr: R Yijk = L airhjrskr. (2) r=l 2/1 hjr, for varying j and fixed r , is the result of convolving the spreading sequence of user r with the impulse response of its propagation channel. Here we suppose that 1 ~ j ~ J. Eq. (2) can be written in a tensor format as: R y= LAroHroSr, (3) r=l in which YE eIXJxK, Ar E Cl, Hr E eJ and Sr EeK. Eq. (3) is adecomposition of Y in rank-1 terms. Such a decomposition is called a Parallel Factors Model (PARAFAC) or a Canonical Decomposition (CD). This multilinear point of view w.r.t. CDMA data was adopted for the first time in [4]. Define A = [Al ... AR], H = [Hl ... HR], S = [SI·.· SR]. Eq. (3) has a num- ber of inherent indeterminacies. First, the order of the rank-1 terms is arbitrary. Secondly, AT) HT) Sr may be rescaled (1 ~ r ~ R) provided the scaling factors compensate each other. Now let us introduce the following variant of the "rank" of a matrix [2]: Definition 1 The k-rank k(A) of a matrix A is the maximal number such that any set of k columns of A is linearly independent It was shown in [3, 41 that the CD (3) is unique, apart from the trivial determinacies mentioned in the previous paragraph, if k(A) + k(H) + k(S) ~ 2(R + 1). (4) Assuming that K ~ R, this means that the decomposition (3) is generically unique, apart from the trivial determinacies mentioned earlier, if R ~ min(J, R) + min(J, R) - 2. (5) (We call a property "generic" when it holds for all matrices, except for a set of Lebesgue measure 0.) In Section 2 we will propose a weaker condition. Our proof is constructive. It allows to obtain the canonical components from a simultaneous diagonalization of a set of matrices. Section 3 shows that in this framework it is easy to impose the Constant Modulus property on the symbol estimates. Sections 4-6 form the second part of the paper. In Section 4 we generalize model (3) to convolutive mixtures (in which there is ISI). The generalized model is cast in a multilinear 2-11 algebraic framework in Section 5. Section 6 discusses some issues that are specific for the problem in Section 4. 2. COMPUTATION OF THE CD BY MEANS OF A SIMULTANEOUS DIAGO- NALIZATION In [1], we have proved that generically the CD (3), with K ~ R, is unique up to the trivial indeterminacies mentioned before, if R(R - 1) ~ J2(P - J)/2. The components may be obtained as follows: 1. Stack Y in an (JJ x K) matrix Y. 2. R is the rank of Y. Compute the R dominant singular values Ur, left singular vectors U; and right singular vectors 11,.. ET = unvec(urUT), with ET E CJxJ U = [UI ... UR], V = [Vl ... VR], ~ = diag(uI,' .. , UR). 3. Construct {WTS E ClxJxlxJh:;;;T.s:;;;R: Compute the R right singular vectors v,. corresponding to the smallest singular values À T• BT = unvec(v,.) (possibly weighted inversely proportional to ÀT), with Br E CRxR 5. Obtain F E CRxR from the simultaneous diagonalization [5J (6) 6. U· ~ . F = [Pl'" PRJ E CIJxR. P, = unveci R), with PT E C1xJ. 7. Compute Ar and H,. (up to a scaling factor) as the dominant left and right singular vector of P,; S = V· . F-T. 8. [Optimize Eq. (3) in least-squares sense. In this algorithmic description, vec(X) is a vector representation of a matrix X, in which all the columns are stacked one after the other. More in general, we assume that, in vec([xijklJ), the index l varies faster than index k, which in turn varies faster than index i, etc. unvecf e ) is the inverse operation of vec(.). 213 3. IMPOSING THE CONSTANT MODULUS PROPERTY In the previous section, the symbol matrix S is estimated as Y* . F-T, in which Y is given in the second step of the algorithm and F has to be determined from the simultaneous diagonalization (6). According to [5], determining a linear transformation (F-1) that makes a given data set (yH) constant modulus, also amounts to a simultaneous diagonalization. We have: (7) for a set of matrices {Mr} E CRxR that is computed from Y. Hence, one can impose both the PARAFAC structure and the CM property by solving Eqs. (6) and (7) simultaneously. One could bring (7) in the same form as (6) by considering {M;H} instead of [Mç}. (It is always possible to find a basis of R nonsingular (R x R) matrices for the matrix space spanned by {M, }.) 4. CONVOLUTIVE MIXTURES: PROBLEM DEFINITION Let n denote a "super-index", combining indices j and k in Eq. (1). Let the sequence transmitted by user r (CjrSkr, 1 ~ j ~ J, 1 ~ k ~ K) be represented by rlnT> 1 ~ n ~ JK. In the case of multipath propagation (leading to ISI), Eq. (1) generalizes to: R £'-1 Yin = Lair L h~_I',rdl'T) (8) r=l 1'=0 in which L' is the channel length at the chip rate. This can be rewritten as R L-1 Yijk = Lair L(Hr)j,ISk-l;n (9) r=l 1=0 with Hr E CJxL; L = r~l is the channellength at the symbol rate. Eq. (9) can be written in a tensor format as R Y = LAr 0 (Hr' s;Z\ (10) r=l 2)W in which S; E eLxK is a Toeplitz matrix of which the fust row contains the subsequent symbols transmitted by user r. Eq. (10) is a Generalized CD (GCD). It is not a decomposition in rank-l terms, but a decomposition in rank-(l, L, L) terms, i.e., each term consists of the outer product of a vector and a rank-L matrix. 5. GENERALIZED CANONICAL DECOMPOSITION In this section we discuss a new multilinear decomposition, of which the GCD in the previous section is a special case. Let us introduce the following notation: Definition 2 The ri-mode product of a tensor A E ellxI2x .. xIN by a matrix V E eJ"xln, denoted by A x., V, is an (II x l z x ... x In-I x L; x In+I ... X IN)- tensor of which the entries are given by (A Xn U)ili2 ...in_ljnin+l ..iN ~f L aili2 .. in_linin+l ...iNUjnin' in Then we define: Definition 3 A Generalized Canonical Decomposition (GCD) or Generalized Parallel Factors Decomposition (GPARAFAC) of a tensor A E ellxI2x ...xIN is a decomposition of A as a linear combination of a minimal number of rank- (RI, R2, ... , RN) terms: R A = LBr Xl V~l) X2 V~2) ... xN V~N), (11) in which {Br} E eRlxR2X ...xRN, and in which V~I) E eJlxRl, V~2) E eI2xR2, ... , V~N) E eINxRN are nonsingular. Like for the ordinary CD, the order of the different terms is arbitrary. A second indeterminacy is that any matrix V~n) may be post-multiplied with an arbitrary nonsingular matrix X E eRn x Rn, provided the corresponding tensor B; is replaced byB,. Xn X-I. Define Ven) = [V~n) ... V£)] (1 ~ n ~ N). Next, let us introduce the following generalization of the k-rank: 21S- Definition 4 The kl-rank k'(A) of a partitioned matrix A = [Al'" AR] is the maximal number such that the columns of any set of k' submatrices of A are linearly independent. We now have the following uniqueness theorem: Theorem 1 Consider the GCD in Eq. (11). This decomposition is generically unique if (12) n This result can be proved in a similar way as its CD-counterpart (4). However, whereas the proof of (4) is based on the Permutation Lemma in [3], the new proof is based on the following lemma: Lemma 1 Consider two partitioned matrices A = [Al' .. AR] and A = [Al' .. AR], in which all submatrices are (J x L)-dimensional. Let w'(vT A) be the number of submatrices of A of which v is not a left kernel vector. Suppose that A has no identically zero columns, and assume that the following implication holds: (13) Thp.71.we have that A = A(II Q9 1).6..','or<> where II is an (R x R) permutation matrix, 1 E ]RLxL the identity matrix and .6..block·E CRLxRL a block diagonal matrix containing full-rank (L xL) blocks. In matrix algebra, the decomposition of a matrix in a sum of rank-R terms is by no means unique, and hence meaningless. The fact that the components do not have to be rank-I (nor mutually orthogonal) to ensure uniqueness of the tensor decomposition, is a fundamental advantage of working in a multilinear framework. Because rank-(RI, R2, ... ) terms have a richer structure than rank-I terms, we are convinced that the GeD is important for several signal processing problems. Like the ordinary CD, the GCD can be computed by means of an Alternating Least Squares (ALS) algorithm. Let us illustrate this by means of the third-order case. Let X(IxJI<) be an (1 x J K) matrix in which the entries of an (I x J x K) tensor X are stacked (the first index in a product varies slowlier than the second one). Then Eq. (11) can be written in a matrix format as follows: A (iJxhI3) -- U(l) . dilag... { (B)r (R,xR2R3) ... } . [... U(2) r Q9 U(3) T ••• ]T , (14) ~)b or: Hence, the estimate of U~l) . (B, )(R1 XR2R3) that is optimal in least-squares sense, given estimates of U(2) and U(3), can be computed as the best rank-R approxi- mation of the corresponding submatrix in (15) (1 ~ r ~ R). 6. CONVOLUTIVE MIXTURES: PRACTICAL ASPECTS We now discuss some practical consequences of the development in the pre- vious section for the problem established in Section 4. Define A = [Al'" AR], H = [HI ... HR], and let S E CKxR contain the first column of each Sr (1 ~ r ~ R). Theorem 1 implies that the solution is essentially unique if k(A) + kl(H) + k(S) ~ 2(R + 1), (16) in which we have used that the kl-rank of the matrix in which the matrices {Sr} are stacked is generically equal to k(S), due to the Toeplitz structure. In this specific case, each step in the ALS procedure is a classicallinear least squares problem. No best rank-R approximations, as in the general scheme, are required. For instance, given estimates of A and H, Eq. (10) is simply a set of linear equations in the symbols. 7. CONCLUSION In this paper we have formulated the PARAFAC structure and Constant Modulus constraints for the separation of DS-CDMA signals in terms of a joint simultaneous matrix diagonalization. Our approach has led to a better under- standing of the way in which the number of users is bounded by the code length and the number of receive antennas. In the second part of the paper we have pro- posed a new multilinear algebraic decomposition, namely, the decomposition of a higher-order tensor in a sum of rank-(R1, R2, ... ) terms. A theorem establishing uniqueness of the decomposition under certain conditions and an algorithm for its computation have been presented. The results have been applied to the blind MIMO deconvolution of DS-CDMA signals. Acknowledgements This work is supported by several institutions: (i) Research Council K.V.Leuven: Concerted Research Action GOA-MEFISTO-666, (ii) Flemish Government: the F.W.O. project G.0240.99, the F.W.O. Research Communities ICCoS and ANMMM, (iii) Bel- gian Federal Government: Interuniversity Pole of Attraction Programme IVAP V-22. Lieven De Lathauwer holds a permanent research position with the French Centre National de la Recherche Scientifique (C.N.R.S.); he also holds a honorary research mandate with the K.V.Leuven. Alexandre de Baynast is currently visiting the Rice Vniversity, Houston, TX, supported by a DGA/EGIDE (French Defense) post-doctoral grant. Joos Vandewalle and Bart De Moor are Full Professor with the K.V.Leuven. Joos Vandewalle is currently on a sabbaticalleave at the 13Slaboratory of the C.N.R.S. at Sophia-Antipolis, France, sponsored by the F.W.O. The scientific responsibility is assumed by the authors. REFERENCES [1] L. De Lathauwer, "The Canonical Decomposition and Blind Identification with More Inputs than Outputs: Some Algebraic Results", Proc. 4th Int. Symp. on Independent Component Analysis and Blind_Signal Separation (ICA 2003), Nara, Japan, April 1-4, 2003. [2] RA. Harshman, M.E. Lundy, "The PARAFAC Model for Three-Way Factor Analysis and Multidimensional Scaling," in: H.G. Law, C.W. Snyder, J.A. Hattie, RP. McDonald (Eds.), Research Methods for Multimode Data AnaLy- sis, Praeger, N.Y., 1984, pp. 122-215. [3] J.B. Kruskal, "Three-way Arrays: Rank and Uniqueness of Trilinear Decem- positions, with Application to Arithmetic Complexity and Statistics", Lin. Alg. Appl., Vol. 18, 1977, pp. 95-138. [4] N. Sidiropoulos, G. Giannakis, R Bro, "Blind PARAFAC Receivers tor us- CDMA Systems", IEEE Trans. on Signal Processing, Vol. 48, 2000, pp. 810- 823. [5] A.-J. van der Veen, A. Paulraj, "An Analytical Constant Modulus Algo- rithm", IEEE Trans. Signal Processing, Vol. 44, 1996, pp. 1136-1155. POWER ALLOCATION AND OPTIMAL TX/RX STRUCTURES FOR MIMO SYSTEMS R. Cendrillon, O. Rousseaux and M. Moonen SCDjESAT, Katholieke Universiteit Leuven, Belgium {raphael.cendrillon, olivier.rousseaux, marc.moonen }@esat.kuleuven.ac.be Etienne Van den Bogaert, Jan Verlinden Alcatel Bell, Antwerp, Belgium {etienne. van _ den _ bogaert, jan. vj. verlinden }@alcatel.be In this paper we investigate power allocation in MIMO-OFDM systems. We describe the optimal power allocations under two different constraints: a constraint on the total power of all transmitters (TXs) which is applicable in wireless applications, and a constraint on the power of each TX which is more relevant in wireline applications. We describe the optimal TX/RX structure which in combination with the optimal power allocation achieves the MIMO-OFDM channel capacity (un- der the chosen constraints), with low complexity. Simulations show the benefits of using a total power constraint in place of a per- TX power con- straint are largest when the TXs see channels with significantly different attenuations. 1 INTRODUCTION In highly frequency selective channels the loading of power across frequency has a significant impact on system performance. The well known waterfilling algorithmj l] describes the optimal power allocation for single-input single-output (SISO) channels. In this paper we investigate the problem of power allocation in multi-input multi-output (MIMO) systems. These systems are encountered in the wireless environment where multiple TXjRX antennas are used to increase data-rate and mitigate channel fades through the use of spatial multiplexing and TXjRX diversity respectively[2]. The MIMO approach also finds application in wireline environments like digital subscriber line (DSL) where it can be used to enable crosstalk cancellation[3]. 2 MIMO SYSTEM MODEL We restrict our attention to OFDM transmission. The signal sent byeach transmitter has a cyclic prefix (CP) appended. We assume the CP is of sufficient length so transmission on each tone can be modeled independently. Transmission of one OFDM-block is then described where Xk ~ [xL'" ,XfJT is the vector of transmitted signals on tone k. There are N eo-located transmitters (TX) and eo-located receivers (RX) in the system and xk is the signalof TX n at tone k. Y« and Zk have similar structures. Y« is the vector of received signals on tone k. Zk is the vector of additive noise on tone k. We assume E {zkzf} = O"kIN' This is without loss of generality since a noise-whitening pre-filter can be applied at the RXs. Hj, is the N x N channel transfer matrix on tone k. h~,m ~ [HkJn,m is the channel from TX m to RX non tone k. We define the transmit correlation matrix on tone k Sk ~ E {xkxf} and its elements s~,m £ [SkJn m The capacity of the ~ystem is C = L I(xk; Yk) (1) k L log IIN + 0";;2H S Hfl k k k where I(a; b) denotes the mutual information between a and b. 3 POWER A LLOCATION IN MIMO SYSTEMS We now investigate power allocations Sk that maximize the capacity of the MIMO channel C. 3.1 POWER CONSTRAINT FOR ALL TRANSMITTERS We first. focus our attention on the maximization of C under a constraint P on the total power of all TXs max C s.t. Sk E JR.~, 'tik (2) {Sdk=1...K (3) This constraint is well suited to wireless applications and is then motivated by considering the limitations on the analog front-end (AFE) which drives the multi- element antenna. Note that JR.$:' is the set of all positive semi-definite matrices of size N x N. Naturally any valid transmit PSD must be within this set. Using the SVD H, s~d UkkVk . Begin with a set of normalized frequency domain symbols Xk which are gen- erated by the encoder at tone k. These are normalized such that [{xkxf} = IN. Before transmission we apply the pre-filter Pk ~ QkM!/2Vk to the normalized symbols. Hence Xk = PkXk and the transmitted signal Xk has the optimal PSD, ie. [{xkxf} = Sk. 22} t> --I-H At the RXs we apply the filter Wk = k Uk. Our estimate of the transmit- ted symbols is thus formed Xk WkYk W, (HkPkXk + Zk) --1 Xk + k Zk where Zk ~ U: Zk. Note that E {ZkZ:-} = £ {ZkZ:-} = a~IN. Note that under the total power constraint (3): Qk = Vk, Mj, = Dk' Hk ~ 1/2 - - 1/2 - . UkkDk ,Uk = Uk, k= kDk and Vk = IN. Hence we have the following 12 . simp llca t·IOns: P k = V k Dl/2 I·C k an d W k = D-k / ",-IU '*'k H k . Applying an ideal single-input single-output (SISO) code to the scalar stream x~ allows us to achieve the rate CSISO = L log2 (1 + ak_2 (~)2) bps/Hz k with vanishing probability of error. This leads to a total rate CS1SO = L cs1so n Llog2!IN +ak_2A~! k L log21IN + ak_~HkSkHkl k C where C is the capacity of the MIMO channel as defined in (1). So using independent SISO encoders/decoders for the N scalar streams x"k, Y"k, \::In plus simple linear pre and post-filtering allows us to achieve the full capacity of the MIMO channel. Note this has a much lower complexity than using a maximum likelihood (ML) multi-input multi-output (MIMO) encoder/decoder for the N dimensional data-stream Xk, Yk. 5 PERFORMANCE Operating under a total power constraint (3) rather than a power constraint on each TX (6) gives an extra degree of freedom in the power allocation problem. We now investigate the performance of the optimal power allocations under both constraints. Our simulation uses a Rayleigh channel model with K = 16 tones. The elements of the channel matrix H, at each tone have independent, Gaussian dis- tributions. The benefit of using a total power constraint over a power constraint 2 2_ 2 gr----,,----.-----.-----,-----.--~~==~=c~~~ :..j:_-Constraint TXs all --e- Constraint per TXs 8 ~.. - FlatPSD ,~~ \~, . , ',N=3 ' .....'+" k2Vt: In the proposed solution (4), Qk = V k so (8) is satisfied if Sk = V, [diag {À - p,k, ... , À - p,f} -1 - a~k2]Vt: KKT CONDITION 2 From the previous condition we have D«= dilag {\A-P,k,···,A-P,k 1 \ N}-1 -ak'J!k 2",,-2 Examining (9) we find two cases. Case 1 dk > 0 dk > 0 implies P,k = 0 hence dnk = ~ 1 2 (n)-2 - ak 'h >0 and Case 2 dk = 0 dk = 0 implies fJ,k = À - (0"2 (CPk)-2r1. Hence À fJ,~+ (0"2(cp~)-2)-1 > (0"2 (cp~)-2rl since /-Lk 2: o. Hence and d~ = [~ - 0"2 (cp~)-2] + = 0, "In s.t. d~ = 0 Combining both cases yields KKT CONDITION 3 Note that À = 0 implies s~,n = 00. Clearly this violates the power constraint (3). Hence À > O. Using (10) this implies So any optimal solution must meet the total power constraint with equality. At this point notice that the solution satisfies all 3 KKT conditions and thus is optimal. REFERENCES [IJ T. Cover and J. Thomas, Elements of Information Theory. Wiley, 1991. [2J A. Naguib, N. Seshadri, and A. Calderbank, "Increasing Data Rate over Wire- less Channels," IEEE Signal Processing Mag., pp. 76-92, May 2000. [3J G. Ginis and J. Cioffi, "Vectored Transmission for Digital Subscriber Line Systems," IEEE J. Select. Areas Commun., vol. 20, pp. 1085-1104, June 2002. [4J G. Taubock and W. Henkel, "MIMO Systems in the Subscriber-Line Network," in Proc. of the 5th Int. OFDM- Workshop, pp. 18.1-18.3,2000. A Power Efficient Compound Modulation Scheme for Addressing Multiple Users in the Downlink Gerard J.M. Janssen Wireless and Mobile Communications Group, Faculty EEMCS, Delft University of Technology, The Netherlands. E-mail: g.janssen@its.tudelft.nl Abstract A method is presented to increase spectral efficiency in the downlink of a cellular system by addressing multiple users simultaneously using a single compound QAM (C-QAM) signal. The C-QAM modulation is based on stacking a number of M-PSK (M = 2,4) modulated signals each intended for a different user. The optimum phase relations between the signals and the required amplitudes for minimum transmit power, which are link gain dependent, are given. The power penalty is compared to single user/channel cases using QAM schemes with the same spectral efficiency. It is shown that the power penalty can be very small if users with sufficiently different channel qualities are addressed. 1. INTRODUCTION The vast increasing number of users in mobile communication systems and the increasing demand for more capacity per user requires exploitation of the available frequency spectrum as efficiently as possible. In future cellular systems, where besides voice traffic more and more digital information will be transmitted, the required capacity in the downlink (from the base station to the mobile) is expected to be higher than for the uplink. Simultaneous sharing of a single channel among multiple users in the uplink has been investigated for narrowband M-PSK signals in [1], [2]. By narrowband we refer to the fact that, unlike in CDMA, no bandwidth expanding signature code is applied to separate the users. The downlink channel is substantially different from the up link when serving multiple users, since the base station has full contra I over the signal parameters: amplitude, phase and symbol timing. In a broadcast scenario, multiple users receive the same signal, where the amount of received information may depend on the channel quality, like in DVB. This is obtained by applying a hierarchical modulation scheme, which allows users to receive only high priority data in case of bad channel conditions or high and low priority data when the channel is good, [3]. The information capacity of a degraded broadcast channel, where independent data is transmitted to different users, has been investigated in [4]. The capacity of a cellular system, expressed as the number of served users/cell, is interference limited in stead of noise-limited. Therefore, increase of spectral efficiency should go at a minimum increase of the transmit power. In this paper, we present a compound QAM (C-QAM) modulation scheme, which allows simul- taneous transmission of independent data to several users with the same signal. The technique is based on stacking a number of M-PSK modulated signals, each intended for a different user. The signal amplitudes and phases are optimized for given link gains and interference level, in order to obtain a required symbol error probability performance at each of the user locations with minimum transmit power. The system model and the method to construct the C-QAM signal are given in Sections Il and Ill, respectively. In Section IV, the power penalty to obtain the increased spectral efficiency of the C-QAM signal is determined and compared with conventional schemes with the same spectral efficiency. Conclusions are drawn in Section V. Il. SYSTEM MODEL We consider the downlink of a single cell where users receive information from the base station (BS) as shown in Fig. 1. The link gain of the channel between the BS and user i is indicated by Gi. The received signal at user location i can be written as Ti(t) = .;c:s(t) + ni(t) (1) where s(t) is the transmitted signal; ni(t) represents the location dependent co- channel interference received from other cells plus receiver noise, which is assumed zero-mean Gaussian distributed with variance ar Fig. l. Cell model. The BS addresses K users simultaneously with a single signal which contains independent data for each user. The signal send to each user corresponds to an M-PSK modulation with M = 2L, L = 1,2, .... So the compound signal has a bandwidth efficiency p = K log2 (M) = KL bits/a/Hz, which increases linearly with the number of addressed users K. The equivalent lowpass of the transmitted signal during the nth symbol can be written as: J( sn(t) = LAié( C; > ...> CÎ(, we find for the required power for a certain SEP in a single user per channel scenario: Pk > Pi if C~ < C;. Further, let the required SEP of user i be achieved with MTD d~i), In the compound signal, the smallest signal energy is assigned to user 1 with the best channel (highest C'). For this Signal I, the MTD dil) is related to the transmitted signal amplitude Al and link gain Cl as (6) where DI is the MTD at the transmitter and the amplitude of the transmitted signal is d(l) A 1 -- . 11" I fG.' (7) S111 MY I as shown in Fig. 2. For Signal k, with C~ < C;, the transmitted amplitude Ak > A because user i has a better channel and in addition we have to compensate for the interference caused by the smaller signals i E {I, .. , k - I}. Now we can write the amplitude Ak as a function of the MTD d~k) and the amplitudes A of the smaller signals i E {I, .., k - I} as (8) with 0, for M = 2 and j - keven { %, for M = 2 and j - k odd (9) ~, for M = 4 230 So for BPSK modulation, we find: A k -_ { o, + L;~~ A2j-1 k-2 k odd (10) D; + Lj~l A2j keven which can be written as a recursive relation: Ak+2 = Dk+2 - Di; + 2Ak. So if Dk+2 = Dk, i.e. in case the signals have the same channel quality, four times as much power in Signal k + 2 is required than in signal k. In the same way we find for QPSK modulation: k-l Ak = hDk+ LAj (11) j=l which can be written as a similar recursive relation: Ak+1 = V2(Dk+l-Dk)+2Ak. The total transmitted power of the C-QAM signal is found as: (12) C. Detectability of the signals For the detection of the C-QAM signal, a maximum likelihood detector or a detector based on successive cancellation [IJ can be applied, where the latter has a lower computational complexity. The successive cancellation detector not only requires a sufficient MTD for the user of interest. In order to prevent excessive symbol error propagation, the minimum distances of alllarger signals, which need to be cancelled first, must be large enough too at each user location. In order to provide each user i with a specified SEP performance, adjustment of the MTD d;i) to the standard deviation IJi due to noise and interference is required as shown in (4). Now let the MTD of user j at be dy) = Drie: and the corresponding effective carrier-to-interference ratio to be defined as ry) £. (*) 2 To provide equal QoS to each user, r;iJ = '1'0 is to be maintained for every user i, e.g. by means of power control using a feedback channel. Proposition: If we order the signal powers Pi; according to decreasing channel quality, i. e. I c, Cl C' C k = -2 2: 2" = 1 ~ Pi, :::;Pi (13) IJ k IJL and maintain equal QoS r;i) = '1'0 for every user i, all user signals j 2: i can be correctly detected at user location i. Proof: In [1], it is shown that the effect of error propagation is relatively small if 231 we maintain equal MDT between the signals. In order to ensure good detection of all larger signals at user location i, ry) ~ r;i) = "Yofor j ~ i. Now let (14) r(j) J then we find for r;i) : (15) which concludes the proof. This shows that all signals j ~ i can be correctly detected and cancelled with low probability of error at user location i, which is required for a successive cancellation detector. IV. POWER PENALTY Increasing the spectral efficiency of the modulation requires extra transmission power [5]. In order to evaluate the performance of the proposed scheme, we com- pare the total transmitted power P; for a number of alternative access schemes where 2 bits/symbol are transmitted to each user. We use the following normal- k ization Cl = 1 and the required dk ) = DkVG;; = 1, which implies that O'~ = 0'2 \Ik. The following cases are compared. Case 1: Transmission of multiple QPSK signals in a conventional TDMA scheme with a single user per channel. This scheme (without spectral efficiency gain), is used as a reference since it results in a lower bound on the total trans- mitted power. We find for Ale = V2DIe = # and P, is found with (12). Case 2: Each user is successively addressed with a 4K-QAM signal in a TDMA scheme during a fraction -};;of a conventional time slot duration. So we split up the available time-slot. of a single channel in K equal parts and transmit during the kth sub-slot a 4K-QAM signal to user k. Let Ale = # be the amplitude for the states closest to the origin then we find for the total power of a 4K-QAM d signal Pk = ~{~1 41-1 A% = k 4[<3-1. Since these powers are transmitted only during I/Kof the time,the average transmitted power is given by (16) Case 3: Transmission of a 4K-C-QAM signal as proposed in this paper. The total transmitted power Pt is found with (12), using Ale given by (11). Case 4: To evaluate the effect of phase optimization between the signal we transmit a 4K-C-QAM signal as proposed in this paper, but with random relative 232 signal phases. Now the required MTD must be maintained in the worst case signal phase difference. This is obtained by choosing the signals amplitudes as Ak = ,;2 ( o; + 2:~:iAj) with r, is found with (12). Case 5: The corresponding uplink scenario, as proposed in [1], is different from the downlink scenario since: a. each user transmits a QPSK signal; b. the signals arrive at the receiver with random phases; c. sufficient power differences are to be maintained between the signals at the receiver to separate the signals. However, in the uplink the signal with the worst channel is received as the smallest signal and the signal with the best channel is received as the largest signal. This results in a more efficient use of the transmit power, i.e. less generation of interfering power, because now the signal with the worst channel (and highest power) does not need to increase its power, but the signals with better channels do. In [1], it is shown that for random phases of the signals, the received signals' powers P; need to be related as P; k = (3Pr kH with (3 = I I (1 + sm. 1-".) 2 = (1 + ,;2) 2 for QPSK M modulated signals. Now we find for the transmitted power of user k: Pt,k = l;~k and the total transmitted power in the cell is: K K (3k-1 P K (3k-1C P D _ ""' D _ ""' r,l _ ""' 1 t,l (17) Ft-~Ftk-~ -~ . , Ck Ck k=l k=l k=l In Fig. 3, the total transmitted power P, is shown for the normalization as given above and for geometrically related link gain differences Cic = a-(k-1)C1 with differential loss a 2:: 1. A power P; = 1 is required for a single user with a link gain C = 1. The results are presented for K = 2, 3 and 4 simultaneously addressed users. These results show that the cost of the increased spectral efficiency of 4K_C_ QAM is a small increase of the transmit power compared to the power required to address these users in a single user/channel scheme, provided that the link gain differences a between the users are large enough. For a = 15 db, the power penalty is only 2 dB, rather independent of K, whereas when using a 4J(-QAM signal and addressing one user at a time, the power penalty is 4, 8 and 12 dB for K = 2,3 and 4, respectively. Basically, we observe that when we need to address a user with a bad channel (high power), it is very» cheap" to add additional users with a sufficiently better channel. In the uplink channel, with non-coherent user signals, the power penalty is even less than in the downlink, because extra power is now required for users with a good channel to compensate for the presence of users with a bad channel in stead of the other way around, as in the downlink. V. CONCLUSIONS In this paper, a procedure is given to construct a compound QAM (C-QAM) signal, for addressing multiple users simultaneously in the downlink of a cellular system. The signal is optimized for minimum transmission power by properly selecting the phase differences between the user signals and taking into account the users' channel qualities. For link gain differences between the signal larger than 3 dB, a power gain is obtain for C-QAM compared to corresponding QAM scheme with the same spectral efficiency. For link gain differences between the 133 Power compar!sson, 2 users QPSK Power comparIsson, 3 users QPSK 6°rr=:--e--C=;cO=as=.=ê,,=;c"'on=,=.n'O'1I0=n.='~TO"'M;';A=SC=.'h=.m='.=;--~---' ~ Case 2: 54-CAM, TDMA, user opt. -- Case 3: 64-C-QAM, opl. phases 50 50 __ Case 4: 64-C-OAM, rand. phases ....... Case 5: Upllnk scheme 10 15 20 10 20 Dillerentialloss Alfa {dBJ DilferenUalloss Alla [dBJ Fig. 3. Comparison of relative transmission power for several multiple access schemes and for K = 2, 3, and 4 simultaneously addressed users. users of Cl! = 15 dB the power gain is about 10 dB for four users and only 2 dB more power is required than the lower bound where each user is addressed in a separate channel, i.e. without spectral efficiency gain. In cellular systems, where the system capacity is basically interference limited, application of C-QAM can result in a substantial increase of the system capacity. Care has to be taken that users with sufficiently different channel qualities are combined and the required signal powers are maintained. REFERENCES [lJ G.J.M. Janssen, S. Ben Slimane, "Symbol Error Probability Analysis of a Multiuser Detector for M-PSK Signals Based on Successive Cancellation", to appear in IEEE J. Select. Areas in Comms., February 2002. [2J G.J.M. Janssen, J. Zander, "Power Control and Stepwise Removal Algorithms for a Narrowband Multiuser Detector in a Cellular System", IEEE Proc. Int. Conf. on Communication, ICC'02, New York, USA, April 2002. [3J M. Morimoto, M. Okada, S. Komaki, "A hierarchical image transmission system in a fading chan- nel" , Proc. IEEE ICUPC'95. pp. 769 - 772, October 1995. [4J T.M. Cover, "Comments on Broadcast Channels", IEEE Trans. on Inf. Theor., Vol. 44, No. 6, pp. 2524 - 2530, October 1998. [SJ J.G. Proakis, Digital COmmunications, McGraw-Hill, Inc., New York, 1995. 23'1 NOVEL SAMPLING METHODS FOR INCREASED SPECTRAL EFFICIENCY IN WIRELESS COMMUNICATION SYSTEMS J. Levendovszky, L. Kovács, A. Olah, D. Varga, E.C. van der Meulen Budapest University of Technology and Economics, Dep. of Telecommunications Pázmány P:sétány 1/D,H-1117, Budapest, Hungary, levendov~hit.bme.hu This paper is concerned with novel equalization algorithms for increasing the spectral efficiency of mobile systems. To accomplish this goal new sta- tistical sampling methods are introduced which can achieve lower Bit Error Rate (BER). The proposed techniques are based on using reliability analysis methods in equalization. INTRODUCTION The main objective of this paper is to find the optimallinear FIR equalizer co- efficients for low probability Bit Error Rate (BER) detection followed by threshold detection. This is an important task as resources, such as radio spectrum became scarce and expensive. Therefore, when launching broadband services one wants to cut on expenditures and therefore on radio bandwidth as much as possible. However, narrowband communication is susceptible to selective fading due to multipath propagation which in turn yields sever performance degradation. As a result, efficient equalization techniques are imperative to combat multiuser and intersymbol interference to avoid large scale drops in system performance. To solve this problem, in this paper we develop new equalization algorithms which are able to minimize BER in contrast with traditional methods only optimizing the Minimum Mean Square Error or the Peak Distortion. In this way, better performance can be obtained at the price of an increase in computational com- plexity. However, calculating BER and optimizing it with respec t to the equalizer coefficients becomes computationally overwhelming, therefore we use statistical sampling techniques from reliability analysis. THE MODEL In this section we outline the framework in which the equalization algorithm will be introduced. The main emphasis is on developing a general model for communication over fading channel which encompasses both single- and multi- user communication. The notations are defined as follows: • Yk denotes the transmitted information at the time instant k, which is a sequence of identically distributed independent Bernoulli random variables P(Yk = 1) = P(Yk = -1) = 0.5; • a sample sequence of Yk is denoted by Yk; • the discrete impulse response of the channel is denoted by hk, k = 1, ... , M where M is the span of Linear Distortion (LD) expressing how many sym- bols are effected by LD due to the memory of the channel; • the noise is denoted by Vk and is assumed to be a stationary zero mean white Gaussian random sequence; • the received sequence is denoted by Xk, which is linearly distorted and noisy version of the transmitted sequence given as M x, = 2:= hjY j +k- Vk; (1) j=O • when block decoding is discussed then we use the vectorial notation Y [Yk, ... , Yk_L]T, X = [Xk, ... , Xk_L]T, n = [Vk, ... , Vk_L]T; • the sample sequence of Xk is denoted by Xk; • y = f(X) represents the detection algorithm, which based upon a received sequence X and yields a detected sequence; The primary question of detection is to give the best estimate of the transmitted sequence y based on observing the received sequence x. (Note that in the forth- coming discussion we assume perfect channel state information. If this is not case then adaptive channel identification algorithms can be used. Best estimate is meant in the Bayesian sense by minimizing the following error probability fopt: min P(f(x) f =J Ysent), (2) where Ysent denotes the transmitted information sequence. It is well known that the optimal Bayesian decision amounts to maximizing the conditional proba- bility Yopt = argmaxyE{-l,l}L p(y I x), or in the case of uniformly distributed input sequences Yapt = argmaxyE{_l,l}L p(x I y). Without delving into any fur- ther details, one can see that Bayesian decision leads to a discrete optimization problem over the space of {-1,I}D If L is large this poses a serious computa- tional challenge as the complexity of the Bayesian decision by exhaustive search grows exponentially with respect to L. Therefore, we primarily view detection as computational problem and restrict our investigations to memoryless detec- tion (threshold rule) and equalization. In this way the overall channel impulse response function, which is formed by the cascade of channel and equalizer, de- noted by (3) i=O can have the desired shape which yields low error probability even with a simple detector architecture. As was mentioned above the equalizer implements a linear mapping on the in- coming sequence Xk to yield an output sequence i\ which is then the input of the threshold detector. This mapping is given as Yk = '£;=0 WjXk_j. WEIGHT OPTIMIZATION TO MINIMIZE BER Our new concept in equalization is the direct minimization of the error prob- ability, instead of traditional opt8mization (such as peak distortion or minimum mean square). In order to optimize the equalizer coefficients in this sense, one must first derive BER as a function of the equalizer coefficients. Omitting the details one can obtain Pb(W) = (1/2L+1) YE{~l}L [ ((-qo+ tqlYl)/a) +<1> ((-qO- tqIYI)/a)] (4) where <1>(.) denotes the standard normal distribution function and a2 = No '£;=0 wJ. Uwe define the set Y:= {Y = (YO,Y1, ..·,YL)lyo = -1 and Yi E {-I, I}} then, by the symmetry of the standard normal distribution, one can write Pb(W) = (1/2L) ~ ((t qIYI)/a) . (5) Using (3) and rearranging the double summation, we obtain Pb(W) = (1/2L) L ('£Lo Wn ,£~~n hl_nYI) (6) yEY j No '£~=ow; DETERMINISTIC GRADIENT SEARCH To £ind the optimal weights of the equalizer which minimize this error prob- ability, we have to solve the following equation: (7) The explicit formulation of the ith component of the gradient is: i,From the complicated expression of the gradient (8) it is obvious that equation (7) cannot be solved explicitly. Therefore, the only way to get the solution is the application of numerical methods, for example the gradient descent algorithm: oPE(w(k)) wi(k + 1) = wi(k) - 'Y OWi ' (9) where w(k) is the value of the weight vector at the kth iteration. To perform this gradient descent can still prove to be computationally cumbersome though, because of the summation over an exponentially growing number of vectors in expression (8). APPROXIMATING ERROR PROBABILITY BY SAMPLING TECHNIQUES As was mentioned before, the practical implementation of the gradient search (cf. (9)) involves computational difficulties due to the summation over an expo- nentially growing number of vectors. Therefore, it is quite advisable to look for "near-optimal" solutions, which can yield much faster equlizer algorithms. One may note that the expression of H(w) (6) can be seen as an expecta- tion over all the possible information sequences, under the assumption of equally distributed input symbols. Using the notation G(w) = Pb(W) we can write G(w) = (10) Furthermore let us introduce the following notations: g(w) = gradwG(w) = gradwlEy [G(w, y)J = lEy[g(w, y)J (ll) In order to circumvent the exhaustive summation we propose to calculate the ex- pectation in the function G(w) by averaging the dominant terms. This approach is called the Li-Silvester approximation [1, 2J. The estimator will be denoted by S(w) ~ G(w) = lEy[G(w,y)J. Then, using the approximation, the equalizer coefficients can be optimized by a computationally easy gradient descent: w(k + 1) = w(k) - l:.s(w(k)) (12) where s(w) = gradwS(w). To focus on the dominant terms, we rewrite expression (6) into the following form: H(w) = L G(w,y)p(y) = 2L 1 L G(w, y) (13) yEY yEY Let us collect the J{ most significant terms of this summation and the associated y vectors G(w'Yl) > G(W'Y2) > ... > G(w,YK) resulting in the following bounds: where Gmax denotes the maximum of the function G(w, Yk) which equals to 1. The lower bound can be very sharp if the omitted terms are relatively small. In this case S(w) = it ~~=l G(w, Yk) = ~YEK it G(w, y), where IC = {Yb ..., YK}. Now, we will show how to find the dominant terms in eq. (5). From (6) it can be seen that function Pb(W) is invariant to the norm of w, hence we have the freedom to set Wo = I/ho that implies qo = 1. From eq.(5) all the terms can be omitted which does not contain y, since the maximization is according to y. Hence the expression to be maximized is (~f=o qlYl) = ( -1 + ~~l qlYl) , since in (5) we set Yo = 1. Due to the monotonicity of the standard normal distri- bution function, one should maximize the argument of the previous expression. The maximum of ~f=l qlYl is the peak distortion. Hence vector Yl which results in the most dominant term can be given as Yl = [-1, sgn {qd, ..., sgn {qdJ while the other significant vectors can be formulated as Yk = [-I, sgn {qd, ... , -sgn {qiJ, ... , -sgn {qiN}' ... , sgn {qd] k = 2, ... , K where {il' ..., iN} = Ck = argmin(lqill + ...+ IqiNI), N = 1,2, ... and Ck =I- Ck-j, j = I, .., k - 2. The gradient of S(w) is very similar to the true gradient of Pb(W) (given in (9)), the difference lies only in the fact that the summation in s(w) is over K instead of y. Applying the K most significant information vectors (i.e. the set K) one can dramatically reduce the complexity of the minimization of Pb. However, this results only in a suboptimal solution. Remark: Finding the most significant Y vectors seems to be a tiresome process, but one can find an easy-to-perform algorithm with almost the same performance. In the simulations we used this alternative method, which is based on the idea that instead of applying the K most significant terms only significant terms are collected. The detailed analysis of this algorithm is beyond the scope of this paper. NUMERICAL RESULTS As we emphasized in the previous text, the real performance measure of dig- ital communication is the error probability. Therefore the aim of our simulations was to show the performance increase resulted by the novel algorithms over the traditional ones in a BER vs. SNR fashion. We analyzed the following channel models: hl = [1;0.6; -0.3] and h2 = [1;0.6; -0.45]. The first channel (hl) can be easily equalized by traditional meth- ods (ZF, MMSE), while channel h2 is not has the minimum-phase property, there- fore ZF does not work with it. However, since the new equalizer strategy coneen- trate to minimize the BER and not the linear distortion, it can be successfully applied for setting the equalizer coefficients, even in the case of a channel with roots with greater absolute values than 1. In most of the simulations SNR (which is meant in the sense of Ebi No, i.e. bit energy per noise energy) was set to 10 dB which choice proved to be noisy enough to be able to distinguish among equalizer vectors with small Euclidean distance, on the other hand not too noisy for eliminating the possibility of characterizing the differences of the algorithms. However for the first channel we made simulations for different SNR circumstances. LLIO The number of the equalizer coefficients was set to 2,4,6 and 10, which means 1,3,5 and 9 degree of freedom, respectively, since in all the cases the first weight was set to Wo = I/ho. In the Li-Silvester approximation and in the associated gradient descent algorithm K=I6 dominant terms were applied. 10-4' s , , IO->2~---:-----:-----:S'__---:-'----:--' --;;---7----:. J(dlmenslcnDtMlu.lurl Jldlm .... lonol.qu.oU •.,) Figure 1: BER vs. the number of the equalizer coefficients for cannel hl, SNR=O dB (left), SNR=IO dB (right) The results are depicted in figure 1 and 2. In very poor SNR environment there is no algorithm that can produce good performance, however it can be seen that the new algorithms slightly outperform the traditional ones. The great increase in performance comes to the fore at about 10 dB SNR and higher. De- pending on the channel characteristics it can reach even I order of magnitude. For the non-minimal-phase channel the new methods have excellent performance, while classical strategies cannot equalize this channel. According to the theoretical investigation the best performance is carried out by the gradient descent algorithm (9), however it has 0(2L) complexity (there- fore it has less practical importance, at the same time simulations show that it outperforms even with a couple of weights the classical methods operating with large number of coefficients). The Li-Silvester method has same properties in smaller dimensions as the deterministic gradient, but its performance is limited due to the given number of approximation terms. However it can far outperform the traditional algorithms with a reasonable additional complexity. CONCLUSIONS In this paper we introduced a novel equalizer strategy, which directly mini- mize the error probability, resulting optimal performance over the possible equal- 14J 10->2~~---7--5;-----~.---7, -r-r-z-r-r-r-r-r--: 10"'2~~---7--5;-----~'-~' --:---0----,' J(dlm.nllonot IqU.sLuf) J(dlmlln.k>not~.IIZ11rJ Figure 2: BER vs. the number of the equalizer coefficients for cannel hl, SNR=15 dB (left) and for h-z, SNR=10 dB (right) izer strategies in digital communication systems. Since the practical minimization of this strategy cannot be solved explicitly, and even gradient descent minimiza- tion requires exponential complexity, we introduced suboptimal minimization techniques that is based on statistical sampling techniques. ACKNOWLEDGMENT The research reported here was supported by Analogical and Neurocomputing Laboratory, MTA SZTAKI, Budapest, and Project GOA/98/06 of the Research Fund K. U. Leuven. REFERENCES [IJ V. O. K. Li, J. A. Silvester: "Performance Analysis of Networks with Unre- liable Components", IEEEE Transactions on Communications, Vol. COM-32, No. 10, October 1984, pp. 1105-1110. [2J J. Levendovszky, L. Jereb: "Stratified Sampling Based Network Reliability Analysis", 8th International Conference on Telecommunicastions Systems, Nashwille, Tenessee, USA, March, 2000 Erratum to "Extending the Boneh- Durfee-de Weger Attack to RSA-like Cryptosystems" Fabien Laguillaumie+é and Damien Vergnaud'' 1France Télécom R&D 42 rue des Coutures, B.P. 6243, 14066 Caen Cedex 4, France fabien.laguillaumie~rd.francetelecom.com 2Laboratoire de Mathématiques Nicolas Oresme Université de Caen, Campus Il , B.P. 5186, 14032 Caen Cedex, France {laguillaumie,vergnaud}~math.unicaen.fr We note that Lemma 1 of [1] is incorrect and we prove the following version: Lemma 1 For all positive integers m and t, the matrix My is geometrically progressive with parameters 2rn 2(3 ~ l 2(3 ~ l ~1 1 _2_) 'f Y - 2,8-t d J: 4(3 2 m 2m' e, m, u + an u + ( J: 2' 2' 1 ' '. 3.-4~ ~ ,- e > (m ,e,m,O + (3,(3 ~ I, ~1, I, 1-,8) if Y - e and 0 + 2(3 > 1 { (m2rn, e, m, 0 + ~,~~; ~1, I, 2) if Y = et. Proof: To simplify, we take e = N. We recall that k u h1,dxX, yY) = ern-kylyl fk(xX, yY) = L L cu,vxUyv+l, u=ov=o with cu,v = (~) (~)(~I)k-Uern-kAU-VXUYV+l. So we can compute My (i ,J". k I) = c','+J ... _ = (k) ( I +.i I )(~I)k-iern-kAl-jXiyi+j. Z . Z . J ~ Cond. 3 of the definition is satisfied, and by replacing X and Y by their values, and because A ~ e, we obtain Cond. 1 and 2. As pointed out by de Weger in [2], Cond. 4 is not immediately verified. Let's denote by b the last parameter of a geometrically progressive matrix (instead of (3 as in De£. 1 of [1] to avoid confusion). In each case, b has to satisfy b(O + 2(3 ~ 1/2) ~ 1 2: 0 when Y = e2,8-1/2 and { b(2(3 ~ 3/2) + 1 2: 0 1 b(<5+,8)-12:0 whenY=el1. { b(,8 - 1) + 12: 0 When Y = e211~1/2(resp. Y = el1) the matrix My is then geometrically pro- gressive with parameters ( m 2m., e, m, <5 + 2,8 - ~,2,8 - ~, -1, 1, 3 ! 4,8) (resp. ( m2m., e, m, <5 + ,8,,8 - 1, -1, 1, 1 ~ ,8)) if <5 > 2 - 4,8 (resp. <5 > 1 - 2,8) D In the case Y = e211~1/2,My is geometrically progressive if <5 > 2 - 4,8 and the attack set out in section 4 of [1] works if <5 < 1 - ~. So this is possible only if /3 > ~. If Y = el1, then My is geometrically progressive if <5 > 1 - 2,8 and 1 the attack of the section 4 works if <5 < 1 - yfj3. This is possible only if,8 > 4' which is always the case because of the hypothesis on ,8. 3 If ,8 < 8 and Y = e211~1/2,Theorem 2 of [1] and the bounds on the first two vectors provided by LLL give the following weaker bound on <5: The following table gives the correct bounds on <5 = 10gN (d) as a function of,8 (and the limit values when ,8 = 0.5 or 0.25), up to which we can break the cryptosystems in (heuristical) polynomial time. Our results Pinch 0.25 < ,8 < 0.375 0.375 < ,8 < 0.5 ,8 = 0.5 ,8 = 0.25 HMT3 - i(4,8 + 5)- 1 - v8,8 - 2/2 0.292 1 h/16,82 + 16,8 - 5 i( 4,8 + 5)- 1 - v8,8 - 2/2 1 LUC 0.25 0.292 ~ V16,82 + 16,8 - 5 1- v,8 0.5 KMOV 0.25 ~(4,8 + 5)- 1- 8,8 - 2/2 0.292 1 ~ V16,82 + 16,8 - 5 Demytko 0.125 0.133 References [1] F. Laguillaumie, D. Vergnaud: Extending the Boneh-Durfee-de Weger At- tack to RSA-like Cryptosystems. Proc. of the 24-th Symposium on Informa- tion Theory in the Benelux (2003) 45-52 [2] B. de Weger: Cryptanalysis of RSA with Small Prime Difference. Appl. Algebra Eng. Commun. Comput. 13:1 (2002) 17~28 2