Twenty-second Symposium Enschede, The Netherlands May 15 & 16,2001 Proceedings ofthe 22nd Symposium on Information and Communication Theory in the Benelux May 15 - 16,2001 Enschede The Netherlands Edited by G.H.L.M. Heideman Pu blished by Werkgemeenschap voor Informatie- en Communicatietheorie Enschede, The Netherlands, 2001 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-la-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 .~, The Netherlands ISBN 90-71048-15-2 Wassenaa~ ClP-gegevens Koninklijke Bibliotheek, Den Haag (NL) Proceedings Proceedings of the 22nd Symposium on Information Theory in the Benelux / ed. G.H.L.M. Heideman, Enschede Werkgemeenschap voor Informatie- en Communicatietheorie ISBN: 90-365-1598-X 11 The Twenty-second Symposium on Information and Communication Theory in the Benelux has been organized by the Telecommunication Engineering Group Faculty of Electrical Engineering University of Twente, The Netherlands on behalf of the Werkgemeenschap voor Informatie- en Communicatietheorie and the IEEE Benelux Information Theory Chapter and in co-operation with the IEEE Benelux Chapter on Signal Processing. Program Committee: Ir. G.H.L.M. Heideman Prof. Or. Ir. W. van Etten Prof. Or. Ir. J.C. Haartsen Ir. H.E.P. Tattje Prof. Dr. D. Kleima The organizing committee gratefully acknowledges the financial support of the Gauss Foundation. iii PREFACE It is for the twenty-second time that the Werkgemeenschap voor Informatie- en Communicatietheorie is organizing the annual Symposium on Information and Communi- cation Theory. This year the symposium is being held in Enschede, The Netherlands and has been organized by the Telecommunication Engineering Group of the Faculty of Electrical Engineering, University of Twente. We are very pleased that two new members of the group, Prof. dr. ir. J.C. Haartsen and Dr. R. Srinivasan accepted our invitation to give a guest lecture on their specific fields in Communication Theory. This booklet contains the 28 papers that have been accepted for presentation in oral or poster sessions. We are very grateful to the authors for submitting their latest results in the field of Information and Communication Theory. The organizing committee gratefully acknowledges the IEEE Benelux Chapter on Information Theory for their co-sponsorship and thanks the Gauss Foundation for the financial support for the best Young Researcher Presentation A ward. Finally, I would like to express my thanks to Mrs. Carla Bleijenberg who skilfully assisted in the organization of this symposium and for her help in putting these proceedings together. Geert Heideman, editor Enschede, May 2001 v Table of Contents Session 1: Speech Coding • Time-scale modificationfor speech coding. D. Burazerovié, A. Gerrits, R. Taori, J. Ritzerfeld • Part-of-speech taggingfrom an information-theoretic point ofview. P. Vamoose Session 2: Invited Lecture • Embedded connectivity with Bluetooth. Prof. Dr. Ir. J. C. Haartsen Session 3: Detection and Estimation • A new blind signal processing algorithm for multi-user detection. J. Levendovszky, L. Kovács, G. Jeney, E.e. van der Meulen. • Suboptimal Approximations in Simultaneous Detection and Estimation Problems. Michel H. Vellekoop • Head Detection, tracking and pose estimation. 1. Ravyse, H. Sahli, J. Comelis • Pre-processing of polarimetric IR images for land mine detection. O. Gonzalez, A. Katartzis, H. Sahli, J. Comelis Session 4: Communication Theory • CNN based algorithm for QoS routing with incomplete information. J. Levendovszky, A. Fancsali, Cs. Vegso, E.e. van der Meulen • On optical orthogonal code constructions with low correlation 1. Samvel Martirosyan, A.J. Han Vinck • Generalization and Performance improvement of a coherence multiplexing system. Arjan Meijerink, Geert H.L.M. Heideman, Wim e. van Etten • On the optimal switching scheme of link adaption. Fei Tang, Luc Deneire, Marc Engels vii Session 5: Information Theory • Coding for sources satisfying a permutation property. A. Nowbakht, Tj. J. Tjalkens, F.M.J. Willems • A parallel implementation of the CTW compression algorithm. Mauriee L.A. Stassen, Tjalling J. Tjalkens • Asymptotic investigation ofthe optimalfiltering error and iriformation rates in certain models of observations and channels. Viaeheslav V. Prelov, Edward C. van der Meulen • New tools for the analysis of the capacity of very noisy channels. Sergio Verdïi Session 5: (continued) • Error-correction radius of reduced GMD decoders. Jos H. Weber, Khaled A.S. Abdel-Ghaffar • Symmetric logic synthesis with phase assignment. Nieo F. Bensehop • Coding for informed decoders. Marten van Dijk, Stan Baggen, Ludo Tolhuizen Session 6: Invited Lecture • Fast Simulation and applications in communications and signal processing. Dr. Rajan Srinivasan Session 7 Poster Session • Model selection for photometric changes in color images. F. Mindru, T. Moons, L. Van Gooi • Implementation of a dynamic multi-window TV system. Stefan Mietens, Peter H.N. de With, Christian Hentsehel • Embedding information in grayscale images. Marten van Dijk, Frans Willems • On AD conversionfor telecommunications. C.H. Slump, R. Sehiphorst, F.W. Hoeksema, B. Nauta, V. Arkesteijn, E. Klumperink viii • Optimised labelings for bit-interleaved coded modulation schemes with iterative demodulation. Alexei Gorokhov, Marten van Dijk • Optimal time- differential encoding of sinusoidal model parameters. lesper lensen, Richard Heusdens, Cor I. Veenman • A scheme for perceptual speech and audio coding with damped sinusoids based on totalleast squares algorithms. Kris Hermus, Wemer Verhelst, Patriek Wambacq Session 8: Image and video • An approach to affective video content extraction. A. Hanjalic, Li-Qun XU • Multi-stage region mergingfor image segmentation. Thomas Brox, Dirk Farin, Peter H.N. de With • A motion-based analysis offast-changing image content. A. Rares, M.I.T. Reinders, I. Biemond • Component and composite coding ofresidual video signals: trans-multiplexing quantization? Fokke Hoeksema, Harold Vermeulen, Kees Slump ix LIST OF AUTHORS: PAGE Abdel-Ghaffar K.A.S. 107 Arkesteijn V. 155 Baggen S. 123 Benschop N.F. 115 Biemond J. 197 Brox T. 189 Burazerovié D. 1 Comelis J. 33,39 Deneire L. 69 DijkM. van 123, 147, 157 Engels M 69 Etten W. van 59 Fancsali A. 45 Farin P. 189 Gerrits A. 1 Gonzalez o. 39 GooI L. van 131 Gorokhov A. 157 Haartsen J. C. 15 Hanjalic A. 181 Heideman G.H.L.M. 59 Hentschel C. 139 Hermus K. 173 Heusdens R. 165 HoeksemaF. 155,205 Jeney G. 17 Jensen J. 165 Katartzis A. 39 Klumperink E. 155 Kovács L. 17 Levendovzsky J. 17,45 x AUTHORS: PAGE Li-QunXU 181 Martirosyan S. 53 Meijerink A. 59 Meulen E.C. van der 17,45,93 Mietens S. 139 Mindru F. 131 Moons T. 131 Nauta B. 155 NowbakhtA. 77 Prelov V.V. 93 Rares A. 197 Ravyse I. 33 Reinders M.J.T. 197 Ritzerfeld J. 1 Sahli H. 33,39 Schiphorst R. 155 Slump C. 155,205 Srinivasan R. 129 Stassen M. 85 Tang Fei 69 Taori R. 1 Tjalkens Tj. J. 77,85 Tolhuizen L. 123 Vanroose P. 9 Veenman C.J. 165 Vegso Cs. 45 Vellekoop M.H. 25 Verdû S. 101 Verhelst W. 173 Vermeulen H. 205 Vinck A.J.H. 53 xi AUTHORS: PAGE WambacqP. 173 Weber J.H. 107 WiIIems F.M.J. 77,147 With P.H.N. de 139,189 xii TIME-SCALE MODIFICATION FOR SPEECH CODING D. Burazerovié, A. Gerrits, R. Taori " J. llitzerfeld t Philips Research Eindhoven, Prof. Holstlaan 4, 5656 AA Eindhoven, The Netherlands dzevdet.burazerovic~philips.com In this study, we have investigated if time-scale modification (TSM) can be beneficial to speech coding. The central idea is to compress the time scale of a speech signal prior to coding, enabling usage of less bits, and to expand it by a reciprocal factor after decoding, to come to the original time-scale. This paper describes improvements to an existing TSM method, namely synchronous overlap-add (SOLA). A comparison of the speech coding sys- tem incorporating the improved TSM scheme with dedicated standardised speech coders (operating at moderate and low bit-rates) is presented. INTRODUCTION Time-scale modification (TSM) of speech refers to compression or expansion of the time scale of speech, while preserving the identity of the speaker (pitch, formant structure). As such, it is typically explored for purposes where alteration of the talking speed is desired. Another potential application, which is much less reported, is speech coding. The basic intention there is to compress the time scale of a speech signal prior to coding, reducing the number of speech samples that need to be encoded, and to expand it by a reciprocal factor after decoding, to reinstate the original time-scale. This concept is illustrated in Figure 1. Since the time-scale compressed speech remains a valid speech signal, it can be processed by an arbitrary speech coder. Assuming at the same time that the quality of the decoded speech can be maintained during its time-scale expansion, it seems justified to ask the question: can the use of TSM help in achieving a better speech quality than conventional coding at comparable bit rates? For example, speech coding at 6 kbitjs could now be realized with a 8 kbitjs coder, preceeded by 25 % time-scale compression and succeeded by 33 % time-scale expansion . • Currently working at: Ericsson Eurolab Netherlands, Ericssonstraat 2, 5121 ML Rijen, The Netherlands t Eindhoven Univ. of Technology, Den Dolech 2, 5600 MB Eindhoven, The Netherlands 1 Trans- input ou1put mission speech Time-scale Speech Speech Time-scale speech -'------0 compression f---o encoding r--- or I-- decoding r- expansion --.. Storage Figure 1: A scheme describing usage of TSM in coding applications. The use of TSM in this context was already explored in the past, where fairly good results were claimed using several TSM methods and speech coders [1]-[3]. During the more recent years, improvements have been made both to TSM and speech coding techniques, where these two have mostly been studied independently from each other. The aim of this study is to investigate whether these improved techniques can enable more efficient realizations. This paper describes a widely used TSM algorithm, namely synchronized overlap-add (SOLA), and evaluates its use in the context of compression followed by the reciprocal expansion (companding). Related problems are addressed and additional methods are proposed and incorporated to remedy these problems. Several standard speech coders will be used for evaluation. SYNCHRONIZED OVERLAP-ADD (SOLA) Since its introduetion [4], SOLA has evolved into a widely used algorithm for TSM of speech. Being a correlation method, it is also applicable to speech produced by multiple speakers or corrupted by background noise, and to some extent to music. With SOLA, an input speech signal s is analyzed as a sequence of N-samples long overlapping frames Xi (i = 0, ... ,m), consecutively delayed by a fixed analy- sis period of Sa samples (Sa < N). The starting idea is that s can be compressed or expanded by out putting these frames while now successively shifting them by a synthesis period Ss, which is chosen such that Ss < Sa, respectively Ss > Sa (Ss < N). The overlapping segments would be first weighted by two amplitude- complementary functions then added up, which is a suitable way of waveform averaging. Figure 2 illustrates such an overlap-add expansion. The upper part shows the location of the consecutive frames in the input signal. The middle part demonstrates how these frames would be re-positioned during the synthesis, employing in this case two halves of a Hanning window for the weighting. Finally, the resulting time-scale expanded signal is shown in the lower part. 2 Sa Figure 2: Time-scale expansion by overlap-add The actual synchronization mechanism of SOLA consists of additionally shift- ing each z, during the synthesis, to yield similarity of the overlapping waveforms. Explicitly, a frame z, will now start contributing to the output signal at position i S; + ki, where k, is found such that the normalized cross-correlation given by Equation 1 is maximal for k = ki. L-1 Ls[iSs + k + j]. s[iSa + j] R;[k] = _-..:3_·=_0 ~ (0 ::; k ::; N /2) (1) (~S'[iSo + j). ~S'[iS. + k + j)) 'I' In this equation, s denotes the output signal while L denotes the length of the overlap corresponding to a particular lag k in the given range [1]. Having found ki, the overlapping signals are averaged as before. With a sufficiently large number of frames, the ratio of the output and input signallength will approach the value Ss/ Sa, hence defining the scale factor a. IMPROVING SOLA-BASED COMPANDING When SOLA compression is cascaded with the reciprocal SOLA expansion, several artifacts are typically introduced in the output speech, namely reverber- ation, artificial tonality and occasional degradation of transients. The reverberation is associated with voiced speech, and can be attributed to waveform averaging. Both compression and the succeeding expansion average 3 segments that have a high correlation. However, correlation is measured locally, implying that the expansion does not necessarily "insert" new waveform in the region where the original waveform was "removed" during compression. This results in waveform smoothing, possibly even introducing new local periodicity. Furthermore, frame-positioning during expansion is designed to re-use same seg- ments, in order to create additional waveform. This introduces correlation in unvoiced speech, which is often perceived as an artificial tonality. Artifacts also occur in speech transients, i.e. regions of voicing transition, which usually exhibit an abrupt alteration of the signal energy level. As the scale factor increases, so does the distance between 'iSa' and 'iS,', which may impede alignment of similar parts of a transient for averaging. Hence, overlap- adding distinct parts of a transient causes its "smearing", endangering proper perception of its strength and timing. In the sequel, methods are described to remedy these problems. Transmitting ki's In [5J, [6], it was reported that a companded speech signalof a good quality can be achieved by employing the kï's that are obtained during SOLA compression. So, quite opposite to what is done by SOLA, the N-samples long frames Xi would now be excised from the compressed signal s at time instants is. + k; and re-positioned at the original time instants iSa (while averaging the overlapping samples as before). The maximal cost of transmitting/storing all k;'s is given by Equation 2, where T. is the speech sampling period and r l represents the operation of rounding towards the nearest-higher integer. (2) Bypassing voiced onsets In [7], it was already reported that exclusion of transients from high (i.e. > 30%) SOLA compression or expansion yields improved speech quality. In our approach, cascading compression and expansion while using moderate scaling, we only exclude voiced onsets from TSM. Namely, due to the normalized correlation used in SOLA, voiced onsets will suffer more from smearing then unvoiced onsets. Furthermore, we detect a voiced onset as any transition from unvoiced-like to voiced-like speech, which is recognized from the data flow provided by a voicing 4 detector. The cornpression loss caused by the translation is simply compensated by slightly increasing the overall scale factor. A parametric method for time-scale expansion of unvoiced speech We present an expansion method dedicated to unvoiced speech, which is concep- tually different from SOLA in that the additional samples are now synthesized rather than generated from the existing samples. The basic idea is to extend an unvoiced sequence by inserting an additional amount of synthetic noise having similar spectral and energy properties. rC_;_A_"_'~1I V O............J LE S [DJ r---~xr--~ r----~ I ~ o ____jJ L LE Figure 3: Time-scale expansion of unvoiced speech by adding appropriately modelled synthetic noise. For each frame, the noise is inserted in between its two halves. The entire procedure is depicted in Figure 3. An unvoiced sequence s is segmented into L-samples long frames AiAi+l, each of which will be extended to a desired length of LE samples (LE = a· L, where a > 1 is the scale factor). The spectral envelope associated with such a frame is estimated by applying the LPC (Linear Predictive Coding) analysis [2] to a windowed frame B;Bi+l' An example of a window that can be used in the Hamming window. The window length is extended beyond the boundaries of a frame in order to give the region of interest sufficient weight and to "smooth" alteration of the model parameters. The LPC coefficients resulting from such an analysis are then used to update the synthesis filter 1jA(z), which shapes a zero-mean and normally-distributed (ae = 1) noise 5 sequence supplied by a noise generator" NG". The shaped noise is multiplied by a gain a, representing the variance of frame AiAi+l' Furthermore, the mean of this frame is added to the noise sequence by block" t .2:". Finally, input frame AiAi+l is split into two halves, namely AiOi and CiAi+1' and the synthesized noise is inserted in between them. EVALUATION OF A SPEECH COnING SYSTEM INCORPORATING TSM In this section, a TSM-based coding scheme incorporating all the previously explained concepts is briefly described and evaluated. A schematic overview is given in Figure 4. The upper part shows the pro- cessing stages at the encoder-side. A speech classifier, represented by the block "V jVV", is included to determine unvoiced and voiced speech (frames). All speech is compressed using SOLA, except for the voiced onsets, which are by- passed. Synchronization parameters and voicing decisions are transmitted through a side channel. As shown in the lower part, they are utilized to identify the de- coded speech (frames) and choose the appropriate expansion method. So, voiced speech is expanded by SOLA (employing ki's), while unvoiced speech is expanded using the parametrie method. output speech Figure 4: Schematic overview of TSM-based speech coding system The system has been evaluated through informal listening tests, (conducted on 15-20 seconds long speech recordings), using 25 % compression and an esti- 6 mated bit rate of 500 bitjs for transmission of the synchronization parameters. In the initial situation omitting the codec (coder-decoder), a good speech quality has been obtained. This quality has been judged to be superior to that obtained from conventional SOLA companding. Subsequently, several standard moderate and low bit-rate speech codecs have been integrated with the TSM system. A comparison has been made with a standard and scalable coder, namely AMR (Adaptive Multi-Rate, [8]). Table 1 shows the various configurations and the perceptual difference between the two systems. The AMR coder at 10.2 kbitjs TSM speech TSM Bitrate AMR Difference of TSM coder (kbitjs) (kbitjs) w.r.t. AMR EFR (12.2 kbitjs, [9]) 9.65 10.2 perceivable, not annoying G.729 (8 kbitjs, [10]) 6.5 6.70 slightly annoying G.723.1 (6.3 kbitjs, [11]) 5.23 5.15 annoying Table 1: Evaluation of TSM-based speech coding systems and the TSM system at 9.65 kbitjs have a comparable performance, although dif- ferences are perceived. For lower bit rates, the AMR coder gives a better quality than the TSM system. These findings can be explained as follows. It is conceiv- able that time scale expansion "repeats" the distortions caused by the coding. It is even possible that in this way distortions of the waveform which are inaudible in the decoded compressed speech become audible after expansion. This effect can be more pronounced if the bit rate of the speech coder that is used in the TSM system is lowered, since a low bit-rate coder will typically introduce more distortions than a higher bit-rate coder. CONCLUSIONS In this study, we have considered the SOLA method and its use for time-scale companding. By incorporating different methods, we have realized a composite time-scale companding system which outperforms the original SOLA method. A new element is the time-scale expansion method for unvoiced speech. Unvoiced speech is. compressed with SOLA, but expanded by insertion of noise having similar spectral shape and energy as the segments adjacent to the regions of insertion. This avoids the artificial correlation which is introduced by "re-using" unvoiced segments. 7 If TSM is combined with speech coders that operate at lower bit rates (i.e. < 8 kbit/s), the TSM-based coding performs worse compared to conventional coding (in this case AMR). If the speech coder is operating at higher bit rates, a comparable performance can be achieved. REFERENCES [1] J. Makhoul, A. El-Jaroudi, "Time-Scale Modification in Medium to Low Rate Speech Coding", Proc. of ICASSP, 1986, p.1705-1708. [2] P. E. Papamichalis, "Practical Approaches to Speech Coding", Prentice- Hall,Inc., Engelwood Cliffs, New Jersey, 1987 [3] F. Amano, K. Iseda, K. Okazaki, S. Unagami, "An 8 kbit./s TC-MQ (Time- domain Compression ADPCM-MQ) Speech Codec", Proc. of ICASSP, 1988, p.259-262. [4] S. Roucos, A. Wilgus, "High Quality Time-Scale Modification for Speech", Proc. of ICASSP, 1985, p.493-496. [5] J. L. Wayman, D. L. Wilson, "Some Improvements on the Method of Time- Scale-Modification for Use in Real-Time Speech Compression and Noise Fil- tering", IEEE Transactions on ASSP, Vol. 36, No. 1, p.139-140, 1988. [6] E. Hardam, "High Quality Time-Scale Modification of Speech Signals Using Fast Synchronized-Overlap-Add Algorithms", Proc. of ICASSP, 1990, p.409- 412. [7] M. Sungjoo-Lee, Hee-Dong-Kim, Hyung-Soon-Kim, "Variable Time-Scale Modification of Speech Using Transient Information" , Proc. of ICASSP, 1997, p.1319-1322. [8] "Adaptive Multi-Rate (AMR) speech transcoding (GSM 06.90)", ETSI TC- SMG,1998. [9] "Enhanced Full Rate (EFR) speech transcoding (GSM 06.60)", ETSI TC- SMG,1996. [10] "Coding of Speech at 8 kbit/s using Conjugate-Structure Algebraic-Code- Excited Linear-Prediction (CS-ACELP)", ITU- T Recommendation G.729, 1995. [11] "Dual Rate Speech Coder for Multimedia Communications Transmitting at 5.3 and 6.3 kbitys", ITU-T Recommendation G.723.1, 1996. 8 PART-OF-SPEECH TAGGING FROM AN INFORMATION-THEORETIC POINT OF VIEW P. Vamoose Katholieke Universiteit Leuven, div. ESAT-PSI Kasteelpark Arenberg 10, 8-3001 Heverlee, Belgium Peter.Vanroose~esat.kuleuven.ac.be The goal of pari-af-speech tagging is to assign to each word in a sentence its morphosyntactic category. Annotating a text with pari-af-speech tags is a standard low-level text preprocessing step before further analysis. An interesting novel approach to the tagging problem is proposed here, by modelling a language as a data source followed by a channel. The Shannon capacity of this simple source/channel model tells us some- thing about the maximally achievable percentage of tagging correctness of any tagging algorithm on an unseen text. INTRODUCTION Automatic naturallanguage processing (NLP) is currently an active research area. Different aspects of NLP have been subdivided into separate topics, as there are (in order of increasing complexity): sentence boundary detection, lem- matisation, part-af-speech (POS) tagging, parsing, and text understanding. These are auxiliary tools for several language-related applications like auto- matic text translation, text-to-speech engines, and intelligent spelling correction. The goal of POS tagging is to assign to each word in a sentence the most appropriate so called morphosyntactic category. This presumes first of all a pre- defined tag set which can contain from 10 up to 1000 different tags. These could for example be "VERB", "NOUN", "ADJECTIVE", etc., or they can be more de- tailed, like "AUXILIARY VERB", "TRANSITIVE VERB", "VERB IN PRESENT TENSE, THIRD PERSON SINGULAR", A tag set must form a partition, in the sense that ... a certain word in a certain sentence can only be assigned exactly one tag. From here on we will assume that a tag set has been chosen and each word in the vocabulary has been assigned a subset of the tag set. If a certain word is assigned more than one tag, this means that this word can have different meanings or functions in different contexts. Such a word may even have different 9 pronunciations, depending on its meaning (and hence its assigned POS tag), like the English word "lives" or the Dutch word "voornaam". A notorious (English) example of a sentence where POS tags disambiguate the meaning is the following: "Time flies like an arrow but fruit flies like a banana", which has the following POS tag assignment: NOUN VERB PREP ART NOUN CON] AD] NOUN VERB ART NOUN. This example also indicates that a first, necessary 'preprocessing' step per- formed by humans in order to understand a sentence consists of a kind of POS tagging. This explains the importance of POS tagging for more complex language applications like machine translation or text interpretation. An other important aspect of POS tagging which can be learned from this example is that 'contextual information' is needed to resolve potential tag am- biguity for a certain word (like 'flies'): knowing the tags of surrounding words helps disambiguating the POS tag of a certain word. In order to be able to automatically assign POS tags, it is thus necessary to deduce rules, or at least probabilities for co-occurrence of POS tags in a sentence. These rules are of course very language-dependent and can for example be learned from a large text corpus which is manually tagged. Classically, either a completely deterministic rule-based system is built [1], or a Markov model is assumed for tag transitions between consecutive words in the sentence [2], or a richer context model is trained using supervised learning algorithms [3]. These systems typically achieve up to 97 % correctly tagged words on a previously unseen text (even including unknown words), which seems to be an unsurpassable upper bound, partially because of the presence of inconsistencies (or 'noise') in the manually tagged corpora. A SOURCE/CHANNEL CODING MODEL FOR POS TAGGING In this contribution an information-theoretic approach to the POS tagging problem is investigated. Written (or spoken) language can be seen as an (imperfect) communication channel through which humans try to exchange some 'meaning'. So the channel input is the "ideal, unambiguous" sentence, which is (in a somewhat simplified model) the sequence of words plus the attached POS tags, and the channel per- forms an imperfect mapping, thereby only revealing the words. Hence the task of the decoder is to recover the POS tags. 10 Channel input symbols are thus "disambiguated words" while the channel output symbols are just words (without the POS tag). The fact that different 'meanings' can be mapped onto the same word (like "flies" or "like" in the earlier example) reminds of the 'bins' of a multi-user broadcast channel code or the defect cells of a "memory with defects": different channel inputs are mapped onto the same output. The first task is thus to model the data source which is generating these channel inputs, i.e., the naturallanguage itself, disambiguated with POS tags for every word. Classical approaches to POS tagging use this idea of an information source whose behaviour has to be modelled, although the term 'source modelling' is never used explicitly. Also, there is still the channel to be dealt with: we don't observe the source output directly but only the channel output. This source/channel separation was never considered before. SOURCE (W, T) W POS I CHANNEL I t P(W, T) I I tagger Of course, the traditional channel coding model does not apply since we do not have controlover the channel encoder. But remarkably, natural languages (or at least the languages considered here viz. Dutch and English) seem to be optimised in this respect that the encoding from POS tags to words is maximally unambiguous (except maybe in texts that want to exploit the ambiguity in the language, like poems or humoristic texts). Hence, provided that we are given a reasonably accurate source model, we mayassume that the channel capacity tells us what the optimal accuracy is of POS tagging. This is the main added value of this new approach. A MODIFIED SOURCE/CHANNEL MODEL In the source/channel proposal of the previous section, the probabilistic be- haviour is completely modelled by the source, whereas the channel acts deter- ministically because it just drops the POS tag part of the source symbols. The motivation for this is its correspondence to the concept of 'meaning' as part of the source, namely the person who wants to communicate something. The channel 11 part of the model then corresponds to the fact that the speaker must make use of an (intrinsically ambiguous) language. An alternative split-up of source and channel is maybe less intuitive but proves to be more useful: the source is producing a sequence of POS tags only and the channel maps each of them onto words. SOURCE T W POS I CHANNEL I t P(T) I P(WiITi) I tagger Whereas in the first approach only the source has to be modelled, now both the source and the channel must be modelled by observing (a lot of) sample output. Clearly, in both approaches, the source is not memoryless: the possible se- quences of POS tags generated by a natural language are constrained to satisfy the grammar of that language. For example, in Dutch or English an article ('de', 'het', 'een', 'the', 'a', 'an') must be followed by a noun or by a noun group (adjective(s) + noun). This explains why an important family of good POS tagging algorithms like the Brill tagger [1] are rule-based: naturallanguages do really satisfy their gram- matical rules to a large extent. But there are two clear drawbacks ofthis approach: such a deterministic source model does not easily generalise to other languages (since the grammar rules are very language specific) and moreover it is not 100% accurate, which explains the intrinsic limit of around 97 % correct POS tagging when using this kind of source models. Note that the channel may safely be assumed to be memoryless: if the POS tag set is rich enough, all inter-word stochastic dependencies can be explained by the POS tags. Hence the channel "randomly" replaces tags with words where the choice is of course limited to those words that have that tag in their tag set. The simplest non-memoryless generalisation from a deterministic to a proba- bilistic source model is a (hidden) Markov source: at any time instant the source is in a certain state and moves to a next state (governed by a state transition probability matrix), thereby producing one source output symbol, which is a POS-tagged word in the first model, or a POS tag in the second model. The earliest non-rule-based POS taggers used a hidden Markov model [4]. 12 In a certain respect, this is more restricted than what a deterministic source model can describe, since the memory of the source is at most one symbol. Typ- ically, at least for languages like English and Dutch, we need a memory depth of at least two words to accurately describe a source model for a language, cf. lan- guage modelling [5, 6]. Of course, for a full disambiguation, in some cases a much longer memory would be needed. But on the average no significant improvement is obtained with a memory of more than two symbols. The main advantage of a probabilistic model is that the source statistics can be estimated by observing the source output, i.e., from a (manually) POS-tagged corpus, and no expert knowledge about the language is needed. But it turned out that a simple Markov model is not good enough for POS tagging, mainly because of the limited amount of information that it can represent. Therefore, other techniques were proposed to 'enrich' the "POS tag source" model [2, 3]. MODELLING THE CHANNEL The channel input alphabet consists of tags {Tj, j = 1 ... M}, and the output alphabet is the set of all words {Wk, k = 1 ... N} from the language. The channel statistics can be estimated from a sufficiently large POS-annotated text corpus, using a simple empirical distribution for P(Wk ITj). Since also unseen words could show up, a kind of back-off discounting strategy is needed to reserve probability mass for such words [5]. An alternative is the use of a Krichevsky-Trofimov (KT) estimator, as was done in [6] for language modelling. Experiments were performed on two tagged corpora: the (American) English Wall Street Journal corpus, tagged with the Penn Treebank tagset [7], and the dutch CGN (corpus gesproken Nederlands) database [8]. The WSJ Penn Treebank consists of 1037224 tagged words in 49203 sen- tences from WSJ newspaper articles from 1989. It uses 36 different, mutually disjoint POS tags, including e.g. NOUN, PLURAL-NOUN, PROPER-NOUN, VERB, VERB-PAST, VERB-THIRD-PERSON-SINGULAR. This tag set is very language- specific, as there is e.g. no tag for a verb in the second person singular form. The channel capacity of this simple channel model can be calculated based on the empirical distribution derived from the Penn Treebank for WSJ. Combined with the obtained source model, a theoretical upper bound of about 93 % is found. This seems to contradiet the achieved 97 % correctness of current state-of-the-art POS tagging algorithms. 13 An explanation for this is that we assumed a memoryless channel here. This was based on the assumption that all memory can be modelled by the source, i.e., the POS tags only. This is only valid when the POS tag set is rich enough. This is clearly not the case for the Penn Treebank: e.g., depending on the gender of a PROPER-NOUN, the channel is not allowed to freely choose between "his" and "her" further on in the sentence. The CGN corpus uses a set of about 300 tags, so the expectation is that the channel capacity calculated from the CGN corpus will give an upper bound of about 98 % on the correctly tagged words. REFERENCES [1] E. Brill, "Some advances in transformation-based part of speech tagging", in: Proceedings of the Twelfth National Conference on Artificial Intelligence, vol. 1, pp. 722~727, 1994. [2] J. Zavrel,W. Daelemans, "Recent advances in memory-based part-of-speech tagging", in: Aetas del VI Simposio Internacional de Comunicacion Social, Santiago de Cuba, pp. 590~597, 1999. [3] A. Ratnaparkhi, "Learning to parse naturallanguage with maximum entropy models", Machine Learning 34, pp. 151~175, 1999. [4] S. DeRose, "Grammatical category disambiguation by statistical optimiza- tion", Computational Linguistics 14, pp. 31~39, 1988. [5] M. Federico, R. De Mori, "Language modelling", chapter 7 from Spoken dia- logues with computers, Renato De Mori, ed., in series "Signal Processing and its Applications", pp. 199~230;Academic Press, 1998. [6] P. Vamoose, "Stochastic language modelling using context tree weighting", in Proceedings of the Twentieth Symposium on Information Theory in the Benelux, Haasrode (May 1999), pp. 33~38. [7] M. Marcus, B. Santorini, M.A. Marcinkiewicz, "Building a large annotated corpus of English: the Penn Treebank" , Computational Linguistics 19(2), pp. 313-330, 1993. [8] F. Van Eynde, J. Zavrel, W. Daelemans, "Part of speech tagging and lemma- tisation for the spoken dutch corpus", in Proceedings of the Second Int'l Con]. on Language Resources and Evaluation (LREC), Athens (May 2000), vol. Ill, pp. 1427~1433. 14 Embedded connectivity with Bluetooth Prof. dr. ir. Jaap C. Haartsen Ericsson Licencing Technology AB, Emmen, the Netherlands Abstract: The rapid progress in radio and VLSI technology we are experiencing lately has led to the widespread of computing and communication devices for commer- cial usage. The success of consumer products like PCs, laptops, PDAs, cell phones, cordless phones, and their peripherals have been based on continuous cost and size reductions. Recently, a new universal radio interface has been developed enabling these electronic devices tot communicate wirelessly via short- range ad-hoc connections. The Bluetooth ™ technology eliminates the need for wires, cables and the corresponding connectors between potable (and fixed) equipment, and paves the way for new and completely different devices and applications. The technology enables the design of low-power, small-sized, and low-cost radios that can be embedded in existing (portable) devices. In analogy to embedded computing which relates to a microprocessor in every device, Bluetooth will bring embedded connectivity which relates to a radio transceiver in every device. In this presentation, some fundamental issues regarding ad-hoc connectivity are discussed, and what makes the Bluetooth radio interface different from other radio interfaces. In addition, an overview of the Bluetooth radio system is given. Finally, a short status of the specification work is given. 15 A NEW BLIND SIGNAL PROCESSING ALGORITHM FOR MUL TIUSER DETECTION J. Levendovszky", L. Kovács", G. Jeney ' and E.C. van der Meulen2 1 Budapest University of Technology and Economics Department of Telecommunications Pázmány P.sétány liD, H-1l17, Budapest, Hungary {levendov,koVaCS1,jeneyg }~hit.bme.hu 2 Katholieke Universiteit Leuven, Department of Mathematics, Celestijnenlaan 200B, B-300l Leuven (Heverlee), Belgium The paper is concerned with proposing a novel adaptive algorithm for decor- relating weakly stationary random processes. The proposed decorrelation technique proves to be instrumental for multi-user detection where the sta- tistical independenee of data streams are to be restored at the receiver side. The detector architecture contains a channel identifier followed by a stochas- tic Hopfield net. On the other hand, the method can be used for equaliz- ing radio channels with severe intersymbol interference without training se- quence, which is a frequently occurring task in blind signal processing. The convergence of the new algorithm is proven in mean square and studied by extensive simulations in the case of typical radio channels, in the presence of multipath propagation. INTRODUCTION Direct sequence code division multiple access (DS-CDMA) is an attractive variant of wireless multiple access communication. The task of multi-user detec- tion boils down to independent component analysis, when receiving a mixture of statistically independent signals together with additive noise and the inde- pendenee of signals is to be restored. A potential solution to this problem is the maximum-likelihood (optimal) multi user detector which was introduced by Verdu [IJ. Although the performance of the optimal multiuser detector almost reaches the performance of single-user detection performed over single-user chan- nel, its computational complexity is rather high. One can seek alternative ways for carrying out MUD by using neural nets. It has been pointed by [8J that stochastic Hopfield net is capable of multi-user detection. To apply this algo- rithm to detection one should need the channel characteristics, which can vary in time due to multipath propagation. Furthermore, a training sequence is not available either, since changes of channel characteristics (selective fading) takes place randomly. Therefore, the underlying challenge is to develop blind detection algorithms which can optimize detection performance based only on processing the received signals. In this paper blind detection is carried out by two different architecture: ft o.ceive usens aSSUIfl€(j klloJ.lIJ. [g~VQJ\ b~ So~ ptolt>c.ot 1.f. tnebt1_ CLo.NtI] 17 1. an adaptive decorrelator followed by a stochastic Hopfield net; 2. an adaptive decorrelator followed by a signum detector. In the first case, the decorrelator is able to identify the channel characteristics without a training sequence, while the stochastic Hopfield net can perform near optimal multiuser detection, since the stochast ie Hopfield net is able to globally minimize an underlying quadratic form by adding some noise to the original Hopfield state transition rule [9]. In the second case the decorrelator eliminates both the intersymbol and mul ti us er interference. In both way, near optimal MUD can be carried out. 1. SYSTEM MODEL In this paper we investigate an asynchronous multi-path propagation model. The transmitted baseband equivalent signalof the kth user is denoted by qk(t). Applying BPSK modulation, the kth user transmit bdi] E {-I, I} binary sym- bols, where i refers to the time instant. The transmitted signal is given as NB qk(t) = Ak L bk[i]Sk (t - iT - Bk) , 1:=1 where Ak denotes the signal amplitude associated with the kth user, T refers to the time period of one symbol, Bk denotes the delay of the kth user, and NB is the block size, respectively. The spreading waveform of user k is denoted by Sk(t), and can be written as follows PG-l Sk(t) = L Sk[i]e(t - iTe). i=O Here Sk [i] E {-I, I} denotes the i th time-chip of user k based on the Gold code set of length 31 [4]. e(t) denotes the elementary waveform, and PG refers to the processing gain (PG = 31). The chip duration is denoted by Te = T / PG. Each user is transmitting over a specific channel which can be characterized by its impulse response function, denoted by hk(t). Thus, the received signal can be written as (1) k=l where K refers to the number of users, n(t) is a white Gaussian noise with a constant one-sided No spectral density. Unfortunately, synchronous high bit-rate communication cannot be main- tained in practice, due to multi-path propagation. For the sake of generality, we assume a general channel impulse response function hk(t). To shorten the forthcoming formulas, we define a new function as (2) 18 Substituting this into (1) one obtains K NB r(t) = L L Ak(t) which contains all correlation information between (t- iT)A b[ij + ü(t), (5) i=l where A = diag [AI, A2, ... , AK], and r(t) = (i'l(t), i'2(t), ... ,iJ«t)f, b[ij = (bdi), b2[i), ... , bK[ilf, and ü(t) = (iT), which is the discrete-time channel matrix. To describe the detection schemes in an easy-to-understand manner, it is helpful to use the following block notation where b[i], bril and ü[il are written into column vectors with KNB elements b [bl[l], b2[1], , bK[l], bl[2], ,bK [NBW, b [bl[l], b2[l), , bK[l], bl[2], ,bK[NBW, fi [ih[l], ridl], , nK[l], nl[2], , nK[NBW, respectively. Using these vectors, the convolutional product in equation (6) can be rewritten as a simple multiplication (7) where AA = diag [A, A, ... ,Al is a K NB X K NB dimensional diagonal matrix, containing NB sub-matrices of A. Moreover, matrix R is a K NB X K NB di- mensional block Toeplitz matrix and Hermitian (R[il = (R[ _i])H for all i) with diagonal dominance (l.R.;il > l.R.;jl \I(i,j); i i- j). Furthermore, it is a sparse matrix, in most practical situations only a few sub-matrices differ significantly from zero (R[k], \llkl :S 6). 19 The traditional single-user detector (SUD) applies a simple signum decision function after (7), yielding (8) which cannot handle multiple access interference. That is why in most cases it results in poor performance. In the rest of the paper a variable with hat refers to the estimated value of the original variable (without hat). If R is diagonal then the single-user detector defined in (8) offers an appealing solution. However, in most cases R is definitely not diagonal, which is mainly due to the existence of interference sources on the channel. This problem motivates the use of MUD techniques [1]. An algorithmically simple but near optimal multiuser detector architecture is the so-called stochastic neural network. Its performance is analyzed in [8]. The proof about its dynamics and stationary behavior is given in [9]. The operation of the stochastic Hopfield neural network is described by its state transition rule, given as Yl [Cl = sign { I-l .r; WIJ Yj [Cl + f; M WIJ Yj [C - 1] + Vi + vdC] } , (9) where Yl[C] is the output of the lth neuron at the Cth iteration (in one iteration the whole network is updated, so 1 = 1,2, ... , M), and M denotes the dimension of the network. Vi is the decision threshold of the lth neuron and WIJ is the connection weight between the output of the jth neuron and the input of the lth neuron. Parameter VI [Cl is a white noise that follows logistic distribution (Pr{vdC] = v < x} = 'P",(x) = l+el_ax) with decreasing variance (a ----7 00). The parameters of the network in (9) should be adjusted as follows: M = K . NB, W = - (R - diag [Rl), V = b bSHN = sign { lim Y[C]}, e~#,t (10) where #it is the number of performed iterations. In this paper it is set as #it = 100. In the simulations we applied a = 0.09 . C, which is not proven to be an optimal choice, but it was feasible for our purposes. So far we have assumed the perfect operation of channel matched filter in (5), which could provide all the above mentioned parameters in (10). However, in practice (and in the rest of the paper) the channel matched filter provides only an estimated version of b denoted b. The task of estimating the discrete-time channel matrix R belongs to the employed channel identification algorithms. 2. BLIND CHANNEL IDENTIFICATION In this section a novel adaptive decorrelation algorithm will be described. This algorithm is not only able to perform inverse channel identification but it 20 SOM / ADM daptation metho Figure 1: The Structure of the Proposed Detector Schemes can eliminate multiuser and intersymbol interference at the same token. The algorithm is given as (11) where W denotes the current estimate of the channel matrix, f, = W kb, I is the unit matrix, and (k is the learning parameter (which was decreased linearly with time in the simulations). It can be proven [7] that the algorithm above converges to the steady state E [f,f,T] = I in mean square. This implies that in stationary state the multiuser interference is eliminated. This method generates the inverse estimate of the original R, which can then be plugged into SHN: RA ADM _ W-1 k - k· Here index" ADM" refers to Adaptive Decorrelation Method. The proof of the convergence of ADM can be put down to the solution of the following ordinary matrix differential equation: dW(t) = W(t)R2W(t) _ I (12) dt The stability of (12) is proven analytically for one-dimensional case. dw(t) -- = r2w2(t) - 1 (13) dt This result can numerically be extended to multi-dimensional case. The asymp- totic value of matrix W was calculated numerically for many practical channel models R and for all models the convergence holds: lim Wk = R-1 k-wco In order to compare the performance of the blind decorrelation algorithm with other known methods we have have also implemented the decision feedback learning vector quantizer [6] as channel identifier, given as follows: RA SOM + 'T) (b- _ RA SOM _ RA SOMbA) bAT (14) k+l - k k k k k k' 21 where bk represents the the kth detected binary vector block at the output of MUD. Subscripts denote the block counter, which is also the iteration instance of the channel matrix updating method. To analyze the efficiency of channel identification quantitatively, we used the no- tion of the 2-norm (the largest singular value of a matrix) of the actual difference between the adaptive matrix Wand the inverse of the channel matrix R. The faster this norm converges to zero, the better channel identification we have. Finally, for the sake of better comprehension, the proposed architectures are de- picted in Figure 1. Note that the perfect operation of the channel matched filter is assumed, although only its soft output values are used in the detector. The estimation of R is the task of the adaptation method, depicted in the bottom of the picture. The estimation method relies on the output of the detector (b) and the output of the channel matched filter (b). At the same time the stochastic Hopfield network was operating with the esti- mated values of R, denoted by R. 3. PERFORMANCE ANALYSIS In this paper a simple AWGN channel is used in the simulations, although the proposed schemes are capable to operate in more sophisticated scenarios as well. Here the elementary chip waveform is based on PAM modulation (e(t) = 1, if 0 < t < Tc and 0 otherwise), the channel distortion is neglected (hk (t) = 1 for all k and t), only the interference between users and the Gaussian noise jam the signals. Note that AWGN channels may be disadvantageous for multiuser communication due to the lack of multipath diversity gain [8]. In all cases the processing gain is equal to 31. 10 10~ L...c----c:----::--~--::12:-----c:---7:,6---::---:::--j SN" Figure 2: Bit Error Ratio vs. Ebi No (SNR) with fully known channel parameters 22 In Figure 2 the basic multiuser detection methods is shown with perfect channel parameter estimates (no adaptation is needed in this case). The number of active users is 25. This figure serves reference purposes to provide a comparison between the existing structures. It is expected to justify why SHN is used for MUD. It is very striking that SHN requires only 2 dB more to reach 10-2 bit error ratio than the optimal detector. Meanwhile, the linear solutions are capable of the same performance with 6 dB extra. SNR Figure 3: Bit Error Ratio vs. Eb/NO (SNR) with blind channel estimation In Figure 3 the performance of the adaptive SHNs and the standalone ADM are depicted. The figure contains the BER curves. One should note (see Figure 2) that with the adaptive solution almost the same performance can be reached as in the non-adaptive case. In Figure 4 the convergence property of the ADM structure depicted. Here the parameter refers to the bit energy per noise variance ratio. Note that even in very noisy environment (where Eb/No = 0 dB) the method does not diverge. This property is very important from the practical point of view, because it means that the detector is able to return from deadlock situations without external help. Similar statements can be made for the SOM structure. CONCLUSIONS In this paper a novel multiuser detector architecture was introduced con- taining a channel identifier followed by a stochastic Hopfield net. The channel identification algorithm is based on blind, adaptive decorrelation. In this way, there is no need for a training sequence to identify channel. The performance of the new detector proved to be near optimal which was also demonstrated by extensive simulations. 23 30r---~---~--~---~-------, 1.5 ltetatlon c:yclH Figure 4: ADM convergence in case of different noise powers ACKNOWLEDGMENT The research reported here was partly supported by the project T025964 granted by the Hungarian national Scientific Foundation, by ETIK, and by RTD USA BME Laboratories. REFERENCES [1] S. Verdu, Muliiuser Detection, Cambridge University Press, 1998. [2] J. G. Proakis, Digital Comm., McGraw-Hill, 1995. [3] T. Kohonen, Self-Organizing Maps, Springer, 2000. [4] R. Gold, "Optimum Binary Sequences for Spread Spectrum Multiplexing," IEEE Trans. Information Theory, vol. 14, pp. 154-156, 1967. [5] J. J. Hopfield, D. W. Tank, "Neural Computation of Decision in Optimization Problems" Biological Cybernetics, vol. 52, pp. 141-152, 1985. [6] A. Hottinen, "Self-organizing Multiuser Detection," IEEE Symp. Spread Spectrum Techn. and Appl., vol. 1, pp. 152-156, 1994. [7] J. Levendovszky, L. Kovács, "A new blind signal processing algorithm for decorre- lation and channel equalization," Accepted for presentation at the VIPromCom2001 Symposium Zadar, Croatia, JunI3-15, 2001 [8] G. Jeney, J. Levendovszky, "Stochastie Hopfield Network for Multi-user Detection" European Conf. Wireless Techn., pp. 147-150, 2000. [9] G. Jeney, J. Levendovszky, S. Imre, "Near Optimal MUD Applying Stochast ie Hopfield Network," Submitted to IEEE Trans. Circuits and Systems 24 Suboptimal Approximations in Simultaneous Detection and Estimation Problems M.H. Vellekoop Department of Applied Mathematics, University of Twente P.O. Box 217, 7500 AE, Enschede, The Netherlands Phone + 31534892087, Email: m.h.vellekoop@math.utwente.nl Abstract We study the behavior of a finite-dimensional suboptimal filtering algorithm for the detection of a jump of unknown size in a noisy environment. This filter is based on a projection operation in the space of conditional densities, which mini- mizes the Kullback-Leibler infonnation in a suitably chosen nonnalized manifold of probability densities. Almost sure convergence of the filter estimates to the ap- propriate values is proved. 1 Introduetion The problem of detecting a suddenjump in a noisy signal becomes considerably harder when it is assumed that the size of this jump is not known a priori. Indeed, a vast body of literature exists on the standard detection problem where the size of the sudden jump is known (see for example the papers by Basseville [1] and Lai [4], and the books by Basseville & Nikiforov [2] and Shiryaev [5] and the references mentioned in these papers and books), but relatively little has been established for the general case with unknwon jump size. Let (Q, :F, P) be a probability space on which we define a signal 0.:::: n < r(w) n >: r(w) for nE N, which jumps from the value zero to the stochastic value X, the jump size, at the stochastic jump time r. The stochastic variable X : Q --+ IR is assumed to have a density f with respect to Lebesgue measure on the real line: so P(X ::::x) = J~oo feu) du and the stochastic jump time r : Q --+ N is a stochastic variable on the positive integers with P(r = k + 1) = gk > 0 for kEN and PCT = 0) = O. We de- fine the hazard rate Àn as À" = ~, which is the probability that the jump occurs L-k>r! 8k between time nand n + 1 given the -information that it hasn't occurred before that time. We assume that we observe this signal embedded in Gaussian white noise, that is we define a discrete observations process Z~ = {Zb k = 0, 1, ... , n} according to Zo = O. (1.1) where the {Wn, n :::O} are independent and identically distributed Gaussian variables with mean zero and variance one, which are assumed to be independent of both X 25 and T. The constant E is a strictly positive parameter describing the intensity of the observation noise. We use the notation :F" for the a-algebra of available information at time n, which is generated by the process {Wn, n e: O}, and we assume that JU contains the o-algebara generated by the random variable X. We note that solutions for the detection problem for known values X = a have been established; Shiryaev[5] has proven that for many Bayesian optimality criteria the best detection schemes are given by an alarm whenever the conditional probability that a jump has occurred st; = lP'(n ::: T I :F,,) exceeds a certain threshold. This conditional probability can be found on-line, using 1ro = 0 and the update formulas 1 1 + Ln/Àn gn+1 t; gnR~+1 1 + t; where the process {Ln, n :::O} is known as the likelihood ratio process. Analogously, the solution to the estimation problem for a known time of change T would be easy to implement since it would simply boil down to the Kalman filter for constant signals, which is optimal in a mean-square sense. The optimal filter estimate at time n, Xm can then be found on-line using the scheme E2Qn Qn+E2 Xn + Qn+l (Zn+I - X ) E~ -1- n with initial conditions Xo = lEX and Qo = Var X. We note that this filter is only optimal when X is assumed to have a Gaussian distribution but the filter will still perform very well if this is not the case. If both X and T are unknown a priori, the problem becomes a lot harder, but the conditional probability density of Sn given the observation record z" = {Zb 0 ::: k :::n} can still be calculated in a fairly explicit fOITO. We simply state the theorem here; it can easily be proved by tedious yet trivial calculations involving repeated use of Bayes' rule. We will allow the slight abuse of notation which represents the Dirac measure with its unit mass at zero as the integral over a fictitious Dirac-density 8o(x), i.e. fA 8o(x)dx = 1,oEA} for sets A C IR. Theorem 1.1. The conditional density Ps.iz; of the signal Sn given the observations Z" = {Zk, 0::: k ::: n} is given by n-I PSnlz",(x) = (Nn)-I [qn(x) + (1- Z::>k) 8o(x) ], (1.2) k=O where qn follows the Zakai-like equation: q~+1(x) = (f(x) gn + qn(x» exp [ {ï Z"+I - ;:2 ], (1.3) 26 ( n-I where qo(x) = 0 and N; = ln? qn(x)dx + 1 - {;gk is a normalizingfactor. From this theorem, the conditional expectation of Sn and the conditional probability of the jump having ocurred (given the observations up to time n) can now be calculated as follows: lP'(n ~ r I .4,) . (l.4) '7] IE[Sn I "'-?I = 1 n?. xps ()d x -- 12>. x r JRxq.(x)dx JR q. (x)dx+ ~ j 1- L-t=O s« (1.5) so both are characterized completely in terms of the conditional density qn' 2 The Filtering Algorithm The Zakai equation describes the evolution of an infinite-dimensional object, the un- normalized conditional density, and no finite-dimensional representation exists for this object. For on-line finite-dimensional implementations of algorithms for simultaneous detection and estimation we must therefore resort to the design of approximations. As a first attempt one may try to combine the Shiryaev-detector described earlier with a Kalman filter. This would mean that we would have to choose a certain value a as a first guess for the unknown jump size X, and design a Shiryaev-detector based on it. At the first moment that the detector would generate an alarm we could then start the appropriate Kalman filter. In practice, this will not be a very efficient filter. Indeed, since we would have to guess the value of the jump size, there may be a considerable detection delay involved. However, a possibly much more important problem concerns the filtering part, since we would start the Kalman filtering algorithm relatively late, after the detector has collected enough evidence that a jump has indeed occurred. It is not possible to start the Kalman filter earlier since the evolution of the variance of the Kalman filter does not depend on the incoming signal and the Kalman gain will be very small if the jump occurs relatively late. What we need is a more efficient combination of a detector and a filter. In [7] a new algorithm was proposed in which the Zakai equation was projected upon an unnormalized statistical manifold using the Kullback-Leibler information criterion. The structure of the resulting equations show a mixture of the Shiryaev-detector and the Kalman filter, which was shown to perform very well in simulation studies when it was compared to the exact (infinite-dimensional) implementations. We present here a 27 simplified form of these equations as the new filtering algorithm for the problem under consideration: 1 + L"+I/}..."+1 Q,,+1 = 1 Q" + L,,+1 1 1 + L"+1 Q" + 1 1 + L"+1 E2 with 0 < Qo < ~, Lo = !z, Xo > O. Here re; and X" are the approximated estimates for the conditional probability that a jump has occurred and the estimate of the jump size respectively. The value of a must be chosen in such a way that 0 < 2a < X, i.e. we assume that the sign of X is known on beforehand and that it is bounded away from zero. See [6] on why such conditions are appropriate. 3 Convergence To prove convergence of the scheme, we first formulate and prove a lemma which we will repeatedly use later on. Lemma 3.1. Suppose that we have three processes G" ::::0, F" ::::0 and R" ::::0 such that and then the summation over F converges aLmost surety, with finue expectation: 00 00 lP({w: L F,,(w) < oo}) = 1 and LIEF" < 00 ,,=0 ,,=0 " Proof. Define the stochastic process F" = L Fi, Taking expectations gives k=O " IE(Ro - R +1) ll + L IEGk < K (3.1) k=O 28 for some finite deterministic constant K, for all possible values of nE N. Let A be the subset of Q where the increasing process F diverges and define auxiliary subsets At : N - A = {cu E Q : lim Fn(cu) n--->-oo = -l-oo}, Ak = {cu E Q : Fk(CU) > N} then we have that A C lim At for all values of NE Nand k-s-o» but this implies that for every IV lim lEFk :::: N peA) k-o co for all possible values of N, and by (3.1) we must thus have peA) = o. • We can now prove our main Theorem which shows that the approximate scheme converges to the correct values almost surely. Theorem 3.1. If X> 2a > 0, 0 < Qo < fz and (gn)nEI\I is decreasing, then lim tt; ~. 1, lim Xn~' X, lim Qn ~. 0 n-->OO n-->oo n-->OO Proof. Standard results learn that for ~ W a Gaussian variable with mean zero and unit variance which is independent of the o-algebra 'F,., we have that for n > T lE[l/ Rn+l I 'F,.] = One may easily show that for every value p > 0 the maximum of the function 1+ q _ _f!9._ q -+ e 4(1+2q) .Jl + 2q for q ::::0 is less than or equal to one. Since 0 < Qo < fz and since 1 1 Ln+l 1 1 o < Qn < 2" ~ 0 < Qn+l < 2 + . 2 2 E 1 + Ln+l E 1 + Ln+l E E we have by induction that (Vn EN) 29 Since X > 2a > 0 this implies + 2a(X - a) ~X2Qn 2a(2a - a) a2 > 2E (1 + 2Qn) 2 2E2(1 + 2(~)) 2E2 ~X2Qn + 2a(X - a) ~(2a)2~ a2 > 2E2(1 + 2Qn) 2E2 4E2 so we conclude that for n > r and thus, since B« is decreasing, (3.2) But we then have that L; ::=: 0 for all nE N while lE[Ln+1 - L; 1 .1;,] ::: 0 so the process {Ln, n E N} is a positive supermartingale and hence it converges almost surely to a finite positive stochastic variable L(w) but (3.2) implies that (3.3) for all k ::=: r so by Fatou's lemma lEL ::: lim lELn = 0 n->OO and therefore L(w) = 0 for almost all co which implies that lim it ; = 1 almost surely. tl~OO We then compute lE[(E2 Q"+1 - E2Q" 1 1;,] (3.4) 2lE[ 1 Qn L"+I 1 1 a: E 1 + Ln+l Qn + 1 + 1 + Ln+l E2 -'n] - Qn < é( 1 -l)Qn+lE[ ['n-I-I 1.1;,] ç: +1 1 + Ln+1 < Defining for n ::=: r, E2Q2 F. - n G" = lE[Ln+l 1 .1;,] n - Qn + l' we see that all three processes are positive while 00 00 LlEG" n=O LlEL"+1 n=O < 00 30 by (3.3), and using (3.4) we see that all the conditions of the Lemma are satisfied and we may therefore conclude that 2Q2 L 00 IP'({CV E Q : E n < OO}) = 1 n=O Qn + 1 which implies that the process Qn converges to zero almost surely. The second part of the Lemma then gives that 00 éQ2 LIE n < 00 n=O Qn + 1 which implies that 2 2 ~IE E Q;' < ~IE E Q;' < 00 ~ (Qn + 1)2 ~ Qn + 1 and if we define then lE[Vn+1 - v" I ,1;,] (3.5) E2Q2 ( 1 1)(X X)2 + (1 + Qn)2 n (I+Q,,)2 - " - we see that we can apply the Lemma again using (3.5) when we choose Qn ( )2 F" = (Q" + 1)2 X" - X , from which we conclude that (Xn - X)2 also convergens almost surely and for almost all cv E Q ~ (Q,,~ 1)2 eX" - X)2 < 00 (3.6) and we are therefore done if we can show that · Q" + 1)2 = 00 IlID (3.7) "-->00 (QIl 31 almost surely, since (3.6) then implies that (Xn - X)2 converges to zero almost surely. To prove (3.7) note that since Qn ::: 1/ E2 , 1 QIl Ln+l 1 1 + Ln+l 1 + Qn + 1 + Ln+l E2 > 1 ------ a. + ------ Ln+l a. 1 + Ln+l 1 + Qn 1 + Ln+l 1 + û« which implies that 1 1 -- < < -+n Qn+l Qo which gives that > which proves (3.7) and hence the Theorem. • References [1] M. BassevilIe. Detecting changes in signals and systems, a survey. Automatica, 24:309- 326, 1988. f21 M. Basseville and I. V. Nikiforov. Detection of Abrupt Changes: Theory and Application. Prentice Hall, Englewood Cliffs, New Jersey, 1993. [3] D. Brigo, B. Hanzon, and F. LeGland. Approximate filtering by projection on the manifold of exponential densities. Bernoulli, 5(3):495-534, 1999. [4] T.L. Lai. Sequential changepoint detection in quality control and dynamical systems (with discussion). Journal ofthe Royal Statistical Society B, 57(4):613~58, 1995. [5] A. N. Shiryayev. Optimal Stopping Rules. Springer-Verlag, New York, 1977. [6] M.H. Vellekoop. Rapid detection and estimation of abrupt changes by nonlinear filtering. PhD Thesis, Imperial College, 1997. [7] M.H. Vellekoop. Estimation of jumps of unknown size in white noise. Submitted to Automatica,2001. [8] M.H. Vellekoop and J .M.C. Clark. Asymptotic behaviour of the optimal filter of jump and slope jump processes. In Proceedings of the 35th Conference on Decision and Control, Kobe, 1996. 32 HEAD DETECTION, TRACKING AND POSE ESTIMATION 1. Ravyse , H. Sahli , J. Cornelis Vrije Universiteit Brussel, Faculty of Applied Sciences Department Electronics and Information Processing ETRO-IRIS Pleinlaan 2, B-1050 Brussel, Belgium {icravyse, hsah li.jpcornelj Oetro.vub.ac.be In this paper we present an approach for automatically segmenting and tracking faces in calor images. Segmentation of faces is performed by a two-step classifi- cation based on skin calor and shape verification. First, the skin-like regions are determined by their chrominance attributes Cr and Cb in the Y CrCb calor space. Then the face is detected as a region with elliptical shape with symmetrical facial features. The tracking is realized using a 3D ellipsoidal model and optical flow. The optical flow is interpreted in terms of rigid motion of the 3D ellipsoid. INTRODUCTION The goal of our research is to analyze a moving person 's head in front of a static camera. This scenario is relevant for the application of videophony, the animation industry, creation of virtual conferences, etc. In our previous work [1][2] we focused on eye and mouth detection, tracking and gesture analysis for which the initial position of the face was given manually. This work provides an automated initialization step by detecting and tracking the face. It deals with the detection/tracking and rigid motion estimation of a face. Face detection is a two stage process: the face hypothesis stage selects all possible face candidates, then the face verification finds the 'best fit'. The technique we use for the tracking and motion estimation is based on constrained optical flow. The optical flow is first estimated and the rigid motion of the 3D facial model that best accounts for the observed flow is interpreted as the head motion. 2D DETECTION OF THE HEAD The task of finding a person's face in an image is commonly referred to as face localization, face extraction or face segmentation. Discriminating features of a face are its color and shape. The skin color is a powerful descriptor for practical use for extracting the human face. A human face has a specific col or distribution that (often) differs from that of the background objects. Chai et al. [7] created such a skin-color map using a histogram 33 technique on a training set of their database of people and used this as a reference for all human skin colors. How well can all skin colors be determined with only one reference map? The answer lies in the used color space and the usage of all other features to distinguish from the other parts of the body or the background. The chrominance information of the skin image, given by Cr and Cb, all fall into the same domain in the Cr - Cb plane of the YCrCb color space. The seemingly difference in skin color is thus mainly characterized by a difference in brightness. Based upon the data of a measured distribution map, boundaries can be drawn around this skin color domain. This can be done as a simple rectangle (Chai et al. [7]), as an upper-limit to RjG or BjG (Brand et al. [6]), as a shell shape in the normalized RGB space (Soriano et al. [13]) or as a polygon taking into account the luminance (Garcia et al. [8]). In this research we follow the approach of [8] where the skin color domain is delimited by a polygon. We perform the face segmentation by thresholding the color input image using the predefined domain of the YCrCb space that describes the human skin. As opposed to the mentioned researchers, our approach considers region based classification rather then pixel based [10]. The advantage of considering regions is that they are more robust against noise and illumination changes. (a) (b) (c) (d) (e) Figure 1: (a) original Miss America;(b) region borders from 'watershed';(c) mean color of every region; (d) region-based classification; (e) pixel-based classification A two-stage classification scheme is used for face segmentation. First the color image is segmented using a previously developed gradient-watershed col or driven seg- mentation scheme [14]. For the detection of skin-like regions the appropriate domain 34 of Cr - Cb is used. The mean color of each detected region is used for the classification. Figure 1 shows the result of the watershed segmentation and the skin region detec- tion. Comparing the pixel based approach (Figure l.e) and the region based approach (Figure Ld) robustness is obtained towards noise and illumination changes. The second stage of the classification (face segmentation) uses a k-rneans cluster- ing approach for eliminating noisy regions. This clustering is applied on the feature space: the skin color map where the skin domain is subdivided into 3 clusters. Due to the assumption that the face skin is more red than other body parts, the supervised clustering is initialized at the red and blue part of the skin domain. A third cluster in between is added to deal with outliers and yellow and black skin. Figure 2 shows the clustering of the skin color map and the corresponding segmentation results defining the candidate face regions. (a) (b) (c) (d) (e) (f) (g) (h) Figure 2: (a) original Murphy; skin color maps with Murphy clusters for (b) Y <= 128 and (c) Y > 128;(d) k-rneans Murphy;(e) original Girl; skin color maps with Girl clusters for (f) Y <= 128 and (g) Y> 128;(h) k-means Girl Afterwards, for each candidate, shape information and facial features information are evaluated. The shape of a face can be approximated by an ellipse. Therefore we compute a best-fit ellipse for each candidate region using a moments-based approach [12]. Then we asses the best face region using symmetry information [9], facial features such as eye corners [3] and luminance variance. Figure 3 shows the result of this processing stage. 35 .. ,"" (a) (b) (c) (cl) Figure 3: (a) region-based classification;(b) best cluster; (c)'best fit ellipse';(d) symme- tryellipse The detection of the face is the initialization step for the tracking of the face in the video sequence. TRACKING AND 3D POSE ESTIMATION OF THE HEAD The goal of our research is to analyze a moving person's head in front of a static camera. A model-based approach similar to the one proposed by Basu et al. [5], for the tracking and estimation of the 3D head pose and rigid movement from the 2D image sequence is presented. It is based on the estimation of the apparent-motion (optical flow) of the detected face region. The 3D head is modeled as an ellipsoid, and its 3D rigid motion parameters are obtained by minimizing the error between the estimated optical flow field and the deformation of the projected (2D) visual vertices of the wireframe-model. The displacements of these projected 2D vertices determine the modelflow. The following function is minimized: 1 ne E(ad;Po,Fo,é,Zd) = - L ((u~ - U~)2 + (v~ - V~)2) (1) nCIc=l 36 Figure 4: projection of the 3D ellipsoids of 2 successive frames on the (XY) 2D image plane It represents the error between the estimated optical flow [ua, va] and the model flow [u M, V M] for a total of ne pixels/points that have a visi bie projection in both image frames. The unknown parameters (which need to be estimated) are the rotations and translations of the model ad, given the initial position of the model point Po,the optical flow Fa, the model geometry e and Zd the focal length of the perspective projection. Opposed to the Basu et al. [5] approach, the motion parameters are represented as velocities (angular and translational), due to the small head movement between successive image frames. Apart of that we use the Polak-Ribiere minimization scheme [11]. A kalman filter is used for the prediction of the new positions of the head in successive frames. This reduces the search area for the head detection and the optical flow estimation. CONCLUSION The evolution of the estimated 3D head position along the video sequence is used for the synthesis of the 3D facial model animation. As an extra asset we also get the texture map for every image with the direct correspondence between the 2D texture coordinates and the 3D vertices of the facial model. In the texture map the facial features are then on a steady position, for the non-rigid facial feature gesture analysis [1][4]. REFERENCES [1] I. Ravyse, M.J.T. Reinders, J. Cornelis, and H. Sahli. Eye gesture estimation. In IEEE Benelux Signal Processing Chapter, Signal Processing Symposium, SPS2000 (March 23- . 24, 2000) Hilvarenbeek, The Netherlands, page 4, Mar. 2000. proceedings cd-rorn. 37 [2] 1. Ravyse, R. Sahli, M.J.T. Reinders, and J. Cornelis. Eye activity detection and recog- nition using morphological scale-space decomposition. In 15th International Conference on Pattern Recognition, ICPR2000 (September 3-8, 2000) Barcelona, Spain, volume 1, pages 1080-1083. IEEE Computer Society, Sep. 2000. [3] C. Achard, E. Bigorgne, and J. Devars. A sub-pixel and multispectral corner detector. In International Conference on Pattern Recognition, ICPR2000, volume 1, pages 971-974. IEEE Computer Society, Sep. 2000. [4] B. Bascle and A. Blake. Separability of pose and expression in facial tracking and ani- mation. In IEEE Proceedings 6th. International Conference on Computer Vision, 1998. [5] S. Basu, 1.Essa, and A. Pentland. Motion regularization for model-based head tracking. Technical Report 362, MIT Laboratory Perceptual Computing Section, August 1996. 13th International Conference on Pattern Recognition (ICPR '96) Vienna, Austria. [6] J. Brand and J.S. Mason. A comparative assesment of three approaches to pixel-level human skin-detection. In International Conference on Pattern Recognition, ICPR2000, volume 1, pages 839-842. IEEE Computer Society, Sep. 2000. [7] D. Chai and K.N. Ngan. Face segmentation using skin-color map in videophone applica- tions. IEEE Transactions on Circuits and Systems for Video Technology, 9(4):551-564, Jun. 1999. [8] C. Garcia and G. Tziritas. Face detection using quantized skin color regions merging and wavelet packet analysis. IEEE Transactions on Multimedia, 1(3):264-277, Sep. 1999. [9] A. Jacquin and A. Eleftheriadis. Automatic location tracking of faces and facial fea- tures in video sequences. In International Workshop on Automatic Face and Gesture Recognition, Jun. 1995. Zurich. [10] Bernd Menser and Mathias Wien. Segmentation and tracking of facial regions in color image sequences. In SPIE Visual Communications and Image Processing 2000, Perth, Australia, volume 4067, pages 731-740, Jun. 2000. [11] W.R. Press, B P.Flannery, S. A. Teukolsky, and W.T. Vetterling. Numerical Recipes in C: The Art of Scientific Computing. second edition. Cambridge University Press, Cambridge, England, 1992. [12) K. Sobottka and 1. Pitas. A novel method for automatic face segmentation, facial feature extraction and tracking. Signal Processing: Image Communication, 12(3):263-281, 1998. [13] M. Soriano, B. Martinkauppi, S. Huovinen, and M. Laaksonen. Skin detection in video under changing illumination conditions. In International Conference on Pattern Recog- nition, ICPR2000, volume 1, pages 839-842. IEEE Computer Society, Sep. 2000. [14] 1. Vanhamel, 1. Pratikakis, and H. Sahli. Automatic watershed segmentation of color images. In J. Goutsias, L. Vincent, and D.S. Bloomberg, editors, Mathematical Mor- phology and its Applications to Image and Signal Processing, volume V, pages 207-214, Pare-Xerox, Palo Alto - California - U.S.A., 2000. Kluwer Academic Press. 38 PRE-PROCESSING OF POLARIMETRIC IR IMAGES FOR LAND MINE DETECTION O. Gonzalez, A. Katartzis, H. Sahli, J. Cornelis Vrije Universiteit Brussel, Faculty of Applied Sciences Department Electronics and Information Processing ETRO-IRIS Plein laan 2, B-1050 Brussel, Belgium {ogonzale, akatarzi, hsahli, jpcornel}@etro.vub.ac.be We propose an efficient method for the combination of the polarization parame- ters of IR polarimetric images, dedicated to the application domain of land mine detection. The paper presents the basic principles and some preliminary results of our approach. INTRODUCTION Modern infrared (IR) imaging systems are sensitive enough to detect weak targets. The performance of IR systems for the detection of shallowly buried land mines is lim- ited due to the background clutter. Over the last few years, IR polarization filters were introduced into thermal imaging systems for improving the low target-to-clutter ratio in infrared scenes. This improvement is based on the assumption that the radiation from the background is not polarized while the radiation from man-made targets is. Most of the current research on this topic is concerned with technological aspects of the use of IR polarization, giving less emphasis on the image analysis itself [1] [2] [3]. It is proven that three IR intensity images, taken from the same scene with three differ- ent orientations of a polarizing filter, are fully sufficient to determine the polarization parameters (Stokes parameters). From the Stokes parameters, a triplet of polarimet- ric images can be derived, namely the intensity (1), a degree of linear polarization (LP) and the polarization angle (8). Each of the three images (I, LP and 8) reflects different polarimetric characteristics of the viewed scene. The aim of this paper is the combination of the polarization parameters for the identification of man-made objects like land mines. We propose a pixel-fusion approach for combining the polarization information, in conjunction image analysis techniques for image enhancement and segmentation. Using the Stokes parameters as an input, we apply the Karhunen-Loeve- Transform (KLT) and produce a set of uncorrelated polar- ization components. The principal component of KLT (the component with the highest eigenvalue) is used as the basis for the identification of mine-like structures. This is performed in two steps: (a) a pre-processing step based on mathematical morphology 39 and wavelet methods for image enhancement; (b) the extraction of markers, which correspond to the possible locations of mine candidates. A watershed segmentation algorithm is then applied on the triplet of I, LP and e polarization images by using the markers derived from the enhanced version of the KLT output. The segmentation results corresponds to potential mine cues in the image. In the following sections, we present the basic principles and some preliminary results of our approach. PRINCIPLES OF IR POLARIZATION The linear polarization state of a light beam is described by a three element real intensity vector, called the Stokes vector S [3]. S = {IQU} (1) The Stokes parameter I gives the intensity of the beam. Q represents the difference in intensities between horizontal and vertical linearly polarized components. U is the difference between linearly polarized components oriented at +45° and -45°. From the Q and U Stokes parameters, we can derive two interesting quantities) namely the linear polarization LP, which represents the degree of polarization, and the polarization angle e (see equation 2). In the case of IR imagery, the polarization parameters I, LP and 8 can be considered as potential inputs for a man-made object recognition scheme, as they include complementary information that reflects different physical characteristics of the viewed scene. Q e = arctan( U) (2) APPLICATION OF THE KARHUNEN-LOEVE-TRANSFORM Principal component analysis using the Karhunen-Loeve- Transform (KLT) is a technique, which is well known in pattern recognition [4] [5]. It is considered as an optimallinear method for reducing redundancy in a given data set. KLT allows the or- thogonal transformation of an n-dimensional vector into a transform space of dimension n, where vector coordinates are decorrelated. Given as an input a multi-variable im- age, with each of its pixels represented by an n-dimensional vector :î; = {Xl, X2, ... , xn}, the KL transform produces a set of transformed images (KLT components), using the eigenvalues and eigenvectors of the correlation matrix of the vector components Xi' The eigenvectors form an orthonormal basis for the transformed data, while each eigenvalue represents the total energy associated with the corresponding transformed image. The term energy describes the degree of variability and the information content for each of the KLT components. A high eigenvalue gives a high energy measure. The transformed 40 image with the highest eigenvalue contains the largest amount of information of the original image. Hereafter, this image will be denoted as principal KLT component. In our study, we consider that polarimetric images are described by a 3-dimensional vector, with each of its components corresponding to one of the three Stokes parameters I, Q and U. After applying the KL transform, we select the image, which corresponds to the principal KLT component. By this way, we manage to combine all the polarimetric attributes of the viewed scene in a single image. This will be the basis of our scheme for the identification of mine-like structures. Based on the result of KLT, we try to identify markers that depict the location to potential mine candidates. Using these markers, the mine cues can be detected by segmenting the triplet of polarimetric images I, LP and 8. In general, polarimetric images are contaminated with high levels of noise, hampering the object detection. For this reason, we apply first a pre-processing step for noise removal and contrast enhancement. The proposed image enhancement method is applied to the result of KLT, as well as the I, LP and 8 images. THE PROPOSED SCHEME FOR IMAGE ENHANCEMENT The image enhancement process consists of a sequence of denoising and contrast enhancement steps. The noise is gradually removed from the image using a set of non-linear morphological filters, followed by a denoising algorithm based on wavelet decomposition. Initially, we remove the salt-and-pepper noise, by using an Alternating Sequential Filter (ASF) [6], with a square flat structuring element (SE) of size 3. The ASF filtering consists of an iterative application of a morphological opening, closing, opening sequence, which gradually eliminates the dark and bright spots in the image. Based on several experiments, we have chosen a number of iterations equal to two. Using the result of the ASF filtering, we then apply a wavelet based denoising algorithm, which has many similarities with the previous work of Sakellaropoulos et. al. [8]. The image is decomposed in severallevels using the wavelet decomposition scheme of Mallat et. al. [9]. At each level, we retain the wavelet coefficients that correspond to a gradient magnitude value greater than a predefined percentage r of the maximum gradient at the given level. In our case, we used three decomposition levels and a value of r equal to 0.9. A contrast enhancement algorithm follows the denoising step, using a priori knowl- edge about the size of the objects of interest and the convention that the mines have brighter gray values with respect to the background. It is based on two morphological operators, namely an opening top-hat by reconstruction and its dual counterpart, a closing top-hat by reconstruction [6]. Both operators use a flat disk SE with size equal to the maximum expected size of the mines (SEmines). The opening top-hat operator extracts the peaks of the image, while its dual counterpart identifies the valleys. At the same time, the reconstruction part of each operation preserves the edges of the 41 structures. A contrast enhanced image is finally produced, by adding the peaks to the denoised image and then subtracting the estimated valleys. MARKER EXTRACTION AND SEGMENTATION The extraction of the markers from the enhanced version of the result of KLT is performed using an morphological reconstruction approach [6] that is independent of the size and shape of the objects we want to detect. The marker extraction method is based once again on the assumption that the background corresponds to dark re- gions of the image. We first subtract a constant h from the gray values of the image. The resulted dark image is then reconstructed, conditioned to the original one. The markers correspond to the local maxima of the reconstructed image. We eliminate all the markers with size greater than the maximum expected size of the mines. In our application, we have chosen h to be equal to 30. Finally, a watershed segmentation scheme is applied on the enhanced polarimetric images I, LP and e, using the marker image as flooding minima [7]. The result of segmentation represents the potential mine cues. EXPERIMENTAL RESULTS AND CONCLUSIONS As an example, we use the polarimetric images of a test field, which contains two half-buried AP mines. Figure l.d presents the result of KL transform, applied on the Stokes parameters of figures La, l.b and l.c. In figures 2.a and 2.b we show the enhanced version of the result of KLT, together with the detected markers. Finally, in figure 3 we illustrate the result of the proposed image enhancement and segmentation method, using as input the linear polarization image LP. The proposed image analysis scheme for mine cue detection gives satisfactory re- sults for the set of images we have tested so far. Future work should be focused on the combination of the results from the three images I, LP and e. ACKNOWLEDGEMENT This work has been done in close collaboration with TNO Physics and Electronics Laboratory, Den Haag, The Netherlands. The authors would like to thank F. Cremer, W. de Jong and K. Schutte for providing the images and their support. REFERENCES [1] H. Barnes and M. Jones. Infrared Polarimetric Camera System Development. In Proceed- ing SPIE Conference on 'Detection and Remediation Technologies for Mines and Minelike Targets IV', Orlando, Florida, volume 3710, pages 189-196, 1999. 42 (a) (b) (c) (d) Figure 1: (a) I Stokes parameter; (b) Q Stokes parameter; (c)U Stokes parameter; (d) Result of KLT [2] B. A. Barbour and S. Kordella and M. J. Dorsett and B. L. Kerstiens. Mine Detec- tion using a Polarimetric IR Sensor. In Proceedings IEEE Conference on 'Detection of Abandoned Land Mines', No. 431, pages 78-82, 1996. [3] Wim de Jong and Frank Crerner and Klamer Schutte and Jesper Storm. Usage of po- larisation features of landmines for improved automatic detection. In Proceedings SPIE Conference on 'Detection and Remediation Technologies for Mines and Minelike Targets V', Orlando, Florida, volume 4038, pages 1-12, Apr. 2000. [4] J. Schurmann. Pattern Classification. In John Wiley fj Sons, 1996. [5] L. van Kempen and M. Kaczmarec and H. Sahli and J. Corrielis. Dynamic infrared image sequence analysis for anti-personnel mine detection. In IEEE Benelux Signal Processing Chapter, Signal Processing Symposium, Leuven, pages 215-218, March 1998. [6] P. Soille. Morphological image analysis. Principles and applications. In Springer, 1999. [7] S. Beucher. The watershed transformation applied to image segmentation. In 10th P]- efJerkorn Conf. on Signal and Image Processing in Microscopy and Microanalysis, Cam- bridge, UK, Scanning Microscopy International, supp1.6, pages 299-314, Sept. 1992. [8] P. Sakellaropoulos and L. Costaridou and D. Cavouras and A. Bezerianos and G. Panayio- takis. Use of wavelet analysis for contrast enhancement in mammography. In Proc. of Medical Informatics Europe '97 (MIE '97), Sithonia, Greece, pages 502-506, 1997. [9] S. Mallat and S. Zhon. Characterization of signals from multiscale edges. In IEEE Trans. Pattern Ana. Machine Intell., PAMI-14, pages 710-732, 1992. 43 (a) (h) Figure 2: (a) Enhanced version of the KLT result; (b) Detected markers; (a) (h) (c) Figure 3: (a) LP polarimetric image; (b) LP after image enhancement; (c)Detected mine cues 44 CNN BASED ALGORITHMS FOR QOS ROUTING WITH INCOMPLETE INFORMATION J. 1Levendovszky, A. 1Fancsali, Cs. 1Vegso, E. C. van der Meulen/ 1 Budapest University of Technology and Economics, Department of Telecommu- nications Pázmány Péter sétány liD., Budapest 1117, Hungary levendov~hit.bme.hu 2 Katholieke Universiteit Leuven, Department of Mathematics Celestijnenlaan 200 B, B-3001 Leuven, Belgium ecvdm~gauss.wis.kuleuven.ac.be ABSTRACT This paper proposes a novel, CNN-based algorithm for Quality of Service (QoS) routing in lP networks. The method can handle incomplete informa- tion, when link measures (e.g. link delays, bandwidths ... etc.) are assumed to be random variables. Incomplete information can arise due to aggre- gated information in PNNI and OSPF routing protocols which make link measures characterized by their corresponding p. d.]. It will be demonstrated that the task of QoS routing can be broken down into quadratic optimiza- tion. Therefore, CNN can perform real-time routing based on fast, analogic computations even in the case of incomplete information. As a result, real- time routing can be carried out to meet end-ta-end QoS (such as end-ta-end delay) requirements. 1. INTRODUCTION One of the major endeavors in packet switched communication networking is to ensure QoS routing. This task boils down to select paths which satisfy given end-to-end delay or bandwidth requirements [1, 2, 3]. As a result, QoS routing is perceived as an optimization problem to search over different quality paths and choose one for which the end-to-end QoS demands are met. Unfortunately, this problem, in general, cannot be reduced to the well-known shortest path routing (tractable by the Bellman-Ford or Dijkstra algorithms in polynomial time [4]). Furthermore, if link QoS parameters (e.g. link delay or available bandwidth) are regarded as random variables then routing can become an NP hard problem [6]. 45 J In this case the aim is to select a path which guarantees the end-to-end QoS criteria with maximum probability. We term this type of routing as a Maximum Likely Path Selection (MLPS) procedure. In this paper, MLPS will be reduced to a quadratic optimization which can then be carried out by a Hopfield net or by a corresponding Cellular Neural Network (CNN). The assumption that link QoS parameters are random variables is made on the following premises: (i) information aggregation (i.e., in the case of distant network components delay information is aggregated into an average delay) as detailed in OSPF and PNNI protocols [1, 5] , or (ii) randomly fluctuating delays or avail- able bandwidths (where the current values of these parameters depend on the momentary traffic scenario [6]). In both cases, routing must be performed with incomplete information, which means that the routing algorithm is designed to select a path which can fulfill end-to-end QoS criteria with maximal probability. 2. ROUTING WITH INCOMPLETE INFORMATION To model the routing problem let us assume that the following quantities are given: • there is a graph G(V, E) representing the network topology; • each link (u, v) E E has some QoS descriptors 6(u,v) (e.g. w(u,v) bandwidth or T(u,v) delay) which are assumed to be independent random variables subject to a probability distribution function F(u,v) (x) = P (6(u,v) < x); • there is an end-to-end QoS criterion (e.g. min(u,v)ER 6(u,v) 2: A for some A in the case of bandwidth requirement or L(U,V)ER 6(u,v) < T in the case of end-to-end delay requirement); • the objective is to find an optimal path R which most likely fulfills the given QoS criterion, namely: R: maxP ( min 6(u,v) 2: A) (a) or R: m;;xP ( L. 6(u,v) < R. ('l,V) ER. (u,v)E:R T) (b). (1) One must note, that in the first case 6 is said to be a ))bottleneck" type of link measure, whereas in the second case 6 is said to be an additive type of link mea- sure. The path R, introduced above, will be referred to as the Most Likely Path (MLP). It is well known that Shortest Path Routing (SPR) can be solved in polynomial 46 complexity by the Dijkstra or Bellman-Ford algorithms. Therefore, mapping an MLP problem into an SPR is equivalent with proving that MLP can be solved in polynomial time. The following lemma establishes that a bottleneck measure MLP can easily be solved by using traditional SPR algorithms. Lemma 1: The solution of R: max-, P (min(u,v)En Ol 2: A) is equivalent to solving a traditional shortest path problem with the metric assigned to the (u, v)th link being J.t(u,v) = -log P(o(u,v) 2: A) = -log(l - F(u,v) (A)). Proof: We seek the path R : maxe, P (min(u,v)En o(u,v) 2: A), which is equiva- lent to R : maxe, P (n(U,v)Eno(u,v) 2: A). Assuming independent random vari- ables P (n(U,v)En o(u,v) 2: A) = = IT(u,v)En P (O(u,v) 2: A), one can write R : min-, Z(u,v)En -log P (O(u,v) 2: A) . Therefore assigning measure J.t as J.t(u,v) := -log P (O(u,v) 2: A) MLP routing can indeed be solved by SPR. • However, if the link descriptor is delay, then QoS routing yields an intractable problem, as stated by the following lemma: Lemma 2: The solution of R: max-, P (Z(u,v)En o(u,v) < T) (which will be referred to as Delay Problem (DP)) in general is NP hard. The proofis based on the fact that the problem ofR: P (Z(u,v)En o(u,v) < T) > 7r (where 0 < tt < 1 is some given threshold) is also intractable. For further details regarding the proof, see [6]. Therefore, our effort is focused on introducing special constraints under which the optimization problem (lb) lends itself to analytical tractability, still preserving the main attributes of the problem (i.e., yielding results which are still relevant to practical networking scenarios). 3. MLPS AS A QUADRATIC OPTIMIZATION PROBLEM In this section, we reduce MLPS to a quadratic optimization problem. In order to obtain a formal model let us introduce the following quantities: • The link delay (or other QoS parameters) associated with link (u,v) is assumed to be a discrete random variable taking its values from a finite set T(u,v) E {Tl, ... , Tm} = T with a discrete probability mass function p(u,v),l, .... , p(u,v),m' From this notation is clear that each link takes their 47 delay values from the same set T, however, the probability mass function characterizing the random delay of link (u, v) can vary from link to link. • These probability mass functions are summarized in the three-dimensional array R ----+ R;jn = -log P( Tij = Tn) 2:: O. More precisely, R;jn indicates the negative logarithm of the probability of taking a hop from node i to node j with delay Tn. • The delay structure of the graph is summarized in the three-dimensional array: D ----+ Dijn = Tn, where the element Dijn indicates that hopping from node i to node j introduces delay Tn in the path. • A path together with its delay is represented by a three-dimensional array = { 1 if the path contains a hop from the ith node to the V --+ "\lijn = )th node with delay Tn o otherwise • A Start Point Indicator Array (SPIA) and an End Point Indicator Array (EPIA) defined as .. _ { S 'lJn - 1 if i = 1, j = s, '<:In o otherwise. E(k) 'Jn = {I if i = k, j = i, '<:In 0 otherwise The SPIA expresses that the path must start at node s. The EPIA indicates that the path ends at node i after k steps. One must note that the three-dimensional arrays defined above have N2 M ele- ments. In the forthcoming discussion we only consider the task of solving the problem of k-hop routing (finding a path containing only k links). This assump- tion is widely used (see [6]) to make the problem tractable. 3.1 PROPERTIES OF A VALID PATH From the definitions given above, one can summarize the properties of a valid path as follows: 1. The two-dimensional projection "\lijn of a three-dimensional array V for a fixed n must have only one element different from zero in each row (for any given n). This element equals to 1. 2. The two-dimensional projection "\lijn of a three-dimensional array V for a fixed n must have only one element different from zero in each column (for any given n). This element equals 1. 48 3. The three-dimensional array V must have only k elements equal to 1 and the remaining elements should be zero. 4. If the path should start from node s then at least one element is 1 in the "depth-row" of V, namely Visn = 1 for some n, n = I, ... , M. 5. If the path should end at node f after k number hops (assuming k-hop routing), then at least one element is 1 in the" depth-row" of V, namely Vkjn = 1 for some n, n = I, ... , M. 3.2 QOS ROUTING AS A CONSTRAINED QUADRATIC OPTIMIZATION PROBLEM As could be seen in the last section, MLPS should take place over the space of three-dimensional data arrays which fulfil! Criteria 1,.. ,5, respectively. This space is denoted by V. Therefore, the objective is to select a path (or a corresponding V), for which k N N M M Vopt: ~in(LLLLLV;jnDjlnV;+llm-A)+ LLL L L V;jnRjlnV;+llm. VEV i jin m i=l j=l 1=1n=l m=l (2) One can easily see that the first term in the summation is related to the probability of a path as follows: ~7=1 ~f=l L~l ~~1 ~~=1 V;jnRjln V;+llm = ~(i,j)ER. -logP (Tij = Tn) = (3) = -log D(i,j)ER. P (Tij = Tn) = -logP (L(i,j)ER Tij = L(i,j)ER. Tn) . The second term expresses the QoS constraint enforced over the whole path, namely the following condition must hold: L(i,j)ER Tn :::;A if the realization of the random sequence of the link delays in the path are Tij = Tn V( i, j) E R. Therefore, minimizing the term Li Lj Ll ~n Lm V;jnDjln V;+llm - A will yield the path which fulfills the constraint in the best manner. Hopfield type of neural algorithms can solve quadratic optimization in a polyno- mial time over the full space of binary data structures. Thus, to utilize Hopfield or CNN-based methods, one has to build in additional constraints in the goal function which enforce the solution to be a valid path. This can be done in the following way: Let us define the optimization function as follows: ~7=1 ~f=l L~l L~l L~=l V;jnRjln V;+llm + (Li Lj Ll Ln Lm V;jnDjln V;+11m- -T) + (Li Lj Ln V;jnSijn - 1)2 + (L Lj V;jnEij~ - 1)2+ + Ln L L#i Ll V;lnV}ln + Ln L ~#i ~l VlinVljn + (Li Lj Ln V;jn - k)2 (4) 49 The third and the fourth term in the summation enforce that the path starts from node S and ends at node i. The fifth and sixth term impose the constraint of orthogonal rows and columns in the array V. Finally, the seventh term is responsible to ensure a k-hop routing allowing only k ones in the data array V. The three-dimensional data array V can be converted into a binary vector by applying the following transformation: Y((i-1)N+j-1)M+n = 2(V;jn - 0.5). With this transformation QoS routing is reduced to a quadratic optimization over {_1,1}N2M. 3.3 SOLUTION BY CNN Since the problem has been transformed into a binary quadratic optimization it can be solved by a corresponding CNN. As has been pointed out in [4], the optimization can be carried out by the following differential equation: (5) where Xijn (v) = L L M k+1 m=l l=l Vljm + m=l M N k+1 M L 2::= V;qm + 2::= L Vljm + 2::= 2::= Vlqn + q=l l=l m=l l=l q=l k+1 N l,pi q#j m,pn q,pj N M N k+1 + 2::= L V;qm + 2::= 2::= Vlkn· q=l m=l q=l l=l m,pn l,pi The setting of the constants A, a and bijns are also given in l4]. It is also note- worthy that the optimization performance of the CNN can be greatly improved by adding a noise (Wiener process) to (5) (for further details see [4]). 4. PERFORMANCE ANALYSIS In this section the performances of the newly developed QoS routing algo- rithms are analyzed by extensive simulations. In order to compare the algorithms we introduced a performance measure for the paths starting from node s and end- ing at node f denoted by T/(s, f). This is defined as the ratio of the probability of the path found by a given algorithm and the probability of the path found by exhaustive search, given as follows: ._ p (2::=(U,V)ERfound by a given algorithm b(u,v) < T) T/(s, j).- ( ). (6) p 2::=uv R ( , )E found s.; (n,w, 1) The Johnson upper bound on the number of code vectors in an (n,w,l)-OOC is based on the maximum number of code vectors in a constant weight block code. For the relevant parameters, (n,w,l) s I_!_l~"JJ· LW w-l (2) Several constructions are known for À. = 1, see Chung, Salehi and Wei [1]. The first interesting problem arises for w = 3, which has been solved in [1]. Optimal constructions 53 are given that meet the Johnson upper bound with equality for n 7:- 2 mod 6. In [5] optimal constructions are given for n 7:- 14 or 20 modulo 24, all meeting the Johnson bound with equality. Bitan and Etzion [6] show that for n = 14 or 20 modulo 24 the Johnson bound can not be met with equality. For w = 4 tables for n < 264 are given in [6]. There are only a few constructions for w > 4 that give optimal codes. Some optimal constructions can be found in ~. . Lower bounds on w, <1>( n,w, 1) ~ 2 2n. 2 + lower order terms (3) w (w-I) In section 2 we give a new construction for a class of (n,w,I)-OOCs. We also indicate the cardinality ICI of our class of codes compared with the lower bound (3). We conclude with some specific examples for w = 3 up to w = 12. 2. CONSTRUCTION We first give some definitions convenient for our descriptions, Then we describe the construction ofthe class of codesand conclude this chapter with some properties that follow from the construction. Let x = ( Xo, x, ,..., Xn-l) be á binary vector of Hamming weight w. For the vector x we define its first neighbor set as follows. Definition: The "first neighbor" set notation for x is defined as X, = { XI,I, Xl,2 ,,,., Xl,w-l }, where XI,k represents the difference in the position of the k+ I-th symbol 1 and the k-th symbol 1 in the vector x, 1 :::;k < w. Note that from the first neighbor set we can find the vector x up to the position of the first nonzero symbol. In the same way, we can define the "i-th neighbor" set Definition: The "i-th neighbor" set notation for x is defined as X, = { Xi,l Xi,2 ,,,., Xi,w-i), 1:::; i < w, where Xij represents the difference in the position of the j+i-th symbol 1 and the j-th symbol 1 in the vector x. Example:. Let n = 7 and w = 4. The vector x = ( 1 1 1 0 1 0 0) has a first neighbor set XI={I,I,2}, secondneighbor set X2= {2,3} and third neighbor set X3 = {4}. Let LU( denote the set with w(w-l)/2 elements ofthe form L1X = {Xj, X2, "',Xw-1 } = { Xl,l, XI,2 , "', XI,w-l, X2,1, X2,2 , "', X2,w-2, "', XW-I,! } and .'1C = U .'1 X xeC Proposition. A code C oflength n and constant weight w is a (n,w,l)-OOC if and only if 1. all elements of.'1C are different 2. u + V 7:- n for u, v E .'1c. 54 Proof. The proof follows from the definition for DOes, since there are no intervals between any two different ones that are equal. 0 We now give a description of a construction of a set AC based on an initial code vector XOof length nOand weight w. Then we will use this set to define an DOe oflength n. Let 1. XO be a code vector of length nO and weight w. The code vector XO has the auto- correlation property as given in (la). 2. m be an integer such that XOw_l,]::; m < nO 3. let the code e = {x'}, r = O,l,"',K; KEN, be a set of code vectors of weight w for which K AC = U L\Xr; (4a) r=O (4b) n = (w-l)Km + nO (4c) We may add the following condition to (4): for any pair { u E X\ v E XOj}; 1 ::; i, j < w; 1. either u + v 7:- nO modulo m (Sa) or 2. for those pairs (i, j), (i+j) 2': w, for which u + v = nO modulo m (Sb) u + irm + v + jsm 7:- n = (w-l)Km+no; 0::; r, s s; K Theorem. The code e as defined by (4) and (S) is a «w-l)Km + nO,w,l)-OOC. Proof: We proofthat the two conditions from the proposition are satisfied i) All elements of AC are different. This follows from the fact that the elements ofAXo are all different; ii) If for any two elements { u E X\ v E XOj}, U + v 7:- nO modulo m, it immediately follows that u + irm + v + jsm 7:- n = (w-l)Km+no Hence, the second condition ofthe proposition has to be checked for those values ofu and v for which u + v = nO modulo m. Let u'= u + irm and v' = v + jsm, where u, v E L\Xo and I ::; i, j < w; 0::; r, s s; K. Since u + v < nO+ m, and u + v 7:- nO, the possible solutions might have the form u + v = nO-t m, where 1 ::; t. Hence, u + irm + v + jsm = nO-t m + irm + jsm < nO-t m + wKm ::; (w-I)Km+no for (i + j) < w The condition (Sb) thus has to be fulfilled for those pairs (i, j) for which i + j 2': w. 0 Example: The following set AC defines a (n=6K+9,3,1 )-OOe with IÇ+I code vectors, m = 3 and nO = 9. x", ; X02 1 2 3 X\;X\ 4 S 9 3K+l 3K+2 6K+3 This Doe is optimal since for n = 6K +9, the bound (2) gives (n,w,1) ::;K + 1. 55 Example: Let w = 4 and ~o = {XOl, X02, X03 } = { xu. Xl,2, Xl,3, X2,l, X2,2, X3,l } = {I, 3, 2,4,5,6 }. For m = 6 and n = 18, we have to check the sum of elements for which i + j = 6. According to the definition ofthe code, these elements have the form u = 6 + 3rm and v = 6 + 3sm. The length n = 18K + 18. Hence, adding two elements gives as a sum u + v = 12 + 18(r + s) and thus, we have a (I8K+l8,4,I)-OOC: Example: Let w = 5 and ilXo = { XOl, ~2 ,X03 ,X04} = { Xl,l, XI,2, XI,3, XI,4, X2,!, X:i,2, X2,3, X3,l, X3,2, X4,l } = { 3, 1, 5,2,4,6, 7, 9, 8, 11 }. For m = 11 and nO= 21 there are no numbers for which i + j > 4 and u + v = 21 modulo 11. Thus we have defined a (44K + 2l,5,1)-OOC. Corollary 1. For any vector XO of weight w and length nO with the auto-correlation property (la), there exists an m such that (5) is satisfied. Proof For any pair { u E XOj, V E XOj}; 1 si, j < w; (i+j) ~ W . min {(u+v) 1+J2W >. min {1+2+' 1+J2W .. +i+1+2+···+ j}} ~ W(W+2)'f . ~ . min {i(i + 1) + j(j + I)} = 4 2' 1 W IS even I+J=W 2 2 (w+I)'f' { -'----'--,lW IS 0 dd 4 We choose m accordingto the following rule, m ~ XW-l,!, and thus o_W(w+2) 0 n -~-~smsn for w is even, 4 ° n - (w+l)2 smsn 0 for w is odd. 4 Then, u + v= nO modulo n can only have one solution: u + v = nO, which contradiets the assumption on x". 0 The corollary shows that we can find an OOC for any w. However, to find etlicient codes we have to use the smallest possible value for rn, which is m ~ XW-I,l, see also Table 1. Corollazy_ 2. The number of code vectors for the OOC as constructed according to the theorem satisfies 2n ICf = K + 1 ~ 2 2 + lower order terms w (w-I) for m < w2(w-l)l2. Proof. From n = (w-I)Km+no it follows that 56 · 0 0 n-n +m(w-I) 2n -n +m(w-I) K +1= > + . o m(w-I) w2(W_I)2 mfw= l) Corollary 3. Ifthere exists a (n, w,I) difference set, then there exists an m < w(w-l) that satisfies (5). . Proof Ifthere exists a (n", w, 1) difference set, then there exists a vector XO oflength nO w( w-I) + 1. The proof then follows from corollary 1. 0 The following table gives examples ofOOes for several values of w. TABLE 1 w nO m n XOl = {xu. Xl,2 , ... , Xl,w-l } 3 9 3 6K+9 2 4 18 6 I8K+I8 1 3 2 5 21 11 44K+2I 3 1 5 2 6 31 17 85K+3I 3 6 2 5 7 49 25 150K+49 3 1 8 6 5 2 8 57 35 245K+57 7 3 6 2 12 1 4 9 73 45 360K+73 3 6 7 4 1 14 8 2 ]0 91 55 495K+9I 212 7 8 3 13 4 5 1 11 133 76 760K+133 2 4 18 5 11 3 12 13 7 12133 85 935K+133 2 4 18 5 11 3 12 13 7 9 3. CONCLUSION We give a construction for OOCs, with correlation A = 1. Construction rules are given such that codes can be found with a number of code vectors exceeding a known lower bound. REFERENCES [1] F.R.K Chung, J.A. Salehi and V.K Wei, "Optical Orthogonal Codes: design, analysis and applications," IEEE Trans. on Inf Theory, Vol. 35, pp. 595-604, May 1989. [2] R. Fuji-Hara and Y Miao, "optical Orthogonal Codes: their bounds and new optimal constructions," IEEE Trans. on Information Theory, to appear. [3] G'C. Yang and T.E. Fuja, "Optical Orthogonal Codes with Unequal Auto- and Cross- correlation Constraints," IEEE Trans. on Inf Theory, VoL 41, pp. 96.106, Jan 1995. [4] M. Stam and Al Han Vinck, "On Optical Orthogonal Codes," WIC Symposium on Inforrnation Theory in the Benelux, pp. 185-191, 1998. [5] ET Brickell and V.K Wei, "Optical Orthogonal Codes and difference Families," in Proc. Southeastern Conf on Combinatorics Graph Theory and Algorithms, 1987. [6] S. Bitan and T. Etzion, "Construction for Optimal Constant Weight Cyclically Permutable Codes and Difference Families," IEEE Trans. on Information Theory, vol. 41, pp. 77-87, Jan 1995. 57 GENERALIZATION AND PERFORMANCE IMPROVEMENT OF A COHERENCE MULTIPLEXING SYSTEM Arjan Meijerink, Geert H.L.M. Heideman, Wim C. van Etten University of Twente, Department of Electrical Engineering, Chair for Telecommunication Engineering P.O. Box 2l7, 7500 AE Enschede, The Netherlands a.meijerink@ieee.org Abstract Usually a coherence multiplexing system uses delay-filters at the transmitter and receiver to perform the code. An extension to other filter types is described. Using a continuous source the signal-to-beat noise ratio is proportional to the square of the inverse of the number of simultaneous users. A further extension is made by using a pulsed source and by replacing the filters by banks of filters. Each element of each filter bank also comprizes a unique delay. In that case the SNR can be made proportional to the inverse of the number of users, so that more users can be handled simultaneously. 1 Introduetion Coherence multiplexing is a relatively unknown form of optical code division multiple access (OCDMA). It is particularly suitable in access networks for optical communication systems since it imposes less severe constraints on transrrutter and receiver components than for instance WDM, which requires very stable lasers and receiver filters in order to avoid crosstalk between adjacent channels. Coherence multiplexing is a technique that utilizes the random phase jitter of a broadband laser or LED, by transmitting two versions of the source signal and correlating these two in the receiver. Coherence multip!exing in its conventional form is extensively discussed in [1] and [2] and is illustrated in Figure l. Figure 1: A conventional coherence multiplexing system The symbols in Figure 1 correspond to the following quantities. x(t), zet), wa(t) and w/t) are the pre-envelopes of the electrical fields corresponding to the lightwaves at the indicated places. In the receiver, Ia(t) and Ib(t) are the upper and lower photodiode currents, respectively, and I(t) is the difference between these two. met) is the information-carrying signal, which is assumed to be a rectangular polar NRZ signal with bit-time Tb. T" is the difference in delay between the upper and lower transmitter branches, and T" is the difference in delay between the upper and lower receiver branches. The pre-envelopes of the electrical fields and the currents are random processes; all electrical fields are assumed to be circular complex gaussian distributed bandpass signals and the currents are real baseband signals. The left part of Figure 1 represents a transmitter that converts the input signal x(t) into a signal z(t), consisting of two versions of the source signa! x(t). One of them is shifted in time with respect to the other by a time T", and modulated by met). In the receiver, zet) is splitted up into two versions that are shifted in time with respect to one another by a time T". 59 It can be proven that the phase shifts in the right coupler cause the output current to be proportional to the product of the amplitudes of these two versions of zet) times the cosine of their phase difference, provided that all couplers are lossless and perfectly balanced. The average output current E[I(t)] is thus proportional to the crosscorrelation of these two versions, for zero timeshift. Since the source signal x(t) suffers from phase jitter, two signals can only have a non-zero crosscorrelation function for zero timeshift when they are nearly coherent. Consequently, I(t) will only have a non-zero average if T" and T" are nearly identical. Choosing the T,;s sufficiently apart for different transmitters is thus a way to enable the receiver to distinguish between the different transmitted signals. It can be shown (see [2]) that the dominant noise source in the system is interferometric noise, which is caused by the random character of the interfering lightwaves. In the remainder of this paper we will address interferometric noise as beat noise, for convenience. By calculating the autocorrelation function of I(t) and its corresponding power spectral density, it can be shown that the signal-to-beat noise ratio in a coherence multiplexing system with M active transmitters is 2 approximately proportional to 11M (see [2]). Particularly for large M, this greatly limits the overall signal-to-noise ratio, and, as a consequence, the number of users for a given quality. It is thus desirable to find a way to reduce the beat noise in the output current. In this paper, an alternative form of a coherence multiplexing system is proposed, in which the signal-to-beat noise ratio is proportional to lIM instead of 11M2• 2 A generalized coherence multiplexing system A more generalized form of a coherence multiplexing system can be obtained by replacing the delay lines in both the transmitters and receivers by linear filters. This is illustrated in Figure 2. The h-symbols in the filter boxes represent the corresponding impulse responses. The generalization serves three purposes: • Enabling an extension to other filter types; • Getting a more fundamental understanding of the behaviour of the conventional system; • Clarifying the analysis of a timeslotted system. We can express both the average output current and the power spectral density of the beat noise as a function of the impulse responses of the filters in Figure 2, to be able to impose demands on these impulse responses for minimizing bias, crosstalk and noise. Therefore, we have to distinguish M transmitters and M receivers. Each transmitter i has its own transmitter filters h"a,; and h",b,; and information-carrying signal mlt), and each receiver r has its own receiver filters h",a., and h".b/ All transmitters have identically distributed, mutually independent source signals xlt), with equal spectrum. It is assumed that losses and dispersion in the fiber can be neglected. 60 2.1 Average output current The instantaneous output current I,(t) of a receiver r can be found by observing one bit period and assuming that mlt) is constant during that period. We then write both wa.,(t) and wb/t) as a sum of four convolutions, which correspond to the four possible paths that a lightwave can travel from the source to either of the photodiodes, thereby being filtered and/or multiplied by m, and phase-shifted by 90° when a coupler is 'crossed' (see [3J). I,(t) is equal to the difference of the powers of wa,,(t) and Wb)t) times the responsivity Rpd of the photodiodes. The average output current E[(t)] can be found by taking the expected value of the resulting expression. If we define the following inner product: ... (Hl ,Hz) = f Hl (f). Hz *(f) ·Sx.x(f) ·dj, (1 ) we can write the average output current as: E[Ir(I)]= ~/(Hrear(f).Hrebr*(f) ti' \ + ~r~.a,r * (f). '~re,b,r (f) 1 if,~H".a" (f) 12 1 + s.: (f) IZ)) - fm ;:~ ./(Hre,a,,(f)'Hre'b,r , \ +Hre,a,r*(f)·Hre.b,r(f) *(f) ;,(Htr.a,,(j)'Htr'b" +Htr,a,i*(f)·Htr,b,,(f) *(j) J) (2) _ m, ./ [Hre,a,r "; \ + Hre,a.r Hre,b,r * (f) (f). Hre,b,r (f) l, (Htr,a,r ": + H",a,r (f). Htr,b,r * (f) Htr.b,r(f) l) in which Sz.z(f) is defined as the power spectral density function of x(t), and uppercase H's are the transfer functions corresponding to the lowercase h's in Figure 2. The average output current consists of the following terms: • Mbias terms; • M-I crosstalk terms; • One information term. Ideally, the filters are chosen such that all terms are cancelled except the latter one, which is proportional to the desired information datasignal and which should thus be maximized. We can avoid both crosstalk and bias currents by demanding that: Re{H"a/H",b'*} j_ IH",aJ V i,J (3) Re{H",a,;'H",b..*} j_ IH",bl V i,J (4) Re{H",aiH",b,i*} .L Re {H"ajH",b/ } V i*J (5) Application of the Cauchy-Schwarz inequality proves that the desired information- carrying term is maximized if: Re{H",a,iH",b,i*}=Re{H",aJ(,b,i*} V i (6) As a result, the filter pairs of a corresponding transmitter-receiver pair should have either equal or complex conjugated transfer functions. The receiver filters should thus either be equal or matched to the corresponding transmitter filters. Both options result in the same average receiver output current. 61 2.2 Beat noise power spectral density The power spectral density function of the beat noise can be found by Fourier transforming the covariance function of (t). For computing the performance of the system, only the low-frequency part of this function is interesting, since the information-carrying signal part is confined to this part of the spectrum. One can prove that this can be written as in (7), provided that the receiver filters are either equal or matched to the corresponding transmitter filters, as suggested in section 2.1. SI,!, (0)= 2 2 ff7[~r.a,r *(j): ~r.b,rc:! ]2 'I~r,a,:(j) ": (j) .S~x(j).cJf (7) R~d . 1 1 256M +~r,a,r(j)~r,b,r (j) m, ~r,b,'cn m) ~r,b,)cn ;=1 }=1 0 Expanding this equation results in a sum of 64M2 integrals of products of 8 transfer functions and the square of the source spectrum. It is assumed that the filters are chosen such that these integrals are non-zero only when these 8 transfer functions form 4 pairs 2 of complex conjugated transfer functions. In that case only 8M +4M+2 of these integrals remain. Provided that the filters are chosen such that the remaining integrals all account for a same noise contribution, the beat noise spectral density is given by: S (0) oe 4· M 2 + 2 . M + 1 . P . r (8) 1,1, M4 x C In this expression, P, is the power of the source lightwave and -z;, is its coherence time. 2.3 Signal-to-beat noise ratio The signal-to-beat noise ratio in the output current can be maximized by applying a filter that is matched to the (rectangular) average output current, for example an integrate-and-dump filter. The resulting signal-to-beat noise ratio can then be found by dividing the energy of one output bit by the power spectral density of the beat noise: SNR = {E[Ir (t)JY . Tb oe 2 .'&.. (9) b S 1,1, (0) 4· M 2 + 2· M + 1 re In this equation, Tb is the bit-time. Obviously, the generalized coherence multiplexing system in Figure 2 does not satisfy our goal as far as the improvement of the signal-to- beat noise ratio is concerned; a more advanced structure is needed for that. 3 A timeslotted coherence multiplexing system In this section, an extension to the generalized coherence multiplexing system in Figure 2 is proposed and analyzed. It will be shown that, using this extension, we can have a signal-to-noise ratio that is proportional to MI-! . 3.1 System description This is accomplished by subdividing each bit-time Tb of the transmitted signal into 2N timeslots of length T=T/2N. This can be done by replacing the continuous light source by a source that generates light pulses with pulse length T and pulse repetition period Tb' It is assumed that the starting points of the pulses perfectly coincide with the bit boundaries in met). The transmitter filters are replaced by banks of N filters, each filter element comprizing a filter and a delay. Each delay is a specific integer multiple of T, as shown in Figure 3. In the receiver, a similar substitution is made for the receiver filters. 62 '-----' 1-----1 => -+Ed+ !.._--_.! => _!r.:-l' ~L J Figure 3: Substitution of transmitter filters 3.2 Analysis of the new system Since the delays in the transmitter filter banks are multiples of the source pulse width T, a source pulse that is applied to these filter banks is splitted into 2N pulses that are perfectly placed behind one another, each pulse being filtered by a different filter. The 2N pulses perfectly fit into one bit-time Tb' so that a next source pulse is splitted into another 2N pulses, that are perfectly placed behind the first 2N pulses. As a result, the signal that is launched into the fiber is slotted in time. In Figure 4, it is illustrated how one source pulse is splitted into 2N timeslots. Tb Unmodulated 2N timeslots -+--+- Source .. pulses Tb/2 ~ ~ Tb Modulated timeslots Tbh Figure 4: One bit-time of the transmitted signal The different patterns of the timeslots in Figure 4 represent the different spectral shapes that the lightwaves in the corresponding timeslots have, due to the different filters in the filter banks. Note that the output pulses of the lower filter bank in Figure 3 are modulated by the information-carrying signal met) (see Figure 2), so that the last N timeslots in Figure 4 contain a multiplication with m. Since we have M transmitters, each having different filter banks, M of these timeslotted signals are launched into the common fiber. Note that timeslotsof different signals may be out of phase, since the transmitters' source modulators will generally not be synchronized in time. In each receiver, a similar procedure is performed on each of the timeslots. As a result, the outputs of the two receiver filter banks are slotted in time as well, each timeslot containing M·N signal components that are each filtered by a different combination of a transmitter bank filter and a receiver bank filter. Each combination of an upper filter bank output signal and a lower filter bank output signal forms a contribution to the 2 receiver output current, resulting in a total of M2N output current components. Two signals that do not originate from the same transmitter are mutually independent and thus uncorrelated, since they are gaussian with zero mean. This results in an output current contribution with zero average. When two signals do originate from the same 2 transmitter (which applies to M-N of these combinations), the average value of the corresponding output current contribution depends on the relation between the four filters that are involved. 63 The average output current is thus slotted in time as well, having a shape that depends on the relation between the transmitter and receiver filters. Two possible relations between transmitter and receiver filters of a matched transmitter-receiver pair (say transmitter r and receiver r) are considered: • Equal filter banks: H",a",k = H",a,',k and H",b",k = H",b,',k '11 k (10) • Matched filter banks: H re.a.r.k = H tr,b.r.N+J·k * and H re.b.r.k: = H tr.u.r.Nw l-k * V k (11 ) 2 In the case of equal filter banks, we have N non-zero average output current components, non-uniformly subdivided over 2N-l timeslots. In the case of matched filters, we also have N2 non-zero average output current components, but this time the average output current is concentrated in a single timeslot. This difference is illustrated 2 in Figure 5. Each of the M combinations of two transmitters i and j contributes to the beat noise in the output current of receiver r. By counting the number of beat noise terms for every mutual timing situation of each combination of two transmitters, both for equal and matched filter banks, one can show that the power spectral density of the beat noise in each timeslot of the receiver output current does not depend on the mutual timing of the interfering transmitters. E[l(t)] E[l(t)] b) a)4 "kA • ---7 t ---7 t Figure 5: Average receiver output current distribution for N=5 after transmitting a {+1,-1,+ 1,+ 1}-sequence a) equal filter banks b) matched filter banks For equal filter banks, this results in a signal-to-beat noise ratio that is maximized by choosing N=l, resulting in a signal-to-beat noise ratio that is given by : SNR oe 1 .'!.!!._"" _l_.'!.!!._ (12) b M2+1 re M2 re Consequently, the timeslotted system with equal filter banks performs only a factor of approximately 2 better than the system with continuous source, for a given number of users M. In the matched filter banks case, only one of the timeslots contains information. Therefore, this is the only timeslot that is used for detecting the bits. Consequently, only the power spectral density of the beat noise in this timeslot is interesting. It is given by: (M _1)2 ·N2 +2·(M -1)·N3 +2·N4 (13) SI I (0) oe 4 8 . Px . re " M·N 64 3.3 Overlapping timeslots A slight modification is made to the scheme, by subdividing the bit-time into N timeslots instead of 2N timeslots, and making the modulated and unmodulated signal parts overlap in time. This can be done by setting the pulse length of the source to T=T/N, and setting the delays in the lower filter branches equal to the delays in the upper filter branches, as illustrated in Figure 8. 1- - - - - -- --- - - - -- ------ --I I 0 h I : rr,a, I : I I I I 1-----, ( I ....!...fhl_o_ => ~L J Figure 8: Substitution of transmitter filters The corresponding average output current is similarly shaped as in the formerly analyzed situation, The difference is that, for both systems having equal N, the output bits in the system with overlapping timeslots are twice as broad with respect to the formerly analyzed system. Therefore, succeeding output bits in the system with overlapping timeslots with equal filter banks overlap in time if N> L This is illustrated in Figure 9. E[I(t)] a)•• IIIII •..• 11111•. --7 I + E[I(t)] b)_-----,_E.. [... /(t... )]........... 1...11II1II11 ...__. d) ··.111.·· --7 I -s : ) E[/(t)] 111. c ••• ·.1.·.11111111 ••. --7/ Figure 9: Average receiver output current distribution for N=5 after transmitting a {+ 1,-1,+ 1,+ 1}-sequence a) odd output bits for equal filter banks c) all output bits for equal filter banks b) even output bits for equal filter banks d) all output bits for matched filter banks Again, the signal-to-beat noise ratio can be calculated for both the equal and matched filter banks case. For equal filter banks, the signal-to-beat noise ratio is again maximized for N=l, resulting in a continuous source system, with a signal-to-beat noise ratio that is given by (8). For matched filter banks, a similar procedure as described in section 3.2 can be performed to prove that the signal-to-beat noise ratio is maximized by choosing: Nopr ~.J2. M, (17) resulting in a maximized signal-to-beat noise ratio that is approximately the same as in (16). 65 Before we compute the signal-to-beat noise ratio, we have to stress that the bit-time of the output pulse is shortened when N is increased, which decreases the bit energy by an extra factor 1/2N. The signal-to-beat noise ratio after matched filtering is thus given by: SNR oe N . Tb (14) b CM _1)2 + 2· CM -1) . N + 2· N2 Tc This is illustrated in Figure 6. log(SNR) Î 10 ~N 20 Figure 6: Logarithm of the signal-to-beat noise ratio as a function of the number of filter elements N for several values of the number of users M The figure illustrates that the signal-to-beat noise ratio in case of matched filter banks can be maximized by properly choosing N (indicated by the 'o's). The value Nopt that optimizes the signal-to-beat noise ratio increases for increasing M. Nop, can be found by calculating the zero of the derivative of (13), which results in: M-I Nopt = ..fi (15) The resulting signal-to-beat noise ratio can be found by substituting (15) in (14), which results in: 1 1 Tb llTb (16) SNRb.max oe +2. (1 J2)' M-I' -;: "" 5' M .-;: This result is illustrated in Figure 7, together with the results for equal filter banks and the continuous source system. 10g(SNR) Î I ± 3 dB 1 10 100 Figure 7: Logarithm of the maximum signal-to-beat noise ratio as a function of the number of users M 66 3.4 Total system capacity Using (16), we can calculate the maximum total capacity of the system, for a given upper bound for the probability of bit error Pe. (16) is written as a proportionality, because the proportionality constant depends on the type of filters that are used. If the filters are delay lines, however, we can replace the proportionality sign by an equal-to sign, resulting in (assuming that M» 1): 1 1 Tb SNRb =::-.-.- (18) 5 M Tc If we assume that all transmitters in the system have identical bitrates 1ITb, we can write the total capacity C of the system as: IO , 1 1 1 1 C =M·-=::-·-_·_ (19) lol Tb 5 SNRb Tc Assuming that the beat noise is approximately gaussian, the probability of a bit error P, is given by Pe = Q(.J SNR), (20) since the output signal has an antipodal signal constellation (see [4]). The signal-to-beat noise ratio should be at least 36 to keep P, below 10.9, which results in: 1 1 C "'_.- (21 ) 10' 180 Tc For a source with a gaussian power spectral density profile, the relation between the coherence time -z:;, and the linewidth M is given by (see [5]): T ::::~.~2.1n2 (22) c - co.M 7r in which À and Co are the source wavelength and the speed of light, respectively, both in vacuum. Substituting this in (21) gives: CIOI '" 2.5.106 . ~ (23) ;t- For a source wavelength of À=1550 nm, this becomes: 'O' =::1.0·10 ·M 18 C (24) As a result, the maximum total system capacity, expressed in Gbit/s, is approximately equal to the the linewidth of the source in nm. A system with light sources with for instance 50 nm linewidth at a center wavelength of 1550 nm thus has a capacity bound of 50 Gbit/s at a bit error rate of 10-9• 67 4 Conclusions When the delay lines in a conventional coherence multiplexing system are replaced by filters, we see that a receiver is tuned to a particular transmitter when the receiver filters are either equal or matched to the transmitter filters (where equal delay differences were demanded in the conventional approach). Both choices result in the same received signal power and beat noise power. The received signal-to-beat noise ratio is approximately inversely proportional to the square of the number of users. When a pulsed light source is used and the filters are replaced by banks of filters, each filter element having a delay, the results for equal and matched filter banks are different. In the matched filter banks situation, the signal energy of a received bit is confined to only a small part of the bit- time. Only then the signal-to-beat noise ratio can be made proportional to the inverse of the number of users instead of the inverse of the square of the number of users. A similar performance can be obtained using a system in which the modulated and unmodulated transmission timeslots overlap in time, but this system requires twice as many filter elements for maximizing the performance. Assuming sources with a gaussian power spectral density profile at a center wavelength of 1550 nm, the maximum system capacity is 1 Gbit/s per nm linewidth, at a bit error rate of 10.9• REFERENCES [1] Robert H. Wentworth, "Theoretical Noise Performance of Coherence-Multiplexed Interferometric Sensors", IEEE Journalof Lightwave Technology, Vol. 7, No. 6, June 1989, pp. 941-956. [2] E.J. Kersten, G.H.L.M. Heideman, W.C. van Etten, "Coherence Multiplexing using Differential Detection", Proceedings of the IEEE/LEOS Symposium Benelux Chapter, Eindhoven, 1997, pp. 165-168. [3] Denis J.G. Mestdagh, Fundamentals of Multiaccess Optical Fiber Networks, Norwood, MA, Artech House, 1995. [4] John G. Proakis, Digital Communications, Fourth Edition, McGraw-Hill, 2001. [5] A. Meijerink, A Generalization of a Coherence Multiplexing System, Master's Thesis, University of Twente, Enschede, February 2001. 68 ON THE OPTIMAL SWITCHING SCHEME OF LINK ADAPTATION Fei Tang', Luc Deneire, Marc Engels Interuniversity Microelectronics Center (IMEC) Kapeldreef 75, B-3001, Leuven, Belgium tang©imec.be To enable high-speed wireless networks with limited bandwidth, maximizing the spectral efficiency is crucial. In a time varying channel, this can be done by adapting the system parameters to approach the instantaneous channel capacity. We call this technique Link Adaptation (LA). With such an adap- tive system, we can also provide different levels of services easily. However, there lacks a practical, yet general optimal LA switching scheme. This pa- per· first derives the theoretical basis for the proposed LA scheme and gives insight into the relationship between optimal switching boundaries. Then it prouitles the simulation results to verify, for a study case, the 18 dB gain and correctness of the scheme, using adaptive modulation as an example. With optimality, independenee of the underlying component coding, mod- ulation and channels, the proposed scheme provides a practical means to sumificantls] increase the spectral efficiency of communication systems. INTRODUCTION To satisfy the ever-increasing demand for high-speed data services in today's communication systems under bandwidth and power constraints, maximizing the spectral efficiency is becoming the key factor. We usually design the commu- nication system according to the (average) worst case. Thus the instantaneous channel capacity is underutilized. We can circumvent this problem by applying adaptive techniques, namely, changing the system parameters to approximate t.he instantaneous capacity. Such adaptation techniques are named link adapta- tion. Also as a by-product, an adaptive communication system can easily provide services of different quality such as different BER. Link adaptation attracted a lot of attention recently. Some previous pa- pers [I, 2, 3, 4, 5] show significant gains by using specific adaptive techniques . • Also a Ph.D. Student at E.E. Dept., ESAT/INSYS, K.U.Leuven 69 ChanneJ. Quality Feedback Channel Tansmitter Receiver Figure 1: System Model Currently a few wireless system like IS-95B, WCDMA, CDMA2000, HiperLAN/2 and (E)GPRS of GSM already introduced some kind of rate adaptation [6, 7]. However, previous work mostly dealt with adaptive modulation. No general optimal adaptation schemes which provide the way to do the switching exactly were available. In this paper, we propose a framework for link adaptation and specify the precise switching scheme. A GENERAL FRAMEWORK OF LA The general structure of an adaptive system is as follows: (Fig. I): the re- ceiver monitors the channel quality in real time and feeds it back to the transmit- t.er; t.he transmitter decides whether to switch to a new mode of coding, modula- tion and power while ensuring a required BER; while doing this, the transmitter t.ries t.o maximize the throughput under an average power constraint (or to min- imize power under an average throughput constraint). III practice, as the symbol by symbol adaptation is hardly possible, we choose block by block adaptation. The length of block is the period of the updat.e of channel quality estimation q. It is mainly restricted by the feedback and processing delays. We assume the channel quality q is SINR-like. (It has some sense of average SINR.) All effects like long term fading al, short term fading as, additive noise No and possible interference I are considered, and processed by a average function Faver to extract one value to represent the channel condition of t.he whole block. So the channel quality is represented as al * as q = Faver(N + I)· (1) o 70 The channel is assumed to be fiat fading. (For non-fiat channels, one uses ex- tended ones including the equalizer.) The channel does not have to be stationary, but we will assume the distribution of the channel quality p(q) is static. There may be several underlying coding and modulation schemes. So a multi- t.ude of combinations between them exist. The combinations forming the possible working modes are denoted as: M(i),i=O,··· ,N. (2) (During mode M(O), the system transmits nothing.) For link adaptation, the cluuucterizaiiori process tries to extract from these possible working modes their performance characteristics for the block by block approach. It. consists of: • For a target BER, find a required channel quality threshold th for each possible mode to achieve this BER. Since we may only estimate (predict) the long-term component of the fading al, the short-term one as still exists. When the adaptive system is working, we can compensate al by adapting power. Thus if we try to determine the threshold by simulation, then the channel model should be the one with noise No, interference 1 and any uncompensated short-term fading as. The simplest case is when: 1) we have perfect knowledge of the fading (CS!); 2) there is no interference; 3) the symbol period is the block. So all fading components are compensated. In this case, the channel model is AWGN and channel quality q is SNR. • A fair criterion to evaluate the performance of candidate modes is their spectrum efficiency. The different possible modes are evaluated and inferior ones are eliminated. If we plot all candidate modes in the "spectrum effi- ciency R vs. channel quality thresholds th" graph and link points to form the upper outline of the all points, modes correspond to the upper outline are the selected ones. (For mode M(O), both th(O) and R(O) are zero.) OPTIMAL SWITCHING SCHEME OF LA We have now a set of N thresholds and corresponding rates, i.e. th( i), R( i) i = 0,' .. ,N and channel quality distribution p(q). Practically, we assume we have the distribution of the estimated channel quality p( qe). There is an uncertainty e (e > 0) associated with each channel quality estimation qe to the actual q. e is viewed as constant margin. It is related to the imperfect estimation algorithm 71 and the feedback delay. We modify the p(qe) to take into account this effect. Thus we redefine (3) and subst itute (3) into p(qe) to get the modified distribution p(q). Since we may adapt. the power to ensure each mode works at the corresponding threshold th, the uncertainty e introduce a loss of 10 log e dB in the worst case. For a rnulticarrier system, we allocate power and bits for each carrier through water pouring to maximize the channel capacity [8]. Likewise, we perform water pouring in the time domain to maximize the capacity for fading channels [2]. However for practical coding and modulation schemes, a simple water pouring filtering does not work, as 1) the rates provided are discrete; 2) each scheme has a distance to the limit of channel capacity. However we learn from the result "water pouring to maximizing the capacity" one necessary condition for optimality: allocate more power and bits when the channel condition is good. So we form the following optimization problem to maximize throughput with an average power budget Pb' In this problem, different modes with rate R(i) correspond to different floating regions of the channel quality. We try to find the optimal boundaries J;i between them. From x, to Xi+l, system works in mode i. (From 0 to Tl, system transmit nothing; also XN+l = +00.) Within each region, the power may be adapted to compensate fading for this mode to work in the threshold th('i). Note that in order to fit into a general optimization format, we minimize the negative of throughput. (4) subject to: N, s, : ~ l'X Xi i+1 th(i) -q-p(q)dq - Pb S; 0, (5) anel (6) 72 The approach here is to transform the problem into a one dimensional problem. We arrive at an intermediate variable t, and link t to Xi' Before moving on, we give two important theorems [9]. Note \7 is the gradient operator. Theorem 1 (Kuhn-Thcker Theorem) Consider the constrained optimization problem: min lex); (7) x subject to: gi(X):S O,i= I,'" ,m, (8) hj(x) = O,j = 1," . , i. (9) X 'is IJ. interior point, I = {ijgi(X) = O}, 1) are differentiable con- f and gi(i E tznuously at x, vectoT-S{\7 gi (x), V'hj (x) ji EI, j = 1,' .. , i} are linearly uncorre- lated, ft x is a local optimal solution, there exist non-negative ui, (i E 1) and vJj = 1,'" ,l). So: l V'f(x) - LWi\7gi(X) - LVjV'hj(x) =0 (10) iEl j=1 Theorem 2 (Global Optimality Theorem) At x, 'if both f and gi(i E 1) are convex [unctions, hj (j = 1,'" ,i) are linear functions, and the Kuhn- Tucker corulitioti is satisfied, x is a global solution. From (4), \7 f = [al, a2,'" ,aN]', ai = (R(i) - R(i - l»p(xi), (ll) and from (5) (12) Both f and gl are convex functions. So a local minimum point is also a global minimum one. Applying the Kuhn-Tucker condition, we have \7 l = tV'gl, t ~ 0, 73 1>0 X, = t ei, (13) with th(i) - th (i - 1) . ei = R(i) _ R(i _ 1) , z = 1,' .. , N (14) Substitute (13) into (5), and change y, to equal, we get a one variable equa- t.ion: 2: j.Ci+l -p(q)dq th(i) N t = Pb' (15) i=l c.t: q Solving this equation, we can obtain the parameter t. So here, we prove that the determination of the optimal boundaries can be transformed into a one- climensional problem. The dual problem of minimizing the power under average constant rate constraint can be obtained by switching (4) and (5). One important observation of (13) is that the optimal switching boundaries x; have a simple linear relationship regardless of channels, modulation and coding. And they are all proportional to t with a constant ei which is equal to the threshold error over rate error of neighboring modes. NUMERICAL AND SIMULATION RESULTS This section presents some theoretical numerical calculation results, which are verified by simulations. We assume a simple scenario. M-QAM with constellation size of 2,4,16,64 is used. The channel is assumed to be Rayleigh fading with additive white noise and different normalized Doppler Frequencies. Budget. power is also normalized to one. For simplicity, the block length is the symbol period. Perfect knowledge of channel quality, the SNR, is assumed. With target BER being 10-3, the rates and thresholds are shown in Tab. l. The performance of Table 1: Rate and Thresholds of QAM Constellation Size 0 2 4 16 64 Rate R (bpsjHz) 0 1 2 4 6 Threshold th (dB) 0 7.04 10.80 16.70 22.70 74 the general LA is summarized in Fig. 2. we observe an 18 dB gain when compared 8r.=~==~======~--~----~ -- . - Channel Capacity Theotetical Optimal Scheme . .. Simu-F d=0.1 _ Simu-F =0.01 d -- Non-Adaptive BPSK OL-------~ ~ ~ _L~ 5 10 15 20 25 Average SNR of Rayleigh Channel Figure 2: Performance of Optimal Scheme and Non-Adaptive scheme to a non-adaptive BPSK system. Simulation results also confirm the theoretical performance curve under different Doppler Frequencies. As we use the simple scenario, the situation is reduced to that of [2]. Both results are comparable. However we did not use a common BER upper bound to derive the adaptation scheme. Besides, more accurate thresholds th values are evaluated. Our result are slightly better than that of [2], about 0.1 to 0.3 more bpsjHz at various average SNR values. 1.2 1.1 !g ~ 0.9 0.8 0.7 0.6 0.5 '-- --'- ~~ ~ __J 5 10 15 20 25 Average SNR of Rayleigh Channel Figure 3: Behavior of Parameter t 75 The behavior of t is shown in Fig. 3. The value of t peaks around 19 dB. CONCLUSION In this paper, we proposed a general optimal switching scheme of LA and demonstrate that the determination of these switching boundaries can be trans- formed into one one-dimensional problem. In this way, we give insight into these optimal switching boundaries. Therefore we provide a detailed way of deterrnin- ing the optimal switching which can substantially increase spectral efficiency of current systems. REFERENCES [IJ Siavash M. Alamouti and Samir Kallel, "Adaptive trellis-coded multiple- phase-shift keying for Rayleigh fading channels," IEEE Trans. Commun., vol. 42, no. 6, pp. 2305-14, June 1994. [2] Andrea J. Goldsmith and Soon-Ghee Chua, "Variable-rate variable-power MQAM for fading channels," IEEE Trans. Commun., vol. 45, no. 10, pp. 1218-30, Oct. 1997. [3] Andrea J. Goldsmith and Soon-Ghee Chua, "Adaptive coded modulation for fading channels," IEEE Trans. Commun., vol. 46, no. 5, pp. 595-602, May 1998. [4] Krishna Balachandran, Srinivas R. Kadaba, and Sanjiv Nanda, "Channel quality estimation and rate adaptation for cellular mobile radio," IEEE J. Select. Areas Commun., vol. 17, no. 7, pp. 1244-56, July 1999. [5J Dennis L. Goeckel, "Adaptive coding for time-varying channels using out- dated fading estimations," IEEE Trans. Commun., vol. 47, no. 6, pp. 844-55, June 1999. [5] Sanjiv Nanda, Krishna Balachandran, and Sarath Kumar, "Adaptation tech- niques in wireless packet data services," IEEE Commun. Mag., vol. 38, no. 1, pp. 54-64, Jan. 2000. [7] Martin Johnsson, "Hiperlanj2," Tech. Rep., HiperLANj2 Global Forum, 1999. [8] S. Thoen, L. Van der Perre, and M. Engels, "Predictive adaptive loading for hiperlan ii," in Proc. IEEE VTC FALL'OO, 2000. [9] M. Avriel, Nonlinear Programming: Analysis and Methods, Prentice-Hall, Englewood Cliffs, New Jersey, 1976. 76 CODING FOR SOURCES SATISFYING A PERMUTATION PROPERTY A. Nowbakht, Tj.J. Tjalkens and F.M.J. Willems Eindhoven University of Technology P.O. Box 513, 5600 MB Eindhoven, The Netherlands a.nowbakht~tue.nl Finite-context information sources characterized by a permutation property are introduced. This property is inspired from applications where the behav- ior of a source is determined by the composition of (a part of) the context information rather than by the exact value. Two source classes are studied and universal sequential lossless coding methods based on model weighting techniques (see (S} and (6}) are presented. The validity of the permutation property assumption is demonstrated in the application to bi-level image coding. INTRODUCTION Imagine a binary source generating sequentially a string xf" = Xj, ... , XN with probability P(xf"). In the simplest case each symbol is generated according to the same probability distribution. This is called a binary i.i.d. (independent and identically distributed) source and is specified by a parameter e E [0,1]. Being e ~ P(Xt = 1) = 1 - P(Xt = 0). If instead of the N bits we can represent the sequence by a binary codeword of -log(P(xf")) bits length, we achieve the entropy HN(P(·)) i.e. the minimum average length (see e.g. [1]). (The base of the logarithms is 2). The codewords are then said to have the ideal length, since a real length has to be an integer number of bits. Finding a representation which achieves the source entropy is a fundamental goal in data compression. When the probability distribution is not known beforehand one speaks about Universal Source Coding. We aim to achieve the shortest possible description no matter what source we code. The codeword however is now necessarily longer than the ideal since it somehow must include a description of the source. Rissanen 77 established the following lower bound for the performance of universal codes [4]. for e > 0 as N --> 00. Where k is the number of parameters, E[·] denotes expectation and L(x~) is the length of any (ideal) code satisfying the Kraft inequality. Universal Source Coding can be split into two tasks. One task consists of modeling the source and determining a probability distribution Pc(xf}. Ideally this distribution would achieve Rissanen's bound for all possible sources. The other task is coding. Ideally this means constructing codewords with the ideal length from Pc(xf} satisfying the Kraft inequality. Note that our notation dis- tinguishes the actual distribution P(xf} from the distribution used for coding Pc(xf}. Arithmetic Coding provides us with an efficient and practical method for doing the coding task. The codewords are within 2 bits of the ideallength [1]. The challenge in Universal Source Coding lies thus in finding good modeling methods. For the binary i.i.d. source Krichevsky and Trofimov (KT) devised a good universal probability assignment [2]. Their method assigns the probability Pc(x~) = Pe(a, b) to a sequence x~ containing a zeros and b ones. The probability can be updated sequentially starting with Pe(O, 0) = 1. a+1. Pe(a+ 1,b) = b 2 . Pe(a,b) a+ +1 b+1. Pe(a, b + 1) = b 2 . Pe(a, b) a+ +1 The following inequality holds for the KT probability assignment - logePe(n., h)) ~ - loe;(P( x~)) + ~ logeN) + 1 (see e.g. [5] appendix 11)showing that it achieves Rissanen's bound asymptoti- cally. Finite-context sources are a generalization of the i.i.d. source. To each se- quence bit XI, a context string Ut(1), ... , Ut(D) of D bits is associated. A source is defined by a mapping Ma, called model, from the context space into a parameter- index set K.a. The model has to satisfy the property that every context is mapped 78 to exactly one parameter index. Each k E Ka refers to a parameter (h. The prob- ability that Xt is equal to 1 is BMa(u,(l) ..... u,(D». Therefore one can say that the sequence consists of IKal i.i.d. sub-sequences. One can do universal coding over the parameter values by assigning Pc(xfIMa) = IT Pe(ak, bk) kEK.a as coding probability to model Ma. Being ak (resp. bk) the number of O's (resp. 1's) in the sub-sequence corresponding to parameter Bk. A model class M restricts the possible mappings from contexts to parameter- indexes. When it is only known that Ma E M one can do universal coding also over the model choice by weighting all models. pc(xf) = L PM(M)· Pc(xfIM) MEM with PM(M) being a probability distribution over the models. However, cal- culating this average can be difficult when the class contains a huge number of models. In this paper we will study universal coding methods for source classes char- acterized by a permutation property. PERMUTATION PROPERTY If the context information consists of D bits there are a total of 2D differ- ent contexts and thus a maximum of IKlmax = 2D different parameters. The permutation property says that all contexts which can be constructed by permu- tation of each other correspond to the same parameter. The maximum number of parameters is thus reduced to only D + 1 since all contexts with the same com- position are mapped together. We say that when the permutation property holds the number of 1's in the context information constitutes a sufficient statistics for the source behavior i.e. defines the current parameter without ambiguity. When only a part of the context information is used to determine the parameter then the permutation property only must hold on those bits. Example 1 : For D = 2, the contexts are {00, 01,10, 1I} and IKlmax = 4. When the permutation property holds IKlmax = 3 since the contexts {Ol, 1O}are mapped together to the permutation-context {I}. 79 CLASSES SATISFYING A PERMUTATION PROPERTY In the following sections we describe two source classes (i.e. collections of source models) satisfying a permutation property. First we introduce some nota- tion. Definition 1 : We use S to refer to a group of contexts that does not violate the restrictions imposed by the definition of class M. Definition 2 : We use A to specify a set of (non-overlapping) sets S in such a way that every context is included exactlyonce. A model M can now be defined by mapping to each SEA a different parameter. In general, several S could be mapped to the same parameter. For convenience we will drop the time index and refer to the context simply as ufo CLASS III : CONTEXT-PREFIX COMPOSITION In this class, source parameters are determined by the composition of a prefix of the context information. We represent the context-sets with the following notation I Sl,e = {UI, ... ,UD 1 LUi = c} i=1 where l E {O,... , D} is the length of the prefix and c E {O,... , l} specifies the composition. Note that So,o is the set of all contexts. Each context-set Sl,e contains all contexts which satisfy the permutation property on their l prefix bits. Note that this definition resembles the class of Tree Sources, where each context-set contains all contexts which are identical in their l prefix bits. Example 2 : Supposing Jj = 3, we define the set 01 all contexts with a 1 in the first two context bits, namely {OIO,011, 100,101}, by writing S2,1' Figure 1 represents a data structure used for updating all coding probabilities needed for any model belonging to the class. Each context-set Sl,e is represented by a node labeled (l, c). Since we assume it to have its own parameter, each node contains the counts al,e and bl,e, plus a KT probability Pe(al,e, bl,e)' Updating the structure with Xt and corresponding context uf is done in the following manner. 80 4,4 Figure 1: Data structure used for "Context-Prefix Composition" with D = 4. The context defines a path on the structure. The path starts at the root node (0,0) and is defined by the context-bit values in order, each bit selecting an edge to move along. First UI is checked and if zero the left edge is selected leading to (1,0) otherwise the right leading to (1,1) is selected. Then U2 is checked in analog way and the process is continued until the context bits are exhausted. All context-sets Sl,e along the path include the context up and are therefore updated with Xt. Updating a node consists in increasing the corresponding count and multiplying the KT probability by the appropriate fraction. In this manner universal coding over all parameters is done. To do universal coding over the models we have to first find all models in this class. Let us explore some properties of this class by comparing it to the class of Tree Sources. In [5]the Context-Tree Weighting Method was introduced as an efficient manner to perform the weighting (averaging) of (the probabilities associated to a sequence by) all models contained in the class of Tree Sources. In [6]it was shown that the main idea behind the CTW Method, namely reducing the global average to many local recursive-averages, could be generalized to source classes satisfying the property that a context-set S can be split into disjoint context-sets SI and S2. We will see that the source class studied in this section does not exhibit this property. Nevertheless, the number of models turns out to be small enough so that model weighting does not represent a difficulty. The sets Al = {Sl,e I c = 0, ... ,I} of all context-sets with the same prefix length form valid models M, for all I E {O,... , D} . We now show that they constitute all possible models in this class. Considering figure 1 we define the following areas: 81 Definition 3 : Lower-triangle of Sl,c £I,c ~ {Srn,n J mE {O, ... , l-l}, nE {max(O, e+m-l), ... , min(m, e)}} Definition 4 : Upper-triangle of Sl,c UI,c ~ {Sm,n J m E {l + 1, ... , D}, n E {e, ... , e + m - l} } Every context contained in a context-set S defines a path which falls inside the region delimited by its lower- and upper-triangles. Given that a context-set S* is in A, the set defining a model, no context-set from its lower- or upper- triangles can be simultaneously in A since that would mean that contexts exist which are mapped to more than one parameter. Suppose SI- .c" C A, the set defining a model, and e* < l*. Since all contexts must be included, in particular those in SI-,c-+l must be included. The only way to include them is to have SI-,c-+l C A. This can be seen by noting that the upper and lower areas of SI-,c- and SI-,c-+l overlap, making it impossible to include other context-sets covering all paths going through (i.e. all contexts contained in) SI-,c-+j. By repeating this argument we see that A coincides with AI-' We conclude that this class contains only D + 1 models, namely MI for all l E {O,... , D}. Pc(xfJMI) and Pc(x{") are constructed as described in the introduction. CLASS II2 : ARBITRARY-POSITION CONTENT In this source class a parameter is determined by a minimum number of zeros and ones that need to be present inside the context information. The corresponding context-sets are specified with the following notation with no E {O,... ,D} and nj E {O,... ,D - no}. CoC) (resp. Cj(·)) gives the count of O's (resp. l's) of its binary string argument. Example 3 : Supposing D = 3, we specify with S2,O the following set S2,O = {OOO,001, 010, lOO}. 82 Figure 2: Split diagram for "Arbitrary-Position Content" with D = 3. The context-set Sno,n, satisfies the permutation property on each no + nl context bits having no zeros and nl ones. It also satisfies the property which allows models to be defined recursively. Figure 2 shows a graph representing each context-set Sno,n, by a node labeled (no, nl). The edges represent the possible splits of a set. Each node keeps the counts ano,n, and bno,n" the KT probability Pe(ano,n"bno,n,) and as in [6] a recursive weighted probability Pw(Sno,n,) defined as (see figure 2) For context-sets Sno,n, with no + nl = D we take Pw(Sno,n,) = Pe(ano,n"bno,n,). The coding probability is defined as Pc(xf) = Pw(So,o) and is a universal distri- bution over all models and parameters. Another way of deriving the coding distribution is by noting that the class contains the models which can be constructed by lexicographical splits of the set of context-sets {Sno,n, I no + nl = D} using for the ordering the value of e.g. nl. Applying the method proposed in [6] for lexicographical splits, results in the same coding probability as above. APPLICATION TO BI-LEVEL IMAGE CODING The current bi-level image coding standard JBIG uses a template of up to T = 16 neighborhood pixels to form a context for the estimation of the probability 83 of the current pixel. An arithmetic coder does the coding task. The basic ideas can be found in [3]. Since (a maximum of) k = 2"1"parameters are estimated, this approach becomes rapidly impractical, considering the storage need, as T increases. Using the same 8 CCITT facsimile images as in [3], templates consisting of the T nearest pixels and KT probability estimates, we found that actually the optimum compression (disregarding storage needs) is achieved by 17 ::; T ::;22. In order to try to improve compression with a reasonable amount of memory, we experimented with a hybrid scheme were for the t nearest bits we did the same as above but for the next p bits we just considered their composition i.e. we applied the permutation property idea. The (maximum) number of parameters for a template of t +p bits is now k = 2t. (p+ 1). With t = 13 and p = 4 we could beat the optimum achieved by the classical method for 5 of the 8 images and were better for all images when comparing with T = 16. Note that the hybrid scheme needed less memory in all these experiments. ACKNOWLEDGMENT This research was supported by Technologiestichting STW under project EEL4643. REFERENCES [1] T.M. Cover and J.A. Thomas, "Elements of Information Theory," John Wiley and Sons, 1991. [2] R.E. Krichevsky and V.K. Trofimov, "The Performance of Universal Encod- ing," IEEE Trans. Inform. Theory, vol. 27, no. 2, pp. 199-207, 1981. [3] G.G. Langdon, Jr. and J. Rissanen, "Compression of Black-White Images with Arithmetic Coding," IEEE Trans. Communications, vol. 29, no. 6, pp. 858-867, 1981. [4] J. Rissanen, "Universal Coding, Information, Prediction and Estimation," IEEE Trans. Inform. Theory, vol. 30, no. 4, pp. 629-636, 1984. [5] F.M.J. Willems, Y.M. Shtarkov and Tj.J. Tjalkens, "The Context-Tree Weighting Method : Basic Properties," IEEE Trans. Inform. Theory, vol. 41, no. 3, pp. 653-664, 1995. [6] F.M.J. Willems, Y.M. Shtarkov and Tj.J. Tjalkens, "Context Weighting for General Finite-Context Sources," IEEE Trans. Inform. Theory, vol. 42, no. 5, pp. 1514-1520, 1996. 84 A PARALLEL IMPLEMENTATION OF THE CTW COMPRESSION ALGORITHM Maurice L.A. Stassen and Tjalling J. Tjalkens Eindhoven University of Technology Information and Communication Systems Section Postbus 513, 5600 MB Eindhoven, Netherlands t.j.tjalkens@tue.nl The Context-Tree Weighting achieves a very good compression ratio but has a much slower execution speed than e.g. Lempel-Ziv type of algorithms. We consider the possibilitiesfor parallel processing at the encoder side with the restrietion that the encoder output is identical to the sequential single processor implementation. The approach we/allow here is to split the tree over a given number of independent processors such that every processor processes symbols whose context reaches into a particular subtree. A final processor combines the results into the final estimated symbol probabilities. We discuss the optimal assignment ofsubtree processorsfor the two-layer ap- proach and the efficient distribution a/symbols over these processors. THE NEED FOR SPEED From several studies [1,2] we may conclude that the cornpression ratio achieved by the Context-Tree Weighting algorithm is among the best possible and it certainly outperforms the Lempel-Ziv type of methods. Other modem compression algorithms based on PPM [3] or the Burrows-Wheeler Transforrn [4] achieve a compression ratio closer to the CTW and the RK implementation [5] performs comparable to the CTW but also shares its undesirable features such as a huge memory requirements and low compression and decompression speed (as compared to the LZ algorithms). The CTW algorithm actually performs a sophisticated model and parameter esti- mation and thus it can be used in other (data-mining) applications [6]. In applications like these we only need the modeler (encoder) and therefor it will be useful to consider methods that will speed up the encoding process. We consider a design strategy for the Context- Tree Weighting (CTW) compression algorithm that allows a speed-up of the encoder by using more processors in parallel. We require of the parallel implementation that the encoder output is identical to the more standard single processor sequential implernentation. 85 Figure I: The two layer processor distribution and the subtree. A TWO-LAYER APPROACH The CTW computes probability estimators along a path in a tree according to the context of the symbol under consideration. We split the tree over a given number of processors such that every processor works independently on symbols whose context reaches into a particular subtree. A final processor is assigned to the task of combining the results ofthe subtree processors into the final estimated symbol probabilities. THE PROCESSOR ASSIGNMENT Every node P ofthe context tree is visited by a number n» ofsource symbols and every source symbol visits every node on its context path from the root to a certain leaf. We define the amount of work Wp of a tree node Pas: Wp := 1']g' + L (uQ' (1) Q.€'Succ", Here we assume that the amount of work per symbol in a node is constant and equal to one unit. Note that, as usual, the context tree has a uniform depth B, so the tree is balanced. With dp the depth of node P, the workload becomes: Wg' = 1']p(B + I - dp), (2) We assign k processors PI. P2, ... , Pk to nodes of the context tree in such a way that these processors form a complete and proper sub-tree. We also assign a processor PAto the root À ofthe context tree. See Figure I for an example, where the sub-tree is shown in bold. The workload of a leaf processor equals the workload Wi' of the node to which it is assigned. The workload of 'P, equals the remaining work. 86 2'1980 1:l:i01----- ------- 6680 657D -> <, :B!J!) :H02 -> <, 1608 /"'- 1480 2906 /"'- 750 1516 /"'- 788 1480 /"'- :>22 750 /\ /\ /\ /\ /\ /\ /\ /\ D74 -17D50,l 2:17 4!J6 262 25(; ns 479 261 255 l:N 243 132 lHl 42 w(P) = 13304 w(P) = 8322 w(P) = 9992 4996: PÀ 8322: Pi_ 9992 : PA PO/' 'PI Á 'PI Á Ä PcJO PclO PUI PlO Á À Á À / \ POl / \ Á À / \ / \ / \ 1'J1 / \ Figure 2: The two layer distribution algorithm. The workload of the parallel system is defined as the maximal workload over all processors. w(P) := max (up. (3) Pe[p, .. P,- ... 1'>1 We consider only binary trees, so start with three processors, PA, Pu, PI. We re- peatedly replace the leaf processor that has the largest workload with two processors in its child nodes. We stop when we have reached the required number of processors or the maximal workload over all processors, including Pi., has reached its minimum. See Figure 2 for an example. Here the workload is written under the node. We see that four processors are optimal, with a maximal workload of 8322. A PROOI' OF OPTlMALITY This splitting of leaves with maximal workload reminds us of the Tunstall code. [7, 8]. An optimality proof for the Tunstall codes can be adapted to this problem to show that the leaf-splitting algorithm as given above is optimal. For this one must realize that the workload of internal nodes of the tree, i.e. those "above" the leaf processors, is not smaller than the workload of any leaf processor. We shall show that this condition implies optimality among all possible distributions of leaf processors. 87 root »<: / Vrr""'" B' <" .... I ..... In ~--------------------- B Figure 3: The optimality of B. Let B be the sub-tree realized by a leaf processor distribution that satisfies the condition stated above and let w(B) be the realized workload over the leaves. Assume that there exists another sub-tree B* with the same number of leaf processors that realists a better workload (u(B*) < w(B). As depicted in Figure 3 we can discriminate three regions. Region I contains leaves common to both trees Band B*. In region n the leaves of B* are extensions of leaves in B and in region III leaves of B are extensions of leaves in B*. From the fact that Band B" contain an equal number of leaves and that Band B' are different we conclude that the regions II and III are non-empty. So there exists a leaf (processor) Pin B* while this node is an internal node of B (region Ill). With the assumed property of B we conclude that cu(B) ::: W'l' ::: w(B*), thus proving that B* cannot be better than B. It is easy to see that both cases of the stopping condition of the previous section together with the proof given here result in the conclusion that the two-layer processor assignment algorithm gives the best possible assignment. DISTRIBUTING THE SYMBOLS After the processors are assigned to the nodes of the context tree we will scan the data (again) and assign the symbols to the leaf processor that is on the context path of that symbol. This sorting of the symbols can be performed efficiently by a Finite State Machine (FSM). Consider the processor tree as given in Figure 4 and the corresponding FSM in Figure 5. We see that the states ofthe FSM correspond directly to the processor leaves of the tree. We show that this holds for any optimal processor tree. Let C be the set of contexts (binary strings) that correspond to the processor leaves of the tree, e.g. C = [000,00 1,01, 10. ll} in Figure 4. For every context eEC, or state in the FSM, we must be able to find another unique context for the next context 88 POl 1)1 PtlOO POOI Figure 4: A processor tree with PtlOO, POOl. POl, PlO, Pll. o o Figure 5: FSM according to the processor tree. Ox resp. Ix. The precise condition is Vx E C: prefix(Ox) E CA prefix(lx) E C. (4) Here prefix(x) means any non-empty prefix ofthe string x, including x itself. Assume that there exists a x E C such that prefix(Ox) if. C. This implies that the node Ox has been split before node x. Now it is clear that n, ::::TJox. If [x] denotes the length of x then we obtain from (2) Wx = TJx(B + 1 - lxI), (5) WOx = l'/oy(B -lxi), (6) and thus ca, > ü)Ux so it is impossible that Ox was split hefare x. The same holds for x and l x. So we conclude that (4) must hold and the states ofthe FSM are the processor leaves. And so the symbol distributing FSM iseasy to derive. NUMERlCAL RESULTS The parallel processing algorithm consists ofthe following steps. 89 800 = 0.5 801 = 0.3 Figure 6: Tree source: ei = Pr{X = 1Icontext = ï}. 1. First (a part of) the data is scanned to produce the counts n-r. 2. The processors are assigned using the maximalleaf splitting algorithm. 3. The symbol distribution FSM is created from the processor leaftree. 4. The data symbols are distributed over the processors, each labeled with their contexts. 5. Finally the processors can start working on these symbols in parallel. It is clear that after an initial delay, where the Ieafprocessors have to finish their work on the first symbols, the root processor can start combining the results, while the leaf processors continue working in parallel, Also the counting (step I), processor assignment (step 2), and symbol distribution (step 3 and 4) do not contribute significantly to the total processing time assuming that the data string is long enough. I f the data sequence length is N symbols then in the single processor system the processor must process N (B + I) units. We define the parallel efficiency W as the speedup N (B + I) / (V(P) relative to the number of processors used, P, so: W·=_N_ (7) . (V(P)p· In our experiments we considered three data-sources, Source A: A maxentropic binary source, i.e. memoryless and Pr{X = OJ = Pr{X = IJ = 1/2. Source B: A "low entropy" binary source with Pr{X = O}= 1 - Pr{X = l ] = 15/16. Source C: A simple tree source as given in Figure 6. In the following graph we show the parallel efficiency as a function ofthe context tree depth B. From this we conclude that low entropy sources divide the work unevenly over the different contexts and this affects the parallel efficiency adversely. 90 0.8 parallel . O.G efficiency w 0.4 5 10 15 20 Treedepth B Figure 7: Parallel efficiency for the tree sources. Figure 8: Multiple layers of processors. MULTIPLE LAYERS EXTENSION We want to improve the performance ofthe parallelism by allowing multiple layers of processors. Figure 8 gives an example. Unfortunately, we have not been able to find an efficient algorithm for generating the optimal solutions. We have calculated some small optimal solutions and Figure 9 present them. We used two memoryless sources, with PriX = I} = 1/2 and Pr{X = l } = 1/16 respec- tively. The context tree depth was fixed at 5 and the number of processors ranged from 2 to 6 for the multi layer solution, the two-layer method could only start with 3 processors. CONCUJDlNG REMARKS Speed gains from a factor of2 to 7 have been achieved with the two-layer method. Its parallel efficiency however is not good for unbalanced trees (Iow entropy sources). The mu1ti layer approach can improve this efficiency enormously, but unfortunately we do not know how to generate the optimal processor distribution efficiently. 91 ----- P(l) = 1/2 1- -- P(l) = 1/16 ...______ parallel 0.8- ~ ....... ~-~-~~__ _.-/ _...._ efficiency ---...__, _- W 0.6- ~:------+ 0.'1 -I-----"I----,--I---'Ir-----l 2 3 4 5 Number of processors P Figure 9: Multiple layers of processors. +: two-layer, .: multi layer. REFERENCES [IJ P.A.J. Volfand f.M.J. Willems, "The Switching method: Elaborations," In Symp. on Inform. Theory in the Benelux, vo119, pp. 13-20, Veldhoven, The Netherlands, may 28-29, 1998. [2] F.M.J. Willems and Tj.J. Tjalkens, "Complexity Reduction of the Context-Tree Weighting Algorithm: A Study for KPN Research," EIDMA report RS.97.01, ISBN 90-75332-03-3, 105 pages, 1997. [3] J.G. Cleary and l.H. Witten, "Data compression using adaptive coding and partial string matching," IEEE Trans. Comm., vol 32, na 4, pp. 396-402, 1984. [4] M. Burrows and DJ. Wheeler, "A Block-sorting Lossless Data Corn- pression Algorithm," Digital Systems Res. Center Res. Rep. 124, 1994, http://gatekeeper.dec.com/pub/DEC/SRC/ research-reports/abstracts/src-rr-124.html. [SJ M. Taylor, "The RK Compressor," http://rksoft.virtualave .net/. [6] D.P. Helmheld and R.E. Schapire, "Predicting nearly as well as the best pruning ofa decision tree," Proc. 8-th Ann. Conf. on Comp. Learn. Th., pp. 61-68, 1995. [7] E.P. Tunstall, Synthesis ofNoiseless Compression Codes, PhD Thesis, Georgia Institute of Technology, Sept. 1967. [8] F. Jelinek and K.S. Schneider, "On Variable-length-to-block coding," [EEE Trans.Inform.Theory, vol IT-18, pp 765-774, Nov, 1972. 92 ASYMPTOTIC INVESTIGATION OF THE OPTIMAL FILTERING ERROR AND INFORMATION RATES IN CERTAIN MODELS OF OBSERVATIONS AND CHANNELS * Viacheslav V. Prelov! and Edward C. van der Meulen! t Institute for Information Transmission Problems of the Russian Academy of Sciences 19 Bol'shoi Karetnyi, 101447Moscow, Russia. t Department of Mathematics, Katholieke Universiteit Leuven Celestijnenlaan 200B, 3001 Heverlee, Belgium. Abstract - A short survey of recent results in asymptotic investigations of the optimal nonlinear filtering error is presented. As a special case, some sufficient con- ditions under which the filtering error is equal to zero (i.e., when error-free filtering is possible) are described. It is demonstrated how new results on asymptotics of the mean-square error of the optimal filtering can be applied to study the asymptotic be- havior of information rates in certain communication channels with slowly varying input signals. Some new relations between information rates and mean-square errors of the optimal estimation in such channels are also presented which help us to study both of these quantities. INTRODUCTION The problem of investigation of the information rates, capacity and other information performances of different channels and communication systems is one of the important prob- lems of information theory. This problem is closely connected with the problem of finding optimal and asymptotically optimal methods of nonlinear filtering and the investigation of their performances in various models of observations, which is also a very important problem in mathematical statistics and the theory of stochastic processes. A relationship between information theory and filtering was first observed by Gelfand and Yaglom [1] in 1957 when they expressed the mutual information in terms of a mean-square error of estimation for some Gaussian processes. Later, many papers were devoted to the derivation of some lower and upper bounds for the minimal mean-square filtering error for different models of observations by using information-theoretic methods and, in particular, rate-distortion theory. In general, the obtained lower and upper bounds are not tight. Most results in this area were obtained for continuous-time models where a certain diffusionprocess embedded in white Gaussian noise is observed. "This work was carr ied out with the partial support of the Russian Foundation for Basic Research under Grant 00-01-00266, INTAS Project No. 738, and Project GOA/98/06 of Research Fund K.U.Leuven. 93 On the other hand, some results of nonlinear filtering theory were used to obtain ex- plicit asymptotic expressions and bounds for the mutual information, information rates, and capacity of certain channel models. In this paper, a short survey of recent results in the areas described above obtained by the authors and some of their colleagues from the Institute for Information Transmission Problems is presenten. ASYMPTOTICS AND BOUNDS FOR THE OPTIMAL FILTERING ERROR Let (X, Y) be a two-dimensional, discrete-time, second-order stochast ie process, where X = {Xj} and Y = {Yj} are the unobservable and observable components, respectively. The problem of optimal filtering for the process X consists of constructing, for each time instant n, the optimal (in a certain sense) estimate of Xn from the observations {JIj, j ::;n} or from the observations {JIj, -00 < j < oo]. It is well known that except for a number of special cases (such as a Gaussian one) the implementation of the optimal (nonlinear) filter is almost impossible. Therefore, sub-optimal filters, upper and lower bounds, and asymptotic behavior of the optimal filtering error are intensively investigated. Below, we briefly describe some examples of recent results in this direction obtained by us and our colleagues. To formulate such results, let us introduce some necessary definitions and notations. Below, we will always assume that the components X and Y of the pair (X, Y) form a jointly stationary stochastic process. Let Fn = alJlj, j ::;n} be the a-algebra generated by the random variables Yi, j ::;n. Denote by e(Xn) the mean-square risk of an estimate Xn = cp(JIj, j ::;n) of Xn, ~hich is an Fn-measurable function, i.e., set Let eopt be the minimum of the risk taken over all Fn-measurable estimates Xn, so that - 2 eopt = _ inf e(Xn) = E [Xn - E(XnIFn)] . X"= 0, is a stationary, aperiodic, and irreducible Markov chain with a finite number of states {al, ... , am, ai E R, i = 1, ... , m} and transition probabilities i", i. At:ij = P{Xt: n+l = aj IXt:}n = ai = {E)..i j, 1_ E).... tt, i = i. (1) where )..ii = L: )..ij· #i Let Fal (.), ... , Fam (.) be a finite set of distribution functions in R. Denote the corre- sponding density by er; ( Pi () X = dJ.L' x), where and assume that the Kullback-Leibler distances exist and Jij > 0, i '" j. Assume further that, given the process Xt:, the observations Yn = Y,î ER are conditionally independent random variables, i.e., more precisely, In [2], the following statement is proved. If the densities Pi satisfy the condition p·(x) 12+" Pj(x) J.L(dx) < J R 1 log p'(x) J 00 (2) for some 8 > 0 and all i '" i. then, for small transition rates (E --+ 0), the performance of the optimal filter is given by the formula Pe,opt(E) = (mL L q.).. ~. .. ) 'J ( E log - 1) (1 + 0(1)), E --+ 0, (3) i=l j#i 'J E where qk = p{ X; = ak} is the stationary distribution of the chain. In [3],a similar result for the mean-square error of the optimal filtering is proved. Namely, it is shown there that if condition (2) is fulfilled, then eoPt(E)= ( m LL q.).... ~.'J(ai-aj)2 ) ( E log- 1) (1+0(1)), E --+ O. (4) i=l#i 'J E It should be noted that a statement similar to (4) for the simpler continuous-time model of observations was earlier proved in [4]. 2. Consider now the case where the observable process Y = {}j} is equal to the sum }j = Xj + Zj, j = 0, ±1, ... , 95 where X = {Xj} is a stationary, second-order, discrete-time, stochastic process with zero mean and Z = {Zj} is a sequence of i.i.d. random variables independent of X with zero mean and finite variance (j2. Let 1 = 1(X; Y) be the information rate of the observable process Y with respect to the estimated process X, i.e., - - 1 I=I(X;Y)= lim -I(X1, ... ,Xn;Y1, ... ,Yn) n-+oo n provided the limit exists, where 1(·;·) is the mutual information. Assume that 1is defined. Then the following statement is proved in [5]: If there exists a constant M, 0 < M < 00, such that IXol :'S M a.s., then there exists a constant e = e(M, (j2) < 00 depending only on M and (j2 = EZg such that 1 - - T(M) I :'S e~Pt :'S cl, (5) where 1 T(M) = sup "2D(Zo 11 Zo - x), x:lxls2M x and D(ç 1117) is the Kullback-Leibler distance between the measures Pç and PT/. As a corollary of this assertion, the following statement can be derived: Assume that the estimated process X = X" depends on a parameter e in such a way that (a) r = 1(Xé; yé) -+ 0 as e -+ 0; (b) There exists a constant M, 0 < M < 00, such that Ixgl :'S M a.s. for all sufficiently small e; (c) T(M) < 00. Then Moreover, in [5], some sufficient conditions are pointed out under which the following asymptotic expressions hold: e~Pt(£) = ~ r (1 + 0(1)), e -+ 0, where J = J(Zo) is the Fisher information of Zo. In particular, if Xe = £X, then applying the formula 1(£x; £X + Z) = ~J(varXo)t:2 + 0(£2), e -+ 0, (see formula (8) below) it is easily verified that e~Pt(£) = (EX6) £2 + 0(£2), e -+ o. It is also shown in [5] that if: (1) there exist some constants Me that depend only on E such that Ixgl :'S Me a.s., and Me -+ 0 as e -+ 0, (2) Zo has a bounded absolutely continuous probability density function p(z), and (3) there exists a constant Ó > 0 such that f 00 sup Ip'(z + x)1 dz < 00, -00 x:lxlsó 96 then 3. Finally, consider the model of observations where the observed stationary process yE = {r~n is equal to the sum Yf = Xj + Nj + £Zj, j = 0, ±1, ... , where the estimated process X = {Xj} and the noise N = {Nj} are stationary Gaussian processes and the additional noise Z = {Zj} is an arbitrary (non-Gaussian) second-order sta- tionary process such that X, N, and Z are mutually independent, and e is a small parameter. In [6], for a very large class of processes Z, it is proved that e~pt(£) = e'(O) + &2 + 0(£2), e -+ 0, where e'(O) = J 1/2 fx(>,)fN(À) fx(À) + fN()..) dÀ -1/2 and S = J1/2 f1 ()..)fz ()..) [Jx()..) + fN(À)]2 a». -1/2 Here fx()..), fN(À), and fz()..) are spectral densities of the corresponding processes. ERROR-FREE FILTERING Of particular interest in filtering theory is the case where error-free filtering is possible. For example, if X = {Xj} and Z = {Zj} are stationary processes having a singular spectrum and spectral density, respectively, then Xn (and hence Zn) can be correctly reconstructed with probability 1 from the observations Y~ = {Yj = Xj + Zj, j = 0, ± 1, ... } by means of recovery of the singular component from the spectral representation of Y = {Yj}. In [7] and [8], more general conditions are found under which error-free filtering (in other words, perfect filtering) of Xn from all the observations y.~oo turns out to be possible. The results of [9] and [10] are rather close to those of [7, 8J, but in [9, 10] the possibility of causal error-free filtering is considered and the proofs, based on information-theoretic methods, are absolutely different from those in [7, 8]. The main result of [9] can be formulated as follows. If X = {Xj} and Z = {Zj} are a completely singular and a weakly regular, independent, second-order stationary process, respectively, then, for any n, the optimal estimate of Xn from the observations Y..':"'oo = {Yj, j :::;m}, where Yj = Xj + Zj, j = 0, ±1, ... , coincides with Xn for any integer m with probability 1, i.e., E[Xn I Y~oo] = x; a.s, Note that the definitions and some properties of weakly regular and completely singular stationary processes can be found in [11]. Here we only note that the class of weakly regular processes is very wide, in particular, it contains the class of regular processes. Moreover, any nontrivial transformation of a weakly regular process is again a weakly regular one (the latter assertion is not true for regular processes). On the other hand, any completely singular process is singular, and any process with a singular spectrum is completely singular. It is 97 possible to show that some completely singular processes may have a spectral density and hence the class of processes with singular spectrum lies strongly inside the class of completely singular processes. Now, let us formulate the main result of [10]. There, a more general situation is considered. Namely, it is assumed that the distortions of the estimated process are arbitrary, but are not an additive noise, in general. However, it is also assumed that the distortions at different time instants are independent. More precisely, it is assumed that, given a sequence {Xn}, the observations {Yn} are independent and P{Yn E dy I x., j = 0 ± 1, ... } = P{Yn E dy I Xn} and, moreover, P{Yn E dy I Xn = x} = f.£x(dy), where f.£x(-) is a given probability measure on R which does not depend on n but depends on x. Thus, the observations {Yn} are an output sequence of a stationary memoryless channel whose conditional distribution is f.£x(-). It is proved in [10] that if X = {Xj} is a stationary completely singular process and the measures f.£x(-), which define the process of observations Y = {Ij}, satisfy the assumption above, then, for any n, the value of Xn can be correctly reconstructed from the observations Y~ = {Ij, j ::::: m} for any m with probability 1. The proof of both statements above is based on some information-theoretic methods. In particular, the following assertion is used. If (X, Y) is a pair of jointly stationary processes and X is a completely singular one, then the conditional mutual information I(Xo; YoI Y~~) is equal to O. ASYMPTOTICS OF THE INFORMATION RATES The investigation of the information rates in various channels is a rather important prob- lem, connected, in particular, with the investigation of such very important characteristics as the capacity and the rate-distortion function. It is well known that, except in a nnrnber of special cases, no closed-form expressions are feasible for the information rates. Therefore, it is of interest to investigate the asymptotic behavior of the information rates under vari- ous behavior of parameters of channel models considered. Moreover, some results described below on asymptotics of the information rates were used to investigate the asymptotics of the optimal filtering error in the model of observations with almost Gaussian noise described above. 1. Consider the channel model where the output signal ye = {IJ} is equal to the sum YI = éXj + :6j, j - 0, ±1, ... , (6) where the input signal X = {Xj} and the noise Z = {Zj} are rather general second-order, discrete-time, independent stationary processes, and é is a small parameter. Assume first that the channel (6) is a Gaussian memoryless channel, i.e., Z = {Zj} is a sequence of i.i.d. Gaussian random variables. Then, as is shown in [12], - varXo 2 2 I{éX; ye) = ~ é + o{é), e -+ 0, (7) if X = {Xj} is a regular process, where (72 = varZ. This result was generalized in [13],where formula (7) was proved for a weakly regular process X = {Xj}. 98 Later, formula (7) was generalized to a certain class of non-Gaussian processes Z. Namely, it is shown in [14] that l(Ex; yE) = ~J(Zo)(varXo)é2 + 0(é2), e -+ 0, (8) if: (i) X = {Xj} is a weakly regular process, (ii) Z = {Zj} is a sequence of i.i.d. random variables such that Zo has a differentiable bounded density function with bounded derivative and finite Fisher information J(Zo), (iii) the formula (9) holds. Note that equality (9) is valid, for example, if, in addition to (ii), the peak power of Xo is bounded. Note also that for a Gaussian Zo formula (8) reduces to (7). Moreover, in [14], formula (8) was generalized to a rather general class of stochastic processes Z = {Zj} which can be obtained by means of a reversible linear transformations from a sequence of i.i.d. random variables. Finally, note that some results just described above were generalized in [15]to the follow- ing class of channels which is more general than (6): YI = éUjXj + Zj, j = 0, ±1, ... , where U = {Uj} is a completely singular process. 2. Consider now a rnemoryless stationary channel where the input signal X = XE = {XJ} (and, therefore, output signal Y = yE = {rJ}) depends on a small parameter e > 0 such that YI = XJ + Zj, j = 0, ±1, .... (10) We assume that XE is a stationary, aperiodic, and irreducible Markov chain with a finite number of states {al, ... , am, ai E R, i = 1, ... , m} and transition probabilities Afj given in (1). We also assume that Z = {Zj} is a sequence of real-valued LLd. random variables independent of XE. The main result of [16]can be formulated in the following way: If EIZolt3 < 00 for some (3 > 4, then (11) where H(XE) = (f 2:qi)..ij) i=lj#i e (log~) é (1 + 0(1)), e -+ 0, is the entropy of the Markov chain XE, and {qk = P{X~ = ad, k = 1, ... ,m} is the stationary distribution of it (which does not depend on e). The proof of this statement is essentially based on the result of [3] concerning the asymptotics of the mean-square error for the optimal filtering given by formula (4). It is of interest to note that, as follows from (11), the main term of the asymptotics of l(XE; yE) does not depend on the power of the noise Z and coincides with the main term of the asymptotics of l(XE; yE) defined by the entropy of the Markov chain XE for the noiseless channeL But if we assume that XE is a stationary Gauss-Markov process with the same covariance function as the Markov chain in (10), then, as shown in [16], the asymptotic behavier of the inforrnation rate is absolutely different than (11). 99 REFERENCES [1] L M. Gelfand and A. M. Yaglorn, "Calculation of the amount of information about a random function contained in another such function," Uspekhi. Math. Nauk, 12, 3-52 (1957). [2] R. Khasminskii and O.Zeitouni, "Asymptotic filtering for finite state Markov chains," Stochastic Processes and their Appl., 63, No. 1, 1-10 (1996). [3] G. Golubev ,"On filtering for a hidden Markov chain under mean-square quality criterion," Probl. Peredachi Inf., 36, No. 3, 22-28 (2000). [4] M. Wonham, "Some applications of stochastic differential equations to optimal nonlinear filtering," SIAM J. Contr., 2, No. 3, 347-369 (1965). [5] M. S. Pinsker and V. V. Prelov, "Upper and lower bounds and asymptotics of the optimal filtering error of a stationary process with a small information rate," Probl. Peredachi Inf., 34, No. 4, 23-38 (1998). [6] M. S. Pinsker and V. V. Prelov, "Optimal filtering of a Gaussian signal against a back- ground of almost Gaussian noise," Probl. Peredachi Inf., 31, No. 4, 3-21 (1995). [7] H. Furstenberg, "Disjointness in ergodie theory, minimal sets, and a problem on Dio- phantine approximation," Mat. Syst. Theory, 1, No. 1, 1-49 (1967). [8] H. Furstenberg, Y. Peres, and B. Weiss, "Perfect filtering and double disjointness," Ann. Inst. Henri Poincaré, vol. 31, No. 3, pp. 453-465, 1995. [9] M. S. Pinsker and V. V. Prelov, "On error-free filtering of some stationary processes," Usp. Mat. Nauk, 52, No. 2, 109-118 (1997). [10] M. S. Pinsker and V. V. Prelov, "Error-free filtering of an entropy-singular signal under independent distortions," Probl. Peredachi Inf., vol. 34, No. 3, pp. 3-6, 1998. [11] M. S. Pinsker, "Information and Information Stability of Random Variables and Pro- cesses," Holden-Day, San Francisco (1964). [12] M. S. Pinsker, V. V. Prelov, and S. Verdû, "Sensitivity of channel capacity," IEEE Trans. Inj. Theory, 41, No. 6, 1877-1888 (1995). [13] M. S. Pinsker and V. V. Prelov, "Information rates in stationary Gaussian channels in weak-signal transmission," Probl. Peredachi Inj., 30, No. 4, 3-11 (1994). [14] M. S. Pinsker, V. V. Prelov, and E. C. van der Meulen, "Information rates in certain stationary non-Gaussian channels in weak-signal transrnission," Probl. Peredachi Inj., 35, No. 1, 3-12 (1999). [15] M. S. Pinsker, V. V. Prelov, and E. C. van der Meulen, "Stationary channels with a random parameter which is a completely singular process," Probl. Peredachi Inf., 34, No. 1, 3-17 (1998). [16] M. S. Pinsker, V. V. Prelov, and E. C. van der Meulen, "On the information rate in memoryless channels for a slowly varying Markov signal," Probl. Peredachi Inf., 36, No. 3, 29-38 (2000). 100 New Tools for the Analysis of the Capacity of Very Noisy Channels Sergio Verdû Dept. Electrical Engineering Princeton University Princeton, New Jersey 08544 Verdu@Princeton.edu Abstract- In this paper, we show that these conclusions are mis- The tradeoff of spectral efficiency vs energy-per informa- guided. tion bit (normalized to the noise level Ebi No) is the key mea- In addition to transmitter/receiver complexity, attaining sure of the capacity of channels in the power-limited regime. This paper finds the fundamental bandwidth-power trade- the minimum energy per bit entails zero spectral efficiency. off of a general class of channels in the wideband regime in A communication engineer who needs to transmit a given which the spectral efficiency is small but nonzero. data rate through a given available bandwidth, and wants to find the required power does not find the solution in I. INTRODUCTION ~ . nor on the derivative at zero signal-to-noise ratio ol th~ Shannon capacity. Of course, the solution lies in Determining the infinite-bandwidth capacity is equiva- the full Shannon capacity function for arbitrary signal-to- lent to finding the minimum energy required to transmit noise ratios. Unfortunately, the capacity function and the one bit of information reliably. To obtain this quantity, inputs that attain it are unknown for many channels of we can choose to maximize the information per unit en- interest, particularly in the presence of fading (cf. [3]). ergy in contrast to the standard Shannon setting in which However, as we show in this paper, it is possible to obtain the information per degree of freedom is maximized. Mo- analytically the fundamental limits of a general class of tivated by the optimality of on-off signaling in the infinite additive-noise channels in the wideband regime in which bandwidth limit, Gallager [1], found the exact reliability the spectral efficiency is small but nonzero. These results function in the setting of a binary-input channel where in- offer engineering guidance on the fundamental bandwidth- formation is normalized, not to blocklength, but to the power tradeoff and on signaling strategies that attain it in number of '1's contained in the codeword. More generally, the wideband limit. we can pose the "capacity per unit cost" problem where an The tradeoff power vs. bandwidth is mirrored in the arbitrary cost function is defined on the input alphabet [2]. tradeoff of the information theoretic quantities spectral ef- An important class of cost functions are those which, like ficiency vs. Eb/No (energy per bit normalized to back- energy, assign a zero cost to one of the input symbols. For ground noise spectral level). Our approach for the wide- those cost functions, the capacity per unit cost not only is band regime is to approximate spectral efficiency as an equal to the derivative at zero cost of the Shannon capacity affine function of Eb/No (dB). Thus, we are interested in but admits a simple formula [2]. Even in this more gen- obtaining not only ~NE . but the wideband slope of the Dmm eral setting, capacity per unit cost is achieved with on-off spectral efficiency-t- curve in b/s/Hz/(3 dB) at t- .. signaling with vanishing duty cycle. Spectral efficiency inothe wideband regime turns out tombe A wide variety of digital communication systems (par- determined by both the first and second derivatives of the ticularly in wireless, satellite, deep-space, and sensor net- channel capacity at zero signal-to-noise ratio. works) operate in the power-limited region where both spectral efficiency (b/s /Hz) and energy-per-bit are rela- Il. SPECTRAL EFFICIENCY vs. Eb/NO tively low. The information theoretic analysis of those In this paper, we deal with additive-noise channels in a channels, in addition to to leading to the most efficient general setting which: allows other random channel impair- bandwidth utilization, reveals design insights on good sig- ments such as fading. Consider the following discrete-time naling strategies. channel with m complex dimensions: The following conclusions about signaling and capacity in the wideband regime have been drawn in the literature: v = Hx+n, (1) • On-off signaling approaches capacity as the duty cycle where the real and imaginary parts of the noise components vanishes. are independent and satisfy • The derivative at zero signal-to-noise ratio of the Shan- E[llnW] = mNo, (2) non capacity determines the wideband fundamental limits. • Capacity is not affected by fading. H is an m x n complex matrix whose random coefficients • Receiver knowledge of channel fade coefficients is useless. have finite second moments, independent real and imagi- 101 nary parts, and are independent of x and n. Ill. MINIMUM ~ We will consider a variety of special cases of (1) depend- ing on the transmitter/receiver knowledge of H, its statis- Since C(SNR) is a monotonically increasing function, (3) tics, and the statistics of the background noise. results in Let Eb denote the transmitted energy per information Eb rlm ---SNR (8) bit. A function of fundamental interest in this paper is No min SNR.j.OC(SNR) loge 2 C (Eb) No . = spectral efficiency (b/s/Hz) (9) 6(0) Usually, to obtain channel capacity, it is convenient to where place a constraint, not on Eb directly, but on the energy transmitted per symbol vector E[llxWJ, or equivalentlyon 6(0) = derivative at 0 of C(SNR) computed in its normalized version: nats/dimension. Eb SNR = -C(SNR), (3) The tools to analyze 6(0) were developed in [2] in the No context of memoryless channels and lead to the following where Shannon's capacity function C(SNR) (bits/dimension) general result. of the discrete-time channel (1) gives the maximum num- ber of bits per dimension achievable under the constraint Theorem 1. Consider the m-dimensional complex of arbitrarily reliable communication (vanishing block er- channel ror probability). The spectral efficiency-~ function can y =Hx+n (10) be obtained from Shannon's capacity via where the complex Gaussian vector n has independent identically distributed components and satisfies (2). Then, C (~:) = C(SNR) (4) the required received energy per bit for reliable communi- cation satisfies where SNR is the solution to (3). Even though the goal, as stated above, is to find the Er ____Q_ = loge 2 = -1.59 dB, (ll) best tradeoff between transmitted energy per information No min bit and spectral efficiency, it is common for the sake of comparing results obtained for different channels to repre- regardless of whether H is known at the transmitter and/ or sent the fundamental limits in terms of received energy per receiver. information bit: One caveat that should be observed regarding Theo- rem 1, is that it was obtained enforcing the same second- Eb _ Eb E[IIHxW] (5) moment constraint over all transmitted symbols. However, No - No E[llxI12] if the channel matrix H changes from symbol to symbol Note that, in general, the normalization in (5) depends on and its values are known instantaneously at the transmit- the input distribution. ter it is often feasible to do power control at the transmitter Fortunately, as we will see, in the low spectral efficiency whereby the instantaneous transmitted power depends on regime, it is possible to sidestep not only the solution of the the actual realization of H [4]. Then, the optimum power nonlinear equation (3) but even the computation of C(SNR). control strategy only spends energy when the channel con- Our approach is to analyze the first-order behavior of the ditions are particularly favorable. If the magnitude of the spectral efficiency vs ~ function in the wideband limit: entries in H follows a distribution with unbounded sup- port, then the transmitted ~ can be made as small as desired, as shown in [5]. In fact, [5] shows that property Eb even if the fading coefficients can only be tracked coarsely. lOlagIo - No min This is another illustration of a case where the conclusions C derived from the analysis of spectral efficiency vs. ~ are + So lOlagIo 2 quite different from an analysis of C(SNR). o(C), For several of the channels considered above the + C ---t 0 (6) capacity-achieving distributions are either not known as a where ~NEOmm. denotes the minimum NEb0 required for reli- function of the SNR, or they can be found only numerically. able communication, and So denotes the slope of spectral A relevant byproduct of the analysis in this section is the efficiency in b/s/Hz/3 dB at the point §.N Omm.: identification of simple distributions that, although do not achieve C(SNR), achieve 6(0), and, consequently, are good C(~) enough to achieve ~ .. This fact and the results in the 5o d~f - lim EOE 10IoglO2 (7) next section, motivatemthe following definition: ~.j.~ m'n 10 loglO Wo- - 10logl0 Wo- min 102 E Definition 1. An input distribution parametrized by b/s/H« per 3 dB achieved at £b.Omm N .' The following general SNR,XSNRis first-order optimal if it satisfies the SNRcon- result is a straightforward consequence of (3): straint and it achieves namely EeJi_N E ., Omm Theorem 2. At £b.NE ., the slope of the spectral effi- Offim lim I(xsNR; Y) = è(O). ciency vs. ~ in bis/Hz per 3 dB is given by (12) SNR~O SNR 2 [è(O)f Trivially, a capacity-achieving distribution is first-order (17) optimal. For the AWGN channel, in addition to the Gaus- So = -ë(O) sian distribution, the proof of Theorem 1 reveals that the one-dimensional on-off distribution with è and ë, the first and second derivative, respectively, of the function C(SNR)computed in nats. with probability 1 - 6, x = {~ (13) Note that by definition, So is invariant to channel gain. with probability 6, Thus, it is not necessary to distinguish between transmitted with and received So. No In parallel with the definition we made in Section III we 6 = SNRjZi2 (14) have: is first-order optimal for any nonzero c. More generally, Definition 2. An input distribution parametrized by for channel (10), the proof of Theorem 1 that the following SNR,XSNRis second-order optimal if it is first-order optimal m-dimensional distribution is first-order optimal: and it achieves So, namely, 1 d2 .. with probability 1 - 6, --d 2I(xsNR;y)lsNR=o = C(O). (18) (15) m SNR x = { ~(SNR)XO with probability 6, In view of the universal first-order optimality of on-off with signaling we study its capabilities in the region of small but 6 = NosNR (16) nonzero spectral efficiency. Specifically, we will examine p2(SNR)lxoI2 So(xo), the slope achieved by the input distribution and Xo a maximal-eigenvalue eigenvector of HtH if H is known or of the matrix E(HtH) otherwise. An arbitrary nonzero p(SNR)can be chosen if H is perfectly known, oth- x = {OXo with probability 1 - 6, with probability 6, (19) erwise p(SNR)---+ 00 as SNR---+ O. In the latter case, the first- with 6 chosen so that the SNRconstraint is satisfied, namely, order optimal distribution suggests flash signaling, with signals of extremely low duty-cycle. But note that even in 6 = sNRNom (20) the case of a known channel, the peak-to-average ratio of IIxol12 . the input distribution (15) goes to infinity as SNR---+ O. Of course, the peak-to-average ratio of the capacity-achieving Theorem 3. Denote Pearson's X-divergence by Gaussian input is no better. Fortunately, if the channel is known, there exist first-order optimal inputs that achieve (21) unit peak-to-average ratio. For example, we have shown that both PSK and QPSK are first-order optimal. The ~ . and So achieved by on-off signaling (19) as a The main practical lesson we can take from this section functio~m~'fthe on-level Xo are given by is that if the background noise is Gaussian, finding the minimum transmitted energy per bit required for reliable communication is simply a matter of subtracting the chan- nelloss from -1.59dB. The fact that channels with vastly different inforrnation-carrying capabilities have the same and EeJi_N Dmm E points out the essential limitation of this perfor- ., SO(Xo) = 2 (D(Py1x=xoIIPYlx=o))2 (23) mance measure: it is not intended to give any indication m t.(Pnx=xoIIPYlx=o) , whatsoever about required bandwidth. It simply tells us respectively, where divergence is measured in nats in both the required ~ if we are prepared to operate with infinite (22) and (23). bandwidth. In order to assess the interplay between band- width and power for a given wideband channel, we must As a simple exercise we apply the formulas obtained in resort to the analysis propounded in the next section. Theorem 3 to the Gaussian channel IV. WIDEBAND SLOPE B/s/Hz/3 DB y = x+n. (24) In this section we study the growth of spectral efficiency The result is: with ~~ in the wideband regime. Specifically, we focus on Eb the performance measure So, defined in (7) as the ratio of N:" (xo) = loge 2 (25) Omin 103 and the kurtosis of the maximal singular value of the channel. Ifthe number ofrows and columns ofH grow, while keeping Ixol4 2 e Ng exp l;"ool2) - 1 (26) a constant ratio, and its coefficients are independent iden- tically distributed, then the maximal singular value con- verges to a deterministic constant [7], and its multiplicity S 0.3238 bjsjHzj(3 dB) (27) goes to 1. Accordingly, if m represents the number of re- where the upper bound is achieved at ceiving antennas, in the limit the slope is 2 bjsjHzj(3 dB), i.e., the same WI.h.W obtained with one antenna but without fading. Ixol 2 = 0.7968. (28) No Theorem 5. Consider the m-dimensional complex channel Thus, even though the analysis in Section III showed that y = Hx+n (33) any on-level is equally good as far as achieving j;~ . for the Gaussian channel, the finer analysis in this !J'~~tion where the complex Gaussian vector n has independent shows otherwise. More importantly, unless bandwidth is identically distributed components. Suppose that the re- infinite, on-off signaling is decidedly suboptimal for the ceiver knows the m x n matrix H, but the transmitter has AWGN channel. The optimum slope for the AWGN chan- no knowledge of the channel matrix. Then nel is So = 2 bjsjHzj(3 dB), (29) which, in this case, is the highest slope achieved for any ]à No' Curiously, other than the Gaussian distribution, which is In the multiantenna literature it is common to model the trivially second-order optimal, neither the on-off distribu- entries of H as independent zero-mean random variables. tion (15) nor the PSK distribution are second-order optimal In that case, it can be checked that (34) reduces to for the Gaussian channel with known H. Fortunately, we have the following result: 2n So = (IE I) bjsjHzj(3 dB)jreceive antenna " ij + m+ n - 2 Theorem 4. QPSK is second-order optimal for the (35) Gaussian channel. where m and n play the role of the number of receive and Returning to the fading channel, the wideband slope transmit antennas, respectively. Furthermore, if the chan- with channel state information is T'Ireor ern 8. Consider nel coefficients are complex Gaussian random variables, the m-dimensional complex channel I Hij I follows the Rayleigh distribution whose kurtosis is equal to 2. Under those assumptions, in the wideband y = Hx+n (30) regime, the spectral efficiency is a multiple of the harmonic mean of the number of receive and transmit antennas: where the complex Gaussian vector n has independent 2nm identically distributed components. Suppose that both the So = --bjsjHzj(3 dB). (36) m+n transmitter and the receiver know H, then (without trans- mitter power control), While receiver side information of the channel fading S _ 2£ does not improve ~ . , it has a drastic effect on the re- (31) D o - m ,,(umax(H» quired bandwidth in th~ wideband regime as the following result shows. with the kurtosis of a random variable Z defined as Theorem 6. Consider tho m .., n - 1 Rioeen fadine; channel (32) y = (h + g)x + n (37) where h is deterministic, g is zero-mean complex Gaussian umax(H) denotes the maximal singular value of H, and £ with variance "(2, and the additive noise is also Gaussian. is equal to the multiplicity of umax(H). Then, the widcband slope is equal to (regardless of trans- mitter side information) The special case m = 1 of Theorem 8 was given in [5]. Kurtosis is a measure of the randomness of a random vari- able; its minimum value is 1, achieved uniquely by a de- (38) terministic variable. The fading penalty on capacity is due to the concavity of the 10g(1 + x) function. The larger the "spread" of the fading distribution, the larger is the if the receiver knows the Rayleigh-distributed channel co- penalty. Theorem 8 states that in the low spectral effi- efficients, and ciency region, the required bandwidth is proportional to So = 0, (39) 104 for all h, and, > 0, if the receiver does not know the Transactions on Information Theory, vol. IT-40, no. 4, pp. 1261- channel coefficients. 1266, Jul 1994. The capacity-achieving distribution in the special case of (37) h = 0 (Rayleigh) in which neither transmitter nor receiver know the fading coefficients is shown in [10) to be Cc.ltty ~f discrete with a finite number of masses, which depends on lew/Ce. ftt SNR. Furthermore, [10) shows that there exists E > 0 such that SNR < E, implies that a two mass distribution is opti- mal with one mass at zero, and the other at a point whose YE2/lc:l.uu ''/.Ls ~ tJ 0:> hCU1dU1'd!:A. magnitude goes to infinity as SNR -+ 0 and whose phase ~Ii:::-_ I/h:. __ fJ ._ (j is irrelevant. Note that the latter statement is consistent /:_5~ aMduvr. bi i3Pndt'1e bM,dheed~ with the first-order optimality of the distribution in (15). Theorem 6 points out that it is very demanding in terms of bandwidth to achieve ~; . close to -1.59dB in the Ricean channel, regardless ofthe relative strengths of the specular and Rayleigh components. In many practical cases in which the specular component is not negligible, QPSK is an attractive suboptimal alternative as the following result shows. Theorem 7. Consider the Ricean channel (37) with h i' 0 and a receiver that does not know the Rayleigh coefficients. Then QPSK achieves (40) and So = 2, (41) i.e., the same wideband performance as if the Rayleigh component were absent. REFERENCES [IJ R. G. Gallager, "Power limited channels: Coding, multiaccess, and spread spectrum ," 1988 Conf. on Information Science and Systems, Mar 1988. [2J S. Verdü , "On channel capacity per unit cost," IEEE Trans. Information Theory, vol. 36 (5), pp. 1019-1030, Sep. 1990. [3J E. Biglieri, J. Proakis, and S. Shamai (Shitz), "Fading chan- nels: information theoretic and communications aspects;' IEEE Trans. Inform. Theory, vol. 44, pp. 2619-2692, Oct. 1998. [4J A. J. Goldsmith and P. P. Varaiya, "Capacity of fading chan- nels with channel side inforrnation ," IEEE Trans. Information Theory, pp. 1986-1992, Nov. 1997. [5J S. Sharnai (Shitz) and S. Verdu, "The impact of Rat-fading on the spectral efficiency of COMA," IEEE Trans. on Information Theory, May 2001. [6J V. V. Prelov and E. C. vander Meulen, "An asymptotic ex- pression for the information and capacity of a multidimensional channel with weak input signals," IEEE Trans. on Information Theory, pp. 1728-1735, Sep. 1993. [7J J. W. Silverstein and Z. O. Bai, "On the empirical distribution of eigenvalues of a class of large dimensional random matrices," Journalof Multivariate Analysis, vol. 54, pp. 175-192, 1995. [8J S. Verdû, "Capacity region of Gaussian COMA channels: The symbol-synchronous case," Proc. 24th Allerton Conf., pp. 1025- 1034, Oct. 1986. [9J G. J. Foschini, "Layered space-time arcbitecture for wire- less communication in a fading environment when using multi- element antennas," Bell Labs Technical Journal, pp. 41-59, Au- tumn 1996. [10J 1. Abou-Faycal, M. O. Trott, and S. Shamai (Shitz), "The capac- ity of discrete-time rayleigh fading channels," Proc. 1997 IEEE Int. Symp. on Information Theory, p. 473, June 29-July 4. [UJ S. Verdü, Multiuser Detection, Cambridge University Press, New York, 1998. [12J M. Rupf and J. L. Massey, "Optimum sequence multisets for synchronous code-division multiple-access channels," IEEE 105 Error-Correction Radius of Reduced GMD Decoders Jos H. Weber Khaled A.S. Abdel-Ghaffar* Delft University of Technology, Fac. ITS University of California, Dept. ECE POB 5031, 2600 GA Delft, The Netherlands Davis, CA 95616, USA J.H.Weber@ITS.TUDelft.NL ghaffar@ece.ucdavis.edu 22ND SYMPOSIUMON INFORMATION THEORYIN THE BENELUX, ENSCHEDE,THE NETHERLANDS, MAY 15-16, 2001 In generalized minimum distance (GMD) decoding, symbols received from the chan- nel may be erased before being fed into an algebraic error-erasure decoder, in subsequent or simultaneous trials with different erasing patterns. The decision whether or not to erase a symbol in a certain trial is taken by an erasure choosing algorithm which takes into account reliability information from the channel. The error-correction radius is studied for GMD decoders with a limited number of decoding trials and a restricted set of reliability values. I Introduction Generalized Minimum Distance (GMD) decoding, as introduced by Forney [1], permits flexible use of reliability information in algebraic decoding algorithms for error correc- tion. The main idea is to use a simple algebraic error-erasure decoder in a multi-trial fashion, with different erasing patterns based on reliability information from the chan- nel and termination based on a certain distance criterion. In this way, the virtues of probabilistic and algebraic decoding approaches can be combined. Although GMD decoding is a rather old technique, it is still highly relevant. It is also considered in combination with more modern techniques. For example, in [4], a concatenated coding scheme has been proposed with a turbo inner code and a Reed- Solomon outer code. In case the maximum number of iterations for inner turbo decod- ing has been reached and outer (hard-decision) decoding is still unsuccessful, the outer decoder computes the reliability values of its input symbols based on the soft output information of the inner turbo decoder and carries out a final GMD-like decoding step. In this paper, we study the effects of reducing the maximum number of decoding trials (as proposed in [3]) and/or reducing the set of allowable reliability values in GMD decoding. The latter may be of importance since, in any digital implementation, the reliability values need to be quantized. Moreover, in some applications, e.g., GMD decoding of concatenated codes over discrete channels, the reliability values are discrete 'This author was supported by NSF Grant CCR-96-12354. 107 in nature. The proposed limitations on the maximum number of trials and the allowable reliability values may considerably decrease the decoding complexity, but possibly at the expense of performance degradation. A general framework is presented for such reduced GMD decoders, with Forney's algorithm (multi-trial, broad range of reliability levels) at one side of the spectrum and errors-only decoding (single-trial, only one reliability level) at the other side. In particular, we study the error-correction radius of reduced GMD decoders. Many variations on and extensions or improvements to the GMD decoding principle have been proposed over the years, see e.g. [2] for an overview. Still, we have chosen to refer to Forney's original work in the evaluation of the effects of reducing the number of trials and/or allowable reliability levels. It should be noted, however, that much of the analysis presented here may apply to other GMD-based soft-decision decoding techniques as well. In Section 11 we introduce the concept of reduced GMD decoding. Next, a code's error-correction radius for reduced reliability sets and the fraction of this radius which can be achieved by a limited-trial decoder are studied in Sections III and IV, respec- tively. Finally, the results presented in this paper are discussed in Section V. II Reduced GMD Decoding We assume the following setting. A code word c = (Cl, ... .c-) from a q-ary code C of length n and Hamming distance d is transmitted over a channel which may distort the transmitted symbols. Let z = (Zl, ... , zn) be the channel output, where z; does not necessarily belong to the code alphabet. A detector delivers, for each i = 1, ... ,n, a q- ary symbol ri, which belongs to the code alphabet, and which represents the detector's estimate of Ci based on Zi, and a reliability value ai, which belongs to a set R, and which represents the detector's confidence in its estimate. The input to the decoder consists of the received q-ary vector r = (rl, ... , r n) and the associated reliability vector a=(al,.··,an). We assume in the following that R is a closed subset of the real interval [0,1] containing {l}: {I} < R ç [0,1]. (1) The lower ai, the less reliable is the symbol ri, with ai = ° corresponding to "fully unreliable" . Of particular relevance are the families of sets RI-' = [j.t,I] (2) with j.t E [0,1], and lm/2J te; = U {I - 2i/ m} (3) i=O 108 with m = 1,2,3,.... These include the simple cases of taking only hard decisions (f.1. = 1 or m = 1) and of allowing erasures (m = 2). The generalized distance between the received word r with reliability vector a and a q-ary vector v = (VI, ... , vn) is defined as de(v, r, a) = L (1 - ai)/2 + L (1 + ai)/2. (4) Note that for R = RI = {I}, i.e., ai = 1 for all i, the generalized distance de(v, r, a) reduces to the Hamming distance dH(v, r) between v and r. Forney [1] has shown that for any r and a, there can be at most one codeword c such that dc(c, r , a) < d/2. (5) Furthermore, he has also shown that if a codeword satisfying (5) exists, it will be found by the following simple procedure. In trial j (with initial value j = 1), the 2j -1 (if dis even) or 2j - 2 (if d is odd) most unreliable received symbols in r are erased, after which the resulting sequence is fed into an (algebraic) error-erasure decoder with the property that it returns the original codeword whenever the numbers of erasures e and errors t are such that 2t + e < d. If the error-erasure decoder generates a codeword c satisfying (5), then this codeword is taken as the final decoding result, else j is increased by 1 and another trial is performed, unless j exceeds r d/2l, in which case the procedure is terminated. Although Forney's method finds the codeword c (if one exists) satisfying (5) in (at most) r d/2l trials for any reliability set R, the term generalized minimum distance (GMD) decoding has been reserved mainly for this procedure iri combination with the reliability set R = Ra = [0,1]. For this R, Forney has shown that for binary antipodal signals sent over an additive white Gaussian noise (AWGN) channel, GMD decoding has effectively the same error probability as maximum likelihood (ML) decoding at high signal-to-noise ratios. Kovalev [3] considered limiting the maximum number of decoding trials to an arbi- trary number lless than r d/2l. In this case, the recovery of the transmitted codeword c is guaranteed if and only if the generalized distance de (c, r, a) is less than some num- ber, which we call the guaranteed error-correction radius achievable by the decoder. In his work, Kovalev considered fixed erasing strategies, where the number of symbols to be erased in each trial is fixed, and optimized erasing strategies, where this number is optimally chosen, based on the reliability vector a, to maximize the guaranteed error- correction radius of the decoder. For the reliability set R = [0,1], Kovalev determined or bounded the guaranteed error-correction radius of l-trial decoders employing either fixed erasing strategies or optimized erasing strategies. In this paper we consider erasing strategies in a general sense. This concept also covers threshold erasing strategies, such as the decoding technique of concatenated 109 codes developed by Zyablov [7]. In threshold erasing, the decision of erasing or not erasing a given symbol in a given trial depends on whether or not the reliability of the symbol falls below a certain pre-determined threshold. In particular, unlike fixed and optimized erasing strategies, the decision does not depend on the reliabilities of other symbols. Hence, for threshold erasing, the detected symbols need not be ordered according to reliability values. Another extension to Kovalev's work considered in this paper deals with the set R of reliability values. Kovalev took R = [0,1], while we allow R to be a subset of [0,1], as indicated in (1). In particular, we focus on the sets RI-' and Rm introduced in (2) and (3), respectively. The (maximum) number of trials l is considered as a parameter that reflects the allowable cost andj or delay of the decoder. Restricting R andj or l leads to the concept of reduced GMD decoding. III Guaranteed Error-Correction Radius As stated before, Forney [1] has shown that for any received symbol sequence rand reliability sequence a, there can be at most one codeword c such that dG (c, r, a) < d/2. However, dj2 may not be the largest number for which this property holds. We denote the largest real number for which the property holds by rG(d, R). Hence, if the transmitted codeword c and the received sequences r and a satisfy dG(c, r, a) < rG(d, R), (6) then dG( c, r, a) < dG (Cl, r, 0') for any codeword Cl f. c. Therefore, we call rG(d, R) the guaranteed error-correction radius. As the notation suggests, the guaranteed error-correction radius depends on the code C only by its Hamming distance d and not by its length or particular structure, which is shown in the following result. 'I'heot-ern 1 For a code C of Hamming distance d ~ 1 and a reliability set R, it holds that rG(d, R) = dj2 + min I L Ki - L K;I/2, (7) ieJ, iEJ2 where the minimum is over all disjoint sets.71 and.72 such that.71 U.72 = {I, 2, ... , d} and all Ki E R, 1 ::; i ::;d. Proof. Clearly, rG(d, R) is the minimum of max{ dG( c, r, 0'), dG( Cl, r, a)} (8) over all pairs of distinct codewords c and Cl from C, all q-ary sequences r of length n, and all a E R", First, suppose that c and Cl are given and let .7 = {i: c; f. ca. Then, 110 in seeking the minimum of (8) over all r and a, we may assume that Ti = Ci = c; and ai = 1 for all i rf. J, and Ti = c; or Ti = c; for all i E J. From (4), this minimum equals (9) where the minimum is over all disjoint sets J1 and J2 such that J1 U J2 = J and over all Ki E R, i E J. The minimum of (9) over all distinct codewords c and c' is attained if IJl is minimum, i.e., IJl = d. 0 This implicit expression leads to the following explicit bounds. Corollary 1 FOT d 2: 1 and {I} ç R ç [0, 1], it holds that d/2:::; Tc(d, R) :::; (d + min R)/2, (10) uihere equality holds in the first inequality ij d is even. Proof. From Theorem 1, Tc(d, R) 2: d/2. If d is even, then the choice IJ11 = IJ21 = d/2 and Ki = 1 for all i = 1, ... , d proves that Tc(d, R) :::; d/2. If d is odd, then the choice IJ11 = IJ21- 1 = (d -1)/2 and Ki = 1 for all i = 1, ... , d, except for one i E J2 for which Ki = min R, proves that Tc(d, R) :::; (d + min R)/2. 0 For the important cases of R introduced in (2) and (3), we can close the gap in (10). Corollary 2 FOT d 2: 1 and 0 :::;JL:::; 1, it holds that (I + JL)(d + 1)/4 ij d = 1(2) 1\ JL > (d - l)/(d + 1), Tc(d, Ri-') = (11) { d/2 otherunse. Proof. The result follows from Corollary 1 if d is even. If d is odd and JL :::; (d - 1)/(d + 1), then the choice IJ11 = IJ21 + 1 = (d + 1)/2 and Ki = (d - 1)/(d + 1) if i E J1 and Ki = 1 if i E J2 in Theorem 1 shows that Tc(d, Ri-') :::; d/2, and the result follows from Corollary l. Now, suppose that d is odd and JL > (d - 1)/(d + 1). The choice IJ11 = IJ21 + 1 = (d + 1)/2 and Ki = JL if i E J1 and Ki = 1 if i E J2 in Theorem 1 shows that Tc(d, Ri-') :::; (1 + JL)(d + 1)/4. On the other hand, for any J1 and J2 in Theorem 1 such that IJ11 > IJ21, we have L Ki - L Ki 2: JLIJ11 - IJ21 2: JL(d + 1)/2 - (d - 1)/2. (12) iEJl iEJ2 This proves that Tc(d, Ri-') 2: (1 + JL)(d + 1)/4. o Corollary 3 FOT d 2: 1 and m E {I, 2, 3, ... }, it holds that Tc(d, Rm) ={ d/2 + 1/(2m) ij d = m = 1(2), (13) d/2 otherwise. 111 Proof. Since min Rm is 0 if m is even and l/m if m is odd, the result follows from Corollary 1 if d is even or m is even. Now, let both m and d be odd. Then, from Corollary 1, d/2 ::; re(d, Rm) ::; d/2+1/(2m). FIom the definition ofRm, we know that for any.Ji and J2 in Theorem 1 and any Kl" .. , Kd E Rm, the expression I L:iEJl Ki - I:iEJ~ Ki I is an integer multiple of l/m. Hence, re(d, Rm) < d/2 + 1/(2m) implies re(d, Rm) = d/2. In this case, Theorem 1 gives L:iEJl Ki = L:iEJ2 Ki for some disjoint sets J1 and J2 such that J1 U J2 = {I, 2, ... , d} and some Kl,"" Ka E Rm. Since all elements in R'm are odd multiples of l/m, it follows that IJl I and IJ21 are either both even or both odd. This contradiets the fact that IJll + IJ21 = d, which is odd. 0 IV Limited- Trial Decoding In the previous section we studied the guaranteed error-correction radius for a code C and a reliability set R. In this section we consider the fraction of this radius which can be achieved by a limited-trial decoder based on a certain erasing strategy. Let the maximum number of trials be denoted by l and let the erasing strategy be denoted by A. Such an erasing strategy A is in fact an algorithm which generates upon receipt of a sequence Cl' a set of nonnegative integers I = {il,i2, ... ,il}. In the ph trial (j = 1,2, ... , l), the ij most unreliable symbols in r are erased before the received symbol sequence is fed into the (algebraic) error-erasure decoder. If this decoder generates a codeword C satisfying (6), then this codeword is taken as the final decoding result, else the next trial is performed, until the maximum number of trials has been reached. For r Forney's algorithm, denoted by AF, we have l = d/21 and ij = 2j - 1 (if d is even) or ij = 2j - 2 (if d is odd). For such algorithms, the achievable guaranteed error-correction radius may be less than re(d, R). For a given code C of Hamming distance d and length n, a given reliability set R, and a given algorithm A, let re(C, R, A) denote the largest real number r for which the following assertion holds: for any transmitted codeword C from C and any received vector r of length n with reliability vector Cl' E R" such that dç(c, r, Cl') < r , the original codeword c is delivered by the decoder based on alp;nrit,hm A- Of course, re(C, R, A), which is the guaranteed error-correction radius achievable by the decoder, does not exceed re (d, R). We also introduce the normalization of rG(C, R, A) with respect to rG(d, R), i.e., PG (c"R A) = r(;(C, R, A) rG(d, R) , (14) which may be considered as the fraction of the code's guaranteed error-correction radius achievable by algorithm A- As notation suggests, re(C, R, A) may depend on the code C not only by its Ham- ming distance d. This will be illustrated by the following example. Let R = R3 = 112 {1/3, I} and let the single-trial algorithm A' be such that two most unreliable symbols are erased if I {i : O:'i = I} I is a multiple of 3 and that no symbols are erased other- wise. It can easily be shown that rG(C, R3, A') = 1 if C is such that ti = d = 3, while rG(C, R3, A') = rG(3, R3) = 5/3 if C is such that n = 5 and d = 3. Achievable error-correction radii for fixed, threshold, and optimized i-trial erasing strategies are reported in [6]. The case i = 1 was considered in [5]. Here, we only mention some asymptotic results. For example, for a code C of Hamming distance approaching infinity, a reliability set R with minimum J.L, and 1 :::;i :::; id/21, it holds that the maximum achievable normalized error-correction radius for an i-trial fixed erasing strategy is 2i/(2i + 1) + 1), if J.L :::; 1/(2i (15) { iu + J.L - 1)/(2i) if J.L > 1/(2i + 1). For a code C of Hamming distance approaching infinity, a reliability set Rm with m E {1,2,3, ... }, and 1 :::; i :::; lm/2J + 1, it holds that the maximum achievable normalized error-correction radius for an i-trial threshold erasing strategy is i2im/(2i + l)l/m. (16) For a code C of Hamming distance approaching infinity and a reliability set Rm with m E {I, 2, 3, ... }, it holds that the maximum achievable normalized error-correction radius for a single-trial optimized erasing strategy is 1 if m = 1,2, 7/9 if m = 3, (17) 4/5 if m = 5, 3/4 if m = 4 or m ::::6. The proofs of (15)-(17) as well as results for codes of finite Hamming distance can be found in [6]. V Discussion The (achievable) error-correction radius is an important figure-of-merit in the reduced GMD decoding concept. First of all, using acceptance criterion (6) instead of (5) may improve the acceptance probability of the true codeword. Further, in evaluating the performance of reduced GMD decoders, rG(C, R, A) is a crucial parameter. For example [6], in case of a reliability set R as in (2) or (3), an erasing algorithm A, and a binary code C, of which the bits are sent as antipodal signals of energy E over an AWGN channel with two-sided spectral density No/2, we have for the unsuccessful ID decoding probability P that (18) where I = EjNo and 1/(v + 1) for v E [0,1], vj(v + 1) for v E {I, 3, 5, }, (19) 2v(v + 1 - vv2 + 2v) for v E {2, 4, 6, }. Hence, the influence of the choice of the erasing algorithm A on the unsuccessful decoding probability at high signal-to-noise ratios is completely determined by the algorithm's achievable error-correction radius. References [1] G.D. Forney, Jr., "Generalized minimum distance decoding," IEEE Trans. Inform. Theory, vol. 12, pp. 125-131, April 1966. [2] 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. [3] S.I. Kovalev, "Two classes of minimum generalized distance decoding algorithms," Problemy Peredachi Inform., vol. 22, no. 3, pp. 35-42, 1986. [4] Y. Liu, H. Tang, S. Lin, and M. Fossorier, "An interactive concatenated turbo coding system," Proceedings IEEE ISIT 2000, Sorrento, Italy, p. 367, June 2000. [5] J.H. Weber and K.A.8. Abdel-Ghaffar, "Single-trial generalized minimum distance decoding") Proceedings Twenty-first Symposium on Information Theory in the Benelux, Wassenaar, The Netherlands, pp. 1-8, May 25-26, 2000. [6] J.H. Weber and K.A.S. Abdel-Ghaffar, "Reduced GMD Decoding," submitted to IEEE Trans. Inform. Theory, Spring 200l. [7] V.V. Zyablov, "Optimization of concatenated decoding algorithms," Problemy Peredachi Inform., vol. 9, no. I, pp. 26-32, 1973. 114 Symmetric Logic Synthesis with Phase Assignment Nico F. Benschop, Philips Research, 5656AA Eindhoven, NL Abstract Decomposition of any Boolean Function BFn of n binary inputs into an op- timal inverter coupled network of Symmetric Boolean functions SFk (k:S n) is described. Each SF component is implemented by Threshold Logic Cells, form- ing a complete and compact T-Cell Library. Optimal phase assignment of input polarities maximizes local symmetries. Rank spectrum is a new BFn description independent of input ordering, obtained by mapping its minterms onto an othog- onal n x n grid of (transistor-) switched conductive paths, minimizing crossings in the silicon plane. Using this ortho-grid structure for the layout of SFk cells, without mapping to T-cells, yields better area efficiency, exploiting the maxi- mallogic path sharing in SF's. Results obtained with a CAD tool "Ortolog" based on these concepts, are reported. Relaxing symmetric- to planar- Boolean functions is sketched, to improve low- symmetry BF decomposition. 1 Introd uction Since the early eighties the synthesis of combinationallogic for the design of integrated circuits (IC's) is increasingly automated. Present logic synthesis tools, near the bottom of the IC design hierarchy, just above layout, is fairly mature, being intensively applied in the design of production IC's. But some problems remain: A. Logic synthesis tools often have a disturbing order dependence. Re-ordering signals, which should not affect the result, can cause a considerable increase or decrease of silicon area. To curb computer time, synthesis tools avoid global analysis which tends to grow exponentially with the number of inputs. Hence a local approach is preferred, using a greedy algorithm, taking the first improvement that comes along. The result then depends on the ordering of cubes in a P LA listing, or the input order in a BDD (binary decision diagram) [1][2][3]representing a Boolean function (BF). This effect is reduced by global analysis, and by symmetric function components SF, being independent of input ordering. CPU time is reduced by the 'arithmetization' via spectral BFn analysis, a new method of characterizing BF's, to be explained. B. Optimal polarity or phase assigment of signals, either inputs or intermediate variables, is still an unsolved problem, although some heuristics are applied. Input phases influence logic symmetries, to be exploited for an efficient decomposition, which synthesis essentially is. 115 C. The use of a standard cell library is forcing decomposition- and cell mapping stages to produce a sub optimal gate network, versus compiled cells as needed [4]: using no celllibrary but a programmable grid template, to be discussed. The proposed 'orthogrid' BF structure is an experiment in that direction, to be extended to planar F's beyond symmetric F's as 'grid template' alternative to F PG A or FP MU X cells [5]. Performance prediction, that comes with a cell library, is then done by the cell compiler, which is quite feasible, replacing library maintenance by compiler support. D. Complete testing of combinationallogic circuits requires irredundancy, guar- anteed only in sum of cubes 2-level implementation. Logic in factored form, the usual result of a synthesis tool, sometimes has testability problems. Restrietion to a disjoint product is proposed, with factors having no common input. This guarantees the ir- redundancy needed for BF testability in factored form. And: disjoint products yield a spectral calculus,with a BF rank spectrum independent of input ordering, and a convolution composition rule. Order independent Logic Synthesis: The mentioned problems in present synthesis CAD imply that no optimality (nor full testability) is guaranteed, nor does one know how close/far the optimum is. Presently, only by many synthesis runs (design space exploration) a feeling is obtained for the complexity of the functions to be synthesized, allowing a trade-off between circuit area , -delay, and power dissipation, however at a high cost in CPU time. Our aim is to improve this situation, crucial for the future of digital V LSI systems. The emphasis is on order- independent function representation, using a spectral technique called rank spectrum, and on global analysis before synthesis, which then becomes feasible. In fact we go one step beyond BDD type of BF descriptions, by mapping minterms as paths in an orthogonal grid, using symmetric F's and signal phasing. Then methods similar to those applied in signal processing, like the frequency spectrum, or convolution of impulse response and input sequence in the time domain, can also be applied to Boolean functions. This yields: - synthesis by global structure analysis, - with arithmetization of Boolean algebra - via a rank-spectrum technique. :l Ortho grid, rank spectrum De! Orthogrid plot: map each minterm of a BFn (as 0/1 string of length n) in an orthogonal grid, as an n-step path from the origin to the n-th diagonal. In input sequence, step down if '0', and right if '1' (see Fig. I). This models a pass transistor network on silicon, with a conducting path from the origin to the n-th diagonal for the given minterm. OR-ing all paths yields function F=l only if some path connects origin to final diagonal. For n inputs, each path ends on the n-th diagonal. All minterms of equal rank (number of ones) end in the same point on the n-th diagonal. Without confusion such minterm- 116 set is also called a rank of F. Fig.I gives the orthogrid plot of a single rank XOR product (4 terms, rank 2) Def: a rank function RF has only one non-empty rank (equal rank minterms). Def: BFn rank spectrum is the vector of path (minterm) counts per rank [0 - nJ A BFn is the sum of its rank functions, and its rank spectrum is independent of input ordering. In general, crossing paths are not allowed to touch each other, to be drawn with a bridge or tunnel. This makes the ortho grid style cumbersome for larger functions, and probably explains the popularity of the Shannon-tree, which can be displayed free of crossings, that is: as a planar a-cyclic graph. However, path sharing is essential to recognize common factors, which is a clue to logic synthesis, showing the power of BDD's and the othogrid representation. Planar node: factoring paths Def: a node is planar if all paths connect there. (e.g. the circled node in Fig.L). So all such paths are cut in two parts: each first section from the origin is continued (multiplied) by all second sections to the final diagonal. A function F with all paths (minterms) passing through a planar node is a product of two functions F = G * H sharing no inputs, where G is a rank function; here G(a, b) and H(c, d). A planar node plays the role of a factor node. Planarization is essential for synthesis, obtained by proper choice of order and polarity of inputs. ----1 :FEi---; F a b c d abc d a 0 c d 10 10 100 1 o 110 o 101 t- ~II 12 j ei , 1 ~k N =6 L=8 spectr.[O 0 4 0 OJ spectr.]'l 0 2 0 IJ ° a' ° spectru~ ==[0,0,4,0,0] F ==(a#b)(c#d) Fig 1. Gridplot of F= XOR pair product. Fig 2. Planarize: permute/invert inputs Counting occupied gridpoints (nodes), multiple for non-planar nodes, yields a good criterion for a logic optimization algorithm (planarization): Factoring criterion: Permute and invert (phase) inputs to minimize node count N. Alternatively, the number of links L, counting the transistors, could be minimized. Node count N dominates over link count for practical technological reasons. A bridge requires two via's to another metallevel, costing more than a transistor which is simply a polysilicon line crossing (self-aligned) a diffusion path. Permuting and inverting inputs, factored form Fig.I has minimal (N, L) = (6,8) of the three gridplots of F. This orthogrid representation allows characterization of special types of Boolean func- tions such as symmetric-, plan ar- and rank- functions, to be considered next. Notice the maximally 2n minterms , are plotted in a square grid of n2 nodes, by virtue of dense 117 path sharing as partial factors. Actually a half square suffices, up to diagonal n; the other half plane could be used for the complement or dual of F (as in CMOS). 3 Symmetric and Threshold B F' s The well known Pascal Triangle, displayed in orthogonal grid fashion (Fig.3), gives in each node the number R( i, j) of all paths connecting that node to the origin. This is easily verified by its generation rule: R( i, j) = R( i-I, j) + R( i, j - 1) is the sum of its predecessor node path counts. Induction yields the path counting rank spectrum. FI-I-I-I-I 1-2)2:3-4 1_3 _6 Ranks o. . 4 1- 4 1 Fe=I: spectrll 464 1] Fig 3. Binomial path-count for full ranks. Clearly the XOR-product function F (Fig.I) is not symmetric in all inputs, but it has two partial symmetries or input equivalences (permute without changing F), written a <::::: band c <::::: d. Detecting and enhancing such partial symmetries is the basis of the 'ortolog' algorithm (section 5). A rank=2 symmetric function in 4 inputs contains all minterms of rank 2, otherwise it cannot be an SF: there are (4 choose 2) = 6 minterms, in fact a full rank has a binomial coefficient number of minterms. Notice in Fig.I there are two paths missing from a full rank=2: 0011 and 1100 (see dotted lines), so F is not symmetric. - Symmetric functions 'count' - Def a symmetric function SF does not change by permuting its inputs. In other words, a function SF is symmetric in all inputs if it depends only on the number of I-inputs, and not on their position. Its ranks are either full or empty, so: A symmetric function SF[R] is determined by the set R C [0, .., n] of its full ranks. An n-input function has n+1 ranks, with 2n+l subsets, which is the number of symmet- ric functions of n inputs. For instance the parity function is symmetric, active for an odd number of I-inputs, so the odd ranks are full, and all even ranks empty: SF[odd]. I I OR [1,2,3] LD AND [3] FA: ID D sum [1,3] carry D [2,3] Fig 4. OR, AND, Full Adder(sum, carry) Symmetric functions count, typical for arithmetic. The well known OR function of n inputs is symmetric, written SFn [>0]: at least one high input, so only rank 0 is empty. 118 The n-input AND function is SFn [n], active only if all n inputs are high, so only rank- n is full (containing just one minterm). And in a 3-input Full-Adder (FA): sum s=eI when 1 or 3 inputs are high, so ranks [1,3] are full, written s = SF[I,3], while the carry e=1 when 2 or 3 inputs are high, so e = SF[2, 3]. Most BF however are not symmetric in all inputs, although many have partial syrn- metries (in some inputs). A factored function F cannot be symmetric, since inputs to different factors are not equivalent. So an SF has no factor, explaining why most logic synthesis tools, based on factoring, have trouble with efficient decomposition. This suggests putting SF's in the Cell Library, with 2k SFk cells of k inputs, halving the number of cells by using an inverter to exploit SF( -X) = -SF(X). T -cell library, threshold logic cells Threshold logic functions TF < SF can implement any SF, in a simple fashion. De! A threshold function Tk of n inputs has threshold k E [1, .., n] with Tk=1 whenever at least k inputs are active (high). Any interval [i, .. ,j-l] of SF fullranks can be implemented by the AND oftwo threshold functions: Ti. Tj. So an SF with m fullrank intervals is the sum ofm TF pair products. For instance the FullAdder sum output (Fig.4) with interval [1,2] yields: S[I,3J = (T1.T2) + T3, using the inverse of carry T2. There are just n T F functions of n inputs, with thresholds 1, .., n - forming a com- pact and complete T-cell Library. Including an inverter, a T-cell library contains sum(l, .. , n) = n(n + 1)/2 cells, that is 10 cells if n=4, or 15 cells for n=5. This is less than a complete S-celllibrary of 1+(3+7+15)=26 cells (n=4), or 57 cells (n=5), which however will yield smaller synthesized circuits (re section 6: further research). 4 Planar cut and factoring The two basic causes for asymmetry are: f aetoring and inverse. The smallest asymmetrie functions are: a(b + e), a + be and a b, a + b. The first two cases use both (.) and (+) where the role of a essentially differs from b, e which are equivalent (permutable). The last two cases are asymmetrie in (a, b), but symmetric in (a, b). In general, input phasing costs little, making a function more symmetric and increasing local symmetries (with dense path sharing), essential for logic optimization (Fig.l,2) Spectral product, and planar cut: Function F = G(X) H(Y) is a disjoint product if factors G and H share no inputs, so X n Y is empty. Multiplying the rank spectra sp( G) and sp(H), as a convolution, yields the spectrum of composition F: sp(F) = sp(G) * sp(H). Order input sets X and Y adjacent in the gridplot. Then this spectral product rule follows since each path in G(X) is continued by (in product with) each path in H(Y), to form all paths (minterms) of length lXI + IYI in F. Let lXI = m then the gridplot of F has diagonal m consisting of only planar nodes, with corresponding factor 119 property: planar cut (sect. 5 algorithm step 3). Let G = a # band H = c +d +e with spectra G[O, 2, 0] and H[O, 3, 3,1] then the product spectrum is [0,3,3,1].[0,2, 0] = [0,0, 6,6,2, 0] by 'longhand' multiplication (without carry). 5 'Ortolog' fast algorithm The 'Ortolog' algorithm is designed for global yet fast detection of (partial) symmetries, enhancing them by input phasing. The rank spectrum is a simple and fast symmetry test for any sub function, by checking if each rank is full or empty. The input format is that of a P LA (2-level or land logic), hence a list of cubes as generalized minterms, each with all n circuit inputs (length n strings over 1/01- for input straight /mverse lindependent). The algorithm is double recursive: start with a minimized 2-levellogic BFn(X) as a list of m cubes, and proceed as follows: 1. Core(a, b): for each input pair (a, b) find the cubes symmetric in a, b. Maximize each core by chosing input phase a if Core(a, b) has more cubes. 2. Input-expand maximal (phased) paircores to Core(a, b, Y) with inputs c (or ë) in rest input set Y. Stop criterion: max ICorel x linputsl2 prefers wide (more inputs) over deep Core (more cubes). Select one such 'best' multi input Core(Z), symmetric for all inputs in Z ç X. Let Y = Z = X - Z. o 3. Factorize Core(Z)='D Gr(Z) * Hr(Y) for ranks r ::::: n with non-zero symmetric rank- functions Gr(Z) as factors (planar cut). 4. Recursively decompose (1-4) cofactors Hr untill all components are symmetric. 5. Recursively decompose (1-5) remainder F(X) - Core(Z), yielding an optimally phased network of symmetric functions coupled by inverters. Speedup option: initially partition F by collecting cubes with equal number of dont- cares (DC class), since cubes symmetric in the sarne sllhset of inputs likely have the same ~umber of DC's. Decompose the k subfunc's F DCi separately: F = L~ F DCi· The SF components can be implemented by T-cells, if a small T-celllibrary is preferred. However, not decomposing the SF cells yields better area efficiency, using their grid plot as layout pattern on silicon (grid template), maximally sharing logic paths. The algorithm time complexity is O(n2m), for a BFn list of m cubes with ti inputs (step 1 is quadratic in n). So only quadratic in the number of inputs (not exponential), and linear in the number of cubes. This allows very fast synthesis ofmany alternatives in a search for an optimal binary code at a higher level: error correction codes in Boolean circuit design [6][7][8]or state-machine logic: FSM state coding [9]. 120 5.1 Experiments The described symmetric synthesis with a cell library of 15 T-cells (up to 5 inputs), was compared with a known tool Ambit (Cadence) using either a basic libary of ANDn/ORn/inv (n=2 ..5) cells, or the usual extensive (full) libary of several hun- dreds of cells. The logic density 'dens' is the filling % (non-DC) of the P LA table to be decomposed. Rather than number of cells, the total number of cell pitches (#p) is compared in Table 1, as area estimate: eet inp cub dens Synthesized #pitches ------1--+--+ ï. --Ambit-- Ortolog Ratio binom5 6 32 74 (126) 128 148 0.86 cordic 22 27 24 (135) 226 194 1.16 table3 14 52 75 (448) 718 902 0.80 parity 4 8 100 ( 18) 41 48 0.85 Cell Library: (Full) AD! TC AD! !TC Table 1. Synthesis areas (Standard cell # pitches) 6 Further research Extend symmetric to planar functions: The efficiency of decomposing to a net- work of symmetric boolean functions clearly depends on the amount of (local) symme- tries in the initial BF. Table 1 shows that restrietion to a library of AND/OR (column Aal) resp. threshold T-cells (column TC) is too severe: results do not compete with the usuallarge celllibrary, except the eerdie circuit which has "much structure", viz. many local symmetries. Symmetric components SFk (with dense sharing of logic paths) should not be mapped onto T-cells, but rather be implemented directly as planar compiled grid cells: De]: a planar Boolean function P Fn has a planar grid-plot (permute / invert inputs). Notice that each symmetric SF has only planar nodes in its gridplot, hence is planar. Let a link be a path oflength=l anywhere in a gridplot. Then any SFn is the 'template' a for class of P Fn easily derived from it by removing one or more links. Obviously, any P Fn has a unique smallest covering S Fn. The class of P F is much larger than SF, while being easily derived by 'programming' (deleting links from) the SF's as templates. The number of links in any SFn is max- imally 2:~2i = n( n + 1), hence quadratic in n, rather than exponential as in the case of look-up table F PGA's. The number of P Fn, between ISFnl = 2n+l and IBFnl = 22n, requires more research. All BF3 are planar, and likely all BF4 as well, while non-planar BFn have n ~ 5. 121 Conclusions The symmetric T -cell library is too restricted to compete with the usually very large celllibraries, since most BFn do not have many sizable local symmetries. The area cost of lacking special cells (e.g. XOR in parity), and T-cell mapping of SF's is high. The Ortolog algorithm performs fast global analysis, including phase assignment, of local symmetries in a BFn· So one can employ it to detect, and enhance by input phasing, the (dense) symmetric parts of a circuit, for separate symmetric synthesis, with the remaining (sparse) asymmetrie logic to be synthesized otherwise. Flexible compiled cell logic synthesis, using the larger class of planar BF, can derive from symmetric SFn as programmable n x n grid template. References 1. S. Akers: "Binary Decision Diagrams", IEEE Comp. C-27, 509-516, June 1978 2. R. Bryant: "Graph-based algorithms for Boolean function manipulation", IEEE Comp. C-35, 677-691, Aug 1986 3. L. Heinrich-Litan, P. Molitor: "Least Upper Bounds for the size of OBDDs using Symmetry Principles", IEEE Comp. C-49, 360-8, Apr 2000 4. J. v.Eijndhoven: "CMOS cell generation for Logic Synthesis", proc. ASICON'94, 75-78, W.Y.Yuan (Ed) Beijing, Oct 1994. 5. T. Courtney, et.al.: "Multiplexer based reconfiguration for Virtex multipliers", Field- Programmable Logic and Applications, FPL2000 conf. 749-758, Villach, Austria, Aug 2000. 6. G. Muurling: "Fault tolerance in IC design using error correcting codes", MSc thesis TU-Delft, July 2000. 7. G. Muurling, et.al: "Error correction for combinationallogic circuits", Benelux 21-st Symposium on Information Theory, 25-31, Wassenaar, May 2000. 8. R. Kleihorst, et.al.: "Experiments with fault tolerant IC design using error cor- recting codes", subm. to Int'l Online Testing workshop, Sicily, July 2001. 9. N. Benschop: "The structure of Constant Rank State Machines", IFIP workshop Logic and Architecture Synthesis, 167-176, G.Saucier (Ed.) Paris, May 1990 (North-Holland, 1991) 122 CODING FOR INFORMED DECODERS Marten van Dijk, Stan Baggen and Ludo Tolhuizen Philips Research Laboratories Prof. Holstlaan 4, 5656 AA Eindhoven, The Netherlands marten.van.dijk,stan.baggen,ludo.tolhuizen@philips.com I INTRODUCTION We consider coding for a channel producing errors, where a side-channel (not known to the encoder) possibly informs the decoder about a part of the information that is encoded in the transmitted codeword. The objective is to design a code of which the correction power is enhanced if some information symbols are known to the decoder prior to decoding. Such a form of channel coding we call" coding for informed decoders" . A possible application is in the field of address retrieval on optical media. The sector address on optical media is part of a header which is protected by an error correcting code. Under many circumstances (e.g. if consecutive sectors are to be written or read, or in case of an enforced track jump to an approximately known disc area) much of the header information of the current sector can be inferred from the previously read sectors and the table of contents. The application of coding for informed decoders to sector header proteetion allows for a reliable local address retrieval, which is especially important during writing. When error-correcting codes are used in the conventional way, partial knowl- edge of information symbols usually hardly leads to improved error correction capabilites. We present new encoding and decoding algorithms for known alge- braic codes, where the mapping of information strings onto codewords is such that the decoder enhances the effective Hamming distance if some information symbols are known. We assume that the encoder is not informed about which, if any, symbols are actually known to the decoder. In Section 1I, we describe the general concept. In Sections HI and IV, we provide two constructions for coding for informed decoders. Section V contains conclusions and a discussion. 123 11 THE GENERAL CONCEPT A k x n matrix G is used to encode the message string m = (mI, m2, ... , mk) to the code word mo. Assume that me was sent, f = mG + ë was received, and the decoder knows mi for all i E I C {I, 2, ... , k}. It first computes f' = f - LiEr miGi., where Gi• denotes the i-th row of G. Clearly, f' = 2: mjGj• + e . jE{I,2, ...,k}\I Next, it decodes f' to C (G I), the code generated by the rows of G not indexed by J. We denote the minimum distance of C(Gr) by do(I) and call it the Informed Decoder Distance (IDD). So, formally, do(I) = min{wt(m· G) I m =1= O,mi = 0 for i E I}. (1) If G is used for encoding, then knowledge of the information symbols indexed by J allows retrieval of the other information symbols by employing a subcode of minimum distance do (I). As an illustration, we present an example based on the binary [7,4,3] Ham- ming code C generated by g(x) = x3 + X + 1. Usually, C is used in systematic form, which corresponds to a generator matrix 1000101) G = 0100111 sys 0 0 1 0 1 1 0 . ~ ( 000 1 0 1 1 Knowledge of up to any three message bits does not alter significantly the cor- rection capacity for the unknown message bits, since almost all subcodes of C obtained by deleting at most three rows of Gsys still have Hamming distance three. Only if mI, m2 and m4 are known, the Hamming distance for decoding m2 is increased to 4. In fact, we have for any proper subset J of {1,2,3,4} d c.c. (I) = {4 3 if I = {I, 3, otherwise. 4}, (2) 124 Next, assume that the following generator matrix Cid is used for encoding C: Now, an informed decoder can decode to more favourable subcodes of C if certain message bits are known. For example, if the decoder knows mI, it can use the subcode generated by the three bottom rows of Cid, which corresponds to a [7,3,4J simplex code. As another example, ifthe information bits (m2' m3, m4) are known to the decoder, it can exploit the subcode generated by the first row of Cid which corresponds to the [7,1,7J repetition code, thus enabling the decoder to recover the first information bit reliably even in the presence of three errors. In fact, we have for any proper subset I of {I, 2, 3, 4} ifI={2,3,4}, if 1 E I, (3) otherwise. III INFORMEDDECODING BASED ON NESTED SUBCODES OF REED- SOLOMON CODES Let C be an rn, k, n - k + IJ (shortened) Reed-Solomon (RS) code over the field IF with generator polynomial O:Sj:Sn-k-1 where a is a primitive element in IF. The words in C are represented by the polynomial multiples of 9k(X) of degree at most n -1. In this section we present an encoding of the message string in = (mI, ... ,mk) to words in C that leads to IDD properties. The message m=(ml, m2,·· . mk) is encoded into 125 That is to say, m is encoded with a generator matrix G for which the j-th row consists of the coefficients of the polynomial 9j(X). The w top rows of G represent the polynomials 91(X), 92(X),... , 9w(X), all of which are multiples of 9w(X), Hence, if the decoder is informed about (mw+!, mw.· ., mk), then it can use a decoder for the rn, w, ti - w + 1] RS code with generator polynomial 9w(X) for retrieving mI,' .. , mw. As a consequence, dG( {w + 1, ... , k}) = n - w + 1. We notice that the residual codes for consecutive w's are nested sub codes of the original RS code C. Efficient encoding consists of several steps. We initialise For j = 2 to k we compute Finally, we compute c(X) = ck(X) . 9k(X) = L «x: O~i~n-I The coefficients of c(X) together form the code word ë = (co, ... , Cn-I) in C. IV INFORMED DECODING BASED ON CODE PUNCTURING In this section, we present a coding scheme based on code puncturing that leads to a k x n generator matrix P such that for each proper subset J of {I, 2 ... , k}, dp(J) = n - k + 1+ Ijl (4) That is, we can correct up to l~(n - k + IJI)J errors if mj is known for all j E J. With the coding scheme from Section Ill, this is possible only for index sets J of the special form J = {w, ... , k}. However, the construction from Section III is valid for block lengths n smaller than q, the alphabet size, while a matrix P with the IDD properties (4) exists if and only if an [n + k, k, n + 1] code exists (see Theorem 2 below). As a result, for practical purposes, a k x n matrix P satisfying (4) can only exist if n + k :::; q + 1. This reduction in feasible parameters k and n is the price we have to pay for the enhanced IDD properties compared to the construction from Section Ill. 126 Lemma 1 Let P be a k x n matrix over the field lF, and let G = (IIP), where I denotes the k x k identity matrix. The following propositions are equivalent. (i) dG(0) 2: d . (ii) For every proper subset J of {l, 2, ... , k}, dp(J) 2: d - k + IJl. Proof. Suppose (i) holds. Let J be a proper subset of {I, 2, ... , k}, and let m be a non-zero vector in lF" such that mj = 0 for all j E J. We define I = {i I mi = O}. As dG (0) equals the minimum distance of the code generated by G, we have that d :::;dG(0) :::;wt(mG) = wt(m) + wt(mP) = k - 111 + wt(mp). As a consequence, wt(mP) 2: d - k + 111 2: d - k + IJl, where the final inequality follows from the fact that I ::> J. Consequently, (ii) holds. Now suppose (ii) holds. Let m be a non-zero vector in lF", and let J = {j I mj = Ol· By definition, wt(mP) 2: dp(J), and so wt(mG) = wt(m) + wt(mP) = k - IJl + wt(mP) 2: k - IJl + dp(J) 2: d, where the final inequality follows from (ii). 0 The IDD properties described in Lemma 1 can be exploited by an error-and- erasure decoder for C, the code generated by G, in the following way. A received word of length n is lengthened by appending k symbols to it. For 1:::;j :::; k, the appended symbol equals mj if this information symbol is known, and an erasure otherwise. If the decoder knows mj for all j E J, the lengthened received word contains no errors and (k -IJl) erasures in its k leftmost positions. Ifthe received word contains t errors and e erasures, correct decoding with an error-and-erasure decoder for C is possible if 2t+e+ (k -IJl) :::;d -I, i.e., if 2t+e :::;d - k+ IJI-l. Note that encoding for the code generated by P can easily be done with an en- coder corresponding to the matrix G = (liP), by simply removing the information symbols coming out of such an encoder. Theorem 2 Let P be a k x n matrix with k :::;n + 1. For each proper subset J of {1,2, ... ,kl, dp(J):::; n - k + 1 + IJl. Moreover, dp(J) = n - k + 1 + IJl for all proper subsets J of {I, 2 ... , k} if and only if (liP) generates an [n + k, k, n + 1] code. Proof. Let J be a proper subset of {I, 2, ... , kl. By definition, dp(J) is the minimum distance of the code generated by the rows of P not indexed by J. 127 These rows form an (k - IJl) x n matrix, and hence, by the Singleton bound, they generate a codelof minimum distance at most n - (k - IJl) + 1. The second statement is a direct consequence of Lemma 1. D V CONCLUSIONS AND DISCUSSION We have introduced coding for informed decoders. The aim is to enhance the capabilities of the decoder if it knows part of the encoded information. An application of this kind of coding is in the field of address retrieval in optical media, where part of the sector address information may be available from sectors that were read earlier. Two constructions were given. The first one is based on a properly encoded rn, k] Reed-Solomon code. The decoder can correct L~(n - w)J errors if it knows the information symbols mW+b mw+2,"" mi: The construction is based on nest- ing properties of RS codes, and allows efficient encoding and decoding. Nested codes have been used before for code lengthening (e.g., Construction X, [1, Ch. 17, Sec. 7]) and with generalized concatenated codes [1, Ch. 17, Sec. 8.2]. Gener- alized concatenated codes allow a nice interpretation from the viewpoint of coding for informed decoders. The knowledge of some information symbols may be due to external sources such as a partial knowledge of an encoded address, but also because these information symbols are considered to be reliable enough because of a previous (inner) decoding step! The second construction is based on code puncturing. As a result, starting from an [n+k, k, n+l] code, an k xn matrix is obtained such that dp(J) = n-k+l+IJI for all J. The IDD properties can be exploited by an error-and-erasure decoding for the rn, n + k, n + 1] code. Moreover, it was shown that the construction is optimal in the following sense: a k x n matrix P with dp(J) 2: n - k + 1 + IJl for all index sets J exists if and only if an [n + k, k, n + 1] code exists. The latter condition implies for practical purposes that n + k :s: q - 1. It would be interesting to find constructions and bounds for matrices with IDD properties for index sets different than the ones treated in this paper. REFERENCES [1] F.J. MacWilliams and N.J.A. Sloane, The Theory of Error-Correcting Codes, North-Holland, 1977. -u the rows not indexed by J are dependent, dp(J) = 0 :'S: Ijl :'S: n - k + 1 + Ijl· 128 "Fast simulation and applications in communications and signal processing" Dr. Rajan Srinivasan University of Twente, Faculty of Electrical Engineering Chair for Telecommunication Engineering, Enschede, The Netherlands Fast stochastic simulation methods based on importance sampling (IS) theory have, in the last two decades, proved to be of great use in the performance evaluation and design of systems that are difficult to characterize analytically. Their use spans several areas of science and engineering. In the area of communication systems, in particular, IS methods have been successfully applied to a large number of situations that involve nonlinearities, memory, and non-gaussian processes. These include, for example, coded systems using Viterbi decoding, COMA systems operating in fading channels, and optical communication systems perturbed by crosstalk. In recent work for communication systems and radar detection, it has been shown that fast adaptive IS simulation can be used effectively for parameter (and hence, performance) optimization. A powerful consequence of adaptive simulation methods is that they are useful in researching and developing new effective detection algorithms for signal processing applications. Several potentially attractive detection schemes can be thought of to enhance detectability and robustness. These include the important activity area of space-time adaptive processing algorithms. Such schemes are usually nonlinear and non-gaussian, and resistant to standard mathematical analyses. This analytical intractability and consequent computational intensity have been major impediments in their development. The use of fast stochastic techniques can, in large measure, solve or circumvent many of these problems. However further developments are required in order to bring to bear the full power of stochastic simulation in important applications. 129 A second consequence concerns practical situations where the statistical characterizations of inputs to a system are unknown and are difficult to determine. In recent work it has been shown that fast simulation can be carried out using what is termed as blind importance sampling. It is possible, in the blind situation, to carry out performance estimation as well as system parameter optimization appreciably faster than is possible with conventional Monte Carlo simulation. An interesting fact is that control of system performance through adaptive tracking of system parameters is possible in the blind situation. This has been demonstrated for a radar detection algorithm operating in modestly nonstationary clutter. Actual online implementation of such adaptive performance control algorithms depends on development of more powerful blind techniques and is a matter for further research. In this tutorial we describe the concepts of fast simulation using IS, adaptive biasing using stochastic Newton recursions, system performance optimization and parameter estimation, and performance evaluation. The application of these concepts to communication systems and signal processing detection algorithms is briefly explained. A few applications that are available in the literature are mentioned. Some numerical results are presented to demonstrate the capabilties of fast simulation. 130 MODEL SELECTION FOR PHOTOMETRIC CHANGES IN COlOR IMAGES F. Mindru, T. Moons, and L. Van Goal· Katholieke Universiteit Leuven, E.S.A.T. / PSI Kasteelpark Arenberg 10. B-3001 Heverlee, BELGIUM Florica.Mindru~esat.kuleuven.ac.be In this paper we present ongoing research about analyzing the photometric changes that affect the appearance in color images of objects that are viewed under different angles and different illumination conditions. Two main types oftransformations are to be considered and they are of geometrical and photometric nature. Here we focus on the photometric transformations and we aim at selecting and estimating a model for these transformations. We first investigate possible candidates for a model, then consider approaches for the model selection problem. The chosen model selection methods are then to be applied and adapted to the specific features and constraints of the problem we are here considering. INTRODUCTION A model of the photometric transformations for calor images describes the way the intensities in the red, green and blue bands (R,G,B) transform between two different images of a same object or scene. The final appearance of an object in an image depends on a series of factors and settings concerning the viewed scene and the viewing system. The information in a calor image is a function of the scene illumination, the reflective characteristics of the objects in the scene, and the camera sensors. For each of these components, depending on the appli- cation and the type of data, many models and assumptions are presented in the literature. Due to the complexity of the problem to be analyzed, a general model for the photometric transformations is difficult to be found. Accurate models of the involved phenomena results in a high complexity and thus combining and manipulating them becomes very difficult and often computationally slow. It is therefore often preferred to consider sub cases apart and go for simpler and more • We would like to thank the financial support from the Belgian IUAP4/24 'IMechS' project 131 flexible ··'l·j·····,' models. ,': -.". An important case that covers many scenarios in computer vi- siorr'application's and which has yet no proven model is the case of scenes with planar surfaces, illumination with naturalor white light, no specular reflection involved (lambertian reflectance), camera and light sources situated far from the viewed objects. Under these considerations one can make a series of assumptions and consider a simplified model (see also [11]). We aim at finding an appropriate model for such transformations without unnecessarily increasing the complexity of the model. PHOTOMETRIC CHANGES The camera sensors register information about the radiation that has inter- acted with the physicalobjects in the viewed scene. The light measured at the sensor depends on the light sources and the reflectance properties of the viewed objects. Thus in order to study and model the image intensity transformations, ' which we refer to as photometric changes, we have to investigate the way re- flectance can be modeled and the way the lighting changes can be modeled. Reflectance models A lot of research has been done on evaluating the best mathematical models for the different types of reflections and their implication on computer vision ( for instance [12], [18], [17], [10]). The most general mathematical model of reflection is based on the bi-directional reflectance function (BDRF) , defined as the ratio of the reflected light to the incident light for a position (x, y): f(x, y,..\, n, a, v) = dS(x, y,..\, n, v)/dEi(x, u.>, n, a) where ..\ is the wavelength, S is the radiance of a surface in a direction v, lu- minated from a direction a, with irradiance Ei , and the surface normal is n. This is a general model, but it is complicated to handle. Assuming a point light source, no inter-reflections, equal reflection of the light of different wavelengths, independent of the direction of n, a and v, then the surface reflectivity func- tion can be expressed as a product of an independent geometric and a spectral component: S(x, y,..\, n, a, v) = f}(x, y, ..\)F(n, a, v), where (! is called the surface albedo. Light may be reflected from a surface in two ways. Diffuse reflection: Light incident on the surface is reflected equally in all directions and is attenu- ated by an amount dependent upon the physical properties of the surface. Diffuse 132 reflection models the light reflecting properties of mat surfaces. They are usually referred to as lambertian surfaces. Specular reflection: Light is reflected mainly in the direction of the reflected ray and is attenuated by an amount dependent upon the physical properties of the surface. Specular reflection models the light reflecting properties of shiny or mirror-like surfaces. As the diffuse reflection is a good and preferred approximation for many types of surfaces handled in computer vision and it also has a simpler expression, we will hereafter focus on the case of the diffuse reflection, thus lambertian surfaces. In this case the image irradiance I(x, y, >') is given by I(x, y) = a(x, y).n(x, y) J S(x, u, >')E(>.)q(>')d>' (1) where E(>') is the spectrum of the light source, q(>.) is the response function of the camera sensors. If we assume that the colour response function of the camera sensors correspond to Dirac impulses at >'i, i = 1,2,3 (for the three spectral channels of the sensor) we can make a further final simplification of formula 1 to Ii(x, y) = a(x, y).n(x, y)S(x, y, >'i)E(>'i)q(>.) Several models of the wavelength dependence of surface reflection, and the il- luminant spectral distribution have been studied and this field is still investigated. Among them, the statistical models have proven reliable and useful. The general method is to express a data set as a linear combination of a small number of basis functions. In the case ofsurface reflectances we have: S(>') = 2:;"=1 WjSj(>') where Sj(>') are the basis functions and Wj are the weights. Similarly, for illuminants we have: E(>') = 2:f=1 (1jEj(>'). If a set of spectra is well approximated by N basis functions, the set is said to be N-dimensional. Such models are called finite dimensional models. They seem to be good approximations for surface reflectances, as several data sets of surface reflectances have been successfully modeled using such models ([10, 13, 17]). Finite dimensional models allow image formation to be compactly modeled using matrices. Lighting change A scene can be submitted to two types of lighting change: First, the intensity or colour of the emitted light can be modified, and we call it internal change of 133 ·. light. Second, the light source can move into the scene, and we call this external change of light. internal changes of light For the lambertian surfaces, an illumination change from E(>') to E'(>') implies a linear transferm between] and I', Many papers dealing with the internal changes of light, among which the work of Fin- layson on the color constancy problem is often quoted (e.g. [5, 6]), promote the diagonal model for the photometric changes. Other, more complete, linear mod- els exist but many people use this diagonal model because it seems to provide the best quality-complexity ratio. external changes of light Modeling this case is not often approached in the literature, and finding an appropriate model is still an open question. According to [3] if we consider the finite dimensional model and find a set of s vectors that form a good basis for reflectances, based on formula 1 and under conditions of orthography (i.e. distant lighting and distant viewing), for a position x on a fiat surface, we can write: ]X = n.af E(>') Ej=l wjSj(>.)q(>')d>' and this can be written as ]X == Mwx. Then, an illumination change E ----+ E', a ---+ a' and a tilt of the plane n ----+ n' corresponds simply to a change M ---+ M', so that illumination change implies a linear transform from] to ]1, assuming an invertible matrix M. Candidate models In the case of photometric transformations for the case of planar surfaces, il- lumination with naturalor white light, no specular reflection involved, camera and light sources with variable position and situated far from the viewed objects, one should consider a combination of internal and external changes of illumi- nation, where the weights of the two main causes of photometric changes differ depending on the viewing conditions. As shown in this section, a linear model is theoretically considered to properly describe the most complex photometric changes in our case, thus we propose considering as candidates models ranging from simple translations to linear transformations, as also proposed as models for internal changes of light in [8]. We use the following notations: a pixel p = (r, g, b)T is transformed into the corresponding pixel in the second image p' = (r',g',b'l; t = (t,t,t)T, where t is a scalar, T = (tx,ty,tzl a translation 134 aoo) vector, D = ( 00, 0 0 f3 a diagonal matrix, and M a full 3x3 matrix. model1 p' =p identity model2 p' = p+t simple translation model3 p/=p+T translation model4 p/=ap scaling model5 p' = ap+t scaling and simple translation model6 p/=ap+T scaling and translation model7 p/=Dp diagonal model8 p' = Dp+t diagonal and simple translation model9 p' = Dp+T diagonal and translation modellO p'=Mp linear modelll p/=Mp+t linear and simple translation model12 p' =Mp+T linear and translation Model selection The problem of model selection in computer vision has already been tackled many times in literature for modeling the visual input. Specific estimation techniques and model selection procedures have been developed to fit particular features of the analyzed data for the different computer vision applications (for instance [16J,[15],[4J,[1]). When objective criteria are needed to choose among models, several ways of automating the model selection process are presented in the liter- ature. Among them, the likelihood ratio test, the Akaike's information criterion (AIC) and variants of it, the Bayesian approach and the Bayesian Information Criterion (BIC), and the minimum description length (MDL) approach are the most often used. The problem of model selection still requires more future work, as it is far from being solved. Model complexity: The principle of Occam states " One should not increase, beyond what is necessary, the number of entities required to explain anything" (Occam's Razor). This principle, often called the principle of parsimony admon- ishes us to choose from a set of otherwise equivalent models of a given phenomenon the simplest one. In order to express the complexity of a model it is convenient to express the number of explicit degrees of freedom and sometimes also the dimen- 135 sion of each model. The alternative models may be nested or non-nested. Nested models are constructed such that a simpler model can be obtained from a more complex model by eliminating one or more parameters from the more complex model. Thus choosing among models reduces to determining the appropriateness of the additional parameters. Since the models we here consider are nested, we will hereafter focus on this case. A model Mo is specified by the parameter vector 00 = (Ob O2, .•• , Ok), and is compared to an alternative model MA with ()A = (Ob ()2, ... , 0H1) which shares k parameters but also contains an additional parameter, 0H1. This can be extended to comparisons of models that differ by more than 1 parameter, with the alter- native model having parameter space OA = (01, O2, ••• , 0Hr). Let m be the set of observed variables m = (Xl, ..., Xv)T and K = (mT, ..., m:;)T the stacked vector of all observations. It is assumed that the noise on m is Gaussian. First the MLE of the parameters, L(K, rio) and L(K, O~), must be recovered. One way of model comparison is via hypothesis testing. The null hypothesis to test is that the model o describes the data by comparing it to the alternate hypothesis that the model A describes the data. The test statistic: À(K) = log (;;f:II:~~) = Lo - LA is ex- amined, which asymptotically follows a X2 distribution with r degrees of freedom, where r is the difference in number of parameters between the compared models. If Lo - LA < x2(a, r) then the model Mo is accepted, otherwise model Mo is rejected. The problem with this approach is that it is to adapt to a situation where several models might be appropriate. The maximum likelihood method will always lead to the most general model to be selected and hence the method needs to be adapted to take into account also the complexity of the model. This has lead to the development of various information criteria, that operate under the premise of parsimony. Akaike 's information criterion is a useful statistic for model identification and evaluation. A score is computed for each alternative model proposed to describe the data: AlG = 2log£ - 2k, where k is the number of parameters in the chosen model and logL is the log likelihood. AlC has the first term corresponding to the badness of fit, the next represents a penalty on the model complexity. The model with the largest AlC is chosen. The problem with AlC is that increased sample size increases the tendency to accept more complex models (Raftery, 1986). A generalization of AlC was proposed by Kanatani (1996) as to take into account also the dimension of the model d and the number of samples n as: AlG = 2logL - 2(dn + k). As shown in [16] this model tends to underestimate the 136 dimension of the data and overestimate the model parameters, so a new score is suggested GIG = 2logL - À1dn + À2k, but the appropriate values of Ài have to be evaluated for the particular problem to be solved ([16]). Bayesians information criterion The Bayesians information criterion [14] takes sample size into account and the result is insensitive to the prior distri- bution for adequate sample size. Thus a prior distribution need not be speci- fied, which simplifies the method. For each model i, the BIC is computed as BIGi = 2logLi - klog(n). The model with the largest BIC is chosen. CONCLUSIONS AND FUTURE WORK In this paper the framework needed for finding an appropriate model for photometric changes of planar surfaces under internal and external illumination changes is presented and that includes proposing an appropriate theoretical model and various approaches to model selection. Intermediate results of a series of experimental testing indicate that a careful search has to be done on tuning the methods to the data to avoid biased estimates. Therefore future work aims at finding the best suited model selection method, followed by an extensive study case upon the model evaluation for different types of illumination conditions. REFERENCES [1] H. Akaike, "A new look at the statistical model identification", IEEE Trans. on Automatic Control, Vol. AC-I9(6): 716-723, 1974. [2] H. Bozdogan, "Model selection and Akaike's information criterion (aic): The gen- eral theory and its analytical extensions. Psychometrika , 52(3): 345-370, 1987. [3] Mark.S. Drew, Jie. Wei, Ze-Nian Li, "On Illumination Invariance in Calor Object Recognition", Technical report 1997, School of Computing Science, Simon Fraser University, Vancouver, Canada. [4] G. Florou and R. Mohr, "What accuracy for 3d measurements with cameras?", Proc. ICPR '96 vol.I, pp. 354-358, 1996. [5] B. Funt and G. Finlayson, "Calor constant calor indexing", IEEE Trans. PA MI, Vol. 17 (1995), pp. 522-529. [6] G. Finlayson, M.S. Drew and B. Funt, "Calor constancy: Generalized diagonal transforms suffice", Journalof the Optical Society of America A, 11(11):3011- 3019, 1994. 137 [7] T. Gevers, and A. W. M. Smeulders, A comparative study of several calor models for calor image invariant retrieval, Proc. Intern. Workshop on Image Database and Multimedia Search, 1996, pp. 17 - 23. [8] P. Gras Calor illumination models for image matching and indexing, Proceedings International Conference on Pattern recognition, 2000, Vol. 3. [9] G. Healey and D. Slater, "Global calor constancy: recognition of objects by use of illumination invariant properties of calor distributions", Journalof the Optical Society of America A, Vol. 11 (1994), pp. 3003-3010. [10] L.T. Maloney, "Evaluation of linear models of surface spectral reflectance with small numbers of parameters" J. Opt. Soc. of Am. A, Vol. 3: 1673-1683, 1986. [11] F. Mindru, T. Moons, L. Van Goal. "Generalized moment invariants for viewpoint . and illumination independent calor pattern recognition", Proc. 20th Symposium on Information Theory in Benelux, Haasrode, Belgium, pp. 157-164, 1999. [12] M. Oren and S. Nayar, Seeing beyond Lambert's law, Proceedings ECCV '94, LNCS 800, Springer, pp. 269 - 280. [13] J.P.S. Parkkinen, J. Hallikainen and T. Jaaskelainen, "Characteristic spectra of Munsell Colors", J. Opt. Soc. of America A, Vol. 6, 1989, pp. 318-322. [14] G. Schwarz, "Estimating dimension of a model", Ann. of Stat., 6: 461-464, 1978. [15] C.V. Stewart, "Robust Parameter Estimation in Computer Vision", Soc. for In- dustrial and Applied Mathematics, Vol. 41(3), pp. 513-537, 1999. [16] P.H.S. Torr, "Model Selection for Two View Geometry: A Review" submitted to International Journalof Computer Vision, 2001. [17] M.J. Vrhel, R. Gershon and L.S. Iwan, "Measurement and Analysis of Object Reflectance Spectra", COLOR research and application, Vol 19, 1, pp. 4-9, 1994. [18] L. Wolff, On the relative brightness of specular and diffuse reflection, Proc. CVPR '94, IEEE Camp. Soc. Press, 1994, pp. 369 - 376. [19] G. Wyszecki and W.S. Stiles, "Calor Science: Concepts and Methods, Quantitative Data and Formulas", 2nd edition, (John Wiley & Sons, Inc. 1982) 138 IMPLEMENTATION OF A DYNAMICAL MULTI-WINDOW TV SYSTEM Stephan Mietens", Peter H.N. de With2 and Christian Hentschel" 1Eindhoven University of Technology, EES!, Eindhoven, The Netherlands 2CMG Eindhoven / Eindhoven University of Technology, The Netherlands 3Philips Research Labs., Eindhoven, The Netherlands This paper illustrates the capabilities of a new programmable video process- ing architecture that allows independent real-time video processing of several video streams. A new video feature was developed using frame-based shape manipulation of several video windows in parallel to create dynamic effects, like simulating a rotating coin with moving video inside. This feature was first simulated in software and later successfully implemented with an experimental real-time chip set. This system architecture can be applied in future high-end TV and consumer home video entertainment like video editing. 1. INTRODUCTION Current developments in high-quality television and the continuous increase in display of multimedia applications lead to a growing demand in parallel processing and display of multi-channel data on a TV display. This involves the programmable use and ordering of video functions such as picture-quality enhancements (color, sharpness, 50-to-IOO Hz conversion) and window-size manipulation, for each indi- vidual video signal. Existing TV hardware architectures have a fixed structure and cannot support these requirements in a flexible way, because each video stream needs an extra hardware path configured for a predetermined task (fixed Picture in Picture). The reuse of hardware components is not possible, not even for unused memory, which is cost inefficient. Furthermore, it is desired that the consumer can manipulate individual video signals in a user-defined way. The aforementioned re- quirements and flexibility needs an implementation with programmable real-time hardware. Several programmable hardware architectures for video processing have been proposed in the past years. Earlier solutions are not cost-effective, because they are more general than the TV application domain desires [1], or do not offer sufficient parallelism to cover all processing requirements [2]. In this paper, a recently de- veloped experimental video display processing platform (VDPP) [3, 4, 5] has been 139 used for implementing an enhanced programmable multi-window TV system. In the application, we experimented with several real-time video streams in a window-like manner (see Figure 1). We have found that high-level programming of windows and even dynamic effects are possible, in a flexibility that is new to the TV con- sumer. Furthermore, our implementation can also be re-used for new features, such as zooming on a signal where the original picture with a cursor area is shown as an inserted secondary window. These features also open new application areas, like real-time video editing. Figure 1: Architecture of video processing platform. This paper is divided as follows. Section 2 briefly describes the programmable hardware platform that has been used for creating the multi-window application and discusses the requirements for the implementation of the application. Section 3 discloses the programming and implementation details of the new multi-window feature. Section 4 presents the experimental results, and Section 5 concludes the paper. 2. SYSTEM OUTLINE AND REQUIREMENTS Similar to PC applications, a window-like presentation is preferable to visualize several information channels onto one TV screen. Let us now list and discuss a 140 number of requirements for the realization of a programmable dynamic multi-window feature. • It is our aim to manipulate video signals in any programmable shape with- out the need to perform address calculation for every individual pixel. This requirement has the purpose to avoid massive control computations. • Similarly, the mixing of video signals should be supported with specific hard- ware for the same reason. We have chosen the application such that parameters need continuous recomputation by the embedded RISe controller, so that the system is driven and tested at high load. • Window position, size and shape are controlled by the consumer. For achiev- ing sufficient interactivity, the previous parameters should be modifiable from frame to frame, in order to create dynamic effects. For such system requirements, a high-level programmable TV system like the VDPP [31 is attractive (see Fig. I). The system contains a number of flexible application- specific coprocessors for different video processing functions, like scaling, noise re- duction, video mixing, graphics blending, etc. These coprocessors are interconnected via a programmable switch matrix, suited for making any data path between the coprocessors. This enables signal flow-graphs for several video streams, which are displayed in parallel. 3. DYNAMIC MULTI-WINDOW APPLICATION Figure 2 portrays an example of how the VDPP is programmed on a functional level for a special multi-window TV application. The depicted signal flow-graph represents a special case where a part of the picture is selected by the consumer for zooming and is shown in the background, while the original picture is displayed as a programmable Picture-in-Picture (PiP). An example is given in Figure 3. This novel feature is not available in conventional high-end TV systems. The flow-graph shows that an input video stream (solid arrows) is split up into two streams which are scaled horizontally (HS) and vertically (VS) and processed differ- ently (noise reduction (NR) is applied on only one stream). Afterwards, the streams are combined in the mixing unit (calledjuggler; see Figure I), by skipping video data that is overlapped by another video stream. Thus, an important advantage of the juggler is that only the visible parts of the incoming video streams are selected prior to storage in memory, so that the required memory-access bandwidth per frame is limited to only one full-resolution frame of a video stream for reading and writing. 141 IN input processor OUT output processor NR noise reduction SE sharpness enhancement MEM memory allocation HS horizontal scaling VS vertical scaling GFXgen grafics generation Figure 2: Example of signal flow graph. Let us discuss the juggler in some more detail, because its hardware and software control enables multi-window applications. The juggler is designed such that each produced video line can be composed differently from a plurality of streams to generate arbitrary (e.g. elliptical) window shapes. These shapes are computed in a C-program by the controller CTRL (note the dotted arrows in Figure 2). Furthermore, the juggler is reprogrammable on video field frequency (50 Hz in Europe) by the embedded RISC core inside the CTRL block, in order to obtain dynamic effects. Finally, the output stream is blended with graphics after sharp- ness enhancement. The indicated memoryaccesses are primarily for video-stream de-interlacing, for vertical scaling and also buttermg, because different data ratës are generated by different scaling factors. A separate memory access, indicated with dotted lines, stores the computed parameters for composing the video lines of independent video streams. These values are addressed by the juggler. Note that the created application is layered in several aspects . • At system level: computation of the shapes and points for switching between different inputs for the juggler in a C-program running in the control CPU at field rate. Periodical reprogramming generates dynamic effects. 142 Figure 3: Example of a picture in picture (PiP). The background picture is zoomed from the picture shown as the small PiP. • At middle level: programming of the flow-graph, involving the selection of video streams and I/O relations and initiation of the required control. • At the hardware level: computation of the signal sizes by the scalers, while the juggler performs programmable rendering and stream synchronization. 4. EXPERIMENTS AND RESULTS The following experimental applications were produced by using a full software emulation of the RISe core and simulating the complete VDPP. Later on, some of the experiments were conducted also on real-time hardware (explained later). For each video stream, a shape is defined whose boundaries are calculated line by line, to decide what video data can be omitted. • Moving windows The first example given in Figure 4 shows three different video streams, one in the background of the screen and two elliptical windows. The windows move in different directions and with different speeds and overlay each other, as in- dicated by the (added) arrows. Note that these arrows could also be generated and displayed by the VDPP, using the graphics blending coprocessor. 143 Figure 4: One frame of the moving-windows sequence. • Rotating coin The second example portrayed by Figure 5 shows two video streams, where one stream is displayed in the front window with dynamically changing position, shape and size, such that a rotating coin is simulated. It would also be possible to apply horizontal and vertical scaling to the video stream to shrink each frame to the current size of the coin for improving the rotating-coin effect. As already mentioned, the sequences were produced by using a full software emu- lation of the RISe core and simulating the complete VDPP. In a second stage, an experimental real-time video chip set was successfully programmed. The generation of multi-window features as shown in the examples was executed with the same el- liptical windows and the corresponding computation as simulated [61. Note that the application can be further enhanced by high-level programming of additional video functions to be performed on each window, such as col or enhancement or image warping. Although the embedded RISe core (40 MHz clock) performs the line-based computations and updates for the juggler, it was found that in almost all cases windows are moving smoothly (like in the moving-windows example). In these cases, the program that is used by the juggler can be enhanced for re-use with small modifications of parameters only, requiring little computational effort by the RISe core. 144 5. CONCLUSIONS We have presented a multi-window TV application, which is programmable on a high level and has a nearly unlimited amount of flexibility compared to conven- tional TV systems. Several video streams can be displayed in parallel and processed independently and can be interactively controlled by the consumer. Real-time shape modification and window positioning allows dynamic effects such as rotating coins. As a special case of multi-window TV, the system also allows new features such as a special zoom application where the incoming signal is duplicated for zooming and displaying simultaneously. The number of windows that can be shown on a TV screen is limited by the existing hardware. The main limitation resides in managing the limited bandwidth to the shared background memory. The memory controller and the juggler can handle a limited number of ingoing and outgoing video streams. Due to its high programmability and multi-stream capability, the VDPP and the proposed applications can be integrated not only in TVs, but also in other consumer home video entertainment, e.g. video editing systems. REFERENCES [1] R. Gove, "The Multimedia Video Processor (MVP): An Architecture for ad- vanced DSP Applications," in Proc. of 5th int. conf. on Signal Proc. Appl. and Tech., vol. I, pp. 854-859, Oct. 1994. [2] V.M. Bove and J.A. Watlington, "Chepos: A reconfigurable Dataflow System for Video Processing," IEEE Trans. on Circuits and Systems for Video Tech., vol. 5, pp. 140-149, Apr. 1995. [3] E.G.T. Jaspers, P.H.N. de With and J.G.W.M. Janssen, "A flexible heteroge- neous Video Processor System for Television Applications," IEEE Trans. on Consumer Electronics, vol. 45, pp. 1-11, Feb. 1999. [4] P.H.N. de With, E. Jaspers, J. van Meerbergen, A. Timmer and M. Strik, "A Video Display Processing Platform for future TV Concepts," IEEE Trans. on Consumer Elect., vol. 45, Nov. 1999. [5] E.G.T. Jaspers and P.R.N. de With, "Chip-Set for Video Display of Multimedia Information," IEEE Trans. on Consumer Eleci., vol. 45, Aug. 1999. [6] M. Strik and E. Jaspers. Philips Research Labs. Eindhoven, The Netherlands, personal communication, 2000. 145 --------- --- --- Figure 5: Part of the rotating-coin sequence 146 Embedding Information in Grayscale Images Marten van Dijk and Frans Willems Philips Research Laboratories, Eindhoven Abstract Grayscale images can be represented as sequences of integer-valued symbols. If such a symbol has alphabet {O, 1, ... ,28 - I} it could be represented by B binary digits. To embed information in these symbols, we are allowed to distort them. The distortion measure that we consider here is mean squared error. In this setup there is a so-called "rate-distortion function" that tells us what the largest embedding rate is, given a certain distortion level. First we determine this rate-distortion function. Next we compare the performance of LSB modulation to this rate-distortion function. Then several embedding codes are proposed: (i) codes that only affect the LSB of a symbol, (ii) so-called ternary codes in which a symbol can be changed by at most one, and (iii) codes that process a pair of symbols each time. 1 System description discrete XNI yN I memoryless encoder destination source '-----+ decoder W W Figure 1: A model of an information embedding system. The embedding system that we study is shown in figure 1. A discrete memoryless source emits the host sequence x~ = (XI, X2, ... , XN). The symbols Xn for n = 1, N assume values from the alphabet X. Their distribution is (P(x), X E X}. A message source produces the message index W E {I, 2, ... , M} with probability 1/ M, independent of xr Based on the message index wand the host sequence x~ the encoder (embedder) produces the composite sequence y~ = f(x~, w). 147 The symbols from Y~ = (YI, Y2, ... ,YN) assume values in the alphabet y. We require that from the composite sequence Y~ the embedded message can be reconstructed, i.e. there is a decoder producing the estimate W = g(y~) such that Pr{W i- W} = O. Moreover the sequences y~ must be "close" to x~, i.e. the expected distortion iJ = E[d(X~, YIN)] = L Pr{X~ = X~} Pr{W = w}d(x~, f(x~, w)) ::; 6, X~IW where 6 is the maximum allowable distortion and N N ~ I ~ d(xI 'YI ) = N z: ot»; Yn) n=I,N is the distortion between x~ and y~, for some specified distortion matrix DC .). Finally we define the embedding-rate R as 1 R = N log2(M). 2 The "rate-distortion" function We are obviously interested in finding codes that combine a large embedding rate R with a small distortion b. Only recently several authors, e.g. [3] and [1], realized that this setup is strongly related to the "defect channel"-problem which was first investigated in a gen- eral form by Gelfand and Pinsker [2]. In [4] the so-called "rate-distortion function", that corresponds to a slightly more general embedding model than the one we study here, was determined. This function gives the maximum embedding rate R for a given distortion level 6. For our model (Z == Y) this function turns out to be R(6) = max H(YIX). (P(YIX):Lx.y P(x)P(Ylx)D(x,y)S~) Note that this is not a rate-distortion function in the usual sense. 3 Grayscale symbols, mean squared error distortion 012 x Y V D(x, y) = (x _ y)2 Figure 2: The grayscale alphabet ç and mean squared error distortion. A grayscale symbol assumes a value from an integer alphabet ç. The cardinality of ç should no be too small. E.g. let ç = {O, 1, ... ,28 - I} for some positive integer B, then 148 each symbol can be represented by a vector of B binary digits. Now let X = Y = 9. If a grayscale symbol x E 9 is changed into a grayscale symbol y E 9 then the resulting squared error distortion is D(x, y) = (y - x)2, see figure 2. To determine R(~) for this case, let Pi ~ Ly-x=i P(x)P(ylx) for all integer i, then 1 H(YIX) = H(Y - XIX) :S H(Y - X) = L Pi log2 - i Pi and L P(x)P(ylx)(y - x)2 = L Pii2. x,y The corresponding bound for R(~) can be achieved by taking i = y - x independent of x, which is possible if we assume that 191 is large and we neglect boundary-effects. Now we have to maximize Li Pi log2 -1;; under the constraint Li Pii2 < ~. Therefore consider for some Cl.> 0 the "Gaussian" distribution {p7} where P; ~ exp(-Cl.i2)1f3, with f3 = Li exp(-ai2) and having variance Li p;i2 = ~. Then for any distribution (pil with variance Li Pii2 :S ~ we can write 1 L Pi In ----;;- = L Pi In(f3 exp(Cl.i 2 )) = Inf3 + Cl.L Pii2 :S Inf3 + CI.~, i Pi i i and therefore its entropy (in nats) I p* 1 L Pi In ---:-= L Pi In ~ + L Pi In ----;;-:S In f3 + Cl.s . i 0 i 0 i ~ Equality is achieved only for {Pi} equal to the Gaussian distribution {p7}. Therefore to compute the rate-distortion function we only need to vary Cl. and compute the entropy and variance of {p7}. We can now make a plot of R(~), see figure 3. This plot shows that to achieve a rate of I bit/symb. we need an average distortion of at least ~ 0.22. 4 Least-significant bites) modulation Traditional embedding methods assume that a grayscale symbol x E 9 is represented as a binary vector bB-I, ... , b i , bo such that x = Li=O,B-I bi2i. Messages are now embedded only in the least-significant bits (LSB's) in this binary representation. Therefore this form of embedding is called least-significant bits modulation. Assume that message w is embedded in the RLSB's (R is a positive integer). The following tables now show what happens for R = 1. Observe that for R = 1 the distortion ÏJ = 114 . 2 = ]12. 149 2.5 1.5 2.5 Figure 3: R(/:::") in bits per symbol as a function of the distortion IJ. per symbol (horizontally), together with two LSB distortion-rate pairs (0) and time-sharing the R = l-LSB method (...). x w = 0 1 x w = 0 1 8=1000 Y = 8 9 8=1000 D = 0 1 9=1001 8 9 9=1001 0 Similarly for R = 2 the average distortion is D = 1/16(6· 1 + 4·4 + 2·9) = 5/2. The distortion-rate pairs (D, R) = 0/2,1) and (5/2,2) are plotted in figure 3 denoted by o'-s. Using the LSB modulation scheme (D, R) = (1/2, 1) only for a fraction of the symbols, we achieve R(D) = 2D, forO:s D:S 1/2. The resulting distortion-rate pairs are plotted in the figure with a dotted line. The problem we want to address next is: "How can we do better than R(D)/ D = 2?" 5 Coded LSB modulation In this section we consider coding methods that affect only the LSB of each grayscale sym- bol. The first method is based on Hamming codes, after that we consider a code based on the binary Golay code. 5.1 Embedding based on binary Hamming codes To describe the embedding code consider the (7,4, 3) Hamming code. Fix a certain coset Ci, for some i = 0, 1, ... ,7. Consider only the vector of LSB's of seven host symbols. Denote i this vector by x = Xl, X2, ... , X7· Determine a binary vector yJ = Yl, Y2, ... , Y7 E C, 150 i which is closest to x in Hamming-sense. To obtain the composite sequence just replace the LSB vector xi by yi· Next we determine the average distortion jj of this method. The Hamming code is perfect with dn = 3, thus we will find a word yi E ei at distance 1 from xi with probability 7/8 and a word at distance 0 with probability 1/8 (some smoothness of P (x) is assumed here). Hence D = (7/8)/7 = 1/8. The decoder can detect the coset to which the composite sequence yi belongs, hence reliable transmission is possible with rate R = (log2 8)/7 = 3/7 bit/symbol. Thus we achieve (D, R) = 0/8,317). The R/ D-ratio = 24/7 ~ 3.428 which is a factor 1.714 higher than LSB modulation. A Hamming code of length 2m - 1 for m = 2, 3,4, ... gives m-I R = -- andD =-. 2m - 1 2m Hence the ratio _ m2m R/D=-- m 2 - l' which is approximately equal to m for large m (see figure 4). 5.2 Embedding based on the binary Golay code Instead of the binary Hamming code we can use the (23, 12, 7) binary Golay code. This leads to 11 (23) . 1 + (23) . 2 + (23) . 3 R=-~0.478andjj= 1 2 3 ~0.I24. 23 2048·23 Now the ratio R/ D ~ 3.85, which is almost a factor two better what can be achieved with LSB modulation (see figure 4). 0.1 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 Figure 4: Rate-distortion curve, time-sharing R = l-LSB modulation (...), binary Hamming codes (0), and the binary Golay code (x). 151 6 Ternary embedding methods We start this section with a definition. A grayscale symbol x is said to be in class w iff x mod 3 = w for w = 0, 1,2. Now we are ready to discuss uncoded ternary embedding and after that again two coded embedding methods. 6.1 Uncoded ternary modulation Suppose that message w E {O, 1,2) is to be embedded in the grayscale symbol x. The decoder determines the message w simply by looking at the class of y. If x is in class w then y = x is chosen, otherwise we change it into the symbol y in class w, such that D(x, y) = (y _ x)2 is minimal, see the tables below. x w = 0 2 x w= 0 2 9 v= 9 10 8 9 D= 0 1 1 10 9 10 11 10 1 0 1 11 12 10 11 11 0 The obtained embedding rate R = log2 3 ~ 1.585. The corresponding average distortion b = 2/3·1 = 2/3. This results in the ratio RI b = 3/2log2 3 ~ 2.378 which is quite good! 6.2 Embedding with ternary Hamming codes We can also design codes for the modulating the class, based on ternary Hamming codes. For a given value m, i.e. the number of parity check symbols, the codeword length is (3m - 1) 12. Therefore 2rn log2 3 - 2 R = andD =- 3m _ I 3m Hence Rib = -3- m's" log2 3 ---=I_:::__ , m see figure 5. 6.3 Embedding using the ternary Golay code If we use the (11, 6, 5) ternary Golay code we get the following rate and distortion: Slo 3 _ (").1.2+('1).2.4 42 R = g2 ~ 0.7204 and D = 1 2 = - ~ 0.1728. 11 243 . 11 243 Hence RI f> ~ 4.1 fiR2 (see figure 5). 152 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 Figure 5: Rate-distortion curve, time-sharing R = I-LSB modulation (...), binary Hamming codes (0), ternary Hamming codes (*), and both Golay codes (x). 7 Two-dimensional codes Finally we consider a method that modifies pairs of grayscale-syrnbols (xa, Xb). Therefore we "color" the two-dimensional rectangular grid with five colors. A point and its nearest neighbors all have a different color, see table below. Xa -+ 2 3 4 0 2 3 4 0 1 2 3 4 0 Xb 4 0 2 3 4 0 2 3 4 0 2 3 + 2 3 4 2 0 1 3 4 2 3 4 0 0 2 3 2 4 0 3 4 0 2 3 4 0 3 4 0 2 3 4 0 2 3 4 0 2 We want to embed in Xa and Xb a message w E {O, 1,2,3, 4}. The decoder just looks at the color of pair (Ya, Yb). If (xa, Xb) does not have col or w change it into the nearest neighbor (Ya, Yb) with color w. Now - 1.0 +4 . 1 log2 5 D = = 2/5 and R = -- = 1.16096. 5·2 2 and R/ ij 2.90241. This basic code can be used together with 5-ary Hamming codes. For a given m, i.e. the number of parity checks, we get a code length of (5m - 1)/4 5-ary symbols. This code processes (5m - 1)/2 grayscale-symbols and the embedding rate is 2rn log2(5) - 2 R = and the distortion D = -.m 5m - 1 5 The resulting distortion-rate pairs are shown in figure 6. 151 Figure 6: Rate-distortion curve, time-sharing R = 1 LSB modulation C ... ), binary Hamming codes (0), ternary Hamming codes (*), the Golay codes (x), and the 5-ary codes (+). 8 Conclusion We have only looked at small distortions here. Moreover we have concentrated on perfect codes since this was so easy. It can be shown that Hamming codes are quite good for D -+ O. For a moderate rate we have seen that Golay codes are rather good, but what about even better codes for even higher rates? How do we generalize the coloring results to larger number of colors and more dimensions? References [1] J. Chou, S. Pradhan, L. El Ghaoui and K. Ramchandran, "A Robust Optimization Solu- tion to the Data Hiding Problem Using Distributed Source Coding Principles," preprint, 2000. [2] S. Gelfand and M. Pinsker, "Coding for a Channel with Random Parameters", Problems of Control and Information Theory, vol. 9, pp. 19-31, 1980. [3] P. Moulin and J. O'Sullivan, "Information-theoretic Analysis of Information Hiding," preprint, 1999. [4] F.M.J. Willems, "An Informationtheoretical Approach to Information Embedding," Proc. 21st Symp. Inform. Theory in the Benelux, pp. 255-260, Wassenaar, May 25-26, 2000. 154 On AD conversion for telecommunications C.H. Slump, R. Schiphorst, P.W. Hoeksema, Signals & Systems; B. Nauta, V. Arkesteijn, E. Klumperink, IC-design; Faculty of Electrical Engineering, University of Twente. In modern communications the trend is to replace analog processing by digital signal processing. In the software defined radio receiver concepts the analog-to-digital converter is on the move towards the antenna. However, the AD converter technology improvementfalls behind Moore's law upheld by the semiconductor industry. Applying the state-of-the-art AD converters at the sampling frequency of current telecommunication carriers requires a huge amount of power. In this poster contribution we address the problem of using bandpass sampling, i.e. undersampling AD converters according to the Nyquist criterion of twice the highest signal frequency. We discuss the. bandpass sampling theorem: If a continuous waveform met) is band limited to W Hz, from fo to fm, then met) can be exactly reconstructed from uniform samples spaced T, s, if the sampling rate f, = 1/Ts = 2fm / b, where b is the largest integer within the range r,/ W. We state the bandpass interpolation equations and apply bandpass sampling to modern communication signals and discuss the applicability for software defined radio. The technique is demonstrated for several simulated test signals in both the absence and presence of (additive Gaussian) noise to simulate the radio environment with noise and interference. The limitations are indicated for practical applications. 155 OPTIMISED LABELINGS FOR BIT-INTERLEAVED CODED MODULATION SCHEMES WITH ITERATIVE DEMODULATION Alexei Gorokhov and Marten van Dijk Philips Research Nat. Lab. WY-6 Prof. Holstlaan 4 5656 AA Eindhoven The Netherlands It has been recently shown that iterative demodulation improves substen- tially the performance of bit-interleaved schemes and that the improvement depends on the chosen signal labeling. The effect of signal labeling is ap- proached in this paper through the error rate analysis of maximum likeli- hood demodulation/decoding on one hand, and the statistical analysis of de- mapped bit mettics at the first demodulation iteration, on the other hand. These two features lead to two different optimisation criteria, which are used to design labelings for some practically important cases. BIT INTERLEAVING SCHEMES In bit interleaved coded modulation (Bl'Clvî), the sequence of coded bits is interleaved prior to its encoding to the channel symbols to be transmitted. A general scheme of such a BleM transmitter is plotted in Fig.I. The sequence of information bits {bd undergoes a forward error control (FEe) encoding. The output of the encoder {cd is fed to the interleaver TI that permutes the order of the incoming bits. The output of the interleaver is then forwarded to the mapper /-L which groups the incoming bits into blocks of m-tuple labels and maps them onto the set S consisting of 2m symbols. The resulting sequence of symbols is transmitted over a memoryless fading channel characterised by a sequence of gains {rk}' The samples of the received signal are corrupted by the sequence {nd of additive Gaussian white noise (AWGN). This generic channel model fits, in particular, to a multicarrier transmission over a frequency selective channel, where the set of instances k = 1, ... , N corresponds to N sub carriers. Therefore, it falls under the scope of the existing standards for broadband wireless (such as ETS I BRAN HIPERLAN/2, IEEE 802.11a and their advanced versions currently being in standardisation). The main feature of BleM is the interleaver TI which spreads the adjacent coded bits Ck over different symbols Xk, thereby providing coding diversity. This yields a substantial improvement in the FEe performance in fading environments, see e.g., [1]. Often, (pseudo-)random interleavers are used that for big block size N guarantee a uniform spreading and therefore a uniform diversity over the wholecoded sequence. We assume in the sequel that the receiver has a perfect knowledge of the fading gains {,k}. An accurate estimation of this gains in practice, e.g., due to pilots and/or training sequences, makes the 157 latter assumption rather accurate. The standard decoding of BleM has a mirror structure to that of Fig.1. For each k, the received samples Yk and the fading gains Ik are used to compute a posteriori probabilities (APP) of 2m symbols from S, for all Yk. These APP values are then de-mapped, i.e., transformed into the reliability values of individual bits of the k-th symbol. The reliability value of a bit may be computed as a log-ratio of the APP of this bit being 0 over the APP of this bit being 1, given the set of APP values of 2m symbols from S and Yk. Sometimes, the APP of a bit being 0 (1) is replaced by the bitwise maximum likelihood (ML) metrics, see e.g., [1]. The reliability values are de-interleaved and forwarded to the FEe decoder which estimates the sequence of information bits, e.g., via the standard Viterbi decoding. The main drawback of the standard decoding, as compared to the optimal decoding, comes from the fact that there is no simultaneous use of the codeword structure (imposed by FEe) and the mapping structure. Although the strictly optimal decoding is not feasible, the above observation gives rise to a better de- coding procedure that has been recently proposed (see e.g., [2]); it is sketched in Fig.2. The core idea of this procedure is to iteratively exchange the reliability information between the de-mapper and the FEe decoder. The iterative pro- cedure starts with the standard de-mapping as described above. The reliability values {L~)} of the de-mapped bits, after de-interleaving, serve as the inputs to the soft-input soft-output (SISO) decoder which produces the (output) reliabil- ities {L~c)} of the coded bits {Ck} that take into account the (input) reliabilities of encoder interleaver mapper AWGN received signal Fig.1. BIeM transmitter. fading de-mapper de-interleaver slicer gains (1') Ik Lk Yk Fig.2. ID-BIeM receiver. the de-mapped bits and the FEe structure. The standard SISO decoders are maximum a posteriori (MAP) decoder [3]and the bitwise ML decoder [4]. The difference between the inputs and the outputs of the SISO decoder (often called extrinsic information) reflects the reliability increment which is owing to the code 158 structure. This extrinsic information is interleaved and used as an a priori re- liability during the next de-mapping iteration. In a similar way, the extrinsic information is computed at the successive de-mapper output. This information represents a refinement due to the reuse of the mapping and signal structure; it is used as an a priori reliability for the subsequent SISO decoding iteration. After the last iteration, the SISO output reliabilities {Lib)} of the information bits are fed to the slicer which computes the estimates {bd of {bd. An important feature of the BIeM scheme is the mapping of the m-tuples of bits onto the signal set S. The most commonly used signalings are PSK (BPSK, QPSK and 8-PSK) and QAM (4-QAM, I6-QAM, 64-QAM and 256- QAM). Furthermore, the performance of the system depends substantially on the mapping J1, : {O, I}m H S, that is, the association between the symbols and their m-bit labels. As shown in [1], the standard Gray labeling is optimal when the standard (non-iterative) decoding procedure is used. Let us recall that Gray labeling implies that the labels corresponding to the neighbouring symbols differ in the smallest possible number of positions out of m, ideally in only one position. An example of I6-QAM (m = 4) with the Gray labeling is plotted in Fig.3(a). However, the authors of [2, 5, 6] noticed that the use of alternative labeling designs may improve dramatically on the performance of BIeM whenever the iterative decoding is used at the receiver. The authors of [5, 6] claimed a notice- able improvement due to a widely used labeling design known as Set Partitioning (SP). The standard example of the SP labeling for I6-QAM is given in Fig.3(b). The first systematic design of labeling maps for iteratively decoded meM (ID-BIeM)' was apparently introduced in [7, 8]. The core idea of this approach is to use a labeling that reaches the optimal value of the mutual information between the label bits and the received signal, averaged over the label bits. The optimal mutual information depends on the signal-to-noise ratio (SNR), the designed number of iterations of the decoding procedure as well as on the channel model. The optimal value of the mutual information is the value that minimises the resulting error rate. According to this approach, a labeling map should be selected adaptively depending on the SNR and the desired number ofiterations. Moreover, this design criterion yields a numerically intensive optimisation procedure which is hardly feasible for spectral efficiencies over 4 bits/symbol. Examples of such labelings for I6-QAM are given in Fig.3(c)-(d). These labelings, referred to as optimal mutual information (OMI) labelings, willbe used later as a benchmark. DESIGN CRITERIA We propose a mapping design that relies upon the common observation that iterative decoding procedures approach the behaviour of the optimal decoders as SNR grows. Hence one may assume the optimal decoder in order to optimise of the labeling map, at a relatively high SNR that ensures a good performance of the iterative decoding. 159 1110 1010 0010 0110 1001 1100 1101 1000 0000 011011001000 0000 110010000001 • • • 1111 1011 0011 0111 • • • • 1110 1011 1010 1111 • • • 0100 11011001 1010 • • ·• • • 1111 0011 0110 0111 • · • · · • • • • • • • • • • • 0101 0000 0001 0100 0010 010111100011 1010 1101 0100 1001 • • • · · · • • · • · · · 1101 1001 0001 0101 1100 100000000100 · • 0010 011101100011 1011 111101110001 0101 1110 0010 1011 • • • • • • · · • · • • • • • • (a) (b) (c) (d) Fig.3. State-of-the-art labeling strategies for 16-QAM: (a) - Gray; (b) - set partitioning (SP); (c),(d) - OMI. Let us consider the optimal decoder. In practice, trellis codes are used as FEC for noisy fading channels such as( concatenated) convolutional codes. A typical error pattern is characterised by a small number of erroneous coded bits {Ck} at error rates of potential interest. The number of erroneous coded bits is a small multiple of the free distance of the code; this number is only a small fraction of the total number of coded bits. Due to interleaving, these erroneous coded bits are likely to be assigned to different labels and therefore different symbols. More specifically, the probability of having only one erroneous coded bit per symbol approaches one along with the increase of the data block size. Hence, we are aiming at decreasing the rate of errors such that at most one bit per symbol is corrupted, in order to improve on the overall error rate, for error rates of interest. Definition 1 For a given pair {S, M} of signal set and labeling map M, define D; the minimum of the Euclidian distances between the symbols of S whose m-tuple labels diffeT"in exactly one position. Based on the previous observations, we suggest the following design criterion. Criterion 1 FOT"a given signal set S, select a labeling map M : {O, l ]?' t-t S that maximises De. The distance measure De will be called the effective [ree distance of a given pair {S,M}. Note that De is lower-bounded by the exact free distance DJ of the signaling S where DJ is defined as the minimum of Euclidian distances between the symbols of S. The efficiency of Criterion 1 has been proved theoretically for big data blocks (N -+ 00) when the underlying FEC has a finite trellis complexity. These results apply to most ofpractically used codes such as the standard convolutional codesl. A theoretical study of the effect of labeling maps for the performance ID-BICM is beyond the scope of this paper. Yet, it is worthwhile to mention that at big N and high SNR, the error rate of ID-BICM is solely defined by De in the case of tThis analysis, however, rules out random-like codes such as turbo- and LDPC codes 160 a (non-fading) AWGN channel. The situation is more complicated in the case of fading channels. For Rayleigh and Ricean channels, the error rate depends on the whole set of Euclidian distances between the symbols whose m-tuple labels differ in exactly one position, De being the minimum within this set. Even in these cases, Criterion 1 appears to be a good pragmatic design rule. One can show that the achievable error rate is close to the optimum when De is comparable to the maximum within the aforementioned distance set. In all cases, the ratio (D~/ D~) reflects the order of performance improvement (in SNR) as compared to the standard labeling maps. It is appropriate to mention that the known maps (e.g., these presented in Fig.3) are characterised by De = D,. The second design criterion aims at an improved SNR threshold of the prae- tically used iterative decoders. A typical feature of the iterative decoding is a relatively poor performance up to some SNR threshold. Above this threshold, the error rate of the iterative decoding approaches the performance of optimal decoding. Therefore decreasing the SNR threshold value is highly desirable. This threshold value depends on the starting point of the iterative procedure, i.e., on the distribution of the reliability values Lr) provided by the de-mapper at the first iteration. The 'worst' reliability values are due to the neighbouring symbols, i.e., the elements of S that are D, apart. Hence the 'average' number of coded bits that suffer from the 'worst case' reliabilities is likely to be proportional to the 'average' number of positions in which the labels, encoding the neighbouring symbols of S, differ. Definition 2 For a given pair {S, Jl-} of signal set and labeling map u, define HI the average of Hamming distances between alt m-tuple labels whose respective symbols from S are Drapart. According to the above discussion, we may suggest the following design criterion. Criterion 2 For a given signal set S, select a labeling map Jl- : {O,I} m I-t S that minimises Hl. Note that Criterion 2, as such, leads to the standard Gray labeling map which is characterised by HI = 1. However, the Gray labeling also yields De = D, and therefore a poor asymptotic error rate at high SNR. Clearly, Criterion 2 only makes sense when used along with the Criterion 1 and De > D,. Check that the latter condition implies the lower bound Hl 2: 2. Indeed, the condition Hl < 2 yields the existence of at least one pair of neighbouring symbols whose labels differ in one position. The latter would imply, according to Definition 1, that De = D,. Hence, the design objective is to attain, for a given (preferably maximum possible) De > D" the minimum of HI, with the lower bound HI 2: 2. Labeling maps designed according to these guidelines will be referred to, according to the main criterion, as effective free distance (EFD) labeling maps. 161 ---._--_ Criterion 2 may be extended to the case of the higher order Hamming dis- tances. Let Ds{l) denote the l-th element of an increasing sequence build of all possible Euclidian distances between the symbols of S. We define HI the average Hamming distance between all m-tuple labels assigned to the symbols that are Ds(l) apart. Such an extension may be useful when joint optimisation of De and Hl yields several solutions. In such cases, higher order HI may be involved to choose an appropriate labeling map. The extended Criterion 2 may be justified theoretically. We showed that at high SNR, a bitwise ML metric Lr) corresponding to Ck = 0 and a given "Ik, is characterised by a p.d.f. whose left-side tail may be accurately approximated by a multi-modal function. These modes have Gaussian shape, they are located at Es/Nol'YkI2 Ds(l)2 and scaled by a constant which is proportional to HI, l = 1,2, .. '.. Furthermore, the variance parameter of each mode decreases along with the increase of Es/No. Hence, the successiveminimisation of HIJ with the priority to smallerl (i. e., the left-most mode) increases the outage level of L}:). SUMMARY OF RESULTS In this section, we briefly summarise the main results on the EFD labeling map design. A smart greedy search procedure has been designed that enables an exhaustive classification of the labeling maps according to the Criteria 1-2 for m ::; 4. The key parameters of the designed labelings are summarised ill the Table I. Besides the standard measures (here D~/ D~ and Hl) corresponding to the design criteria, the values of H 2 are shown sometimes. In these cases, the joint optimisation of De and Hl led to a big variety of labeling maps. From this variety, we retained only those maps which minimise H2. The total variety of labeling maps forms a set of equivalence classes w.r.t. the design criteria. Each equivalence class may be characterised by certain labeling map such that all the other class members have the same pairs of Hamming dis- tances between the m-tuple labels and Euclidian distances between the associated symbols. The equivalent labeling maps may be obtained from a given map by some equivalence transforms such as adding (modulo 2) a fixed m-tuple to every label of a given map or permuting arbitrarily the m bit positions of all labels. There are specific equivalence transforms for a given signaling (e.g., arbitrary ro- tations for PSK, (7r/2)-foldrotations, upside down swaps and swaps around the diagonals for QAM etc). Since the total number of equivalent labelings is often very big, it makes sense to represent the whole class by a generating labeling map. In this context, the last column in the Table I represents the number of distinct equivalence classes found. The case of 16-QAMsignaling (row 2 of Table I) deserves a special attention. We found two equivalence classes that simultaneously optimise both criteria. In- deed, De = V5 DJ is the maximum achievable effective free distance for 16-QAM whereas Hl = 2~ is the minimum of Hl under the condition De> DJ. Generat- ing labeling maps of these equivalence classes are shown in Fig.4. 162 Table 1. Selected labeling maps # m S D;/DJ Hl H2 IJLI l. 3 8-PSK 3.414213 2~ - 2 2. 4 16-QAM 5 2i - 2 3. 6 64-QAM 20 2~ - 3 4. 6 64-QAM 17 2ft 2M 1 5. 8 256-QAM 80 2fö 2~ 2 ·. . . 0000 1010 DOll 1001 ·. . . 0000 01O11l1O lOll ·. . . 1100 0110 llll 0101 lOll 0001 10000010 · . . . 1100 10010010 DIll 1010 llll 0100 0001 • • • • • • • • · . . . DIll 110101001110 (a) 0110 0011 1000 1101 • • (b) • • Fig.4. Generating labeling maps for 16-QAM. NUMARlCAL STUDY We compare the error rate performance of an ID-BIeM with the existing Gray, SP and two OMI labelings (see Fig.3) versus the EFD labeling plotted in Fig.4(a). The FEe coder is the standard 8-state rate (1/2) convolutional code (138,158), A sequence of 1000 user bits undergoes FEe encoding, uniform random interleaving and mapping onto the set of N = 502 16-QAM symbols which are transmitted over a Rayleigh fading channel with mutually independent gains bk}' This scenario fits to the broadband multicarrier BIeM scheme with a highly selective channel. The ID-BIeM receiver Fig.2 exploits bitwise ML metrics for soft de-mapping as well as SISO decoding. Our simulation results appear on Fig.5. As expected, Gray labeling gives the worst result at desirably low error rates. The SP labeling improves substan- tially on this result. Note that the first OMI labeling shows poor packet error rate (PER) as compared to the SP labeling. However, the second OMI labeling improves substantially on the SP labeling. Finally, the newly designed labeling map yields an improvement of at least 2 dB over the best known labeling at low error rates. As already mentioned, the SNR gain is expected to be of the order of (D; / DJ). This observation suggests higher improvement limits for higher spectral efficien- cies. We performed a similar simulation for 64-QAM with 2000 user bits and N = 668. The newly designed labeling maps in the rows 3-4 of Table I offer an improvement of at least 10 dB over the existing labelings at packet error rates beyond 10-5. Interestingly, the labeling map in the row 4, although characterised 163 Ettlllo,d6 Etv'No, ClB Fig.5. Packet and bit error rate versus (Eb/No). by a smaller De, improves over the map from row 3 by around 1dB in a wide range of SNR. The improvement is likely to be due to a lower SNR threshold. REFERENCES [1) G. Caire, G. Taricco, E. Biglieri, "Bit-interleaved coded modulation," IEEE Tr. on Info. Theory, vol. 44, pp. 927-946, May 1998. [2) S. ten Brink, J. Speidel, R.-H, Yan, "Iterative demapping for QPSK modulation," Electtonic Letters, vol. 34, pp. 1459-1460, July 1998. [3) L. Bahl, J. Cocke, F. Jelinek, J. Raviv, "Optimal decoding of linear codes for minimizing symbol error rate," IEEE Tr. on Info. Theory, vol. 20, pp. 284-287, Mar. 1974. [4) P. Robertson, E. Villebrun, P. Hoeher, "A comparison of optimal and sub-optimal MAP decoding algorithms operating in the log domain," IEEE Tr. on Info. Theory, vol. 20, pp. 284-287, Mar. 1974. [5) X. Li and J. Ritcey, "Trellis-coded modulation with bit interleaving and iterative decoding," IEEE J. Select. Areas Commun. vol. 17, pp. 715-724, Apr. 1999. [6) P. Magniez, B. Muquet, P. Duhamel, V. Buzenac, M. de Courville, "Optimal decod- ing of bit-interleaved modulations: theoretical aspects and practical algorithms," in Proc. 2nd Tnt. Symposium on Turbo Codes êJ Related Topics, pp. 169-172, Sept. 2000. [7) S. ten Brink, "Digital transmission system and method." European patent applica- tion, EP 0 998 045 AI, Lucent Technologies Inc., May 2000. [8) S. ten Brink, "Multilevel transmission system and method for with adaptive map- ping." European patent application, EP 0 998 087 AI, Lucent Technologies Inc., May 2000. 164 OPTIMAL TIME-DIFFERENTIAL ENCODING OF SINUSOIDAL MODEL PARAMETERS lesper lensen, Richard Heusdens, and Cor J, Veenman Delft University of Technology, Dept. of Mediamatics Mekelweg 4, 2628 CD Delft, The Netherlands E-Mail: {J.Jensen.R.Heusdens.C.Veenman}@its.tudelft.nl We propose an algorithm for encoding the model parameters for sinu- soidal coding of audio and speech signals. We consider the situation where sets of sinusoidal components, given by amplitude, frequencies, and phases, have been estimated for consecutive signal segments. These si- nusoidal components can be encoded either directly or differentially with respect to values of components in the previous segment. We show that the problem of encoding the sinusoidal components optimally can be for- mulated in a graph-theoretic framework as a maximum weighted bipartite matching problem, for which efficient algorithms exist. Initial experiments using the proposed solution for time-differential encoding show bit rate re- ductions of up to 39 % compared to non-differential encoding schemes. 1. INTRODUCTION Traditionally, speech and audio coding have been two separated areas of research. While speech codecs exploit a priori knowledge of speech signal charac- teristics to reach very low bit rates, audio codecs are not to the same extent signal specific and are usually designed to operate at much higher bit rates. However, in future codecs the two research areas are likely to converge. For example, in MPEG-4 [6], speech coding is considered a core functionality of the audio codec. For this reason, general coding structures which work well for both speech and audio inputs are of increasing importance. In recent years coding schemes based on sinusoidal models have proven to be efficient for low bit rate speech coding [8, 9] as well as for audio coding [1, 2, 10]. Sinusoidal coding aims at representing segments :I1m of an original signal as sums of sinusoidal functions: Km Xm(n) = 2: ak,m(n) COS(nWk,m(n) + 'Pk,m), n = 0, ... ,Nm - 1, (1) k=l 165 where Km denotes the number of sinusoidal components used for representing the m'th signal segment, ak,m(n), wk,m(n), and CfJk,m are the parameters of the k'th sinusoidal component, and Nm is the number of samples in segment m. In order to have simple parameter estimation schemes, the model parameters of Eq. (1) are often assumed to remain constant within each signal segment, that is, they do not depend on the time index n. Having estimated the model parameters such that the modeled segments xm are perceptually close to the original segments xm, the model parameters are quantized, encoded, and transmitted to the decoder. Here, the signal is reconstructed using overlap-add or parameter interpolation techniques to avoid audible artifacts at segment boundaries. In many existing sinusoidal coders, the bit rate needed for encoding the pa- rameters of the sinusoidal components is reduced through differential encoding with respect to parameter values in the previous segment. However, the problem of determining which of the sinusoidal components in the current segment should be encoded differentially, and which should be encoded directly, is not trivial. Dif- ferent algorithms for solving this problem have been developed over the last years, see e.g. [1, 8]. Typically, these algorithms consider the sinusoidal components in the current segment one at a time, and use the (relative) difference between the parameter values in the current and previous segment to determine if a given com ponent should be represented differentially or not. However, since these algo- rithms consider the sinusoidal components in the current segment one at a time, they will, in general, not lead to an optimal solution from a rate-distortion point of view. In this paper we solve the differential encoding problem using a graph- theoretic approach, where we show that our problem can be reformulated as a so-called maximum weighted bipartite matching problem, for which efficient so- lution algorithms exist. 2. OPTIMAL DIFFERENTIAL ENCODING OF SINUSOIDAL PARAMETERS In order to formulate our problem we assume that the signal to be encoded is represented by the sinusoidal model in Eq. (1), and sets of sinusoidal components have been estimated for consecutive signal segments. Our aim for a particular signal is to minimize the signal distortion introduced by quantizing the model parameters at a given bit rate, or, alternatively, minimize the bit rate needed to encode the signal at a given quantization distortion level. 166 Let S = {SI, S2, . . . ,S M} define the set of estimated sinusoidal model param- eters in signal segments 1 through M, and let Pm denote the set of all allowed coding templates in segment m, i.e., all possible combinations for encoding the model parameters, when each model component can be encoded either directly or differentially relative to a component in the previous segment. Moreover, let P = {PI, P2, . . . ,PM} denote a sequence of such coding tem plates such that Pm E Pm, m = 1, ... ,M. We define a global cost function as follows: M J(À, S,p) = L Jm(À, Sm, Sm-I,Pm), (2) m=I where is the cost related to encoding segment m at a bit rate R.", and a distortion Dm' given the estimated model parameters Sm in the current segment, the quantized parameters Sm-I in the previous segment, and using the coding template Pm. The parameter À is a Lagrange multiplier, which controls the tradeoff between rate and distortion. In this paper we define the rate R.",(.) and the distortion Dm(-) introduced in segment m as Km Km Rm(Sm, Sm-I, Pm) = L Rk,m(-), and Dm(sm, Sm-I,Pm) = L Dk,m(-), (4) k=I k=I where Rk,m and Dk,m are the rate and distortion, respectively, related to encoding the k'th sinusoidal component in segment m. The definitions of R.",(.) and Dm(-) in Eq. (4) imply that the sinusoidal components in a given segment are encoded independently, i.e., individual component bit rates Rk,m add up to the total per segment rate, Rm, and that a distortion measure exists such that individual component distortions Dk,m add up to the total per segment distortion, Dm. Our task is to find a set of coding templates Pm E Pm such that the global cost function J(À, S,p) specified by Eq. (2) is minimized. However, this is difficult because the Jm (.) terms are not strictly independent: a particular quantization of the sinusoidal components in a given segment will effect rate and distortion for components in the following segments, since differential encoding can be applied. However, assuming that this dependency is small, we can use Eqs. (2), (3), and 167 (4) to formulate our minimization problem as: min p (5) 3. A GRAPH-THEORETIC SOLUTION In Eq. (5), we turned our original minimization problem into a set of M simpler subproblems of finding coding templates Pm such that the corresponding cost functions Jm(-) are minimized. One such subproblem can be described as follows. Assume we have estimated Km-l sinusoidal components in segment m-I and Km components in segment m, and assume in addition that the components in segment m-I have already been quantized. The problem we want to solve is to encode the components in segment m optimally by either encoding them differentially relative to components in segment m-I or coding them directly. In other words, we want to know which of the Km components in segment m should be assigned to components in segment m-I and which should not. To do so, we model the available assignments by a graph G having a vertex for each component in segment m-I and segment m, and an edge for every possible assignment. The graph thus obtained is bipartite, i.e., it is the union of two disjoint sets, say X and Y, such that each edge consists of one vertex from each set, with the two sets being the components in segment m-I and segment m, respectively. To indicate that G is bipartite having bipartitions of size Km-l and Km we shall write G Km-l,Km' Moreover, we associate to each and every edge XiYj, x, EX, Yl E Y, a weight Wij corresponding to the cost of encoding component Yj differentially relative to Xi' In accordance with Eqs. (3) and (4), each weight is of the form Wij = Tij + )"'dij, where Tij is the rate and dij the distortion associated with differential encoding of the j'th component in the current segment relative to the i'th component in the previous segment. To incorporate the fact that some components in segment m may be encoded directly, we extend the partite set X by Km dummy vertices, resulting in a partite which we will denote by X', and associate to the edges XiYj, z, E X' \ X, Yj E Y, weights Wij = Tij + )"'dij corresponding to the costs of encoding the components Yj directly. Hence, an edge XiYj, z, E X, Yj E Y, represents differential encoding, while XiYj, Xi E X' \ X, Yj E Y, represents direct encoding. Finally, we extend 168 the vertex set Y by Km-l dummy vertices, resulting in an extended partite set Y'; with this extension, the graph is symmetric, and efficient solution algorithms can be applied. Fig. 1 shows an example of the bipartite graph corresponding to the case where Km-l =2 and Km=3. Now, the problem of encoding the sinusoidal components in segment m op- timally, i.e. finding the optimal coding template Pm in Eq. (5), can be refor- mulated as finding a perfect matching in GKm_I+Km,Km_I+Km of minimum total weight (see, e.g., [11, chpt. 3] for a detailed description of matchings in bipartite graphs). In other words, we seek the set of edges with minimum total weight subject to the constraint that each vertex should be connected to exactly one edge. This problem is sometimes refered to as the assignment problem. Although GKm_I+Km,Km_I+Km has (Km-l +Km)! perfect matchings, there exist algorithms for solving the problem in O«Km-l + Km)3) arithmetic operations [7, 5]. Our algorithm for solving the minimization problem in Eq, (5), i.e. finding the set p of optimal coding templates, is summarized below. 4. EXPERIMENTAL RESULTS In this section we demonstrate the performance of the presented algorithm for optimal time-differential encoding of sinusoidal model parameters. Four different audio signals, sampled at a rate of 44.1 kHz, were divided into segments of length 1024 samples with an overlap of 512 samples. Each segment was represented as a sum of Km=25 constant-amplitude, constant-frequency sinusoidal components, cf. Eq. (1), using a matching pursuit algorithm [3] for the parameter estimation. The estimated parameters were quantized and encoded as described below. In the synthesis stage, quantized model parameters were used to re-synthesize the segments. The complete audio signals were reconstructed from the synthesized segments using a windowed overlap-add technique. In the experiment reported here, sinusoidal phases were always encoded di- rectly. However, amplitudes and frequencies could be encoded either directly or differentially. In case of differential encoding, the following ~ parameters were calculated and quantized for amplitudes and frequencies, respectively: ~W" _ Wj,m 'J - A , Wi,m-l where iii,m-l and Wi,m-l denote quantized parameters from segment m -1. Thus, the term 'differential' refers to the encoding in the logarithmic domain. ló9 Figure 1: Bipartite graph GKm-l+Km,Km-l+Km for the case Km-1 = 2, Km = 3. '+' vertices represent sinusoidal components, while '0' are dummy vertices. Algorithm: Input: À,S={Sl, ... ,SM}. Output: P = {PI, ... ,PM}. 1. For segment m = 1: Use direct encoding of the estimated sinusoidal model parameters SI and obtain quantized parameters SI. 2. for m = 2 to M a) Calculate weight value Wij for every edge m the bipartite graph GKm_l+Km,Km_l+Km· b) Solve the assignment problem specified by GKm_l+Km,Km_l+Km using, e.g., the so-called Hungarian Algorithm [7] to obtain the optimal cod- ing template Pm. c) Encode the sinusoidal parameters Sm in accordance with the optimal coding template Pm to obtain Sm· end The sinusoidal model parameters were quantized independently using scalar quan- tizers with uniformly distributed quantization levels for phase values, and loga- rithmically spaced quantization levels for amplitudes and frequencies. The quan- tization levels were selected such that the encoded signals were subjectively in- distinguishable from the target signals (i.e., the signals represented with the sinu- soidal model). The logarithmic quantizers used for differential amplitudes !J.aij and frequencies !J.Wij had the same relative quantization level spacing as used for 170 direct amplitude and frequency quantization. With these amplitude and frequency quantizer settings, it can be verified that the quantization levels reachable through differential quantization are iden- tical to the quantization levels reachable through direct quantization. That is, the error introduced by quantizing a given parameter is identical whether using differential or direct quantization. This, in turn, means that the per segment quantization distortion, Dm(-) in Eq. (3) is constant, independent of the selected coding template Pm, and we can set À = O. Thus, the values of the edge weights in the graph for segment m, cf. Fig. 1, had the form Wij = Rt:>aij + Rt:>Wij + RCPj,m' i = 1, ... , Km-l, j = 1, ... , Km, Wij = Raj,m + Rwj,m + RCPj,m' i = Km-l + 1, , Km-l + Km' j = 1, ... , Km' Wij = 0, i = 1, ... , Km-l + Km' j = Km + 1, , Km-l + Km' where RU represents the number of bits needed to encode the quantized pa- rameter (.) using Huffman coding [4]. In practice, the integer R(l was found from look-up in pre-calculated tables containing Huffman code words for each quantization value of the particular parameter. First, the four test audio signals described above were encoded directly, i.e., without differential encoding. Afterwards, the signals were encoded using the proposed algorithm to decide which parameters to encode differentially. Table 1 summarizes the resulting bit rates for the different signals and coding schemes. Table 1 shows a bit rate reduction of up to 39 % using time-differential encoding Signal Direct [kbps] Differential [kbps] Rate reduction [%] 1) Metallica 39.7 30.4 23.4 2) Harpsichord 35.8 21.8 39.1 3) Suzanne Vega 39.9 29.3 26.6 3) Choir 39.8 29.8 25.1 Table 1: Bit rates for encoding the four test signals (column 1) directly (column 2) or differentially (column 3). compared to direct encoding of sinusoidal model parameters. 5. CONCLUSIONS In this paper we considered rate-distortion optimal time-differential encoding of the model parameters for sinusoidal coding of audio and speech signals. We showed that the problem of deciding for a given signal segment which sinusoidal 171 components to encode directly and which to encode differentially can be formu- lated in a graph-theoretic framework as the so-called assignment problem. We outlined a scheme for solving the problem using the so-called Hungarian algo- rithm [7)1. Initial experiments using the proposed algorithm for time-differential parameter encoding showed bit rate reductions of up to 39 % compared to non- differential encoding schemes. ti. REFERENCES [1) B. Edler, H. Purnhagen, and C. Ferekidis. Asac - Analysis/Synthesis Co dec for very low Bit Rates. In Preprint 4179 (F-6) Iûûth. AES Convention, 1996. [2) K. N. Hamdy, M. Ali, and A. H. Tewfik. Low bit rate high quality audio coding with combined harmonic and wavelet representation. In Proc. IEEE Int. Conf. Acoust., Speech, Signal Processing, pages 1045-1048, 1996. [3J R. Heusdens, R. Vafin, and W. B. Kleijn. Sinusoidal modeling of audio and speech using psychoacoustic-adaptive matching pursuits. In Proc. IEEE Int. Conf. Acoust., Speech, Signal Processing, 2001. To appear. [4) D. A. Huffman. A method for the construction of minimum redundancy codes. Proceedings of the IRE, 40:1098-1101, 1952. [5) R. Jonker and A. Volgenant. A shortest path algorithm for dense and sparse linear assignment problems. Computing; 38:325-340, 1987. [6J R. Koenen, editor. Overview of the MPEG-4 Standard. ISO/lEC JTC1/SC29/WG11, October 2000. [7J H. W. Kuhn. The Hungarian Method for the Assignment Problem. Naval Research Logistics Quarterly, 2:83-97, 1955. [8] R. J. McAulay and T. F. Quatieri. Speech Analysis/Synthesis Based on a Sinusoidal Representation. IEEE Trans. Acoust., Speech, Signal Processing, ASSP-34(4):744-754, august 1986. [9J R. J. McAulay and T. F. Quatieri. Sinusoidal coding. In W. B. Kleijn and K. K. Paliwal, editors, Speech Coding and Syntesis, chapter 4. Elsevier Science B. V., 1995. [10) T. S. Verma and T. H. Y. Meng. A 6 kbps to 85 kbps scalable audio coder. In Proc. IEEE Int. Conf. Acoust., Speech, Signal Processing, pages 877-880, 2000. [11J D. B. West. Introduction to Graph Theory. Prentice Hall, Inc., Upper Saddle River, NJ, 1996. lThe authors wish to thank Niclas Borlin, Dept. of Computing Science, Umeá University, Sweden, for the initial implementation of the Hungarian algorithm. 172 A SCHEME FOR PERCEPTUAL SPEECH AND AUDIO CODING WITH DAMPED SINUSOIOS BASED ON TOTAL LEAST SQUARES ALGORITHMS Kris Hermus, Werner Verhelst and Patriek Wambacq • Katholieke Universiteit Leuven, div. E.S.A.T.-PSI Kasteelpark Arenberg 10, .B-3001 Leuven-Heverlee, Belgium Kris.HermusGesat.kuleuven.ac.be The generalisation of troditional sinusoidal modelling to damped sinusoidal modelling has the advantage of a more compact and natural representation of transitional speech and audio fragments. Total Least Squares (TLS) algorithms are very efficient for the automatic calculation of the model parameters (damping, frequency, ampl~tude and phase). We present TLS algorithms and describe their behauiour in the time and frequency dom~in. By· incorporatinq the TLS analusis in a subband scheme we are able to reduce the computational load drastically and to achieve an enhanced numerical stability. The study of the quantisation aspects of the model parameters leads us to the introduetion of a scheme in which only the perceptually important components are coded. INTRODUCTION In sinusoidal modelling (SM) a short segment of speech s(n) is approximated bya finite sum of constant-amplitude, constant-frequency sinusoids: K .s(n) ~ Lak sin(27rikn + - q } A(s;) (2) where s;'s represent the watershed segments, S the set of all the segments in the current frame, CE the union of all complex event areas in the current frame, A(Si) the area of segment Si, and q the relative area threshold. Phase 1 The first phase is triggered if we have already labeled segments of CE areas in the previous frame. Here, we look for temporal consistency between frames at the segment level. Each segment belonging to a CE area is matched with segments of the past CE areas. The unmatched CE segments are passed to the second phase. The matching step takes into account the average color of the segments (for practical reasons), but one can also use other features, such as color histograms, col or variance, or texture [3]. If we note the average color of the current and previous segments with {,ure, ,.le, ,ube} and {,urp, ,u8p, ,ubp}, respectively, then a match of the two is flagged if (3) where t.; is the threshold for the match (a value between 0 and 1), and the R, G, and B channels have been normalized to range [0 ... 1]. Phase 2 The second phase classifies segments in a different manner. It consists of two distinct processes: PM classification and artefact classification. In this phase, the segments are represented again by their average values. 201 In the PM classification process, we actually look for motion blur PM, in which case an object is smeared over some background. For example, the motion blur in Fig. leb) is a combination of the rope and background outlined in Fig. lea). So, for the unmatched CE segments that are handed to phase 2, we try to find combinations of segments from the CE areas of the previous frame which fulfill the condition of ratio proportionality from Eq. 1. In practice, due to sampling/roundoff errors, the ratios are sometimes slightly different. We thus allow for a small variance: r J1c - J.lpIr J1cg - J1 pIg J1cb - J1pI bJ (4) a[ r r' g g' b b < ts J1p2-J.lpl J1p2-J1pl J.lp2-J1pI where a represents the standard deviation, and ts a small threshold. Segments that are not classified as PM are fed to the artefact classification process which essentially tests for extreme colors. A yet unclassified segment is labeled as "artefact" if (5) where ta is a threshold for artefacts. We take the minimum/maximum from the R, G, and B channels and not another combination of the three values because some artefacts show up only in some ofthe channels (see Fig. 1(c-e)). Artefacts have different color characteristics in different sequences, so for the best results ta has to be tuned for every image sequence. However, one could also fix to a small universal threshold ta, at the expense of a higher number of unflagged artefacts. In general, we have to make a trade-off between hit-rates (the amount of correctly flagged artefacts) andfalse alarms (the amount of non-artefact segments flagged as artefacts). At the end, all segments that are not labeled as "pathological motion" or "artefact", are labeled as "unknown". It is still possible that they may be artefacts, or pathological motion. However, for these ones there is no knowledge incorporated in the scheme yet, and they are subject to further research. ~ ~ Fig. 4. Classification example. a) Original frame. b) Original frame, with classification overlay: complex event areas are displayed in white, pathological motion in grey, and artefacts in black. 202 4. Results and Discussion Fig. 4 and 5 show some results of our analysis scheme. We experimented with three different sequences, each of which was 50-70 frames long. The selected segments were classified either as "pathological motion" or "artefact". The different classes were depicted in different colors: the original complex event areas are displayed in white (they also lie underneath the pathological motion and the artefacts); the pathological motion is displayed in grey; and the artefacts are displayed in black. a) b) Fig.5. Classification example. a) Original frame. b) Original frame, with classification overlay: complex event areas are displayed in white, pathological motion in grey, and artefacts in black. The results look quite promising, and a visual inspection throughout the sequence of results indicates that roughly 80% of the classification is correct. This represents a percentage relative to the amount of segments that were classified either as "pathological motion" or "artefact" (around 75% from the total number of selected segments; the other 25% remained unclassified). We rely on visual inspection because there is no ground truth to compare with. The incorrectly classified segments are due to various reasons such as: no previous flicker correction of the input sequence, incorrect input CE masks, etc. To estimate the complexity of both phases, we assume that the number of segments in a frame is N, on the average. The complexity of phase 1, is then of the order of O(N2). The complexity of phase 2 is O(N3). Hence, phase 1 clearly speeds up the classification process .. It should be mentioned, however, that phase I may accumulate errors, whereas phase 2 does not. 5. Future Work We have presented here findings about the statistical content of objects performing pathological motion in the presence of artefacts. We have shown that, in principle, it is possible, based on these statistics, to discriminate between the two main forms of complex events, namely the pathological motion and the artefacts. For this purpose, we have devised a scheme for the classification of areas with complex events, where common motion estimators fail. In particular, the analysis scheme performs a segmentation of the frames and tries to find similarities between segments of the current frame and segments of adjacent frames. This inter-frame segment matching is done only for the complex event areas, thus avoiding heavy computation. The classification results are quite encouraging, and they give us hope for the future developments. 203 Nevertheless, for the final restoration task, one needs besides the classification of different areas in the image, also the real motion vectors. Since we worked at segment level and performed a segment matching between segments of the current frame, on one hand, and segments of the previous frame, on the other hand, we got some sort of segment- based motion vectors. However, in order to make thorough use of this information, we need to merge the segments into objects [7], so we can work with statistics and motion vectors at the object level. This step would turn our method into an object tracking algorithm that is also capable of identifying pathological motion and artefacts, and which provides object-based motion estimation - a mix of information that is needed in the last step of the restoration chain, the restoration itself. Therefore, future work will include the development of segment-merging algorithms, restoration methods for areas degraded by artefacts, as final part of the restoration chain, and the introduetion of shot change detection techniques in the restoration process. Further improvements of motion picture restoration are expected to be achieved with object modeling and tracking methods [3], as a qualitative step forward towards a higher level analysis of image sequences. 6. References [1] A. C. Kokaram, "Motion Picture Restoration: Digital Algorithms for Artefact Suppression in Degraded Motion Picture Film and Video", Springer Verlag, ISBN 3-540- 76040-7,1998. [2] V.K. Madisetti, D.B. Williams, Editors, "The Digital Signal Processing Handbook", Section XI "Image and Video Processing", CRC Press and IEEE Press, ISBN 0-8493- 8572-5, 1998. [3] A. Rares, M.J.T. Reinders, "Object Tracking by Adaptive Modeling", Proceedings of the 2000 IEEE International Conference On Image Processing (ICIP 2000), Vancouver, September 10-13, 2000, ISBN 0-7803-6297-7. [4] A. Rares, M.J.T. Reinders, J. Biemond, "Statistical Analysis of Pathological Motion Areas", The 2001 lEE Seminar on Digital Restoration of Film and Video Archives, London, January 16, 2001. [5] P.M.B. van Roosmalen, "Restoration of Archived Film and Video", PhD Thesis, Delft University of Technology, 1999. [6] P.M.B. van Roosmalen, "High-Level Analysis of Image Sequences", Technical Report for!NA - Paris (Institut National de l' Audiovisuel), The EU "Aurora" Project, July 1999. [71 B.M. ter Haar Romeny, "Front-End Vision and Multiscale Image Analysis", course notes, Image Sciences Institute, Utrecht University. [8] M.1. Sezan, R.L. Lagendijk, Editors, "Motion Analysis and Image Sequence Processing", Kluwer Academic Publishers, ISBN 0-7923-9329-5, 1993. [9] x.c. Tan, H. Lim, and B. T. G. Tan, "Restoration of Real-World Motion-Blurred Images", CVGIP - Graphical Models and Image Processing, Vol. 53, No. 3, May, 1991. [10] J. Watkinson, "The Engineer's Guide Lu Motion Compensation", SneU & Wilcox Handbook Series, 1994. 204 COMPONENT AND COMPOSITE CODING OF RESIDUAL VIDEO SIGNALS: TRANS-MULTIPLEXING QUANTIZATION? Fokke Hoeksema, Harold Vermeulen and Kees Slump University of Twente, EE Dept., Signals & Systems Group P.O. box 217 - 7500 AE Enschede - The Netherlands Phone: +31 53 489 2770 Fax: +31 53 489 1060 f.w.hoeksema~el.utwente.nl In a system designed for digital video compression- and transmission for con- tribution video (high quality analog video), a combined codec is used [Ij. This codec uses two signal layers: a so-called base-layer signal is compressed using an MPEG2 codec and a so-called extension layer signal (or residual signal) is compressed using an M-JPEG codec. During research into the usage of the M-JPEG encoder for the residual signal, it appeared that for the high quality region (PSNR form 50dB to JOdB) a significant improvement in the bit-rate (from roughly gO MBit/s to 45 Mbit/s) for a fixed quality-level could be obtained if a composite residual signal was offered to the M-JPEG encoder instead of the (more obvious) component residual signal. In this paper we present the overall system architecture. focusing especially on the role of the composite-ta-component conversion function in the coding of the residual signal. INTRODUCTION In [1] a system was designed for video compression- and transmission of a number of high quality analog video streams over a glasfibre. The system transports digitized and compressed analog PAL video streams between broadcast studios or between a broadcast studio and cable distributor (contribution video). 0 s" "0 lil lil en0 en 0 c, c, E E 0 0 o o 0> 0> 0 _Q êij -c'" c: c: -c Figure 1: Overview of Video Compression- and Transmission System. 205 An overview of the system is given in Figure 1. The transmission channel is assumed to be error-free (for simulation purposes). In Figure 2 the AID-Conversion subsystem is given. The Source Codec subsystems are discussed below. Analog Composite Digital Composite Digital Component I O.,ljf.\ fl.at 10r f < 5 MHz ... -< 40 de tor t > 13.5 MHz fs = 27 MHz 10 bit I s.amp!o :l t , i Analog Composite Video ~~ ~tMsrmnt Point, e.g. PSNRa Msrmnt Point, e.g. PSNRd Frame Buffer Figure 2: AID Conversion Subsystem. QUALITY MEASURES AND QUALITY REQUIREMENTS In Figure 2 measurement points for specifying and assessing the signal quality of the source video signal are shown. The measurement points for the reconstructed video at the receiving side are placed in an analogue fashion in the DIA -Conversion subsystem. The system is assessed using methods based on natural picture material and synthetic test signals described in [2]. For measurements using synthetic test-signals the measures that are used are frequency-flatness, group-delay and peak-signal-to noise ratio (PSNR). In the analog composite domain, the root-mean-square (rms) value of the noise Nrm. is defined as the rms value of the noise at blanking level UN,rms (measured using Test Signal TI (of [2])). The peak value of the signal is defined as the maximum white amplitude (Test Signal I) UlOO%, or: PSNRa = 20 1010g UlOO% [dB] (1) NN,rms In the digital composite domain, the difference between the source composite Iraure F(x, y) and reconstructed composite frame F(x, y) gives rise to a Root Mean Square Error (RMSE) according to RMSE= '"' (F(x,y)-F(x,y)')2 L.J (2) x,y and the PSNR is defined as P PSNR = 20 lOl kscale· 2 [dB] (3) d og RMSE With kscaLe the effective conversion range reserved for visible video (kscale = 0.7; the other part of the conversion range is used for non-visible synchronization signals, like the colour burst and horizontal sync) and p the sample-depth in bits. This choice enables direct comparison of simulation-result measurements (PSNRd) to PSNRa measurements that are of importance for the assessment of the overall system. Note that 206 Video Stream PSNRa Freq. Flatness Group Delay High Quality > 70 dB ± 0.1 dB < 5 ns Low Quality > 40 dB ± 2.0 dB < 40 ns Table 1: Video Quality Requirements of (Transmitted) Source Material the PSNRs are taken over the composite frames; so, not only the luminance component as is customary in source coding literature (e.g. see [7]) is taken into account, but the chrominance components as well. For a sequence of N frames the average PSNRd is used: 1 N PSNRd = N L_PSNRd,i (4) i=l It is this average PSNR that is shown in the graphs below. The quality requirements that the system needs to support range from "High Qual- ity" (e.g. studio quality source material) to "Low Quality" source material (e.g. origi- nating from multiple sattellite up- and down links) and are summarized in Table 1. SOURCE CODEC ALTERNATIVES The following stand-alone source-codec-standard alternatives were investigated as candidates in the video contribution transmission system: • A lossless M-JPEG Codec ([3), software implementation in[4]) • A progressive M-JPEG Codec ([3), software implementation by the author of [1]) • An MPEG2 Codec ([5), software implementation in [6]) The MPEG2 implementation we use operates on 8 bit deep bitplanes in a frame, which limits its performance in the high quality region. As the whole range of qualities needs to be covered by the source codec subsystem a combination of the codecs above was investigated. This combined codec uses two signal layers: a so-called base-layer signal is compressed using an MPEG2 codec and a so-called extension layer signal [or residual signal) is compressed using a progressive M-JPEG codec. It was assumed that the temporal redundancy was effectively utilized by the MPEG2 coder, so the M-JPEG codec was placed in the extension layer, see Figure 3. EXPERIMENTAL RESULTS In Figure 4 experimental results for the stand-alone codecs are shown. The test material used consisted of sequences of 30 frames called Mall and Marcie. They were digitized from an NTSC source using 10 bit/sample and 4:2:2 decimation. It was observed that the whole range of quality requirements could not be covered with the used codec implementations (MPEG2 did not reach the high-end; M-JPEG barely the 207 IBJI ~ Frallltt BuffQf Source Encoder Coded Bitstream (a) Encoder Coded Bit5tream _ Frame Buffer Source Decoder (b) Decoder Figure 3: Combined Codec, using Component Residual Signals. -:-MPEG·2 ~- progr~~!.Î\le fv1·JPEG ->_- tossleas M-JPEG o 20 40 60 80 100 120 140 bit rate [MbiUsj Figure 4: PSNR Versus Bit-Rate. Three Stand-Alone Codecs. Mall Sequence. low-end; the lossless codec produced too high a bit-rate and is added for reference only). So, a combined codec was conceived and used for simulations. During simulations of the combined codec, it was noted by visual inspection that the composite residual signal resembles the component luminance residual signal. We therefore decided to use the composite signal as input to the M-JPEG encoder, in stead of the more conventional component signal (see Figure 5). An example of a composite residual frame of the sequence Mall is given in Figure 6. In Figure 7 the luminance plane of the corresponding component residual frame is shown. This observation lead to an experiment in which component and composite residual 208 BI 87 7 ~ Frame Buffer Source Encoder Coded Bitstream (a) Encoder Source Decoder (b) Decoder Figure 5: Combined Codec, using Composite Residual Signals. coding were tried on sequences Mall and Marcie, see Figure 8. The bit-rates allocated for the base-layer (MPEG2) were 4 Mbit/s and 10 Mbitj's. The result for the stand- alone MPEG2 codec (see Figure 4) is repeated in these figures. It can be seen that for the high quality region (PSNR from 50dB to 70dB) a significant improvement in the bit-rate (from roughly 90 MBit/s to 45 Mbit/s) for a fixed quality-level (PSNR value) could be obtained if a composite residual signal was offered to the M-JPEG encoder instead ofthe (more obvious) component residual signal. COMPONENT-TO-COMPOSITE CONVERSION OF RESIDUAL SIGNALS The question is: can we understand the observations reported here? First of all, we consider them counter-intuitive. One is tempted to understand the colour decoding and encoding process as a reversible one-to-one mapping. This would mean, from an information theoretical point of view, that the entropy of the compos- ite residual signal equals the sum of the entropies of the luminance and chrominance signals. However, the mapping is not one-to-one, as we reason below. For colour television broadcast in a single channel, the NTSC, PAL and SECAM systems interleave into the spectrum of a monochrome signal a sub carrier which carries two colour difference signals of restricted bandwidth. The sub carrier is intended to be invisible on the screen of a monochrome television receiver. In the PAL system two colour difference signals (U and V, the so-called chrominance signals) are used 209 Figure 6: Composite Residual Frame Figure 7: Luminance of Component Residual Frame to quadrature-modulate a subcarrier. Apart from that, the phase of the V signal is reversed on alternate Iiues. Detailed analysis (see [8J) shows a rather complicated signal spectrum. The digitication of analog composite video generates a single digital waveform (of which a single lLuüc iu tl>'inf\tnd h ...,.p (j,S ['(x, y)) haviug speetrally interleaved lumi- nance and chromanance. In (digital) colour decoding, the function that tT'l1nBfQr,,,~ composite video into component video, first the luminance needs to be separated from chrominance, subsequently the chrominance is demodulated. A simple way to do luminance-chrominance separation is to use a notch-reject filter for the luminance and a notch pass-filter for the chrominance. However this leads to an approximately 4 MHz luminance bandwidth for PAL and visible cross-colour artifacts 210 ----<:- Component 4 -----;:- Component 10 I ---,é- Composite 4 -:.- Composite 10 ---MPEG-2 / 10 20 30 40 50 60 70 80 90 100 110 120 bit rate [MbiUs] (a) Mall Sequence ------0-- Component 4 -a--- Component 10 ------i:r------ Composite 4 -;<- Composite 10 --- MPEG-2 o 10 20 30 40 50 60 70 80 90 100 110 120 bit rate {MbiUs J (b) Marcie Sequence Figure 8: PSNR Versus Bit-Rate. Component and Composite Residual Coding with 4 Mbit/s and 10 Mbit./s Base-layer Allocation in the luminance [9]. Therefore other, and more complex systems were designed to overcome these problems and to utilize the full recorded or transmitted bandwidth (e.g. simple comb filters, adaptive line comb filters (2D) or Adaptive Frame Comb filters (3D), see chapter 5 of [8]or chapter 13 of [9]). TRANS-MULTIPLEXING QUANTISATION? In the previous section we showed that the component to composite conversion is, strictly spoken, not reversible. Moreover, the M-JPEG encoder is not a lossless encoder, further complicating the analysis. We plan to analyse the component-to-composite system followed by the M-JPEG encoder/decoder as a trans-multiplexing quantizer. A system in which two (band lim- ited) signals are quadrature modulated, added, and jointly offered to a quantizer and reconstructor ("inverse quantizer"). Subseqently the reconstructed signal is demod- 211 ulated again, giving two reconstructed band-limited signals. The name arrives from "trans-multiplexer", a system used in TDM-FDM conversion systems (e.g. see [10]). We propose experiments aiming at validating the simulation results and investi- gating the generality /speciality of the system. For example, determine operational rate-distortion curves for residual-type signals in this system. CONCLUSION We observed that a significant improvement in the bit-rate (from roughly 90 MBit/s to 45 Mbit /s] for a fixed quality-level could be obtained if a composite residual signal was offered to the M-JPEG encoder instead of the (more obvious) component residual signal. We are not aware of these observations being reported elsewhere. The findings are experimental and are counter-intuitive. They give rise to the question: Why does coding of a composite residual signal generates a lower coded bit-rate for a fixed quality-level when compared to the coded bit-rate of the component residual signal? We plan to investigate the usefulness of a generalization (and simplification) of the composite-to-component and quantizer system used here, a system we coin a trans- multiplexing quantizator. Interest lies in the question whether the system presented here is a specialized system that proved successful in this context, or an instance of a broader class of relevant coding sub-systems. REFRRENCES [1] H.H.S.J. Vermeulen: Design of a Digital Video Campression- and Transmission System for High Quality Analog Video, Master Thesis University of Twente, 1995. [2] ITU-R Reccommendation 813: Methods for Objective Picture Quality Assesment in Relation to Impairment from Digital Coding Of Television Signals, ITU-R, 1991. [3] ISO/IEC 10918-1: JPEG - Digital Compression and Coding of Continuous Tone Still Im- ages, ISO/IEC, 1991. [4] K. Huang, B. Smith: Lossless JPEG Codec V1.0, Department of Computer Science - Cornell University, 1994. URL: ftp: //ftp. cs. cornell. edu/pub/multimed/ljpg [5] ISO/IEC 13818-2: MPEG2 - Coding of Moving Pictures and Associated Audin Information, ISO /IEC, 1994. [6] MPEG Video Test Model 5, Vl.1, 1994. URL: ftp://ftp.netcom.com/pub/cfogg/mpeg2 [7] N .S. Jayant, P. Noli: Digital Coding of Waveforms, Prentice Hall, 1984. [8] J. Watkinson: The Art of Digital Video, Focal Press, 1990. [9] NVISION: THE BOOK: An Engineering Guide to the Digital Transition, NVISION Inc., 1996. Start at URL: http: \ \www.nvision1.com\ [10] J. Das: Review of Digital Communication - corrected edition, New Age International (sic!), 1998. 212 IT-2001 Surname Initials Telephone E-mail 111.11.11.".11.".'1.".'1.".".1'.".1'.".'1.1'.".1'.".1'.".'1.".1'.1'.".".".1'.".".1'.'1.11.".".".". Benschop N.F 040-2742568 nieo.bensehop@philips.eom Brox T. +49621 181272 tbrox@uni-mannheim.de Burazerovie D. 040-2742762 dzevdet.burazerovie@philips.eom Dijk van M. 040-2743796 marten.van.dijk@philips.eom Etten van W. 053-4893872 w.e. vanettenesel.utwente.nt,. Fanesali A. levendov@hit.bme.hu Farin D. +49621181272 farw@ti.uni-mannheim.de Gerrits A. 040-2744174 andy.gerrits@philips.eom Graaf de H. +31 534505166 hugo.de.graaf@eln.eriesson.se Gröneveld E.W. 053-4351933 Guo Y. 040-2473652 y.guo@tue.nl Hanjalie A. 015-2783084 a.hanjalie@its.tudelft.nl Heideman G. H. M. 053-4892843 g.h.m.l.heideman@el.utwente.nl Hekstra A. 040-2742048 andries.hekstra@philips.eom Hermus K. +3216321829 kris.herm us@esat.kuleuven.ae.be Heusdens R. 015-2783544 r.heusdens@its.tudelft.nl Hoeksema F.W . 053-4892770 f.w.hoeksema@el.utwente.nl Jansen C. 073-6848450 e.jansen @seeurealink.eom Jensen J. 015-2783544 jes per. it.et. tudelft.nl Kleima D. 053-4323342 kleima1 @zonnet.nl Kovaes L. levendov@hit.bme.hu Levendovstky J. levendov@hit.bme.hu Meijerink A. 053-489281-9 a.meijerink@el.utwente.nl Meulen van de E. 003216327047 eevdm@gauss.wis.kuleuven.AC.be Mietens S. 040-2478222 s.mieten@tue.nl Mindru F. +32 16 32 1718 m indru @esat.kuleuven.ae.be Nowbakht A. 040-2473652 a.nowbakht@tue.nl Prelov V. prelov@iitp.ru Radovanovie I. 053-4892819 I.Radovanovie@el.utwente.nl 1".".".".".".".".".11.'1.11.'1.11.'1.11.'1.1'.".".11.".'1.".11 donderdag 10 mei 2001 •..• 1'•. '." •. 1.11•..• 11•..•Page 11•..•1 of11.1 2 Surname ... Initials Telephone E-mail 111.".'1.".'1.".".".".".".'1.".'1.".'1.11.".11.".11." •• 1••••• 1." ••••• 1•••• 11•••• 11.11••••• 1.... 11•••• 11. Rares A. 015-2783418 a.rares@its.tudelft.nl Ravyse I. +32 2 6292969 icravyse@etro.vub.ac.be Slump C.H. 053-4892094 c.h.slump@el.utwente.nl Srinivasan R. 053-4892108 r.srinivasantäel.utwente.nl 'Stassen M.L.A. 040-2817116 m .I.a.stassen@student.tue.nl Tang F. 003216288118 tang@imec.be Tian B. 053-4892819 b.tian@el.utwente.nl Tilborg van H.C.A. 040-2472739 h.c.a.v. tilborg @tue.nl Tjalkens T.J. 040-2473690 t.j.tjalkens@tue.nl Tolhuizen L. 040-2742069 ludo.tolhuizen@philips.com Vanroose P. +3216321707 per. vanroose@esat.kuleuven.ac.be Vellekoop M.H. 0534892087 m.h.vellekoop@math.utwente.nl Verdu S. (609) 258-5315 verdu@ee.princeton.edu Vinck H. vinck@exp-math.uni-essen.de Weber J. 015-2786736 j.h.weber@its.tudelft.nl Willems F.M.J. 040-2473539 f.m.j.willems@tue.nl With de P.H.N. 040-2478210 peter.de. with @cmg.nl on er ag ••• I.II.II •••• II.... '1.".".".11.".".11.1'.'1.1'.11.11.11.'1.11.11.11.".11.11.' Page 2 of 2 Id"·ldl.ldl.II.1101.1I1I!12'·O'O'.II.I me, 1