Proceedings of the 16th Symposium on Information Theory in the Benelux CIP-gegevens Koninklijke Bibliotheek, Den Haag Proceedings of the 16th Symposium on Information Theory in the BenellDi/ed. by J.H. Weber and A. Bosch-van Dijk - Delft: Werkgemeenschap voor Informatie- en Communicatietheorie ISBN 90-71048-11-X Cover design by Ruggero Franich Financial support has been received from the IEEE Benelux Section/Information Theory Chapter ii Proceedings of the 16th Symposium on Information Theory in the Benelux May 18 & 19, 1995 Nieuwerkerk aid Ijssel The Netherlands Edited by: [os H. Weber & Annett Bosch-van Dijk Delft University of Technology Published by: Werkgemeenschap voor Informatie- en Communicatietheorie, Enschede, The Netherlands ill TABLE OF CONTENTS vii PREFACE viii LIST OF AUTHORS Session 1 Source Coding 1 Tjalkens, T.J. & F.M.J. Willems A comparison of the Lempel-Ziv 1977 and 1978 universal data compression schemes. 3 Volf, P.A.J. & F.M.J. Willems A study of the context tree maximizing methods. 11 Gerrits, A.J., R.A. Beuker & G.J. Keesman Lossless compression of handwritten signals. 17 J.-M. Boucqueau, o. Bruyndonckx, S. Lacroix, J.-Y. Mertès, B. Macq & J.-J. Quisquater Access control and copyright proteetion for images. Session 2 Shannon Theory 25 Prelov, V.V. & E.e. van der Meulen On the Fisher information of the sum of two independent random variables one of which is small, and an asymptotic generalization of De Bruijn's identity. 33 Schalkwijk, J.P.M., H.B. Meeuwissen & P.J.E. Diederiks Two-way channels with delay. 41 Vanroose, P. On complexity measures for a tree. 49 Vvedenskaya, N.D. Distribution of message delay in a network with many multiple routes. Session 3 Cryptography 53 Dijk, M. van Coding gain strategies for the binary symmetric broadcast channel with confidential messages. 61 Radu, e., M. Vandenwauver, R. Govaerts & J. Vandewalle An efficient traceable payment system. 69 Tilburg, J. van The fall of the Alabbadi and Wicker digital signature schemes. iv 73 Verschuren, J. On the security of OSI-based computer networks Session 4 Signal Processing 81 Franich, R.E.H., R.L. Lagendijk & J. Biemond A path through the disparity space image. 89 Kamminga, C. & M.G. de Bruin A time-frequency entropy measure of uncertainty applied to echolocation signals. 99 Vanroose, P., L. van GooI & A. Oosterlinck Localization and identification of plane objects in a complex scene. Session 5 Error-Correcting Codes 107 Veugen, T. Tail conditions for multiple repetition feedback block coding. 115 Offermans, G.W.A., E.J. Breeuwer, J.H. Weber & D. van Willigen Error-correction strategies for the Eurofix navigation system. 123 Baggen, CP.M.J. & L.M.G.M. Tolhuizen On the diamond code construction. 127 Tolhuizen, L.M.G.M. & CP.M.J. Baggen Block variations of diamond codes Session 6 Invited Lecture 133 Arnbak, J.C Between information theory and communication practice: observations from a stranger. Session 7 Multi-User Channels 135 Jacquemin, P., A.J. Rodrigues & L. Vandendorpe Multi-h D5-CDMA in multipath Rayleigh fading channels with multi- user interference. 143 Krapels, M.J. & G.J.M. Janssen Comparison of BER performance of different detectors for a narrowband BPSK dual-signal receiver with eo-channel interference cancellation. 151 Vanroose, P. Code construction for non-cooperative deterministic multiuser channels. v 159 Vvedenskaya, N.D. & J.P.M.G. Linnartz Performance of stack algorithm in case of mutually interfering transmissions in two cells. Session 8 Channel Coding 167 Bart, B. de & F.M.J. Willems Combining enumerative shaping techniques and block coded modulation for ISI channels. 175 Hekstra, A.P. Synchronisation for codes on circles. 177 Abdel-Ghaffar, K.A.S. & J.H. Weber Constrained block codes for partial-response maximum-likelihood channels. vi PREFACE Annually, the Werkgemeenschap voor Informatie- en Communicatietheorie (WIC) and the IEEE Benelux Information Theory Chapter organize a symposium on information theory in the Benelux. These proceedings contain the papers which have been accepted for presentation at the 16th edition of this symposium. We are grateful to the authors for submitting their latest results. Further, the financial support from the IEEE Benelux Section is highly appreciated. Finally, we thank Ruggero Franich and Joke Bergfeld for their fine assistance in preparing these proceedings and other brochures related to the symposium. [os H.Weber & Annett Bosch-van Dijk, Editors Delft, April 1995 vii LIST OF AUTHORS page page Abdel-Ghaffar, K.A.S. 177 Macq, B. 17 Arnbak, J.c. 133 Meeuwissen, H.B. 33 Baggen, C.P.M.J. 123,127 Mertès, J.-Y. 17 Bart, B. de 167 Meulen, E.c. van der 25 Beuker, RA. 11 Offermans. G.W.A. 115 Biemond. J. 81 Oosterlinek, A. 99 Boucqueau, J.-M. 17 Prelov, V.V. 25 Breeuwer, E.J 115 Quisquater, J.-J. 17 Bruin, M.G. de 89 Radu, C. 61 Bruyndonckx, O. 17 Rodrigues, A.J. 135 Diederiks, P.J.E. 33 Schalkwijk, J.P.M. 33 Dijk, M. van 53 Tilburg, J. van 69 Franich, RE.H. 81 Tjalkens, T.J. 1 Gerrits, A.J. 11 Tolhuizen, L.M.G.M. 123,127 GooI, L. van 99 Vandendorpe, L. 135 Govaerts, R 61 Vandenwauver, M. 61 Hekstra, A.P. 175 Vandewalle, J. 61 Jacquemin, P. 135 Vanroose, P. 41,99,151 Janssen, G.J.M. 143 Verschuren, J. 73 Kamrninga, C. 89 Veugen, T. 107 Keesman, G.J. 11 Volf, P.A.J. 3 Krapels, M.J. 143 Vvedenskaya, N.o. 49,159 Lacroix, S. 17 Weber, J.H. 115,177 Lagendijk, RL. 81 Willems, F.M.J. 1,3,167 Linnartz, J.P.M.G. 159 Willigen, D. van 115 viii A Comparison of the Lempel-Ziv 1977 and 1978 Universal Data Compression Schemes. Tjalling J. Tjalkens" and Frans M.J. Willems! SUMMARY: Starting from a study of string complexity Ziv and Lempel described two related universal data compression schemes LZ-77 and LZ-78, see [8] and [9] respectively. Although closely related these two schemes have different properties, e.g. while in [9] the authors already proved the convergence of the coderate of the LZ-78 scheme to the source entropy, there still does not exist a similar proof for LZ-77. However, in [2] it was shown that the rate of convergence of the coderate to the entropy was far from optimal and indeed context based algorithms like the PPMC algorithm, based on the work in [1] and the recent CTW algorithm described in [3] achieve consistently better compression rates. Both Lempel-Ziv schemes encode variable length segments of source data by referring to previous subsequences of the data. In LZ-77 a buffer of some N most recent past symbols is searched for the longest match of the current data. The codeword consists of the position and length of the match and the first non-matching data symbol. In LZ-78 the matches are restricted to those subsequences in the past that were themselves parsed segments. The codeword consists of a pointer to the matched previous segment and the first non-matching data symboL Both versions have undergone many modifications and are used in many practical compression algorithms. Even though currently the versions achieve about the same compression rates, the LZ-77 based algorithms attract the most attention due to a slightly lower storage complexity and a slightly higher coding speed. The LZ-77 scheme allows more reference points given a certain amount of past data than the LZ-78 scheme and thus permits longer matches. This compression advantage is offset by the need to encode the length of the match, which is not neccesary in the LZ-78 scheme. Recent theoretical studies, see [4], [5], and [6], indicate that the specification of the match length can be the main reason for the code inefficiency of the LZ-77 scheme. The inefficiency of the LZ-78 scheme is obviously related to the limited number of reference points in the past data. In [7] several improvements to the LZ-78 scheme were proposed that increase the number of reference points. 'Correspondence to Tjalling Tjalkens, email: tjalling@ei.ele.tue.nl. tBoth authors are with the Eindhoven University of Technology, Dept. EE, P.O.Box 513, NL-5600 MB Eindhoven, The Netherlands. 1 In this paper we shall describe an universa] data compression algorithm in two ways, namely as a LZ-77 scheme that does not need to specify the match length and as a LZ-78 scheme that allow all positions in the past data to be reference points, as in [7]. This scheme thus combines the advantages of both LZ-77 and LZ-78 without their respective disadvantages. References [1] Cleary, J.G. and l.H. Witten, "Data compression using adaptive coding and partial string matching", IEEE Trans. Comm., vol COMM-32, no 4, pp 396- 402, April 1984. [2] Shtarkov, Yu.M. and Tj.J. Tjalkens, "The redundancy of the Ziv-Lempel algo- rithm for memoryless sources", in: Proc. ll-th Symp. on Inform. Theory in the Benelux, Noordwijkerhout, The Netherlands, pp. 36-42, Oct 25-26, 1990. [3] Willerns, F.M.J., Yu.M. Shtarkov and Tj.J. Tjalkens, "Context tree weighting: a sequential universal coding procedure for FSMX sources" in: Proc. 1993 IEEE Int. Symp. on Inform. Theory, San Antonio, Texas, U.S.A, pp. 59, Jan 17-22, 1993. [4] Wyner, A.D. and J. Ziv, "Some asymptotic properties of the entropy of a sta- tionary ergodie data source with applications to data cornpression," IEEE Trans. Inform. Theory, vol IT-35, no 6, pp 1250-1258, Nov 1989. [5] Wyner, A.D. and A.J. Wyner, "Improved redundancy of a version of the Lempel- Ziv algorithm", in: Proc. 1994 IEEE Int. Symp. on Inform. Theory, Trondheim, Norway, pp. 9, June 27-July 1, 1994. [6] Wyner, A.J., "The redundancy and distribution of the phrase lengths of the fixed-database Lempel-Ziv algorithm", in: Proc. 1994 IEEE Int. Symp. on In- form. Theory, Trondheim, Norway, pp. 8, June 27-July 1, 1994. [7] H. Yokoe, "Improved variations relating the Ziv-Lempel and Welsh-type algo- rithms for sequential data compression", IEEE Trans. Inform. Theory, vol IT-38, no 1, pp 73-81, Jan 1992. [8] Ziv, J. and A. Lempel, "A universal algorithm for sequential data compression," IEEE Trans. Inform. Theory, vol IT-23, no 3, pp 337-343, May 1977. [9] Ziv, J. and A. Lempel, "Compression of individual sequences via variable rate coding," IEEE Trans. Inform. Theory, vol IT-24, no 5, pp 520-536, Sept 1978. 2 A Study of the Context Tree Maximizing Method Paul A.J. Volf and Frans M.J. Willems Eindhoven University of Technology Information and Communication Theory Group Abstract One can adapt the context tree weighting method in such a way, that it will find the minimum description length model (MDL-model) that corresponds to the data. In this paper this new algorithm, the context tree maximizing algo- rithm, and a few modifications of the algorithm will be studied, in particular, its performance if we apply it for data compression. 1 Introduction Until a few years ago, most universal data compression programs used a variation of the Lempel-Ziv algorithms. These dictionary techniques combined average per- formance with a very low complexity. With the recent improvements in computer hardware (speed and memory) a new generation of data compression algorithms can be used. These algorithms consist of two parts. There is an estimator which esti- mates the probability distribution of the next symbol. It bases its estimation on the previous symbols. The probability distribution and the actual symbol will then be used in an arithmetic encoder to obtain a codeword. Because the arithmetic encoder performs nearly optimal (even in practice), the performance of the data compressor depends fully on the estimator. Here we assume that the data has been generated by a tree source. The last few symbols of the sequence identify one of the leaves. All the symbols following this context are assumed to be independent. So one can see the model as a tree with memoryless sources in its leaves. The estimator works with a context tree. This is a full tree of depth D, with counts in every node and leaf. The context tree weighting method as presented in [3] and in [4] (called class IV there) is a one-pass data compression program which uses such context trees. For this algorithm it has been proved that the individual redundancy p of a sequence x[ with respect to a binary source with model S and with parameter vector es satisfies: (1) The first term is due to the model cost. If there are ISI leaves, then there will be ISI - 1 nodes. Every node and every leaf costs at most 1 bit. The second term is the parameter redundancy. To estimate the parameter of a memoryless source, we use the Krichevsky- Trofimov estimator. This estimator will be discussed later. But 3 by adding the redundancies of the ISI different estimators, we get the second term. The last term is the redundancy due to the arithmetic coder. The context tree weighting algorithm proves to be an excellent data compressor. As well in theory as in practice. But it uses considerable amounts oftime and mem- ory. In [2] we presented a method (the context tree maximizing method) with which one could find the model that minimizes the description length. There this method has been used for classification purposes. But one can also use it as a two-pass data compression algorithm. During the first pass, the best model will be found, and during the second pass, this model will be used to encode the source sequence. This two-pass algorithm has the advantage that the complexity is considerably smaller than the complexity ofthe context tree weighting method, especially for the decoder. On the other hand the performance will decrease. 2 The context tree maximizing method The maximizing algorithm needs two block probabilities in every node of the context tree. First the probability of encoding all the bits following the context of this node as a memoryless source. In order to estimate the block-probability of a memoryless (sub-) sequence, we use the Krichevsky- Trofimov estimator. For a sequence with a zeros and b ones, this estimator defines: . !.~· ... ·(a-!)·!· .. ·(b-!) a-! b-! Pe(a,b) = (b) = --b·Pe(a-1,b) = --b·Pe(a,b-1), 1·2· ... · a+ a+ a+ (2) for as > 0, and b, > o. As one can see, this formula can be computed sequentially, ! The redundancy of this estimator can be upperbounded by log T + l. Besides this probability, the maximizing algorithm defines a second block probability, the maximized probability, in a node sas: r: _ { Pe(as, bs) if l(8) == D, m - ~ max(Pe(as, bs), P!s p);.S) if l(s) < D, with l(8) the length of the context in this node. The algorithm works as follows. In the first step it counts the symbols in every node and leaf of the context tree. It then computes the Pe and .Pm in every node and leaf of the tree (with a depth-first search). Every time the maximized probability in a node is smaller than Ps, the subtree from this node on can be removed, and this node should be a leaf. It can be proved that the remaining tree is the MDL-model. The MDL-model is the model that minimizes the description length. The description length is the number of bits needed to describe the model plus the number of bits needed to describe the data with this model. For this case (binary trees) one can speed up this process by applying the fol- 4 lowing condition. P:;: . P;;,s S { Pe(as, O)Pe(O, bs) if les) = D - 1, (3) ~Pe(as, O)Pe(O, bs) if les) < D - 1. In a node, this condition will give an upperbound for the product of the maximized probability of the children. If the estimated probability P; in this node is larger than this upperbound, then this node will not be a node in the MDL-model. Instead of comparing P; with the second part of upperbound (3) for les) < D -1, it is easier to check the following condition: (as - ~)!(bs - ~)! (as+bs)' (as ~ bs) S 4. This last condition can be easily checked, if one examines the form of this inequality in Pascal's triangle. The decoder now only has to build the tree, and keep the counts of the symbols in its leaves. So it can be implemented fast and with only little memory usage. But the memory usage is not bounded. If the source sequence is very large, the MDL-model can be very large. This could result in a lot of leaves. 3 The yoyo-method The yoyo-method is a method to constrain the number of leaves (parameters). The encoder should now find the best model with not more than Cleaves. In order to find this model, we walk through the tree again in a depth-first search way, and in every node we maintain a list. This list contains for all C = 1 ... C the maximized probability achievable in this subtree with not more than C leaves. Of course if the maximum probability is reached with Cm leaves, then the list does not have to contain any more entries. In each node this list can be computed by combining the two lists from its children (which results in the entries C = 2 ... ) and the P; (entry for C = 1). For entry Cn, n i= lone has to check all combinations with k nodes from one list and n - k nodes from the other one, in order to find the highest probability for this number of leaves. Finally in the root one will find the list with for every number of leaves up to C the maximized probability. Then one can select the appropriate number of leaves and one knows which distribution of leaves over the two children of the root resulted in this probability. In this way the problem is reduced to two trees of depth D - 1. One now applies the same method to these two subtrees, with the appropriate number of leaves. Because the algorithm runs through the tree several times, every time with a smaller depth, we call it the yoyo-algorithm. 5 In order to find the best constrained model, we need not more than D + 1 lists at the same time (even for the non-binary case). The encoder of this algorithm will be quite time consuming, especially if the maximum number of leaves is large. It has to maintain long lists in the nodes, and it has to process large parts of the tree multiple times. A small improvement in speed can be obtained by applying the maximizing algorithm first. 4 Model description on-the-fly We could send the entire model description first, followed by the code for the data. To specify the model we need 21S1 - 1 bit then. But this can be done in a smarter way. The decoder now starts with an empty model. Every time it needs to know a new part of the model, the encoder will send the description of this part. In order to do this, the decoder walks through its current model as far as possible. If it ended in an endpoint of which it is not yet known whether it is a leaf or not, and the context differs from the previous contexts that ended in this node, then the decoder needs more information. The encoder should first transmit the description of this endpoint (node or leaf), and if necessary of the rest of the path until a leaf occurs or until the two different contexts diverge. The description of the leaf, or of the diverging node has to be induded, but not more. In total, the encoder has to describe all internal nodes (thus nodes with children) of the found model, plus all leaves (not at the maximum depth) which are followed by different context sequences. With this technique we gain compared to the first two-pass algorithm, at the cost of some extra administration in the decoder (in leaves not at the maximum depth we have to store the rest of the context). But the model costs in the weighting algorithm are similar. The maximizing algorithms can be modified such that the best "on-the-fly models" will be found. Note that with this technique, one can not use upperbound (3) directly, because the factor i is no longer guaranteed. 5 Improved model description In the binary case with "on-the-fly" model description, but especially in the non- binary case it is not efficient to describe every node and every leaf of the model with 1 bit. If the tree would be a complete q-ary tree, then the optimal weighting distribution in a node would be (~, 7)' But with on-the-fly model description not all children of a node will be present. And there are children, that are present in the context tree, that do not contribute to the model costs. This makes it hard to set a specific value for the weighting distribution in a node. That is why we can use an estimator to describe the model. Because the description of the model should satisfy certain rules, one could try to find a specific estimator for encoding the tree structure in a compact way. But even if one uses the Krichevsky- Trofimov estimator, one could obtain a better 6 performance. With this estimator we will not lose more than ! log T + 1 bits, if the model description is T bit long. Although it is possible to find the best model, accounting for the "on-the-fly" description of the model, it is a lot harder to optimize for this improvement too. The actual impact on the cost by changing a node in a leaf is now very hard to compute, because it depends on the previous parts of the model, and it influences the number of bits needed to describe the next parts of the model. With this method one gains extra performance, even compared to the weighting method. 6 Experiments For the experiments in this paper we used the text file "Book2" (610856 bytes) of the well-known Calgary corpus (see [1]). In order to improve the performance we made some modifications. We used a slightly different estimator, and because it is an ASCII-file we use a binary decomposition with eight 128-ary trees, in which the nodes and leaves are generated dynamically. 90000 ,------,-------r----,---,----,-------,,-------,---, 80000 70000 60000 50000 40000 30000 20000 10000 3 4 5 6 7 8 9 10 Depth Figure 1: The number of nodes and leaves as a function of the depth D. First we will examine the impact of the on-the-fly method on the algorithm. In order to do this we let the computer compress the file "book2" with various depths. It then counts the number of leaves at the maximum depth D, the number of leaves which do cost one bit, and the number of leaves which are for free. The results have been plotted in figure 1 for depths ranging from 2 to 10. As one can see the number of leaves at the maximum depth rapidly decreases from depth 4 on, and the number of free leaves not at this depth decreases from depth 7 on. The number of leaves which have to be described increases steadily. Thus by increasing the maximum depth, one forces the algorithm to make a lot of 7 3000000 r----,----,-------,----r----,------,---------, Yoyo-method - SE'::::::: ~ bits ------ _ 1000000 500000 o L_ __ L_ __ L_ __ ~ ~ _L _L ~ o 20000 40000 60000 80000 100000 120000 140000 Number of leaves Figure 2: The Yoyo-algorithm for depth 4. .leaves which cost 1 bit. This means that the MDL-model will become smaller at higher depths (as one can see in figure 1, from the number of nodes), and as we will see later, this will affect the performance. For our second experiment (see figure 2) we let the computer determine how long the compressed file would have been for every possible number of leaves. Since this work is very computation-intensive we took depth 4. One can see that the number of bits decreases fast over the first 40000 leaves, 250000 r---~r_-~r--~r_-~---.---.---.--_, Weighting - Maximizing - 200000~ Siz,e150000 in ---..:::::::_=:::::================~ bytes 100000 50000 o L_ __ L- __ L- __ L- L__~L__~L__~ __ ~ 2 3 4 5 6 7 8 9 10 Depth Figure 3: Comparing the maximizing and the weighting algorithm for various depths. 8 but then the extra performance gained by increasing the number of leaves is just marginal. Finally on this particular file we compared the maximizing algorithm with on- the-fly model description (but not with the improved model desçription) to the weighting algorithm in a similar "optimal" configuration. As one can see, for depths up to 5, the maximizing algorithm keeps up with the weighting algorithm, but from this depth on the weighting algorithm continues to improve significantly, while the maximizing algorithm improves only slightly or even deteriorates (after depth 6). This can be explained by the fact that the model cost increase, and the model shrinks. Even the extra gain from using the improved model description (about 2 kb on depth 10), will not change this situation much. 7 Conclusions The context tree weighting algorithm gives an excellent performance. But it is rather complex. It needs to perform a lot of computations per symbol and it needs a lot of memory to store the context tree. The context maximizing algorithm has a much lower complexity at the cost of some loss in compression. We have studied various aspects of this algorithm. The yoyo-method makes the encoder very computation intensive. But with this algorithm it is possible to reduce the complexity of the decoder even further, without a big loss in performance. For small depths this maximizing method is a good "low-complexity" substitute for the weighting algorithm. This is partly due to the on-the-fly method which improves the performance significantly. But for deeper trees the performance of the maximizing algorithm reaches its maximum much sooner than the weighting algorithm. We will therefore concentrate our further research on hybrid algorithms. These algorithms combine weighting and maximizing, and could give a better performance than the maximizing algorithm with only a small increase in complexity. References [1] Timothy C. Bell, John G. Cleary, and Ian H. Witten. Text compression. Prentice-Hall, Engle- wood Cliffs, New Yersey, 1990. [2] Paul A.J. Volf and Frans M.J. Willems. Context maximizing: Finding MDL decision trees. In Symposium on Information Theory in the Benelux, volume 15, pages 192-200, Loavain-la- Neuve, Belgium, May 1994. [3] Frans M.J. Willems, Yuri M. Shtarkov, and Tjalling J. Tjalkens. Context tree weighting: A sequential universal source coding procedure for FSMX sources. In IEEE International Symposium on Information Theory, page 59, San Antonio, Texas, United States, Jan 1993. [4] Frans M.J. Willems, Yuri M. Shtarkov, and Tjalling J. Tjalkens. Context weighting: General finite context sources. In Symposium on Information Theory in the Benelux, volume 14, pages 120-127, Veldhoven, The Netherlands, May 1993. 9 LOSSLESS COMPRESSION OF HANDWRITTEN SIGNALS A.J. Gerrits, R.A. Beuker, G.J. Keesman PAID (Philips Advanced Interactive Display) is an electronic worksheet consis- ting of a pen and a display. The worksheet records handwritten signals that are transmitted over a low rate data-channel, i.e. the rate is 600 bit/sec. Since the data rate of the source is higher than the channel rate, compression must be applied. It is required that no visible distortion is introduced by the compressi- on. This paper will introduce a lossless compression method for handwritten signals. The compression method comprises two steps: a linear transformation and a lossless coding step. Two transformation methods, i.e. the polar and differential transformation, will be considered. The transformed data is compressed using a lossless method. The following methods are examined: Huffman, Lempel-Ziv and arithmetic coding. An impor- tant topic of the lossless coding is the probability estimation. It will be shown that an average lossless compression ratio of 8 can be achieved. INTRODUCTION PAID is an electronic worksheet consisting of a pen and a display. The data that has to be transmitted is called PAID data and can divided in two classes: commands and samples. An example of the first class is the "clear display" command. The worksheet generates 150 samples per second and each sample can be represented by a vector v = (x, y, p), where x and y are the x- and y-coordinates and p is the pressure of the pen on the display. The display is a 9.5 inch LCD and a pen coordinate corresponds to 1/1000 inch and therefore the resolution of the display is 6772 by 5079. Consequently, x and y are 13 bits and the pressure p is 6 bits, resulting in 32 bits samples. Because the worksheet generates (150 x 32 =) 4800 bit/sec and the capacity of the distortion-free channel is only 600 bit/ sec, compression with a factor 8 is required. It is not permitted that visible distortion is introduced by the compression and that there is a great delay between the production of a 11 message at the sending worksheet and at the receiving worksheet. Experiments with PAID data have shown that the direct application of lossless compression methods on the samples is not sufficient to achieve a compression ratio of 8. Therefore, the compression system comprises two steps: a linear transformation of the samples and a lossless coding step. TRANSFORMA nON METHODS Let vI' v2, ••• , vj be the vectors generated by the source from time 1to time j and Vi = (Xi' Yi' pJ for 1 ::; i ::; j. A classification is made between relevant and irrelevant samples. Irrelevant samples do not have information content and are not transmitted. A sample Vi is called irrelevant if: 1. Vi = Vi_I' or 2. Pi = O. Examination of PAID data showed that 30 % to 60 % of all samples are irrelevant. The used strategy is to discard all irrelevant samples and to apply the transformation methods on the relevant samples. Two transformation methods, that is the differential and polar transformation. will be discussed below. Let n 2: O. The n-order differential transformation of Vi is denoted by /1" Vi = (/1" Xi' /1" Yi' pJ, where: (/1" Xi' /1" yJ = (/1"-1Xi' /1"-1Yi)_(/1n-1 Xi-I' /1"-1Yi-I)' (/10 Xi' /10yJ = (Xi' yJ With the n-order differential transformation. n samples have to be encounteded before samples of order n can be calculated. Since orders higher than two did not yield a better performance, the first-order and second-order differential transformations are described for PAID. Let n 2: O. The n-order polar transformation of Viis denoted by en Vi= (e" Xi' 8" Yi' Pi)' where: (8" Xi' 8" y) = (8"-1 Xi' en-I Yi)_(8"-1 Xi_V en-I Yi-I)' (eo xi' eO yJ = (Xi' Yi)'if i = 0, (eO Xi' eO Yi) = (1-\, ~Ji if i > 0, Here -+ t. 3. J EEl t is the stamped image. 4. Cs (Q(1 EBt)) >-+ stamped by S = "YES". The S procedure is secret and only known by the owner of the image. The property number 4. allows an owner to prove that he is the image owner. The two further properties are • J EBt is perceptually identical to J. 22 • For small enough T), (typically, compression distortions), Cs(Q(Iffit+T)))'_' stampedbyS = "YES". In this case, the stamp IS resistant to attacks or to noise. The Q procedure has been derived from psychophysics. It is known that slight variations of the pixels around contours are not noticeable and this effect is denoted in the literature as masking [8]. The LSBs of the pixels around a contour can therefore be considered as a data transmission channel available for the transmission of a stamp. Q is therefore a contour detector. Taking into account the fact that the picture will be compressed and decompressed perhaps many times, this associated channel is very noisy and has to be strongly protected against transmission errors. Furthermore t must be hidden. This has led us to the use of a pseudorandom generator for the S procedure. Procedure Cs is simply a correlation procedure, verifying whether the image has been stamped with the pseudorandom sequence generated by S and hidden around contours detected by Q. IV Authentication of pictures As mentioned in the introduction, digitization of images makes a lot of postprocess- ing possible [7]. Image manipulations can be used for many illegal purposes. This has led Friedman [1] to propose a scheme for image authentication by a certified signature. A stamp is not a signature since its rules are totally different. The stamp aims to protect the author while the signature aims to protect the receiver. For example, a receiver would not have any advantage in deleting the signature. Actually, the properties of a stamp and a signature are exactly symmetrical. The signature is the header, function of the image, that cannot be produced by anyone other than the sender. At the opposite end, the stamp is the inlaid information that cannot be deleted by anyone else. Of course, a cryptographic system can use both by inlaying the signature, for example. As opposed to a handwritten signature, the form of a digital signature must depend upon the data to be signed and the signer. References [1] G. L. Friedman: The Trustworthy Digital Camera: Restoring Credibility to the Photographic Image, IEEE Trans. on Consumer Electronics, vol. 39, no.4, 1993, pp. 905-910. 23 [2] L. C. Guillou, M. Ugon and J.-J. Quisquater, TheSmart Card: A Standardized Security Device Dedicated to Public Cryptology, in Gus J. Simmons (Editor) Contemporary cryptology. The science of information integrity, IEEE Press, 1992, pp. 561-613. [3] M. E. Hellman: An extension of the Shannon Theory Approach to Cryptogra- phy, IEEE Trans. on Information Theory, vol23, no 3, May 1977, pp. 289-294. [4J N. Koike, T. Matsumoto and H. Imai: A Scheme for Copyright Proteetion of Digital Images, SCIS93 (The 1993 Symp. on Cryptography and Information Security, Shuzenji, Japan, January 1993, paper 13C (in Japanese). [5] B. Macq and J.-J. Quisquater: Digital Images Multiresolution Encryption, The Journalof the Interactive Multimedia Association Intellectual Property Project, vol. I, no I, pp. 179-186, January 1994. [6J K. Matsui and K. Tanaka: How to Secretly Embed a Signature in a Picture, The Journalof the Interactive Multimedia Association Intellectual Property Project, vol. I, no I, pp. 187-206, January 1994. [7] W., J. Mitchell: When Is Seeing Believing?, Scientific American, February 1994, pp. 44-49. [8] A.N. NetravaIi and B. Prasada, Adaptive quantization of picture signals using spatial masking, Proc. of IEEE, vol. 65, 1977, pp.536-548 1990, pp. 387-394. [9] C. E. Shannon: Communication Theory of Secret Systems, Bell System Tech- nical Journal, vol 28, no 4, 1949, pp. 656-715. 24 ON THE FISHER INFORMATION OF THE SUM OF TWO INDEPENDENT RANDOM VARIABLES ONE OF WHICH IS SMALL, AND AN ASYMPTOTIC GENERALIZATION OF DE BRUIJN'S IDENTITY V.V. Prelov* and E.C. van der Meulen** An asymptotic expression as E -7 0 is derived for the Fisher information of the sum Y of two independent random variables X and Z. when Z. is small. This asymptotic expression is valid under some regularity conditions on the probability density function of X and conditions on the moments of Ze. The first term of the expansion is the Fisher information of X. Higher- order terms of the expansion are calculated as well. A statistical example is given concerning the asymptotic efficiency of an unbiased estimator in a certain parametric model. Finally, using the main result of this paper an asymptotic generalization of De Bruijn 's identity is obtained, which provides a relationship between differential entropy and Fisher information. I. INTRODUCTION For a random variable Y with absolutely continuous density fy(y), the Fisher information is defined by the quantity J(Y) = I: [~t~~~r jy(y)dy. (1) The Fisher information plays an important role in statistles and information theory. For example, it appears in the famous Cramér-Rao inequality [1,2]. It is less known that, under certain regularity assumptions, the Fisher information of an additive noise random variable characterizes the main term in the asymptotic expansion of the Shannon mutual information between the input and output signals of an additive noise channel when the input signal is weak [3,6,8,10]. For a Gaussian random variable Y with parameters (a, (T~ ) the Fisher infor- mation is equal to 1/ (T~. For non-Gaussian random variables an explicit calcu- lation of the integral (1) can be obtained only for a number of special densities (see, for example, [5]). If Y = X+ Z, where X and Z are independent random variables, an explicit calculation of the integral (1) is impossible in general. Therefore, it is interesting * Institute for Problems of Information Transmission, Russian Academy of Sciences, 19 Ermolovoy Street, Moscow GSP-4, Russia. ** Department of Mathematics, Katholieke Universiteit Leuven, Celestijnen- laan 200B, B-3001 Leuven, Belgium. 25 to investigate the asymptotic behavior of J(Y), when the perturbation Z of the random variable X is weak, such that Z = Z; and E(Z;) = E2 ~ O. In this paper we derive such an asymptotic expansion for the Fisher infor- mation J(X + Zf) in terms of the probability density function of X and higher moments of Zf' The similar problem of deriving an asymptotic expansion for the differential entropy heX + Zf) was investigated in [7]. By comparing both ex- pansions for Zf = EZ, a certain asymptotic generalization of De Bruijn's identity to the case of non-Gaussian Z is obtained. 11. THE MAIN RESULT We assume that the random variable X and the family of random vari- ables Zf, which depend on a small parameter E, satisfy the following conditions, whereby we assume without loss of generality that E(X) = E(Zf) = O. Conditions : (A) E(Z;) = E2, and El ~ In+, S; c < 00 for some integer n ::::2 and O<,:::::l. (B) X has a probability density function fx(x) = f(x), which is bounded on IR and has bounded continuous derivatives f(k) (x) for k = 1, ... , n + 2. (C) If and IR \ Gó denotes the complement of Gó, then there exist real numbers À > 0, M > 0 and 80 > 0 such that for all 8 ::::80 the following inequalities hold: (i) IfCk)(x)1 S; 8M f(x) for x E G6 and k = I, ...,n + 1; (ii) , I fCk)(x)( ) l'f(X)dX <- () ,Me-AÓ" for k = I, ..., m + 1 inIR\G. f x and ê = I, ..., Lm/2J + 2, where m = fÀ(nÀ+1+ Q)l- 1 ' Q = -'-1+,' (2) and (iii) sup r [rex - y)] 2 f(x _ y)dx S; 8M e-A(1-{3)62 y:lyl:SB JIR\G. f(x - y) for all (3 > 0 sufficiently small and some e = e((3) > o. 26 r1 Here x denotes the least integer greater than or equal to x, and l=J is the largest integer smaller than or equal to x. Remark: Condition (C) is satisfied for a wide class of smooth densities, in particular for densities decreasing as a power or as an exponent or even as a double exponent in x, as lxi -t 00. Before proceeding, we mention that all asymptotic expressions in this paper are considered as E -t O. We now state our main result. Theorem 1 : If the random variables X and Z. are mutually independent and conditions (A), (B), and (C) are satisfied, then the following asymptotic expan- sion holds for the Fisher information J(X + Z.) : (3) where Am(X, {E(Z;)}) = 1: 2f'(x)u',.,,(x,;~x~ (u',.,,(x, E))2 dx +1-00 00 (f'(x) + u',."(x, E))2 f(x) LI: k=l J (_l)k[Um(X,E)]kdx f(x) (4) with Um(X, E) = f k=2 (-k~)k f(k)(x)E(Z;) and where m is defined in (2). Proof: For the proof we refer to [9]. Corollary: If the conditions of Theorem 1 are satisfied for m 2: 4, one can, using the asymptotic formula (3), write out the first few terms of that expression as follows: J(X + Z.) = J(X) + L(X)E2 + Q(X)E(Z;) + R(X)E(Z;) + T(X)é + o(é), where L(X) -100 - -00 [f'(x)f"'(x) f(x) _ (f'(X))2f"(x)] 2j2(x) dx Q(X) -100 - [(f/(X))2 f"'(x) _ f'(X)f(4)(x)] -00 6j2(x) 3f(x) dx R(X) -100 - -00 [f'(x)f(5)(x) 12f(x) _ (f'(x))2 f(4)(x)] 24j2(x) dx 27 and T(X) -100 - -00 [(J'I/(X))2 4J(x) + (J'(x)f"(x))2 4J3(x) _ !'(x)f"(x)f"'(x)] 2f2(x) dx. Examples. For several well-known probability density functions we can give explicit expressions for J(X) and L(X), which are arrived at after a sometimes tedious calculation. 1) Normal distribution: _ 1 _x2/2,,2 ( ) _ 1 () _ 1 J ( x ) - (J"y27r r.ce , J X - 2,L X - -4"' (J" (J" 2) Cauchy distribution: 1 1 7 J(x) = (7r(J")(1 + (x/(J")2),J(X) = 2(J"2,L(X) = -8(J"4' 3) Logistic distribution: Ill. A STATISTICAL APPLICATION Whereas the integral (1) denotes the Fisher information of a density [v , in statistics Fisher information is generally related to a parametrie family of densities J(x; e), where e varies in an appropriate parameter space. Putting J~(x; e) = !J(x; e), the Fisher information about the parameter e contained in J(x; e) is defined by I(e) = 1 -00 00 [f'(x;e)]2 j(x; e) J(x; e)dx. (5) It is well-known that, in the case of a location family with density J(x; e) = Jy(x - e), I(e) coincides with J(Y) defined in (1). Consider now the model Y = e + X + Z" where X and Z, are independent, and consider the problem of estimating the unknown parameter e from a set 28 of N independent observations Yi, Yi = e + X; + Zti, i = 1, ..., N, where the random variables X; and ZEi are independent for any i and E, and, moreover, the ZEi are independent, identically distributed random variables which satisfy condition (A) for any fixed E. Furthermore, assume the X, have a common density fx(x) = f(x). It is well-known (see, for example [4]) that, under certain regularity conditions on the marginal distributions of X and Z" the maximum- likelihood estimate of the parameter (J is an asymptotically efficient estimate for any fixed E. In this case, the asymptotic variance of the estimate is given by 1 NJ(X+ZE)· However, for the construction of such an estimate it is necessary to know the distributions of the random variables X and ZE. In view of the asymptotic expansion (3) of J(X + ZE), it is natural to raise the following question : is it possible to construct an unbiased estimate ê N = N (Y1, ... , YN) of e which is asymptotically efficient up to terms of order ê O(Em), i.e., such that where Am(X, {E(Zn}) is defined in (4), if we know the distribution of X and, as far as the distribution of ZE is concerned, only the moments of ZE up to order m ? The answer to this question is open in general, but for the special case when X has a Gaussian distribution with parameters (0,0-2), and ZE satisfies condition (A), the estimate is unbiased and asymptotically efficient up to terms of order 0(.2). This is easy to see, because in this case we have and We made hereby use of the fact that the Gaussian density satisfies conditions (B) and (C) of Theorem 1, and of the explicit expression for L(X) in the case of the normal distribution given above. 29 IV. AN ASYMPTOTIC GENERALIZATION OF DE BRUIJN'S IDENTITY Let h(X) denote the differential entropy of a random variable X, i.e., heX) = - ;_: f(x) logf(x)dx. (6) It is well-known [1,2] that, when Z has a Gaussian distribution with unit variance, X has a probability density with finite variance, and X and Z are independent, then the following identity due to De Bruijn holds: dh(X + EZ) = ~l(X Z) (7) d(E2) 2 +E , where l(X + EZ) is the Fisher information of the random variable X + EZ. In integral form this identity can be written as ,2 heX + EZ) - heX) = ~ r l(X + 17Z)d(r?). 2 Jo (8) Prelov [7]derived an asymptotic expansion for the differential entropy heX +Z,) of the sum of two independent random variables X and Z" when Z, is small, in terms of the probability density function of X and higher moments of Z" under conditions similar to those in Theorem I. For the special case Z, = EZ the asymptotic expansion (3) can be rewritten as an expansion by powers of E, i.e. (9) where the exact expression for Bm is given in [9]. Thus, for Gaussian Z, by using the expansion (9) for l(X +EZ), and substi- tuting it in the integral version (8) of De Bruijn's identity, we obtain an asyrnp- totic expansion for heX + EZ). This expansion coincides with the expansion for hi X + EZ) obtained in [7], as it should. Moreover, by comparing both the asymptotic expansion for heX + EZ) and the one for l(X + EZ) for non-Gaussian Z, we conclude that the following identity holds: (10) if all moments of Z of order up to and including m coincide with the corre- sponding moments of a Gaussian distribution (and if, of course, the conditions of Theorem 1 of [7] and of Theorem 1 of this paper are fulfilled). Therefore, the 30 asymptotic identity (10) can be considered as an asymptotic generalization of De Bruijn's identity (8) to the non-Gaussian case. REFERENCES [1] R.E. Blahut, "Principles and Practice of Information Theory", Reading, MA : Addison Wesley, 1987. [2] T.M. Cover and J .A. Thomas, "Elements of Information Theory", New York: Wiley, 1991. [3] LA. Ibragimov and R.Z. Khas'minsky, "Weak signal transmission in a mem- oryless channel", Probl. Peredachi Inform., 1972, v. 8, N. 4, pp. 28-39. [4] E.L. Lehmann, "Theory of Point Estimation", New York: John Wiley & Sons, 1983. [5] P.C. Papaioannou and O. Kempthorne, "On statistical information theory and related measures of information", Techn. Rep., 1971, Iowa State Univ. [6] V.V. Prelov, "Asymptotic behavior of the capacity of a continuous channel with a large amount of noise", Probl. Peredachi Inform., 1970, v. 6, N. 2, pp. 40-57. [7] V.V. Prelov, "Asymptotic expansion for the mutual information and for the capacity of continuous memoryless channels with weak input signal," Probl. Control and Inform. Theory, 1989, v. 18, N. 2, pp. 91-106. [8] V.V. Prelov and E.C. van der Meulen, "An asymptotic expression for the information and capacity of a multidimensional channel with weak input signals", IEEE Trans. Inform. Theory, 1993, v. 39, N. 5, pp. 1728-1735. [9] V.V. Prelov and E.C. van der Meulen, "Asymptotics of Fisher information under weak perturbation", to appear in Problemy Peredachi Informatsii, 1995. [10] S. Verdu, "On channel capacity per unit cost", IEEE Trans. Inform. The- ory, 1990, v. 36, N. 5, pp. 1019-1030. 31 Two- Way Channels with Delay J. Pieter M. Schalkwijk, Hendrik B. Meeuwissen, and Patriek J. E. Diederiks * Abstract In real world two-way channels one encounters propagation delay. Coding strategies for one-way communication with feedback can cope with delay by interleaving. There is no such simple solution to eliminate the effects of delay in two-way communication strategies. Nevertheless, we expect that even in the presence of delay it is possible to achieve rate pairs outside of Shannon's inner bound region. 1 Definitions The discrete two-way communication channel with memory is introduced in 1961 by Shannon [8J. The general two-way channel K is depicted in Fig. 1. The inputs and outputs of K are taken from finite alphabets. The output pair (YI,i, Y2,i) of K at time i, i = 1,2, ... , n, depends not only on the input pair (XI,i, X2,i) at that time, but, for i 2: 2, also on all the previous input pairs (Xl-I, x~-l) and output pairs (yt1, y~-l). In other words, the probabilities of an output pair of K at time i are given by the transition probabilities (1) In this paper, we consider pairs of block codes of length n for K such that each of the code words at terminal t, t = 1,2, corresponds to a message that is drawn i.i.d. from a message set that consists of a finite number of, say, M, messages. In short, every message et at terminal t is encoded into a block of length n by a number of n encoding functions Note that the input Xt,i, i 2: 2, of K at terminal t at time i is allowed to depend on the previous outputs y;-l, which reflects the fact that two distant terminals communicate through K and that each terminal is allowed to use all the local information that is available. Thus, the individual code words 'The authors are with Eindhoven University of Technology,Group on Information and Corn- munication Theory, Dept. of Electrical Engineering, P.O.Box 513, 5600 MB Eindhoven, The Netherlands. 33 yz terminall J{ terminal 2 Figure 1: The general discrete two-way channel with memory. are formed by a coding strategy. In addition, every block of length n that is received at terminal t is decoded into an estimate of the other terminal's message by a decoding function (3) As pointed out by Shannon, the above definition of K is unrealistic and not useful for actual applications, since the transition probabilities of K, as given in (1), are allowed to change in arbitrary manner as the value of i increases. Therefore, some stability in behavior of J{ is assumed in terms of the recoverable state property. The recoverable state property says that K can always be returned to an initial state in a bounded number of steps. Specifically, quoting Shannon, there exists an integer d such that for any input and output sequences of length n, xr, x~, Yr, y!J:,there exist two functions h(xr,yï) and h(x~,y~) whose values are sequences of input letters of the same length less than d such that if these sequences !l and h are sent over the channel the channel it is returned to its original state. This definition of K applies to many real world two-way communication systems. The problem, as stated originally by Shannon, is to communicate through K as effectively as possible. In other words, the problem is to find the capac- ity region or the optimum region 8 of achievable rate pairs (RI, R2) for K. Now consider communication through K by a pair of block codes that satisfy (2). The recoverable state property guarantees that K can be returned to its original state in a bounded number of steps each time after sending a code word of length n. Thus, when the length n of the block code tends to infinity, it is sufficient to leave the transmissions that initialize K out of consideration, In general, the rate pair (RI, R2) of the length n block code equals (4) Furthermore, Shannon defined the derived channel Kn as the two-way channel that corresponds to sending blocks of length n over K, and, in addi- tion, (1/n)8n as its capacity region. As a result, the capacity region 8 of K satisfies 1n C 8] ,8 = IImsup-B . 1 n. (5) VnEN [-8 n n-e-cc n 34 Thus, the region B is given by a limiting expression, where the limit supre- mum is equal to the limit if the limit exists. The remainder of this paper is devoted to the actual computation of B for two special cases of K. 2 The Memoryless Two-Way Channel In this section it is assumed that K has no memory. The greater part of Shannon's paper is devoted to this special case. If Kis memoryless, then the transition probabilities of (1) reduce to Pr(Yl,i, YZ,i IXl,i, XZ,i). (6) As a consequence, the conditional probability of a pair of output sequences of length n after sending an arbitrary code word of a length n block code satisfies n Pr(y!, YzlxJ, xz) = IT Pr(Yl,i, YZ,ilxl,i, XZ,i) (7) i=l The capacity region B of a memoryless K is bounded from below by Shan- non's single letter inner bound region 9i, and from above by Shannon single letter outer bound region 90, 90 = {(Rl,R2): D:::; Rl < I(Xl;Y2Ix2),D:::; Rz:::; I(XZ;Yllxl), Pr(Yh Y2, Xl, X2) = Pr(Xl, X2) Prey!' Y2lxl, X2)}. (9) As a result, the capacity region of K satisfies 9i ç B ç 90' Thus, if 9i = 90, then B = 9i, and the problem to communicate through K as effectively as possible is solved. However, the capacity region of all 9i i= 90 two-way channels is given by the limiting expression in (5) only. The binary multiplying channel, defined by Yl = Y2 = Y = XlX2, where y, Xl, Xz E {D,I}, is the simplest example of a 9i i= 90 two-way channel. For this particular two-way channel, the rate pair (Rl,Rz) that satisfies RI = Rz = 0.61695 lies on 9i, and the rate pair (Rh Rz) that satisfies RI = Rz = 0.69424 lies on 90, The binary multiplying channel is investigated extensively, since it seems likely that the simplest two-way channel should be understood completely, before other two-way channels can be solved. In 1982 Schalkwijk [5] has proposed a variable length coding strategy for the binary multiplying channel that achieves RI = R2 = 0.61914 bit per transmission. Note that this coding strategy operates in excess of 9i. In addition, we mention that it is described by means of a subdivision of the unit square. 35 In 1983 Schalkwijk, et.al. [6J have translated Shannon's block codes of length n that are described in (2) into an optimization problem on the unit square. The optimal subdivision for K3, of which the subdivision of Schalk- wijk's 1982 strategy is a special case, is depicted in Fig. 2. The numerical values that have been computed for (l/n)Bn, n = 1,2, ... , 7, see [3J, are listed in Table 1. The entries in this table for n = 4,5,6, and 7 are probably not optimal, since they correspond to subdivisions of the unit square that are not symmetric. According to [3J, both the number of parameters that is needed to describe the subdivision of the unit square and the number of local maxima in the rate function grow exponentionally as the value of n increases. 1 o 1 o Figure 2: The optimal subdivision for K3' Table 1: Results for the memoryless binary multiplying channel. n (l/n)Bn 1 0.61695 2 0.61695 3 0.61964 4 0.62138 5 0.62333 6 0.62405 7 0.62496 36 At the present time, it is known that the equal rate capacity B of the binary multiplying channel satisfies 0.63072 [2] ::; B ::; 0.64628 [1]. As remarked in [7], a deeper understanding of Shannon's block codes should improve the numerical values of Table 1. Thus, the capacity region of the memoryless binary multiplying channel is still unsolved and given by a limiting expression only. Nevertheless, many efficient variable length coding strategies that can be used in practice are known for this memoryless two-way channel. The next section is devoted to the practical situation in which the propagation delay between the two terminals that is no longer negligible. 3 The Two-Way Channel with Delay In this section it is assumed that K is subject to propagation delay. This case is of interest either when the distance between two terminals is large or when the time between two successive input letters is small. Note that the transition probabilities of (1) reduce to (10) The infiuence of propagation delay is, after the example of the memoryless case, investigated by considering the binary multiplying channel. The channel output pair ofthe binary multiplying channel with finite delay 8,8 = 0,1,2, ... , at time i is defined by Yl,i =Xl,iX2,i-6 Y2,i =X2,iXl,i-6· (ll) The binary multiplying channel with delay 8 and its two terminals is shown in Fig. 3. Note that the results of the previous section apply to the case 8 = o. However, if 8 2: 1, the situation is different. In general, the channel outputs are not the same, and, moreover, the channel is infiuenced by its history. Nevertheless, at any time i, j = 2,3, ..., it is possible to return the channel to its initial state in at most 8 steps by sending a sequence of input pairs that consists of pairs of ones. Therefore, the binary multiplying channel with delay satisfies the recoverable state property, and, as a consequence, has a capacity region that satisfies the limiting expression of (5). Figure 3: The binary multiplying channel with delay. 37 4 Inter leaving Now an interesting open problem is whether the capacity region of the binary multiplying channel for the case ó 2: 1 coincides with the capacity region for the case Ó = O. Note that for one-way communication with feedback [4] the occurrence of delay can be confronted by using multiple coding strategies in time sharing. In short, each channel input Xi, i 2: 2, at time i of a one-way coding strategy depends on the previous channel outputs yi-l. If, however, the feedback information is received with a delay of Ó, ó = 0,1,2, ..., time units, then the encoder employs a number of Ó + 1 coding strategies in time sharing. Thus, for one-way communication with feedback, the effects of delay can be eliminated completely by interleaving Ó + 1 different coding strategies. However, the effects of delay that occur in the binary multiplying channel can not be disposed of completely by means of interleaving. As a result, it is not possible to simply apply coding strategies for delayless communication to communication with delay. Nevertheless, interleaving can be used to reduce any ó 2: 2 case to the ó = 1 case. In other words, if a delay of Ó time units occurs, then it is possible to employ ó coding strategies in time sharing, such that each of these strategies corresponds to the Ó = 1 case. In contrast, any Ó 2: 1 case in one-way communication can in this manner be reduced to the ó = 0 case. Obviously, the remainder of this manuscript is concerned with block codes of length n for the binary multiplying channel with a delay of one time unit. This situation is shown schematically in Fig. 4. Figure 4: The two-way channel with a delay of one time unit. 5 Block Codes The Shannon inner bound of RI = R2 = 0.61695 bit per transmission holds for the binary multiplying channel with or without delay. Therefore, the question is whether, for the Ó = 1 case, a rate pair in excess of the inner bound can be achieved by making use of the feedback links in Fig. 3. Note that this question can be answered either by proving that a rate pair in excess of the inner bound is not achievable or by finding a coding strategy that operates in excess of the inner bound. After the example of the delayless case, an attempt will be made to find block codes of length n that yield such a rate pair. Thus, the general structure of block codes of length n that is described 38 by (2) is mapped into a subdivision of the unit square, and, subsequently, the corresponding rate function is optimized with respect to the parameters that describe this subdivision, Note that that the transmission pattern for communication through the binary multiplying channel can be untangled into two independent and iden- tical paths that are illustrated in Fig. 4. Consequently, in the construction of coding strategies for the ti = 1 case, only one of these paths has to be considered. Note that such coding strategies differ from the strategies for the ti = 0 case in a number of aspects, i.e. the channel output sequences at the two terminals are not the same, and an additional one input is needed after the final transmission of a block of length n, save when this transmission is allowed to interfere with the first letter of the next block. Up to now, it has not been shown that feedback enlarges the capacity region for the ti = 1 case. Nevertheless, it is conjectured that the inner bound can be exceeded, when the length of the path in Fig. 4 is equal to seven time units. However, the number of parameters to describe the corresponding coding strategy equals forty, and, thus, finding the global maximum of the rate function seems to be the major obstacle. In conclusion, more details on coding strategies will be presented in a subsequent paper. References [1] A. P. Hekstra and F. M. J. Willems, "Dependence balance bounds for single- output two-way channels," IEEE Trans. Inform. Theory, voL IT-35, pp. 44-53, Jan. 1989. [2] H. B. Meeuwissen, Coding strategies for two-way communication. A.i.O. re- port, Department of Electrical Engineering, Eindhoven Univ. of Techno!., The Netherlands, Jan. 1995. [3] W. M. C. J. van Overveld, On the Capacity Region for Deterministic Two- Way Channels and Write- Unidirectional Memories. Ph.D. dissertation, Department of Electrical Engineering, Eindhoven Univ. of Techno!., The Netherlands, Jan. 1991- [4] J. P. M. Schalkwijk, "A coding scheme for duplex channels," IEEE Trans. Comm., vol. COM-22, pp. 1369-1373,Sept. 1974. [5] J. P. M. Schalkwijk, "The binary multiplying channel - a coding scheme that operates beyond the Shannon inner bound," IEEE Trans. Inform. Theory, vo!. IT-28, pp. 107-110, Jan. 1982. [6] J. P. M. Schalkwijk, J. E. Rooyackers, and B. J. M. Smeets, "Generalized Shannon strategies for the binary multiplying channel," in Proc. Fourth Symp. Inform. Theory in the Benelux, Haasrode, Belgium, May 1983, pp. 171-178. [7] J. P. M. Schalkwijk, "Shannon strategies revisited," in Proc. Tenth Symp. In- form. Theory in the Benelux, Houthalen, Belgium, May 1989, pp. 3-8. [8] C. E. Shannon, "Two-way communication channels," in Proc. 4th Berkeley Symp. on Math, Statist. and Proh., vol. 1, 1961,pp. 611-644. Reprinted in Key Papers in the Development of Information Theory, D. Slepian, Ed. New York: IEEE Press, 1974, pp. 339-372. 39 ON COMPLEXITY MEASURES FOR A TREE P. Vanroose" Trees are often used to repreeent relations between objects or to visualize a set of branching decisions. lVhen several trees are able to perform this task, one is interesteil in finding the simplest one according to some complexity measure. In this paper, several tree complexity measures will be reviewed. INTRODUCTION In many contexts, trees are used to visualize hierarchical relationships, or to represent a decision algorithm performing actions on some data. There are several reasons, depending on the particular application, why such a tree should be as 'compact' as possible. In general, it is clear that the 'smallest' tree which satisfies the requirements of the application is the most efficient: data access is faster, the number of actions is minimal, the storage needed for the model is smallest ... A second reason -and maybe an even more important one- is formulated by the so-called "minimum description length principle" (MDL), see [1]. When a tree is used to hierarchically organize a certain data set, this tree functions as a model for the data. Roughly spoken, the MDL principle states that the 'best' model for a given data set is the one yielding the shortest encoding of model and data together. The 'best' model is defined to be the one that is able to predict not-yet-observed data in the most reliable way. There could of course be different criteria, depending on the application, to determine if a tree is 'compact'. Each application assigns (implicitlyor explicitly) to any partienlar tree some measure which indicates how good that tree is fitted for its task. In the sequel, we will call such a measure the complexity of the tree. Only combinatorial and information-theoretic complexity measures will be considered. Although relevant for comparison, algorithmic complexities (as in- troduced by Kolmogorov (1965) and Chaitin (1966)) will not be discussed here. See, e.g., [2]for a recent paper on this subject . • Postdoctoral Fellow of the Belgian National Fund for Scientific Research (NFWO) at the K.V.Leuven, Department of Electrical Engineering (ESAT), Kard. Mercierlaan 94, B-3001 Heverlee (Belgium). 41 Trees can be finite or they can extend indefinitely deep, in which case they often have a repetitive or self-similar structure, reminiscent of fractals. An ex- ample of this is the trellis diagram of a convolutional code, which is actually a compact notation for an indefinitely self-repeating tree. In this paper, several complexity measures are defined and compared. EXAMPLES OF THE USE OF TREES Trees are used in different information theory related areas, of which I men- tion the following: • variable-length source coding (e.g., Huffman trees, context trees). • decision trees and classification trees. • search trees. • decoding strategies for feedback channels (e.g., the binary twoway channel). • collision resolution algorithms (e.g., Capetanakis). • trellis codes and convolutional code decoding algorithms (e.g., Viterbi). • trellis coded vector quantization. • hierarchical image segmentation; pyramidal image decomposition. I will mainly refer to the construction of classification trees, but the sketched framework will also apply to the other mentioned topics, especially source coding and search trees. E.g., for fixed-to-variable length source coding, the complexity of a code tree is its average depth, i.e., the average length of all paths from the root toa leaf, weighted with the probability of that leaf. Huffman trees minimize this average depth, and are thus optimally fitted for their task. GENERAL SETUP FOR TREES A tree is a directed graph which consists of nodes (vertices) and branches (edges). Each node (except the TOot, which is unique) has a single incoming branch from its parent node and any number of outgoing branches to child nodes. Nodes without outgoing branches are called leaves. Normally, non-leaves have at least two child nodes. Node b in Fig. I is atypical in this respect. Trees are acyclic, i.e., one should never return in a node after leaving it and following directed branches. And there is a unique path to any node from the root. Paths end in leaves, or can extend indefinitely (if the tree is infinite). 42 root a 1 0.2 2 b ° 0.3 E .5 d 1 ° 1 C ° F 0.4 0.6 e 1 A D G H ° 0.5 0.5 Fig. 1. Typical example of a finite tree: leaves A-H, root a, other nodes b-e. Each branch carries a label taken from some alphabet, often {O,1, 2, ... }. In this way, each path (and thus each node) corresponds to a string of labels, namely the concatenation of the labels on the path from the root to that node. The root itself corresponds to the empty string. The depth of a node is the length of the path to it from the root, so it is also the length of the string of labels associated with that node. Each branch is also assigned a weight (or probability). We assume these weights to be normalized, i.e., the weights of all outgoing branches of a node sum to one. This justifies the weights to be called probabilities. In this way, each path (and thus each node) has been assigned a probability, namely the product of the probabilities on the path from the root to that node. The probabilities of all leaves of a finite tree thus sum to 1. For the tree of Fig. 1, the path label strings and probabilities corresponding to the leaves A-H are (000,0.09), (001,0.03), (002,0.18), (003,0), (1,0.2), (20,0.2), (210,0.15) and (211,0.15), respectively. A subtree of a given tree at a certain node is the tree formed by that node (as root) and all nodes which can be reached from it. The probability of a subtree is the probability of its root node. The L-subtree of a given tree at a certain node [3]is the subtree at that node, but pruned at all nodes that are at depth L from the new root. I.e., all subtrees starting at nodes at level L are removed. TOPOLOGICAL TREE COMPLEXITY MEASURES The simplest measures for the size of a tree are only based on its topology, i.e., its shape, not on the labels or the node and branch probabilities. The easiest of these is the number of nodes, or even the number of leaves of the tree. Denote this measure by MN. This is in general an unsatisfactory 43 complexity measure: out of all trees with the same number of nodes, some have a very regular structure and are thus easy to describe. Others look very complex. Examples of 'simple' trees with 13 nodes are given in Fig. 2. Fig.lis an example of a 'complex' tree, also with 13 nodes. (a) (b) (c) Fig. 2. Three 'simple' trees, all with 13 nodes. A more relevant 'topology-only' measure is the length ML of the bracket notation for the tree [4]: this lisp-like notation represents each leaf node by its name (or by a dot, if leaf names are not relevant) and each internal node by the list of its child nodes, enclosed in brackets. Thus, the bracket notations for the trees of Fig.land Fig. 2 are « ( ) ) . ( . ( .. ))), ( ), ( .. ( .. ( .. ( ... )))) and « ... ) ( ... ) ( )), respectively. 'Length' could be interpreted as just the number of characters in the bracket notation, but this has similar disadvantages as MN. Rather, this bracket notation should be optimally compressed first. Thus, define the complexity measure MLC as the compressed length of the string representing the bracket notation, when using some optimal data compression algorithm (cf. the concept of stochastic complexity [1]). In the examples of Fig. 2, ( ) clearly has a low MLC, and the regular (and thus not too complex) ( .. ( .. ( .. ( ... )))) and CC... ) ( ... ) ( )) have only a little higher MLC (because of the repeating strings' ( .. ' resp. '( ) ') while (CC .... )) . (. ( .. ))) has a relatively high MLC· In [5],an other complexity measure is introduced, which will be denoted here by MHH. Roughly stated, it measures the diversity of subtrees at each level. I give here a somewhat simplified (recursive) definition: • Leaves have complexity MHH = l. • The complexity of a tree is one more than the sum of the complexities of its nonisomorphic subtrees emerging at the highest level, i.e., from the child nodes of the root. The values of MHH for the trees of Fig. I and Fig. 2 are respectively: 10, 2, 8, and 3. The value MHH = 8 for tree (b) looks unfairly high: this complexity 44 definition clearly lacks a similarity comparison on different node levels. To include 'fractal-like' similarity at different levels, define the complexity measure Mcy, which is inspired by the concept of 'subtree similarity' in [3J: 00 Mcy:= L N ·X L L , L=1 where NL is the number of nonisomorphic L-subtrees, and X stands for any suffi- ciently small number. Normally, X = 0.5 should be a good choice. Alternatively, 1 MCY-LI := lim NL or Mcy-L2:= -L lim NL L~oo L~oo could be used. This is especially useful for infinite trees. l-subtrees only account for the possible diversity in outdegree of the nodes: a binary tree has only outdegrees 2 and 0, so NI is 2 in that case. O-subtrees need not be considered because No is always equal to 1. The values of Mcy for the trees of Fig. I and Fig. 2 are: 5X + 6X2/(1 - X), 2XI(1 - X), 2X + 3X2 + 4X3 + 5X4 1(1 - X) and 2X + 3X2 1(1 - X). The tree of Fig. lis thus by large the most complex, followed by tree (b) with N2 = 3 and N3 = 4, then tree (c) with N3 = 3 and finally tree (a) with N2 = 2. With X = 0.5, the complexity values are 5.5, 2, 2.875 and 2.5, respectively. An infinitely extended balanced tree like (c) has complexity XI(l - X) = 1, which is even smaller! Infinitely extending the pattern of tree (b) gives complexity 2XI(1 - X) = 2. Using MCY-LI gives complexity values 6,2,5 and 3, and for the infinite versions of (b) and (c): 2 and 1. Only really irregular infinite trees will have Mor -L2 > o. It will be clear that for a particular application, the above complexities MN, ML, MLc, MHH or Mcy should be combined with other measures such as the actual outdegrees, which were not included. E.g., for designing a good search tree for a given data set, low complexity trees are preferable, but for a tree like (a) in Fig. 2, the large outdegree of the root corresponds to a costy comparison, which should be taken into account. This supplementary complexity term will thus favor binary trees, but with this approach it is not necessary to restrict the tree construction to only binary trees, as is often done. For most applications, an other important aspect to be included into a corn- plexity measure is the probability structure on the tree. This is certainly true when building classification trees from a set of training data, but it apparently also applies to Huffman trees. These measures will be discussed next. 45 PROBABILISTIC TREE COMPLEXITY MEASURES When also taking into account the branch probabilities of the tree, a complex- ity measure can be defined which is more relevant, especially for the construction of decision trees from a set of training data, because we don't care so much about what happens in events that seldom occur. Denote by PN(n) the probability assigned to node n, and by PB(i, n) the probability of branch i in node n, i = 0,1, ... kn - 1. Let Pse(L, i) be the sum of PN(n) over n belonging to the i-th equivalence class of isomorphic L-subtrees. The simplest possible complexity measure is the one used for variable-length source coding: Mp is the sum over all nodes n of the node probabilities PN(n). An other straightforward complexity measure is the node entropy where H(PN(')) is the entropy of the normalized node probability vector (PNN)n := (PN(n))n/ Mp. The entropy H((xQ, ... , Xe-I)) of a probability vector (xQ, ... , xe-d is defined as - Lt;;~ Xi log2(Xi). A more useful complexity measure for use with classification trees is related to the average splitting entropy described in [6]and which has been proven useful in the construction of classification trees for object recognition [7): where the sum is over all nodes in the tree, and H(PB(., n)) is the entropy of the splitting probability vector (PB(O,n), ... , PB(kn - 1,n)) in node n, if this node has kn child nodes. A generalization of MNE to L-subtrees is the following Mm which is inspired by the Renyi free information or a-information [3]; it depends on the parameter a which should be a real number between 0 and 1. For a -+ 1, it is an extension of MNE to L-subtrees, while for a -+ 0, it coincides with the topology-only complexity measure log2(Mcy): where the second sum is over all equivalence classes i of isomorphic L-subtrees. Isomorphism can be defined purely topologically, as before, or the constraint 46 could be added that the probabilities of corresponding branches should at most differ by some Ó > O. oo Remark that MR1(1) = 2:(0.5)L H (Pse(.)) is indeed a generalization of MNE L=l applied to L-subtrees instead of nodes. EXTENSIONS The above complexity measures are easily extended to general directed graphs. When the graph is loopfree, apply the measure to the tree which is derived from the graph by replicating nodes with k incoming branches and their complete sub- tree k times, once for each parent node. The resulting measures will tend to over-weigh graphs with large indegrees, which could be corrected for. This cor- rection is not necessary for Mcy or MR1 because these measures count isomorphic subtrees only once, which is exactly the only difference between a loopfree directed graph and its derived tree. For a general directed graph, such as a Markov chain, other complexity mea- sures are maybe preferable, but also here, Mcy and MR1 could easily be adapted to optimally reflect the complexity structure of the graph. REFERENCES [1J J. Rissanen, Stochastic Complexity in Statistical Inquiry, Series in Computer Science, Vol. 15, World Scientific, 1989. [2J M.I. Miller & J.A. O'Sullivan, "Entropies and combinatorics of random branching processes and context-free languages", IEEE Trans. Inform. Th., IT-38(4):1292~1310, 1992. [3J J.P. Crutchfield & K. Young, "Inferring statistical complexity", Physical Re- view Letters 63(2):105~108, 1989. [4J P. Vanroose, "On efficient tree representations", in Proc. 13th Symp. Inform. Theory in the Benelux, Enschede, pp. 103~110, 1992. [5J B.A. Huberman & T. Hogg, "Complexityand adaptation", Physica 22 D:376~ 384, 1986. [6J P. Vanroose, "Optimal decision trees and test algorithms", in Proc. 12th Symp. Inform. Theory in the Benelux, Veldhoven, pp. 25~31, 1991. [7] P. Vanroose, L. Van GooI & A. Oosterlinck, "BUCA: a new pattern clas- sification algorithm", in Trans. 12th Prague Conf. on Information Theory, Statistical Decision Functions, and Random Processes, Prague, pp. 247~250, 1994. 47 DISTRIBUTION OF MESSAGE DELAY IN A NETWORK WITH MANY MULTIPLE ROUTES N. D. Vvedenskaya " Suppose that the messages are arrzvzng at a network node according to a Poisson process with mean rate À * N, where N is the number of servers (i.e. alternative routes) at that node. The service time is exponential with mean 1. For each arriving message, m servers are randomly selected and the least busy of these servers is chosen for the message. The probability distribution for the message delay is computed for the case when N -+ 00. The simulation results for small N are presented. INTRODU CTION The networks with rich connection structures are widely used nowadays. The analysis of working regimes and the optimization of the network performance proto- col is, as a rule, a hard problem. Therefore it is reasonable to extract those relatively simple network models, for which the analysis is possible. One of the approaches is the consideration of the network models with infinite number of paths joining pairs of nodes. It is possible sometimes to get the results for these models and thus get the asymptotic results for the very large networks. We address the network protocol with random choice of routs and propose to optimize (i.e. minimize) the message delay using some feedback information about the stage of the network. MODEL OF A NETWORK Suppose that the network is formed by a single input nod connected with N servers (i.e. routes). Each server has an infinite buffer. The messages are arriving at the input nod according to a Poisson process with mean rate À*N, À < 1. At each server the service time is exponential with mean 1. Suppose that for each arriving message m servers are randomly selected at the moment of message's arrival. The length of the queues at these servers (i.e. the number of messages already due to be served by the selected servers) is instantly learned. Then the message is transferred ·N.D.Vvedenskaya is with Institute for Information Transmission Problems, 19 Bol'shoi Karet- nyi, Moscow 101447, GSP-4,Russia.The work is partly sponsored by Netherlands Organization for Scientific Research NWO 713-229. 49 without delay to the least busy of m selected servers, where it joins the FCFS queue at this server.The length ç of a queue at a server is random. We are interested in the probability distribution of ç, Pk = Pr{ç = k}, (if the server is idle, than k = 0, and if k > 0, than k - 1 messages are in the buffer). Sure, Pk depends on N, Pk = p~N}. Note, that in case when for each arriving message only one server is randomly selected, and the message is transferred to this server, the income flow at each server is a Poisson flow with the income rate >., and The simulation show, that for any N > 1 the mean delay of a message in a network in which mI servers are selected is much less than in the network, in which m2, m2 < mI servers are selected. The mathematical investigation of the network with finite number N of servers, III which m, m > 1, servers are selected for choosing the least busy one, is very difficult. But in the limiting case the situation is much simpler.That is because the random queues at the different servers tend to become independent as N ~ oo. In the limiting case N = oo there exists the stationary probability distribution of the queue length p~oo} at a server. In stationery case p~oo} satisfy the equations 00 P(oo} _ >'(Um _ um) Uk = LP}oo}. (1) k - k-I k, j=k The solution of (1) can be written down explicitly: Uo = 1, Uk = >. (mk-I}/(m-I), p~oo} = >.(mk-I}/(m-I) _ >.(mk+1_1}/(m_I). (2) It follows from formulas (2), that the probability Q~oo}, that a message chooses the server with the queue length equal to k is _ Um _ urn _- A,m(mk-I}/(m-I} Q(oo} k - k k+1 _ ,m(mk+l_I}/(m_l} A • For example, if m = 2, the probability to choose an idle server is equal not to 1 - >., but to 1- >.2; the probability to choose a busy server with no messages in the buffer ( k = 1) is equal to >.2 - ).6, etc. 50 The simulations suggest the existence of stationary probability distribution Pt', and suggest the fast converges of Pt' to the limit p~oo) as N ~ oo. The simulation results are presented on the Tables. The rigorous proof of the existence of stationary distribution Pt', and of the convergence p~N) -+ p~oo) as N -+ oo is not easy. Several mathematicians worked on it, the most active is F.I.Karpelevich. Table 1. À = 0.4 N Pt Pi' P{' P£ Pt Pt' 2 0.6 0.28 0.09 0.03 0.006 0.001 5 0.6 0.31 0.08 0.01 0.001 0.0001 10 0.6 0.32 0.07 0.006 0.0004 0.0000 20 0.6 0.33 0.06 0.004 0.0001 0.0000 oo 0.6 0.34 0.06 0.002 0.0000 ... 0.0000 ... Table 2. À = 0.4 N Qo Ql Q~' Q3 Q4 Q~v 2 0.7 0.22 0.06 0.015 0.004 0.0007 5 0.78 0.19 0.03 0.002 0.002 0.00002 10 0.81 0.18 0.01 0.001 0.0007 0.00000 20 0.83 0.17 0.01 0.0002 0.00002 0.00000 oo 0.84 0.16 0.004 0.0000 ... 0.00000 ... 0.00000 ... Table 3. À = 0.8 N Pt Pi' P{' P£' Pt Pt' 2 0.2 0.21 0.18 0.14 0.1 0.07 5 0.2 0.26 0.24 0.15 0.09 0.04 10 0.2 0.27 0.27 0.17 0.07 0.02 20 0.2 0.27 0.28 0.18 0.06 0.01 oo 0.2 0.28 0.3 0.18 0.05 0.001 Table 4. À = 0.8 N Qo Qiv Q~ Q~ Q': Q~ 2 0.26 0.22 0.17 0.12 0.083 0.056 5 0.32 0.29 0.2 0.11 0.047 0.018 10 0.34 0.33 0.21 0.09 0.024 0.005 20 0.34 0.35 0.22 0.08 0.015 0.002 oo 0.36 0.38 0.22 0.04 0.001 0.000 ... REFERENCES 1. L. Kleirock, "Queuing Systems", V.2,"Computer Applications" ,John Wiley and Sons, New York-Chechester-Brisbane- Toronto. 51 Coding Gain Strategies for the Binary Symmetric Broadcast Channel with Confidential Messages Marten van Dijk* Abstract. We consider the situation in which two persons, Alice and Bob, communicate to eachother by means of a binary symmetric main channel and a noiseless public channel. A third person, Eve, taps the main channel using a binary symmetric wire-tap channel. Alice and Bob want to generate a secret key such that Eve can only obtain a negligible amount of information about it. In general, the generation of the secret key can be split into three phases; the coding gain phase, the reconciliation phase, and the privacy amplification phase. We discuss the coding gain phase. We generalize Maurer's reliability estimation technique and we generalize Gander and Maurer's improvement of the reliability estimation technique. 1 Introduction We consider the following scenario. Two persons, Alice and Bob, communicate to eachother by means of a noisy channel from Alice to Bob and a (bidirectional) noiseless public channel. This noisy channel is called the main channel. An enemy Eve taps the main channel using a binary symmetric wire-tap channel with error probability ee- The first part of the main channel from Alice to the position where Eve made a connection to her wire-tap channel is a BSC( eA), a binary symmetric channel with error probability eA. The second part of the main channel from that position to Bob is a BSC(eB). Suppose Alice transmits bit X over the main channel to Bob. Then Bob receives X + A + B, where A is a noise bit produced by the BSC( eA) and B is a noise bit produced by the BSC( ee). Eve will receive X + A + E, where bit E is a noise bit produced by her wire-tap channel, a BSC(eE). Alice and Bob want to generate a secret key such that Eve can only obtain a negligible amount of inforrnation about it. We notice that Alice and Bob have a public channel at their disposal. Therefore the maximal rate at which Alice and Bob can generate a secret key is called the secrecy capacity with public discussion denoted by Cs. In general, the generation of the secret key can be split into three 'The author is with the Department of Mathematics and Computing Science, Eindhoven Uni- versity of Technology, P.O. Box 513, 5600 MB Eindhoven, the Netherlands. 53 phases. Firstly, the coding gain phase; Alice and Bob improve their €Odingsituation towards Eve. Secondly, the reconciliation phase; Alice and Bob exchange redundant information and apply error correcting techniques in order to generate a shared secret string known to them with high probability. Thirdly, the privacy amplification phase; Alice and Bob distill a shorter string about which Eve has only a negligible amount of information. In this paper we concentrate on the coding gain phase. In Section 2 we describe and generalize Maurer's technique called reliability estimation [3]. Section 3 contains the main contribution of this paper. We generalize the smart and simple efficiency improvement of Gander and Maurer [2]. 2 Reliability Estimation Maurer suggests in [3] to use the following technique which he calls reliability es- timation. Alice and Bob start agreeing publicly upon a binary linear code C of dimension k with code word length n. To transmit a message of k bits Alice selects the unique code word vn E C representing the message, and she continues executing the following protocol, which we denote by P(C). She chooses randomly a codeword X" E C which she transmits over the main channel to Bob. Then Bob receives a vector xn + An + En and Eve receives a vector xn + An + En. Here and in the remainder of this paper An, En, and En are noise vectors produced by n uses of the BSC(eA), the BSC(eB), and the BSC(eE) respectively. Now Bob makes a reliability decision based on the Hamming distance between the received word and code C. If this Hamming distance is small enough Bob calls his received word reliable. We consider the case where Bob's received word is reliable if and only if it is a code word, that is Xn + An + En E C (the Hamming distance equals 0). We notice that X" + An + En E C if and only if An + En E C since Xn E C and C is linear. Bob lets Alice know whether his received word is reliable or not. To this purpose he uses the public channel. Thus Eve receives this information as well. If Bob does not receive a reliable word then Alice chooses randomly a new code word XtLE C which she transmits over the main channel to Bob who replies publicly whether his new received word is reliable enough or not. They repeat these actions until Bob receives a reliable word Xn + An + En. Then Bob chooses randomly a vector Xn E C and he transmits Xn + (Xn + An + En) over the public channel to Alice. We notice that at this moment Xn is known to Alice and that Vn is the code word representing the message of k bits Alice wants to transmit to Bob. Alice adds xn + vn to the public message sent by Bob. She obtains Vn + Xn + An + En which she transmits over the public channel to Bob. He adds Xn and obtains Vn + An + En. Protocol P(C) creates a new noisy channel K from Alice to Bob and Eve. If Alice wants to transmit over channel f{ a message of k information bits represented by V" E C then Bob receives Vn + An + En, where An + En E C. Eve receives over the first part of the main channel cascaded with her wire-tap channel xn + An + En, and she receives by public communication Xn + X" + An + En, Vn + Xn + An + En, 54 and the knowledge that An + En E C. Vectors Xn and X" are independent and are uniformly choosen. Therefore Eve's information about Vn is the vector (Xn + An + En) + (Xn + xn + An + En) + (V" + Xn + An + En) = Vn + An + En together with the knowledge that An + En E C.l Therefore w.I.o.g. Eve receives over channel K vector V" + An + En and the knowledge that An + En E C. The knowledge of An + En E C gives Eve not as much additional information about Vn as it gives Bob additional information about V". The reason for this is the fact that the noise vectors An + En and An + En are into certain extend independent of eachother (because En and En are independent). Therefore the knowledge whether An + En E C or not gives more information about An + En than information about An + En. This explains why the protocol achieves more coding gain towards Bob than coding gain towards Eve (Eve's advantage becomes smaller). The expected number of bits transmitted over the main channel in order to transmit a message of k bits over the new channel K equals R(C) = n/ Probi A" + En E C). Channel K is a discrete memoryless channel defined by the following transition probabilities. The probability that Bob receives b if Alice transmits v E Cover channel J{ equals Probi A" + En = V + b) PAB(blv) = Prob(An + En E C) ,for b E C. The probability that Eve receives e if Alice transmits v E C over channel J{ equals Probi A" + En = V + e, An + En E C) PAE(elv) = Prob(An + En E C) . Further n Prob(An + En = d) = IT ~ Prob(A = a)Prob(E = a + di) and i=l aE{O,I} Probi A" + En = d,An + En E C) = n ~ IT ~ Prob(A = a)Prob(E = a + di)Prob(E = a + c;), CEC i=l aE{O,I} where d = (dl, ... , dn), C = (Cl"'" en), Prob(A = 1) = eA, Prob(E = 1) = ee, and Prob(E = 1) = ee From [I, Corollary 2, taking the uniform input distribution] we infer that the secrecy capacity of J{ is at least I(C) _ ~ Prob(An + En = d) 10 Prob(An + En = d) - d Probi A» + En E C) g Prob(An + En E C) - EC Probt A" + En = d, An + En E C) I Probi A" + En = d , An + En E C) ~ Prob(An + En E C) og Prob(An + En E d + C, An + En E C)· 1 I(Vn; X" + An + En, j(n + X" + An + B'", Vn + j(n + An + B'", An + B" E C) = I(Vn; vn + An + En,An + B" E C). 55 We conclude that the secrecy capacity with public discussion of the-original channel c, is at least I(C)/ R(C). Example 1 [3J Let cn = {O, I} be the repetitio-a code with code word length n. Let e = eA(1- es)+ (1 - eA)es = Prob(A + B = I), ai,j = L:aE{O,l} Pr(A = a)Pr(E = a + j)Pr(B = a + i), and p;;' = af,la~,öw + a~la~,Öw for 0:<:; w:<:; n. Then R(C) - nand - en + (1 - e)n T(C) = -h en n + t1 _ e)n) + t (:) [f_ (p~ :;~-w). en + e)n h It is possible to generalize the reliability estimation technique as follows. We notice that An + B" E C if and only if (An + Bn)H = 0 where H is the parity check matrix of C. Suppose that Bob transmits the syndrome sn-k = (An + Bn)H to Alice over the public channel instead of letting Alice know whether An + B" E C or not. Suppose also that Alice always wants to transmit a vector Vn E C of her choice (no matter the value of sn-k). This is in contrast to protocol P(C) in which Alice only wants to transmit a vector n E C of her choice if sn-k = 0 (that is if Bob's v received word is reliable enough). The proposed changes in protocol P(C) lead to a simultaneous creation of channels K(s), s E IF:;-k, for which the following holds. If Alice transmits over channel 1<' (s) a message of k miorrnatron bits represented by Vn E C then Bob receives Vn + An + B" with s = (An + Bn)H and Eve receives v n + An + En and (An + Bn)H = s. Then the expected number of bits transmitted over the main channel in order to transmit a message of k bits over channel K(s) equals R(C, s) = n/ Probes = (An + Bn)H), and the secrecy capacity of K (s) is at least Prob(A'" + B" = cl) Prob(A'" + B" = cl) I(C s) = '" log - , ~ Prob(s = (An + Bn)H) Probes = (An + Bn)H) Prob ( An + En = d, ) s = (An + Bn)H Probi A" + En = d, s = (An + Bn)H) 2i Probes = (An + Bn)H) I og Prob(An + En E d + C, s = (An + Bn)H) (R(C) = R(C,O), I(C) = I(C,O)). Hence, o. ~ I:max{O,I(C,s)/R(C,s)}. s For completeness we mention that Maurer [3] introduced a second technique which creates a so-called conceptual noisy broadcast channel from Alice to Bob and Eve. It equals the original situation in which the BSC(eA) and the BSC(es) are interchanged. Thus, w.l.o.g. Alice and Bob can create a situation in which eA ~ es. 56 3 Efficiency Improvement In this section we improve the lower bound I(C)j R(C) by generalizing the smart and simple idea presented by Gander and Maurer [2]. Firstly, we introduce some notation. Secondly, we describe a protocol leading to the improved bound. Finally, we discuss some examples. We call K an appropriate channel from Alice to Bob and Eve for code C of dimension k with code word length n if K results from a protocol describing corn- munication between Alice and Bob over the main channel and public channel, and if for K the following holds. If Alice transmits over channel K a message of k inforrna- tion bits represented by Vn E C then Bob receives Vn + An + En with An + En E C and Eve receives Vn + An + En and the knowledge that An + En E C. Let K be an appropriate channel for C. Then R(K) is defined as the expected number of bits transmitted over the main channel in order to transmit a message of k bits over channel K. From the analysis done in the previous section we infer that an appro- priate channel K for C leads to the lower bound C, ::::I(C)j R(K). We notice that protocol P(C) produces an appropriate channel K for C for which R(K) = R(C). We call codes c., 1 < i < h, with code word lenths ni, 1 :::;i < h, a partitioning of code C with code word length n if n = L:?=l n, and if for all c = (Co, ... ,Cn-l) E C and for alII:::; i:::; h vector (cm, ... ,cz) E Ci, where m = L:5~~ nj and I = -1 + L:5=1 nj' In what follows Ci, 1 :::;i :::;h, being a partitioning of C is denoted by Cl ,C2 ..• Ch F C. We write Ch for short for Cl . C2 ... Ch if Cl = ... = Ch = C. Example 2 Let C[] be the binary alphabet {O,I}, and let C[rl' ... ,ri] be recursively defined by . C[rl, ... ,r'+1] _ - { ( T,+J-I c 1, ... , c Ti+l-1 ,~c i )1 C, 1 ... , C Ti+l-1 E C[rl,"" 1',] . }. Then Ch,··., rit'+J F Ch,.··, ri+l]' We notice that Ch = 2, ... , ri = 2] is the repetition code of length 2i. For 1 < i < h let te. be an appropriate channel for code c.. Let Cl' .. c, F C. For 1 :::;i :::;h let ni be the code word length of C, and let n be the code word length of C. We will present a protocol which constructs an appropriate channel K for C for which in general R(K) < R(C). Suppose that Alice wants to transmit Vn = (VnJ, ... , Vn") E C. Then she chooses randomly X" = (XnJ, ... ,Xnh) E C, and she transmits vector X?' over channel te. for each 1 :::;i < h. Then Bob receives Vn, + An, + En, with An, + En, E c. h and Eve receives Vn, + An, + En, and the knowledge that An, + En, E for 1 :::;i :::; Ci for 1 :::; i :::; h. In this protocol the concatenation of Bob's received words V" + An + En = (vnj + AnJ + EnJ, ... , Vnh + An" + En") is reliable if and only if V" + An + B" E C. Bob lets Alice publicly know whether the concatenation of his received words is reliable or not. If Bob does not receive a reliable word then Alice 57 chooses randomly a new code word Xn E C which she transmits over the channels K; to Bob who replies publicly whether his new concatenation of received words is reliable enough or not. They repeat these actions until Bob receives a reliable word Xn + An + En. Then Bob chooses randomly a vector Xn E C and he transmits Xn + (Xn + An + En) over the public channel to Alice. Alice adds X" + Vn to the public message sent by Bob. She obtains vn+xn+An+En which she transmits over the public channel to Bob. He adds Xn and obtains Vn + An + B": We notice that the last part of this protocol equals the last part of protocol P(C). Again, w.l.o.g. Eve receives over the created channel K vectors Vni + An; + En, and the knowledge that Ani + En; E Ci for 1 :::;i :::; h, and she receives the knowledge that An + En E C. From Cl··· Ch F= C we infer that An + En E C implies that An, + En, E C, for 1 ::; i ::;h, Thus w.I.o.g. Eve receives over channel K vector Vn + An + En and the knowledge that An + En E C. Hence, the described protocol creates an appropriate channel K for C. The probability that the concatenation of Bob's received words is reliable equals Probi A" + En E ClAn; + En, E Ci for 1 :::;i :::; h). Hence, R(K) equals L:~l R(Ki) divided by this probability. We notice that An, + h, are independent random variables and we notice that An + En E C B>, 1 :::;i :::; implies that An; + B": E Ci for 1 ::; i :::; h, Hence, Prob(An + s: E ClAn; + e- E c, for 1 < i ::;h) Prob(An + Bn E C, An, + Bn, E Ci for 1 ::; i ::;h) Pr obi A'" + En, E Ci for 1 :::;i:::; h) Prob(An + B" E C) I17=1Prob( A n, + En; E Ci) . From this we obtain the following relation R(K) = I17=1 rl'ob(An; + Bn; E Ci) L:L R(J{i). Probi A" + B" E C) We notice that if h > 1, if there exists an i such that Ci =J IF:;', and if R(Ki) :::; R(Ci) (e.g. P(Ci) results into an appropriate channel K; for Ci with R(I<;) = R(Ci)) then R(K) < R(C). We conclude that if C has minimal Hamming distance 23 then there exists a partitioning of C leading to a lower bound Cs 2 I(C)j R(K) improving the lower bound Cs 2 I(C)j R(C). Example 3 We continue with Example 2. Suppose that there exists an appropriate channel Kh, ... , ril for C[rl' ... ' r;J. Since Ch,···, r;JTi+l F= C[rl' ... ' ri+l] there exists an appropriate channel K[rI, ... ,ri+l] for Ch, ... ,ri+l] such that 58 where ni = I1j=lr j is the code word length of Ch, ... , ril. Ey induetion (R( K [)) = 1) ni I1j:i Prob(An; + En; E Ch, , rj)t;+1-1 R(Kh,··., ri)) Prob( An, + En, E C[rl, , ri)) -e: R(Ch,···,ri)). Example 4 We continue with Example 1. We notice that cln/2j . crn/21 F= cn. Suppose that there exists an appropriate channel f{ln/2J for cln/2j and suppose that there exists an appropriate channel Krn/21 for crn/21. Then there exists an appropri- ate channel K? for cn such that R(Kn) = qln/2jqrn/21(R(Kln/2j) + R(I{rn/21))lqn, where qn = Probi A" + En E cn) = en + (1 - et. By using induction we obtain R( K2') = (2i I1~:i q2i)1q2', which is the result pre- sented by Gander and Maurer [2}. We can simplify this formula as follows I1j:i q2i _ I1i-1 ( 2J + (1 _ )2i) _ '" - j=O e e - L.,aoE{O.l}.·· '" L':~(1-ai)2J(1 _ e )L':~aj2j L.,a'_lE{O.l} e J J -- e2'-1 L;;;ë/ e~ey = ((1- ef - e2') 1((1- e) - e). Hence, R(K2') ~ 2 /11- 2el ~ i 2i II (1 - e )2' + e2' = R( C2'). 1 This shows the enormous efficiency improvement real- ized by Gander and Maurer. 4 Concluding Remarks We have generalized Maurer's reliability estimation technique [3) and we have gen- eralized the simple and smart efficiency improvement of Gander and Maurer [2). We have showed that the coding gain resulting from reliability estimation based on a code C with minimal Hamming distance ~ 3 can be improved by using a partitioning of C. An interesting problem is to find which partitioning strategy achieves the best coding gain. Another interesting problem is to find an optimal combination of the generalized reliability estimation technique and the partitioning strategy. References [1) lmre Csiszár and János Körner. "Broadcast Channels with Confidential Mes- sages". IEEE Trans. Inform. Theory, VoL IT-24(3):339-348, May 1978. [2) Martin J. Gander and Ueli M. Maurer. "On the Secret-Key Rate of Binary Ran- dom Variables". In Proc. 1994 IEEE International Symposium on Information Theory, page 351, 1994. [3) Ueli M. Maurer. "Secret Key Agreement by Public Discussion Based on Common Inforrnation". IEEE Trans. Inform. Theory, VoL IT-39:733-742, May 1993. 59 An Efficient Traceable Payment Syst.ern Cristian Radu 1 Mark Vandenwauver 1 René Govaerts 1 Joos Vandewalle 1 Abstract An electronic payment system built around the Guillou-Quisquater identi- fication/signature scheme in an RSA-group, is presented. Its main features are a high computational efficiency and low storage requirements for the tamper resistant device representing the user. This is achieved using a counter-based solution in combination with public-key certificates. To simplify both the withdrawal and the deposit stage we renounce of the untraceability feature. In this respect, our system emulates the classical payments relying on cheques. 1 Introduction During the last few years, the trend of the cryptographic research in relation with off-line electronic payment systems is to provide electronic cash which offers at least the properties that real money offers [5,6, 1, 8, 2, 3, 4]. This means that two goals have to be achieved simultaneously by the payment system designer [7]. The first goal is to provide integrity for all the participants in the system. Basically, this means the unforgeability and uncopiability of the electronic money. The best solution is to guarantee that this feature is independent of the physical requirements related to the electronic money-carrier device of the user. This can be achieved using a coin-based system. However, a first drawback is that each coin denomination has to be authenticated by the bank. Another important inconvenience is that the computation and communication complexity for paying are dependent of the specific amount. Therefore, we have opted for a counter-based solution. A tamper-resistant smart card, issued by the bank, holds a counter that represents the amount of electronic money [3]. This implies that, beside other cryptographic assumptions, the integrity of the bank also relies on a non-cryptographic assumption: the cost of breaking a smart card in practice will significantly exceed the expected financial profit. On the other hand, the electronic cash should be untraceable. This feature is related to the privacy of the user. In order to provide this feature, two cryptographic primitives are required. The first is a blind signature scheme which guarantees that 1Katholieke Universiteit Leuven, Laboratorium ESAT Kardinaal Mereierlaan 94, B-3001 Heverlee, Belgium Tel. 32-16-321073, Fax. 32-16-321986 61 the identity of the user is encoded in the certificate released by the bank. The second primitive is a double-spending detection mechanism, which reveals the identity of a dishonest user who attempts to use a certificate more than once. This involves the management of a large database, where the bank keeps all the transcripts of transactions during a fixed period of time. This is an expensive eperation which can exceed the profit which the bank would obtain by providing the "retail" electronic cash service. Therefore, in our paper we are going to present the design of an efficient off-line traceable counter-based payment system. The solution is built around the crypto- graphic assumption of the intractability of computing RSA-roots. In Section 2 we present the participants in the system and the basic concepts. In the third section we detail the Guillou-Quisquater identification scheme particularized to the RSA- groups and the basic digital signature scheme derived from it. In Section 4 the setup of the system is presented. In the last section we design the protocols of the main transactions: withdrawal, payment and deposit. Finally, our conclusions are presented. 2 Overview of the Payment System This section provides an overview of the payment system. The partielpants are the bank B and its clients, either users Ui or shops Sj. In order to simplify the system, we do not deal with users and shops which are clients of different banks. During the transactions, a user Ui is represented by an electronic tamper-resistant device 7;, usually a smartcard. At registration stage, the bank issues this device to the user. It also generates the user's secret identity i and user's public identifier I Di, which are kept within the non-volatile memory of 7;. A certified key pair, ckp, is a tuple consisting of a secret key sk, a public key pk, the user's public identifier and a certificate of the bank on the last two items O"s(pk, I Di)' A certified public key, CP K, is the triple consisting of the public key, the user's public identifier and the certificate of the bank. Each participant to the electronic payment system is represented by a different certified public key CP K. During withdrawal, the bank signs (pk, I Di), by releasing a certificate. This consists of O"s(pk, I Di)' To this end, the bank uses a signature scheme, derived from the Guillou-Quisquater identification scheme [10,11]. We denote by (S, P) the secret key and the corresponding public key used by B to construct the certified public keys CP K for its users. The signature issued by the bank O"s(pk, I Di), allows the shop to verify the correctness of a CP K in relation with Ui and its subsequent acceptability at the deposit stage. A payment using a CP K consists of a signature executed by 7;, with respect to sk (corresponding to pk in the ckp), on a message rn which specifies the transaction. We refer to this signature as the payment signature and we denote it by ~sk(m). During the deposit stage, Sj forwards a transcript of the payment to the bank. This transcript includes the certified public key, CP K, and the pair (rn, ~sk(m)) which specifies the transaction. All the transcripts are recorded by the bank in the transcripts database. Every CP K can only be used once with respect to any user and any payment transcript. 62 3 The Basic Signature Scheme In the design of the withdrawal, payment, and deposit protocols we use a signature scheme derived from the Guillou-Quisquater identification scheme. Therefore, we briefly outline this scheme, considering the appropriate instantiation for our payment system. The prover P generates a secret key (p, q, S). The numbers pand q are primes such that the composite modulus n = pq is of a given length. We denote 71..n = {I, 2, ... , n - I} and 71..:= {x E 71..ngl cd(x, n) = I}. The secret parameter S is chosen at random from 71..:. All the arithmetical operations are performed in the RSA-group (71..:,·,1), where the group operation is the multiplication modulo n, and the unit of the group is denoted by l. It is important to mention that in this RSA- group there exist efficient polynomial-time algorithms for multiplication, inversion, exponentiation, selecting random elements, determining equality of elements, and testing group membership. The prover computes the corresponding publickey, (n, v, P), where n is the modulus, v is an RSA-exponent, with gcd(v, cp(n)) = 1, and P E 71..~satisfies the equation P . S" = 1. The GQ identification scheme is a three-step challenge-response protocol. It allows P to prove the knowledge of its secret key to the verifier V. The following protocol is a version of [11], restricted to the RSA group (71..~,.,1): 1. P generates at random a commitment r in 71..~and sends the initial witness T <-- r" to V. 2. V generates a challenge d E 71..v, and sends it to P. 3. P generates the response i <-- r . Sd and sends it to V. The verifier computes the final witness T' <--iV. pd and accepts the proof of knowledge if and only if T' Jo T. From here on a composition of two elements will be denoted by ab instead of a- b, each time it is clear that the composition holds in the RSA-group. If V generates its challenge according to a uniform probability distribution, the protocol provides a "zero-knowledge" proof. Using a technique described in [9], the GQ identification scheme can be trans- formed in a signature scheme. In order to sign a message m, the challenge d is computed by the signer S as 'H(m, T), where 'HO is a collision resistant hash func- tion [12], mapping arbitrary long inputs to a fixed length output in 71..v. Thus the interaction between S and V is replaced and the signature scheme becomes a one- step protocol. S generates at random the commitment r in 71..:and computes the initial witness T <-- r" together with the initial challenge d <-- 'Him; T) and the cor- responding response i <-- r . s- . The signature, consisting of m, (d, t), is sent to the verifier. V computes the final witness T' <-- i" . ï= and the final challenge as d' <-- (m, T'). V accepts the signature if the final challenge is equal to the initial challenge. 4 The Setup of the Payment System Let 'H(.) be a cellision resistant hash function mapping arbitrary long inputs to an output of fixed length 1 'H I. The bank generates a secret set of parameters (p, q, S), 63 where pand q are primes selected such that the modulus n = pq is of a given length. The secret parameter 5 is chosen at random in ~~. The bank publishes a set of parameters (n,v,1i(·)),P, where n = pq is the composite modulus, v is an RSA-exponent such that lvi> 11i I and P satisfies the equation PSv = 1. All the participants in the system can do arithmetics in the RSA-group (~~, ·,1). The bank B also manages two databases, one dealing with information related to the users - the account database-- and the other with transcripts of the payment transactions - the transcripts database. When a person becomes a user Ui of the payment system he opens an account with the bank B. The bank generates an appropriate entry in the account database and issues to him the tamper-resistant device T;. B also generates the secret identity of the user, such that i En ~~ and computes I = i-V which is stored in the account database together with the public identifier of Ui denoted by I Di. The shops that subscribe to the payment system, do not need a tamper-resistant device, but only have to be clients of B. The bank also grants a public identifier IDs for each shop. 5 The Protocols of the Payment System During the withdrawal stage, the user and the bank follow a mutual authentication protocol. First, the user signs a challenge of the bank using his key pair (i,1). If the verification is succesful, the bank links the user to his account, considering his request for money if the desired amount does not exceed the balance of his account. If so, the bank signs a message with respect to the key pair (5, P), entitling T; to increase the counter representing the electronic value by the amount required. The account of the user is correspondingly decreased. In the remainder of the withdrawal protocol, the bank issues also the payment instruments for Ui. Using the terminology introduced in Section 2, an electronic payment instrument is a certified public key C = CPK = (pk,IDi,O"s(pk,IDi)), where O"s(pk,IDi) = (db,tb) is the certificate such that db = 1i(pk, I Di, tb pd<). V During the withdrawal protocol, a certified key pair ckp = (sk,C) = (sk,pk,ID;,O"s(pk,ID;)) is issued such that: pk:> sk :" = 1 and (pk, I Di, O"s(pk, I Di)) is a certified public key. The protocol presented in Figure 1 is repetitively executed until the maximum number of CP K is stored in the non-volatile memory of T;. A payment of an amount at a certain date executed by the user having the public identifier I Di in the shop represented by I Ds using a certified public key C is presented in Figure 2. In order to get his account credited by the bank, the shop deposits the transcript of the transaction together with the payment instrument used during the payment. The protocol to achieve this, is depicted in Figure 3. 64 B sk En. Z~ pk <- sk" (pk . sk-v = 1) pk,IDi Tb En. Z~ Tb <- Tb v db <-1i(pk, I Di, n) E z, tb <- TbSdb us(pk,IDi) = (db, tb) Tt <- tb pdb V db ~ 1i(pk, I Di, Tt) Store sk, us(pk, I Di) Figure 1: The withdrawal protocol. Retrieve sk,us(pk,IDi) = (db, tb) pk +- sk" C = (pk, ID" us(pk, I Di)) Verify authenticity db :b ll(pk, I Di, tb· pd,) a En. Z. spec +- amount 11 date 11 ID; 11 IDs a,spec amount ::s: counter counter +- counter - amount r. En. Z~ T$+-T$v d, +-ll(pk, a, spec, T.) t$ +- rsskd, 'E.k(pk, a, spec) = (do, t.) Verify signature T; +- t; ·pk-d• d, :b ll(pk, a, spec, T;) Figure 2: The payment protocol. 65 B C = (pk, IDi,O"S(pk, IDi)) Oe, spec = amount 11 date 11 1Di 11 1 Ds L.sk(pk, Oe, spec) = (ds, ts) C, Ct, spec, L.sk (pk, Ct, spec) Verify authenticity db ~ 1i(pk, IDi, tb" pd. Verify the double-deposit with Sj Verify correctness of C T; <- ts "pk :": d, ~ 1i(pk, Oe, spec, T;) Verify double-spending with Ui Figure 3: The deposit protocol. 6 Concl usions The off-line payment system we propose is efficient and simple. The solution is suitable for small tamper resistant devices as e.g. smart cards. It is developed in the framework of RSA-groups, around the Guillou-Quisquater identification scheme, using the public-key certificate technique. Future work will analyse the possibility to provide untraceability. 66 References [1] S. Brands, Off-line cash transfer by smart cards, Report CS-R9323, Centrum voor Wiskunde en Informatica, March 1993. [2] S. Brands, "Untraceable off-line cash in wallet with observers," Advances in Cryptology, Proc. Crypto'93, LNCS 773, D. Stinson, Ed., Springer-Verlag, 1994, pp. 302-318. [3] S. Brands, "Off-line cash transfer by smart cards," Proc. First Smart Card Research and Advanced Application Conference, V. Cordonnier and J.- J. Quisquater, Eds., Lille (F), 1994, pp. 101-117. [4] S. Brands, "Off-line electronic cash based on secret-key certificates," Proc. Sec- ond International Symposium of Latin American Theoretical Informaties, Val- paraiso (Chili), 1995, to appear. [5] D. Chaum, A. Fiat, M. Naor, "Untraceable electronic cash," Advances in Cryptology, Proc. Crypto'88, LNCS 403, S. Goldwasser, Ed., Springer-Verlag, 1990, pp. 319-327. [6] D. Chaum , B. den Boer, E. van Heijst, S. Mjelsnes, and A. Steenbeek, "Effi- cient off-line electronic checks," Advances in Cryptology, Proc. Eurocrupt/Bi), LNCS 434, J.-J. Quisquater and J. Vandewalle, Eds., Springer-Verlag, 1990, pp. 294-301. [7] D. Chaum, "Achieving electronic privacy," Scientific American, Vol. 267, No. 2, 1992, pp. 96-101. [8] N. Ferguson, "Single-term off-line coins," Advances in Cryptology, Proc. Eu- rocrypt'93, LNCS 765, T. Helleseth, Ed., Springer-Verlag, 1994, pp. 318-328. [9] A. Fiat and A. Shamir, "How to prove yourself: Practical solutions to iden- tification and signature problems," Advances in Cryptology, Proc. Crupio '86, LNCS 263, A.M. Odlyzko, Ed., Springer-Verlag, 1987, pp. 186-194. [10] L.C. Guillou and J.-J. Quisquater, "A 'paradoxical' identity-based signa- ture scheme resulting from zero-knowledge," Advances in Cryptology, Proc. Crupto '88, LNCS 403, S. Goldwasser, Ed., Springer-Verlag, 1990, pp. 216-231. [11] L.C. Guillou, M. Ugon, and J.-J. Quisquater, "The smart Card: A standardized security device dedicated to public cryptology," in "Contemporaru Cryptology: The Science of Information Integrity," G.J. Simmons, Ed., IEEE Press, 1991, pp. 561-613. [12] B. Preneel, Analysis and design of crçptoqraphic hash functions, PhD thesis, Katholieke Universiteit Leuven, ESAT Department, Leuven (B), January 1993. 67 The Fall of The Alabbadi and Wicker Digital Signature Schemes Johan van Tilburg* Extended Abstract Diffie and Hellman [6] introduced the concept of a digital siqnature. In this concept, when Alice wants to send a signed message ;r to Bob, she sends ;r with its signature J!.. = DA (;r). The function DAis Alice's private signature (or decryption) al- gorithm. Depending on the signature scheme used, Bob verifies the signature by ap- plying Alice's public encryption algorithm EA to J!.. (i.e., EA(J!..) = EA(DA(;r)) = z). For this scheme to be secure, it must be assumed that, it is computationally infeasi- bIe to find an algorithm D from EA that satisfies D(EA(;r)) = ;r for a non-negligible fraction of all;r. Recently, several other signature schemes have been discovered with more and/or different security features (e.g., blind, undeniable, convertible and fail-stop signatures). Most of these schemes are based on discrete logarithm or factoring problems. Xinmei [11] proposed a signature scheme based on error-correcting codes. He claimed that the security of his signature scheme relied on the properties of error- correcting codes and the difficulty of factoring large matrices. Harn and Wang [7] observed that, because of this scheme's linearity, it is possible to combine signatures of different messages into a valid signature without factoring. In order to prevent "The author is with KPN Research, P.O. Box 421, 2260 AK Leidschendam, The Netherlands. Full paper will be available in August 1995. 69 this type of forgery, Ham and Wang proposed applying a nonlinear function to the plaintext. Other modifications were also proposed to improve the systems perfor- mance. Alabbadi and Wicker showed in [2]that the Xinmei scheme is also vulnerable to two known-plaintext attacks. They showed in [3]that the Ham and Wang scheme can be broken by a known-plaintext attack. The author [8]showed that in both sig- nature schemes the signature key can be obtained from the public key. As a result, both schemes are unconditionally insecure. Alabbadi and Wicker [4]proposed a new signature scheme that used error vectors with higher weights than the coset leader. They claimed that these error vectors can not be obtained through standard decod- ing techniques making their system immune to the analysis discussed in [4]. The author [9] showed that the ability to verify n signatures with linearly-independent error vectors (where n is the code length) makes this signature scheme insecure. It was also observed that the public key in the Alabbadi- Wicker scheme must contain more information in order to verify a signature. Moreover, it was concluded that similar verification problems exist for the Xinmei scheme [l l ] and the Ham-Wang scheme [7], however, these schemes can be broken without verifying a signature. The basis of the successful cryptanalysis as presented in [8] and [9] is the ob- servation that all signature schemes based on the Bounded Hard-Decision Decoding (BHDD) problem can be reduced to the following basic scheme: ¥.. = f(:.f, ~)E + ~, where f is a nonlinear function. Without loss of generality, all other functions on ¥.. should be invertible. Note that the scheme's security does not depend on these functions. Suppose an Oracle D(y_) exists that provides a BHDD solution for ¥.. but does not reveal any information about the code used, then ~ = ¥.. + D(¥..), so that '!!..- ~ = Its; ~)E. Therefore, if the security of a signature scheme is based on BHDD, one of the following must hold true: 1. A signature can not be verified in polynomial time. 70 2. If the signature is verifiable, the scheme can be broken. 3. The scheme can be broken without verifying a signature. Therefore, the author [10] concluded that signature schemes, where the security is based only on the BHDD problem, do not exist. In his dissertation [1], Alabbadi proposed another digital signature scheme based on the BHDD problem, then Alabbadi and Wicker [5] presented a slightly modified version of this scheme at Asiacrypt '94. In this talk, it will be shown that both schemes have the same verification problem as all previously proposed schemes and are also insecure. These new schemes also confirm that digital signature schemes based on bounded hard-decision decoding do not exist [10]. References [1] M. Alabbadi, Integration of Error Correction, Encryption, and Signature Based on Linear Error-Correcting Block Codes, Ph.D. dissertation, Georgia Institute of Technology, August 1993. [2] Alabbadi M. and S. B. Wicker, Security of the Xinmei Digital Siqnaiure Scheme, Electron. Lett., Vol. 28, No. 9, pp. 890-891, March 1992. [3] Alabbadi M. and S. B. Wicker, Cryptanalysis of the Harn and Warn modifi- cation of Xinmei Digital Signature Scheme, Electron. Lett., Vol. 28, No. 18, pp. 1756-1758, August 1992. [4] M. Alabbadi and S. B. Wicker, Digital Signature Schemes Based on ErTOr- Correcting Codes, Proceedings of the 1993 IEEE-ISIT, San Antonio, Texas USA, p. 199, January 1993. 71 [5] M. Alabbadi and S. B. Wicker, A Digital Signature Schemes Based on Linear Error-Correcting Codes, Proceedings of ASIACRYPT'94, Wollongong, NSW, Australia, November 30, 1994. [6] W. Diffie and M.E. Hellman, New Directions in Cryptography, IEEE Trans. In- form. Theory, vol. IT-22, no. 6, pp. 644-654, November 1976. [7] L. Harn and D.-C. Wang, Cryptanalysis and Modification of Digital Signa- ture Scheme Based on Error-Correcting Code, Electron. Lett., Vol. 28, No. 2, pp. 157-159, January 1992. [8) J. van Tilburg, Cryptanalysis of the Xinmei Digital Signature Scheme, Elec- tron. Lett., Vol. 28, No. 20, pp. 1935-1936, September 1992. [9] J. van Tilburg, Cryptanalysis of the Alabbadi- Wicker Digital Signature Scheme, Proceedings of the Fourteenth Symposium on Information Theory in the Benelux, pp. 114-119, May 1993. [10] J. van Tilburg, On the Nonexistence of Digital Signature Schemes based on Max- imum Likelihood Decoding, International Conference on Finite Fields: Theory Applications and Algorithms, Las Vegas, Nevada, USA, August 1993. [11] W. Xinmei, Digital Signature Scheme based on Error-Correcting Codes, Elec- tron. Lett., Vol. 26, No. 13, pp. 898-899, June 1990. 72 On the Security of OSI-based Computer Networks Jan Ve rschu ren' Abstract Today, there is a strong tendency to connect computer systems to each other, thus building a computer network. This article aims to devise an evaluation method which can assess a computer network from a securi ty viewpoint. The evaluation should be complete, meaning that no security flaws are overlooked. Besides the evaluation method should be widely applicable: it should be able to evaluate a variety of computer networks against a lot of security policies. By representing communication subsystems as fini te state machines, it turned out to be possible to lay a foundation of such an evaluation method. 1. Introduction Formerly, computer systems were mainly stand-alone. Nowadays however there 1S a strong tendency to connect computer systems to each other thus building a computer network. Also different computer networks are connected to each other. It is clear that this has serious implications from security viewpoint. It is only efficient to be aware of those security implications before actually connecting computer systems or computer networks to each other. In other words, one should be able to perform a security assessment of an envisaged computer network. This article aims to contribute to this research topic. 2. Definition of the problem It is aimed to devise an evaluation method for computer networks. It should give a definite answer with respect to the security of a computer network. In order to perform an evaluation, a set of requirements should be available. In the framework of this set of requirements, the evaluation can be performed. In a computer network data is exchanged between Application lJan Verschuren is with TNO, Department EIB, P.O. Box 5013, 2600 GA Delft, the Netherlands. 73 Processes (APs). Each AP puts (security) requirements to the process of exchanging data. These security requirements are dictated by the security policy of the AP. Conditions for an AP to participate can be the following: the AP wants to have guarantees about the integrity of the information streams it receives and it wants to be sure with respect to the confidentiality of the information streams it sends and receives. The combination of all security policies of all participating APs will lead to the set of requirements which applies to the computer network as a whole. From the above it immediately follows when an attack is performed. If one of the security requirements of one of the APs can be violated, then an attack is successful. Finding successful attacks is the main topic of this article. In addition to this, it is intended to develop an evaluation method which is widely applicable. Applicability of the method is enlarged if: a (large) variety of computer networks (with different architectures) can be evaluated. Li t t Le or no limitations are imposed on the set of security requirements which form the basis of the evaluation. If both latter items are fulfilled, then a variety of networks can be evaluated against a lot of security policies. 3. Evaluation of computer networks In principle, a computer network can be represented by means of figure 1 [1). 'Computer A Computer B AP User to user AP communication Communication Computer to computer Communication subsystem communication subsystem '. Data communication network Fig. 1: Model of a computer network. 74 APs are connected to a communication subsystem (CS). A CS can exchange data with another CS. Thus two APs can communicate with each other. An evaluation method will be developed which can evaluate computer networks as indicated in figure 1. An evaluation method is devised which can handle a variety of CSs. In that case, the evaluation method will be widely applicable. Referring to figure I, it can be said that the communication between APs will be initiated by requests of one of the APs. More specifically, APs can request services offered by the CS to transmit information. If APs want to communicate in a secure way - that is to say according to their respective security policies - they can use security services which are provided by the CS. The requests are limited for each AP. As said before, the method should be able to analyse if APs can communicate according to their security policy. The method is more powerful if it can make an evaluation in the framework of more than one security policy. Generally speaking, a security policy will consist of two kinds of security aspects: confidentiality and integrity [2] . The evaluation method should find attacks if these are possible: possible not allowed ways to read confidential data or to modify data should be pointed out. In principle confidential data can be obtained at two places: when it is transferred via the medium. when it is sent to an AP by the CS. Data is sent from CS to an AP by means of an indication. An attack with respect to the integrity of data is successful if the CS sends a specific indication to the AP. More specifically, for a successful attack this indication results in a false classification of the received data. So it can be said, that it is essential for the completeness of the evaluation method that: all indications which can be sent from the CS to an AP are modelled. all representations of data which is sent via the medium are modelled. A model which fulfils both requirements can form a sound basis for building a complete evaluation method. Up to now we discerned two action points. modelling devising an evalution method based on the model. These methods will be treated in paragraphs 3.1 and 3.2. 75 3.1 Model An OSI-communcation sybsystem consists of 7 protocol entities (PEs) [3]. Each of these can be represented as a Finite State Machine (FSM). It can easily be seen that the CS as a whole can be modelled as a FSM too. A FSM can be represented by means of a table. The table which describes the CS will be referred to as T~. Each entry of the table will have the following form: input, old statel 1 output, new state = lP, OSI lap, NS (1) Modelling the CS in this way is in accordance with the two condi tions which were necessary for obtaining a complete evaluation method. A computer network consisting of n computer systems can be modelled by a set of tables Tcs.i, i = 1, ..., n , Each table TCS•i describes the CS of computer system i. In the following paragraph an evaluation method is described which is based on this model of a computer network. 3.2 Evaluation method APs connected to the network can be divided into different groups depending on their clearances. APs having higher clearances have to protect themselves against APs having lower clearances [4], [5]. In this respect we can refer to APd (defender) and APa (attacker). APd will be able to use different security services than APa' This is a necessity otherwise APd cannot protect itself against APa' Analogously, there will also be a specific set of indications for each group of APs. This has the following implications wi th respect to the use of table Tcs: for APs having different clearances, different parts of the table apply. For each group of APs (with different clearances) a limited set of requests APR and indications I is available. Requests APR available to an AP can be divided into two groups: APRc: requests for sending (and protecting) confidential data. APRi: requests for sending (and protecting) data in accordance to a specific integrity class. Indications I can also be divided into two groups: Ic: indications which offer data of a particular confidentiality class. Ii: indications which offer data of a particular integrity class. Each APp can use a request APR if APR E {APRcpl"" ,APRcpn' APRipl' APRipm}' Analogously it can be triggered by an indication I if I E {Icpl' ... ,Icpk' Iipl' ... ,Iipl}' 76 The evaluation method will function as follows. It will verify if the requests and indications which are available to the APs are in accordance with the confidentiality aspect of the security policy of each AP. (The integrity aspect can be treated in the same way.) More specifically, the evaluation method will investigate if it is possible that an AP uses its requests and indications in such a way that it receives confidential data which it is not allowed to get. The evaluation method will not overlook attacks if: every form of protection of confidential data by APd is known. every operation available to APa is known. The two items will be elaborated now. 3.2.1 Determining of forms of protection of confidential data. For each APd it follows from the table T~ how it can send and protect confidential data: this requires looking after entries APRcdi (i 1, ... ,n) in table Tcs. Subsequently, entries of the following form will result: (APRcdi, OS 11 OP, NS) (2) The cryptographic operation which is applied will be indicated in the OP-field. It is possible that a request APRcdi leads to different outputs as the CS can be in different (old) states. So APRcdi can lead to a different output depending on the state of the CS. Table 1 gives an illustration. APRcd1 OSdl,l 11 OPd1,1 NSd1,1 APRCd1 OSdl,n(dll 11 OPd1,n(dll NSd1,n(dll APRCd2 OSd2,1 11 OPd2,1 NSd2,1 APRcd2 OSd2, n(d21 11 OPd2,n(d21 NSd2, n(d21 APRcdn OSdn,l I1 OPdn,l NSdn,l APRcdn OSdn,n(dnl 11 OPdn,n(dnl NSdn,n(dnl Table 1: List of all forms of protection of confidential data sent by APd. 77 It is clear that not all outputs OSdl,I' ... ' OSdn,nldn)are necessarily different. It is supposed that n* 10S1' ... , OS~) different states are listed in table 1. It is not sure that all outputs OPd1,I'... ' OPdn,nldn)occur in reality. More specifically, therefore OSlI ... ' OSn>must be reached. It is investigated - using table Tes - what inputs are needed to bring the CS in a state OSj with j E (I, 2, ... , n*). Thus a following string of states will be obtained. OSjO' ... , OSjlnlj)-I)' OSj (3) OS)Ois the idle state. Via OSjk Ik = 1, ... , nlj)-l)) OSj can be reached. If OSik with k E {I, ... ,n(jl-l} = OSj then OS) cannot be reached ln this way as cycling is taking place: the process should be stopped. From the string of states OSjO' ... , OSjlnlj)-I)' OSj immediately a string of inputs IPjk, k E {I, ... , n\j)}, follows which will ultimately result in OSj: IPjk and OSjlk-l) will lead to OSjk' k E {l, ... , nlj)-l} and IPjnlj) and OSjlnlj)-l) lead to OS). So the following string Sj characterizes the events leadlng to OSj. Sj = {IPjk, OSjlk_I)}with k E {l, ... , n f j ) } (4) IPjk = APRjk or MRjk: inputs (requests) which arrive at the CS from an AP or from the medium respectively. So by applying IPjk to the idle state will result in OSj via OSjIk-I). Requests APRjk can be easily generated; requests MRjkare not necessarily available. A request MRjk*can be the result of a request IPjk>1to a CS. More specifically, IPjk•1 and OSjk>llead to an output of the CS which can serve as MRjk*to another CS. (Maybe more possibilities can lead to MRjk"as MRjk*can also be composed of several outputs of a CS. At this moment we will not take this remark into account.) So it follows that state OSjk.l is necessary to reach OSjk*. If OSjk>1 E {OSjk>'... ' OSjlnlj)_I)' OSj}' then cycling is taking place: the process should be stopped. If no cycling is taking place, then the search process is continued. Referring to eq. (3) there is a string of old states leading to OSjk>l: (5) If OS)k>lmE (OS)'>I' OS),>,... , OSjlnlj)_I)' OSj} with mE {l, ... , nljkll-l} then OS) cannot be reached in this way: cycling is taking place then and the process should be stopped. This principle can be continued. If the mentioned stopcriteria are never applied, then eventually a set of inputs APRs are obtained. These will be the basis for reaching OSj when departing from the idle state of the CS. 78 3.2.2 Determining if an APa can attack protected confidential information From paragraph 3.2.1 it follows how APd can protect its confidential data. So the information to be attacked is clearly described. From this, the operations which are needed to get the data in the clear can be unambiguously identified. It is looked after in table Tes if these operations are available to the APa. (Here again a simplification is made: possibly the desired operations can be composed from several operations available to APa.) If so, then it is necessary to put the CS to which APa is connected in a specific state. The indicated state follows from table Tes• This process of bringing a CS in a particular state is described ih paragraph 3.2.1. 4. Conclusions An evaluation method is needed in order to assess a computer network with respect to its security aspects. By representing communication subsystems as finite state machines, a foundation is laid of an evaluation method which is complete. This means that no security flaws are overlooked. Besides this, the evaluation method obtained is widely applicable: it can handle a variety of computer networks and it can evaluate these against a lot of security policies. 5. References [1] Verschuren, J, Govaerts R. and Vandewalle J., ISO-OSI Security Architecture, Computer Security and Industrial Cryptography, State of the Art and Evolution, LNCS 741, B. Preneel, R. Govaerts and J. Vandewalle, Eds., Springer Verlag, 1993. [2] Rueppel, R., A Formal Approach to Security Architectures, Advances in Cryptology, Eurocrypt '91, LNCS 547, Springer Verlag, 1991. [3] Open Systems Interconnection Reference Model, Part 1: Basic Reference Model, ISO 7498-1 (CCITT X.200), 1988. [4] Bell. D. Elliot and LaPadula, Leonard J., Secure Computer Systems: Unified Exposition and Multics Interpretation, MTR 2997 rev. 1, The Mitre Corporation, March 1976. [5] Biba, K.J., Integrity Considerations for Secure Computer Systems, MTR-3153, The Mitre Corporation, June 1975; ESD TR 76-372, April 1977. 79 A Path through the Disparity Space Image * R.E.H. Franich, R.L. Lagendijk, J. Biemond Delft University of Technology, Dept. of Electrical Engineering, Information Theory Group, Mekelweg 4, 2628 CD Delft, The Netherlands, R.E.H.Franich@ET.TUDelft.NL, R.L.Lagendijk@ET.TUDelft.NL, J .Biemond@ET.TUDelft.NL. In this paper a technique for the estimation of disparity vectors in stereoscopie imagery is discussed. A brief introduetion to the topic of disparity and disparity estimation is given. Next the disparity space image or VSI is introduced as a tool for disparity estimation. Finally a new method for the use of this disparity space image in a disparity estimation algorithm is presented. 1. Introduetion to disparity and depth. In stereoscopie imaging left and right views are recorded, stored or transmitted and finally displayed in such a fashion that the viewer experiences a binocular depth cue as similar as possible to the natural depth cue experienced by any two eyed observer in a real word situation. The images perceived by left and right eye and/or camera are very x r d>O d=O d