PROCEEDINGS OF THE
23RD SYMPOSIUM
ON
INFORMATION THEORY
IN THE
BENELUX
Louvain-la-Neuve, Belgium May 29-31, 2002
Benoît Macq and Jean-Jacques Quisquater, editors
PROCEEDINGS OF THE
23RD SYMPOSIUM
ON
INFORMATION THEORY
INTHE
BENELUX
Louvain-Ia-Neuve, Belgium May 29-31, 2002
Benoît Macq and Jean-Jacques Quisquater, editors
PROCEEDINGS OF THE
23RD SYMPOSIUM ON
INFORMATION THEORY
IN THE BENELUX
May 29-31, 2002
Louvain-Ia-Neuve, Belgium
by B. Macq
J.-J. Quisquater
Published by:
Werkgemeeschap voor Informatie- en
Communicatietheorie,
Enschede, The Nederlands, 2002
ill
The 23RD Symposium on Information Theory in the Benelux was organized by:
Prof. B. Macq and J.-J. Quisquater
from the Université catholique de Louvain, Department of Electrical Engineering,
on behalf of the Werkgemeenschap voor Informatie- en Communicatietheorie and
the IEEE Benelux Chapter on Information Theory
Financial support has been received from FNRS, Belgium
ClP-gegevens Koninlijke Bibliotheek, Den Haag (NL)
Proceedings
Proceedings of the 23rd Symposium on Information Theory in the Benelux, En-
schede: Werkgemeenschap Informatie- en Communicatietheorie
Proceedings, May 29-31, 2002,
Louvain-Ia-Neuve, Belgium, by B. Macq and J.-J. Quisquater.
Met lit. opg.
ISBN: ISBN 90-71048-16-0
SISO
Trefw.: Information Theory
IV
Preface
Since 1980 an Annual Symposium on Information Theory in the Benelux has been
held. We are happy to provide this meeting in Louvain-Ia-Neuve to this important
community in Information Theory.
These proceedings contain the papers submitted to and presented at this sym-
posium. The full text of an invited talk (P. Delsarte) and the abstracts of for other
invited talks are provided at the end of the proceedings. Thanks to each contributor.
We would like to express our sincere thanks to Mrs. Sylvie Baudine and Patricia
Focant for her skilful assistance.
BenoÎt Macq and Jean-Jacques Quisquater,
Louvain-Ia-Neuve, May 2002
v
CONTENTS
Session: Web
Multipath Diffuse Routing over Heterogeneous Mesh Networks of Web
Devices and Sensors . . . . . . . . . . . . . . . • • . . . . . • . . . . . . . . .. 1-8
Gaetano Vitale, M.L.A. Stassen, S.B. Colak, V. Pronk
Web-enabled Multimedia Categorization. • • • • • • • • • • • • • • • • • •• 9-16
Alfons Salden, Frank Aldersboff, Sorin Iacob, Raymond Otte
Session: Information Theory
Entropy-Constrained Index Assignments for Multiple Description , • •• 17-24
Jean Cardinal
Two Aspects of Coding for Informed Decoders 25-28
Ludo Tolbuizen, Andries Hekstra, Ning Cai, Stan Baggen
Faster Universal Modeling for Two Source Classes • • • • • • • • • • • •• 29-36
Ali Nowbakbt, Frans Willems
Epsilon-entropy of a Special Class of Ellipsoids in a Hamming Space.. 37-44
Viacbeslav Prelov, Edward van der Meulen
Session: Cryptography, Steganography and
Watermarking I
Codes for Writing on Dirty Paper • • • • • • • • • • • • • • • • • • • • • •• 45-52
Dirk van den Borne, Ton Kalker, Frans Willems
A New Group Identification Scheme. • • • • • • • • • • • • • • • • • • • •• 53-60
Abdelaziz Gaddacb
"Almost Montgomery" Base Multiplier in GF(2n) 61-68
Lejla Batina, Cees Jansen, Geeke Muurling, Sbeng-bo Xu
A Fast Multiplier for Characteristic-2 Finite Fields. • • • • • • • • • • •• 69-74
M.J. Potgieter, B.J. van Dyk, Tjalling Tjalkens
vü
Session: Coding Theory and Applications
ML-Performance of Low-Density Parity Check Codes. • • • • • • • • •• 75-77
Heidi Steendam, Marc Moenec1aey
Performance Analysis of Limited-Trial Chase Decoders • • • • • • • • •• 79-86
Fred Kossen, Jos Weber
Symmetric Codes over Rings • • • • • • • • • • • • • • • • • • • • • • • • •• 87-95
Fxit» VUIl Heeseler, Andrê Barbé
Sum Capacity of the OCDMA jOCDMA Signature Sequence Set with Unequal
Power Constraints • • • • • . • • • • . • • • • . • • • • • • • . • . • • • • •• 97-105
Frederik Vanbaverbeke, Marc Moeneclaey
Error Control Coding for Wireless Personal Area Networks. • • • •• 107-114
Claude Desset
Session: Compression, JPEG and MPEG
Frame Reordered Multi-temporal Motion Estimation for Scalable
MPEG ...........••......•.•............... Cl 115-121
Stepban Mietens, Peter de Witb, Cbristian Hentscbel
Improvements of the Context Tree Maximizing (CRM) Data Compression
Algorithm • • • • • • • • • • • • . • • • . . • • • • • • . • • • • . • • • • •• 123-130
A nririe« Hekstra
Rate-Distortion Optimal Adaptive Quantization and Coefficient Thresholding
for MPEG Coding. • • • • • • • • • • • • • • • • • • • • • • • • • • • • •• 131-138
Dirk Farin, Micbael Käsemann, Peter de Witb, Wolfgang Effelsberg
Flexible Access to JPEG2000 Codestreams • • • • • • • • • • • • • • •• 139-146
Marcela Iregui, Jérome Meessen, Philippe Cbevalier, Benoît Macq
Vlll
Session: Signal Processing
Fast Affine Projection Algorithm using the Successive Over-Relaxation
Method. . . . . . . . . . . . . . • . . . . . . . . . . . . . . . . . • . . . .. 147-154
Felix Albu, Antbony Fagan
Jacobi Algorithm for Joint Block Diagonalization in Blind
Identification . . . . . • . . . . . . . . . . . • . . . . . . . . . . . . . . .. 155-162
Lieven De Latbauwer, C. Févotte, Bart De Moor, Joos Vandewalle
On two new Classes of Alternatives to Canonical Correlation Analysis 163-170
Tijl De Bie, Bart De Moor
Session: Cryptography, Steganography and
Watermarking 11
Agaddis: Authentication and Geometrical Attacks Detection for Digital Image
Signature. . • . . . . . . . . . • . . . • . . . . . . . . . . . . . . . . • . .. 171-178
Frédéric Lefebvre, Benoît Macq, Jeeu-Didier Legat
Information Theory and Anonymity • • • • • • • • • • • • • • • • • • •• 179-186
Diaz Claudia, Joris Claessens, Stefaan Seys, Bart Preneel
Square Attacks on Reduced-Round PES and IDEA Block Ciphers v , 187-195
Jorge Nakabara, Pa ulo Berreto, Bart Preneel, Joos Vandewalle, Hae Kim
Applying General Access Structure for Proactive Secret Sharing
Schemes • • • . . . • . • . • • . • • • • . • • • • • • • • • • • . . • • • • •• 197-206
Ventzislav Nikov, Svetla Nikova, Bart Preneel, Joos Vandewalle
Session: A Taste of Information Theory and Posters
Automatic Human Face Detection for Home Surveillance Application 207-214
Fei Zuo, Peter de Witb
Multi-party Server-aided Key Distribution Protocols Based on Symmetric
Techniques. • . • . . • . . . . . . . . . . . . . . . . . . . . . . . . . • . .. 215-223
Malek Bechlagbem
ix
Secret Exponent Information Leakage for Timing Analyses 225-232
Lejla Betinn, Gees Jansen
A Short Note on Irreducible Trinomials in Binary Fields. • • • • • •• 233-234
Mathieu Giet, Jean-Jacques Quisquater, Francesco Sice
An Algorithm for Joint Diagonalization by a Congruence
Transformation • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • •• 235-240
Lieven De Lathauwer, Bart De Moor, Joos Vandewalle
An Algebraic Algorithm for Blind Identification with more Inputs than
Outputs. . . . . . . . • . • . . . . . . . . . . . . . . • . . . • . . . . . .• 241-246
Lieven De Letbeuwer, Bart De Moor, Joos Vandewalle
Brokerage of Next Generation Mobile Services. • • • • • • • • • • • •• 247-254
Morteze Beigli, Ronaid van Eijk, Mans Saiden
Session: A Large Taste of Information Theory
From Speech to 3D Face Animation • • • • • • • • • • • • • • • • • • •• 255-260
Peter Vanroose, Gregor Kalberer, Pa trick Wambacq, Luc Van Goal
Rotationally Varian Complex Channels 261-268
Georg Tauboeck
BER Analysis of a DPSK Phase Diversity Receiver for Coherence
Multiplexing • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • •• 269-276
Arjan Meijerink, Geert Heideman, Wim van Etten
A New Blind Signal Processing Algorithm for Channel Equalization. 277-284
J. Levendovszky, Lorent Kovecs, Edward van der Meulen
Optimal Stochastic Timers for Feedback Mechanisrns in Mnlt.icast
Communications .••.•...... e • • • • • • • • • • • • • • • • • • • •• 285-292
J. Levendovszky, Tames David, Edward van der Meulen
x
Session: Codes and Cryptography
Efficient Algebraic Interleavers for Turbocodes • • • • • • • • • • • • •• 293-297
Philippe Piret, P. Le Bars, C. Le Dantec
On the Influence of the Filtering Function on the Performance of Fast Correlation
Attacks on Filter Generators • • • • • • • • • • • • • • • • • • • • • • • •• 299-306
Anne Canteaut, Eric Filiol
Upper Bounds on the Numbers of Resilient Functions and of Bent
Functions. . . . . . • . . . . . . . . . . . . . . . . . . . . . . • • . • . . .. 307-314
Claude Carlet, Andrew Klapper
Related-Key and Slide Attacks: Analysis, Connections, and
Improvements. . . . • . . . . . . . . . . . . . . . . • . . . . . • • . . . .. 315-325
Mathieu Ciet, Gilles Piret, Jean-Jacques Quisquater
Session: Invited Talks
The Hamming Space Viewed as an Association Scheme. • • • • • • •• 329-380
Philippe Delsarte
Recent Progress on Self-dual Codes and Orthogonal Arrays. • • • • • • •• 381
Neil Sloane
Information Hiding Games • • • • • • • • • • • • • • • . • • • • • • • • . • . •• 382
Pierre Moulin
List Decoding Algorithms: A Survey. • • • • • • • • • • • • • • • • • • • • •• 383
Madhu Sudan
Combinatorics, Quantum Computing and Cellular Phones. • • • • • • • •• 384
Robert Calderbank
xi
Author Index
Albu Felix 147 Levendovszky J. . 277, 285
Aldershoff Frank 9 Macq 13enoît 139, 171
13aggen Stan 25 Meessen Jérême 139
13argh Mortaza 247 Meijerink Arjan 269
13arreto Paulo 187 Mietens Stephan 115
13arbé André 87 Moeneclaey Marc 75, 97
13atina Lejla 61, 225 Moulin Pierre 382
13echlaghem Malek 215 Muurling Geeke 61
Cai Ning 25 Nakahara Jorge 187
Calderbank Robert 384 Nikov Ventzislav 197
Canteaut Arme 299 Nikova Svetla 197
Cardinal Jean 17 Nowbakht Ali 29
Carlet Claude 307 Otte Raymond 9
Chevalier Philippe 139 Piret Gilles 315
Ciet Mathieu 233, 315 Piret Philippe 293
Claessens Joris 179 Potgieter M.J. . 69
Colak S.B 1 Prelov Viacheslav 37
David Tamas 285 Preneel Bart 179, 187, 197
De 13ie Tijl 163 Pronk V 1
De Lathauwer Lieven . Quisquater Jean-Jacques 233, 315
.................... 155, 235, 241 Salden Alfons 9, 247
Delsarte Philippe 329 Seys Stefaan 179
De Moor Bart .155, 163, 235, 241 Sica Francesco 233
Desset Claude 107 Sloane Neil 381
de With Peter 115, 131, 207 Stassen M.L.A. . 1
Diaz Claudia 179 Steen dam Heidi 75
Effelsberg Wolfgang 131 Sudan Madhu 383
Fagan Anthony 147 Tauboeck Georg 261
Farin Dirk 131 Tjalkens Tjalling 69
Févotte C 155 Tolhuizen Ludo 25
Filiol Eric 306 van den Borne Dirk 45
Gaddach Abdelaziz 53 van der Meulen Edward .
Heideman Geert 269 ..................... 37, 277, 285
Hekstra Andries 25, 123 Vandewalle Joos .
Hentschel Christian 115 .......... 1.").'5,187,197,235,241
lacob Sorin 9 van Dyk B.J. . 69
Iregui Marcela 139 van Eijk Ronald 247
Jansen Cees 61, 225 van Etten Wim 269
Kalberer Gregor 255 Van GooI Luc 255
Kalker Ton 45 Vanhaverbeke Frederik 97
Käsemann Michael 131 Vanroose Peter 255
Kim Hae 187 Vitale Gaetano 1
Klapper Andrew 307 von Haeseler Fritz ,r
» " R7
Kosseu Fred 79 Wambacq Patriek 255
Kovacs Lorant 277 Weber Jos 79
Le 13ars P. . 293 Willems Frans 29, 45
Le Dantee C. . 293 Xu Sheng-bo 61
Lefebvrc Frédéric 171 Zuo Fei 207
Legat .Iean-Didier 171
Xli
Multipath Diffuse Routing over Heterogeneous
Mesh Networks of Web Devices and Sensors
G. Vitale1, M.L.A. Staasen", S.B.Colak1, and v. Pronk!
1 Philips Research Labs, 5656 AA Eindhoven, The Netherlands
vitaleg~natlab.re5earch.philips.com
2 Technical University of Eindhoven, 5600 MB Eindhoven, The Netherlands
Abstract. In this paper we present a new data flow algorithm based
on physical diffusion for dense device networks needed for future ubiq-
uitous communications. This diffuse data routing concept is based on
multi-path signal propagation aided with adaptive beam-forming meth-
ods. Adaptation for beam-forming at different network levels takes place
according to physical layer labels given to the devices. This multi-path
diffuse routing has thé potential to provide low power and resilient corn-
munications in dense networks of low cost devices in changing and noisy
environments. The main aspects of this diffuse routing concept are illus-
trated with simulations on a small scale example network.
1 Introduction
The PC era together with the Internet has ushered us into the information-
technology age. As this is going on, we are already getting prepared for a post-PC
era, enriched with numerous hand-held and intelligent web devices. This brings
up issues such as smart environments and proactive computing, utilizing these
web devices in a heterogeneous network setting. Such web devices would act
as sensors/actuators and could be embedded everywhere in our environment.
Communication between these web devices needs to be low power, low cost
and resilient to changing and noisy environments. To achieve this, it is highly
desirable to have a self-organized autonomous network with ad-hoc multi-hop
connections and with multi-path data flowsfor resilience.
An attractive possibility that can fulfill the requirements listed above can be
based on diffusion concepts we experience in our physical environments daily. Ini-
tial studies on such diffuse networking concepts have been published recently in
[1].In that work, one assumes that gradients are set between a source/sink node
pair in a sensor network. Then, a single best path between these nodes is chosen
using these gradients [2]. However, the resiliency of a single path is·poor and has
to be reinforced regularly by flooding techniques. Therefore, that method has
later been extended to include secondary back-up paths which can be activated
if the primary path fails [3]. However, this wastes energy due to computations
required for the complicated decisions in choosing paths. Furthermore, these
prior diffuse networking methods employ conventional medium access (MAC)
protocols which are also computation and energy intensive.
1
G. Vitale et al.
Our work in this report extends these prior diffuse networking studies de-
scribed above. This is achieved by incorporating multi-path data flows aided by
beam-forming concepts. The multi-path data flow incorporates redundancy and
therefore increases resilience. The beam-forming provides efficient utilization of
energy within the multi-path channel as has been shown by previous studies on
space-time coding for wireless communication with antenna arrays [4][5].In order
to increase the energy efficiencyfurther for low-power operation, we propose to
bound these multi-path channels within a diffusive data flow region determined
by the strength of the signals. These concepts are described below.
2 Diffuse Multi-Path Routing
In this section we describe our concepts on diffuse multi-path routing for a
heterogeneous network of web devices. Such a network is schematically shown
in fig. lA. The network sketch in this figure shows a heterogeneous set of de-
vices (black dots) and a variety of connections between them. These devices
can be simple sensors and actuators or web devices with any other function.
The network links between these devices are also heterogeneous and incorpo-
rate technologies such as RF wireless, infrared, fiber-optie, coax, twisted-pair.
We envisage that in the future we will have a vast number of these devices and
links in an intelligent officeor home environment. In order to realize such intel-
ligent environments we must make these devices and their communication links
cheap and energy efficient, perhaps even passive. These considerations on cost
and energy preclude direct connections from lP-based proxy servers to these vast
numbers of devices [6].
Due to the reasons listed in the previous paragraph, and also in line with the
reasoning described above, we propose to use diffusion concepts in transporting
data between source/sink device pairs. This is shown schematically in fig. IB
depicting a data flow through a multi-path channel between a source and a
sink device in a bounded region. As already mentioned above, this region is
determined adaptively according to the strength of the signals diffusing around
in the network. Using physical diffusion concepts, this region can, for example,
be defined by a pair of exponential functions, with each one ofthe form (e-Br Ir),
where r is the distance from a respective device and B is an empirical parameter
determined primarily by the distance-bandwidth product of the set of paths
connecting to that device. According to this definition, the multi-path channel
will be bounded as shown with the shaded region in the figure. All other devices,
in between the source/sink pair within the diffuse routing path, art as intelligent
transponders adapted to serve as data carriers as efficiently as possible. This
efficiency is achieved by employing beam-forming concepts.
As mentioned above, the nodes on the multi-path channel within the data
diffusion region help bound this region by beam-forming concepts [4]. In order
to achieve this, the internal structure of these nodes should be suitable to realize
a space-time filter configuration as indicated in fig. 2. In this figure, the signal is
obtained by proper summation of delayed and attenuated versions of the signal
2
Diffuse Routing over Heterogeneous Mesh Networks of Web Devices
B
Fig. I. A) The schematic appearance of a heterogeneous web-device network showing
a set of devices (black dots) and a variety of connections between them, incorporating
technologies such as RF wireless, infrared, fiber-optic, coax, and twisted-pair. B) The
expected appearance of the most efficient routes that define the diffuse routing paths
(shaded area) between two user devices. All other devices, in between them on the
diffuse routing paths, act as intelligent transponders adapted to serve as data carriers
as efficiently as possible
arriving at the antenna array. As mentioned above already, the efficiency of multi-
path channel utilization is expected to be high with proper space-time coding
and subsequent beam-forming using this filter structure. It is highly desirable for
the nodes to use only the physical properties of the incoming signals for beam-
forming in order to route these signals. In this way, the routing is done at the
physical layer rather than the network layer, like in the Internet Protocol (lP)
[6], which would require intensive computation, and therefore excessive energy.
3 Network architecture and operation
In previous section, the basic components for an effective operation of dense and
heterogeneous web device networks are discussed. This section defines a simple
network architecture to simulate and test these basic components; namely the
utilization of beam-forming and multi-path data flow concepts towards achieving
a diffuse routing algorithm. Such a simple network is shown in fig. 3. Although
this network is rather small, it illustrates the basic calculations needed for the
operation of diffuse routing. It should be emphasized here, however, that our
algorithms have not been extended yet for autonomous operation of a large
network. Such extensions require higher layer procedures and will be described
in a following publication.
The diffuse routing algorithm, studied in this report, performs multi-path
propagation, by propagating the signal in a number of directions. This is useful
in end-to-end transmission, because one path can be affected by noise more than
the others. In this way, the quality of the received signal can be improved without
increasing the transmission power.
3
G. Vitale et al.
"1 - [A]
Fig. 2. The space-time coding filter for a wireless antenna array set. This filter can be
used to separate signals of users, Ui, which propagate through a multi-path channel,
defined by [AJ. The antenna signals, x j, are processed by the filter, with tap separation
of T and coefficients Wji, to get the received signal, y. The same filter configuration
can also be used to beam-form towards a desired user
In the example network of fig. 3, the devices can be classified into three types:
simple terminal devices, nodes, and passive reflectors. The first classified as 'sim-
ple' because their only functions are the transmission of data in the direction of
one node and the reception of data from this node, without performing any op-
erations, such as signal separation or equalization. The nodes are more complex,
as they are able to do routing, by checking a 'label' attached to each incoming
message. In addition, the nodes regenerate the signals, in order to compensate for
the noise introduced by the channel. A substantial difference between the simple
devices and the nodes is that the nodes get trained by the simple terminal de-
vices and the other neighboring nodes, in order to separate the incoming signals.
This is done by using beacon signals to obtain estimations of the characteristics
of the channels. The passive reflectors simply reflect incoming signals, and the
direction of the reflection is determined by their position. Thpl>e reflectors are
not shown 10 the figure, but can be assumed present in some node-to-node or
terminal-to-node link, and included in the channel representation.
Here, a brief summary of the procedures needed for multi-path signal process-
ing will be given following ref. [4]. We assume that the data signals originating
from terminals (nodes) are given by u. After propagation through the multi-path
channel and processing by a node's space-time filter, the output signals are
y=WNêX- WNeA'rNu+n=u
where ATN is the channel matrix from a terminal to a node; x is the signal
1
at the antenna array; n represents the noise; WNe = AT is the equalization
matrix corresponding to the filter structure in fig. 2. Alternatively, if the signals
are originating from a node, where we have the choice for pre-equalization, then
the received signal at the destination is [5]
4
Diffuse Routing over Heterogeneous Mesh Networks of Web Devices
T
E
rE=lErGF~
TI
T4 A 0-- - ---os
L
s
1'7 1'8
Fig. 3. A simple Web Device topology to demonstrate the basics of diffuse routing
operation. The internal structure of the node is shown on the right
where WNp = A N~ is the pre-equalization matrix for the channel ANT, assuming
that the transmitter and receiver arrays have equal number of elements.
4 Network Simulations
The operation of the example network can be split in two parts: adaptation of
the neighbors, and data routing.
In the fust part, each terminal and each node send a particular sequence,
called beacon signal, to all the neighbors in order to train the receivers. Because
each node knows these beacon signals, they can estimate the channel impulse
response. They separate incoming signals by using an equalization matrix W as
discussed in the previous section. This filter is also used in the reverse sense as a
pre-equalization filter, in such a way that the network's physical properties take
care of the routing. Observe that this filter is present only in the nodes and not
in the terminal, because they receive the signal already 'equalized' by the node
sender. As there are many more terminal devices than nodes, it is convenient
to make them simpler, and consequently cheaper. Nodes use two equalization
matrices, in order to simplify upgrading of the network in the case of a new
terminal or a new node.
Let us now analyze all the steps in an end-to-end transmission in our simu-
lated example network.
Transnllssion and coding for sÏInulations: We assume that the data
to be sent are QAM symbols. In order to alleviate problems due to multi-path
channel, we use Orthogonal Frequency Division Multiplexing (OFDM) modula-
tion scheme [7]. With OFDM the matrix operations get much simpler. In fact,
with multi-tone modulation, such as OFDM, it is possible to eliminate the Inter
Symbol Interference (ISI) by using a cyclic prefix. Moreover, a large number of
frequencies is used in such a way that if some frequency is corrupted by noise, it
is possible that the remaining set of frequencies is sufficient for the data flow.For
that reason, each device has an OFDM transmitter, and also an OFDM receiver,
with exception of the passive reflectors. No channel coding technique is used.
5
G. Vitale et al.
OFDM frequencies (N)
N-M
'DATA' frequencies
Fig.4. OFDM frequencies subset showing frequency regions for data signals and user
labels
Propagation: The channel impulse responses are represented either by ran-
domly chosen tap values or by Rayleigh fading statistics to incorporate multi-
path effects. Furthermore, we also study the operation of our example network
with or without noise with Gaussian statistics.
Reception: The reception process discussed here involves only the node.
After the OFDM receiver, the signal is a linear combination of data from different
users. This signal passes through the pre-equalization filter to separate different
user data. The separated data are then processed further for QAM detection
with threshold device.
Routing: The diffuse routing algorithm is done at the physicallayer. In order
to do that, the incoming signal must have some particular property (label), in
such a way that the node can determine immediately the destination, without
decoding any field in data packets. As OFDM is used, we can use some of the
frequencies to represent the label of the signal. We use as many frequencies as
the number of the terminals in the example network. In this label the source
information is also present. To understand this better, if there are M terminals
and N frequencies, with N » M, we choose M frequencies, as shown in fig. 4.
In this way, when a node receives a signal, after separation and equalization,
it checks the information in the set of 'identification frequencies' and forwards
the signals in the right directions by using the node-side pre-equalization matrix.
Before sending the information to the terminal, the last node has to process
all the signals coming from the different directions, This processing compensates
fur the multi-path effects and also for error detection. After that, the last node
sends the data to the right terminal by using the terminal-side filter. To the
other terminals that are linked to this node, this signal will appear as noise.
The results of simulations are given in fig. 5, where we also incorporated channel
noise. Without channel noise, the received constellation is perfect, and to the
other terminal the 'noise' is represented by one point in the origin of the axes.
The effect of channel noise will be discussed in more detail below.
6
Diffuse Routing over Heterogeneous Mesh Networks of Web Devices
ReceiVed CAM Constellation, user 5 Received CAM Constellation. user 6
1.5
0.5
o
-0.5 -0.5
':~~. j -1
- -1.5'--_,,-------,0:-----,----.1
Fig. 5. QAM constellation at the receivers 5 and 6, corresponding to a SNR of 30 dB
and 128 frequencies, In this simulation a large number of OFDM symbols is sent from
user 3 to user 5. From these figures it is clearly seen that the intended receiver (user
5) gets proper constellation, while its neighbor (user 6) sees only noise
4.1 Noise in the channels
From fig. 5 it is clear that the constellation at the receivers is not well defined,
but there are 'clouds' of points around the QAM values. Depending on the
transmission power, these clouds can be big or small, with a consequently big or
small degradation of the signal, and a big or small error probability.
We define two types of the error probability:
- Loss Probability: this is the probability of loss of one OFDM symbol due to
label corruption. The node is not able to recover the destination, and then
the symbol is eliminated. This probability depends on M and N. As the
ratio M / N decreases, the Loss Probability decreases correspondingly.
- Symbol Error Rate: this probability regards the contents of the 'data fre-
quencies' N-M and is independent from those values. It depends on the
Signal to Noise Ratio (SNR).
In fig. 6 it can be seen that the probability of message loss is reduced using
a multi-path propagation. In our simulations weconsidered only two possible
paths from the first node to the last node, and we used 128 frequencies. The
totalloss probability is always smaller as compared to a single path propagation,
like path 1 or path 2, for any Signal to Noise Ratio value. With this technique
it is possible to reduce the transmission power, in order to obtain the same loss
probability of a single path propagation. It is also reasonable to imagine that
this loss probability can be reduced further using more than two paths.
5 Conclusions
New efficientdata communication methods are needed to realize the web devices
network infrastructure necessary for intelligent proactive environments of the fu-
ture. In this report we proposed and described such a data flowconcept based on
7
G. Vitale et al.
oMu~ipath Loss Probability at the last node. 128 subcarriers
~" ,~~,~ .. ·1
:iS v.
.8 1
ct°10- .. •
UI
.3
5 10 15 20 25 30 35
Signal to Noise Ratio (dB)
Fig. 6. Data Loss probability at the last node after a multi-path propagation. 128
frequencies are used and a randomly chosen tap channel is considered. The benefits of
multi-path propagation (total) is clear as compared to single path propagation. The
high loss values in this plot are due to our choice of very noisy links assumed in paths
multi-path diffuse routing algorithm aided with beam-forming. We have demon-
strated the operation of this algorithm with a simple example network topology.
The simulations with this example network show that the basic physical layer
ingredients of this algorithm, such as multi-path data flow, beam-forming and
physicallabel based routing, work successfully. We also discussed the effects of
noise in the operation of this data flow method. We now are working to develop
extensions to this diffuse algorithm at a higher networking level so that it can
be applied autonomously by a large number of web devices in a dense network.
References
1. D. Estrin, R. Govindan, J. Heidemann, and S. Kumar, "Next Century Challenges:
Scalable Coordination in Sensor Network" , p. 263, Mobicom 1999, Seattle.
2. C. Intanagonwiwat, R. Govindam, and D. Estrin, "Directed Diffusion: A Scalable
and Robust Communication Paradigm for Sensor Networks", pp. 56-57, Proc. of
Mobicom '00, Boston, Massachusetts, August 2000.
3. D. Ganesan, R. Govindan, S. Shenker, and D. Estrin, "Highly resilient, energy
efficient multipath routing in wireless sensor networks" , ACM Mobile Computing
and Communications Review, vol. 1, no. 2, October 2002.
4. A.J. Paulraj, C.B. Papadias, "Space-time processing for wireless communications",
IEEE Signal Proc. Mag., p. 49, November 1997.
5. H. Sampath, H. Bolcskei, and A.J. Paulray, "Pre-equalization for MIMO channels
with delay spread", p. 1175, IEEE VTC 2000
6. A.S. Tanenbaum, Computer Networks, 3rd edition, Prentice-Hall, 1996.
7. G.G. Rayleigh, J.M. Cioffi, "Spatie-temporal coding for wireless communications",
IEEE Trans. Comm., vol. 46, p. 357, 1998.
8
Web-enabled multimedia categorization
Alfons Salden, Frank Aldershoff, Sorin Iacob and Raymond Ot te
Telematica Instituut, Drienerlolaan 5, 7500 AN Enschede, The Netherlands
E-mails:{salden.aldershoff.s.iacob.otte}@telin.nl
Abstract. Most of the multimedia objects distributed over the World-
Wide Web are unstructured or poorly meta-indexed to be of any use in
retrieval tasks formulated by users in naturallanguage queries. In general
these dynamic multimedia objects are manually annotated in terms of
textual documents. The high costs involved in manually indexing multi-
media objects, which grow in volume and are becoming ever more diverse
in type, call for automatic sustainable categorization schemes accesible
on the Web. We propose a solution to this problem of web-enabled mul-
timedia categorization by combining the Acoi system [1] and advanced
multimedia systems [2-4]. We demonstrate the integrated system pays
off especially in semantic multimedia summarisation tasks.
1 Introduction
Categorization of dynamic multimedia objects is one of the hardest problems
in hypermedia engineering, because it concerns an integral semantic representa-
tion, analysis, processing and understanding of various physical fields underlying
those objects. Dynamic multimedia objects are becoming in addition ever more
large in volume, type, and complexity. Since they are stored, distributed and
active on the Web, they ask for a web-enabled system allowing for indexing,
querying, retrieving, regenerating, summarising, fusing and associating dynamic
multimedia objects. Therefore, we address in this paper the question how -to
categorize dynamic multimedia objects on the Web.
The Acoi system [1] provides a nice way to model, manage, query and retrieve
multimedia objects on the Web through meta-indices stored in databases. Un-
fortunately, the feature detectors and grammars used in this system do not solve
a generic multimedia categorization problem. The feature detectors and gram-
mars are rather restricted to manually annotated and still very coarse multimedia
meta-indices. Combining, however, the Acoi system with advanced multimedia
systems [2] can automate and make explicit the feature detectors and grammars.
Feature detectors and grammars are in the Acoi system context free implying
that they are still not precisely defined. The advanced multimedia systems on
the contrary are context dependent and do set those detectors and grammars.
They invariantly and robustly categorize multimedia objects irrespective a so-
called gauge group possibly covering degradations of the objects due to noise
or morphological transformations. Instead of being based on heuristics, as in
9
content-based multimedia systems, like Virage [5], advanced multimedia sys-
tems are based on a generic physical, mathematical and logical framework. The
physical framework is related to potentials and strengths of the physical fields.
The mathematical framework is consequently related to connections and curva-
tures of the mulimedia objects correpsonding to those physical fields. Finally,
the logical framework that relies on computer algebra systems, like Mathemat-
ica together with Jlink and webMathematica [6], stipulates the (fuzzy) logical
semantic web services needed to categorize multimedia objects.
Our paper is organised as follows. In section 2 we show that the Acoi sys-
tem provides the bare database management services needed in web-enabled
multimedia categorization. In section 3 we present the mathematical, physical
and logical framework underlying advanced multimedia systems. In section 4 we
elaborate on the web-enabled multimedia system integrating both systems.
2 The Acoi system
The Acoi system [1] is based on a formal and grammatical framework for mul-
timedia indexing schemata. The grammars describe the relationships between
meta-data and detectors in terms of grammar rules. They are context-free gram-
mars extended by feature detectors that can be executed on a multimedia object.
This means that a feature grammar represents an indexing schema and that it
can consequently be used to find indices, as well as the original multimedia
objects. In the Acoi system a feature grammar and the feature detectors are
combined in a Feature Detector Engine, FDE (a parser). The FDE stores the
meta-data, produced by the feature detectors, in a parse tree that in turn is put
in a meta-index. In case of changes in the original multimedia or the feature
detectors the Feature Detector Scheduler, FDS, uses knowledge of dependencies
between feature detectors to update the meta-index. Finally, the met a-index
database can be searched by means of the Feature Query Engine, FQE. Because
the Acoi system does not specify the needed context for feature grammars and
detectors, another framework is required that can derive the necessary multime-
dia semantics. Such a framework should provide hooks and contexts for logically,
mathematically and physically sensible actions by the FDE, FDS and FQE with.
respect to multimedia objects.
3 Advanced multimedia systems
Advanced multimedia systems, as proposed by Salden, Aldershoff and Iacob [2-
4], overcome the problems of generic multimedia representation, analysis, pro-
cessing and understanding. Instead of giving a full theoretical account of their
solutions to these problems in the sequel we illustrate the main underlying con-
cepts of our logical, mathematical and physical framework.
10
3.1 Mulüirnedia reprcnontat ion
The representation of multimedia objects depends on the chosen (en)decoding
schemata applied to the corresponding physical fields underlying e.g. audio, video
and text. In this context it is important to know which abstraction schemata are
used to resolve the physical fields, i.e. which (en)decoding schemata do exist to
represent physical fields at a particular resolution. Furthermore, it is essential
to know whether and how those representations change whenever other physi-
cal fields are also taken into account. What will be the (en)decoding schemata
if e.g. audio, video and text are coupled? Last but not least, what will be
the (en)decoding schemata whenever the physical fields are subjected to gauge
groups or even severe morphological transformations? Those gauge groups may
coincide with deformational fields, whereas the morphological transformations
may cover cutting, pasting, insertion and deletion of multimedia objects. If the
gauge group is known, then a gauge invariant multimedia representation can be
mathematically derived. However, such passive transformations are not common
for multimedia objects that are subjected to small and even large scale per-
turbations. Active transformations such as morphological transformations may
have far reaching implications on a semantic as well as contextuallevel, but may
be undone by means of similarity operations inducing inference mechanisms on
the multimedia objects. Thus our multimedia categorization problem involves
besides the problem of invariance under gauge groups also the problem of ro-
bustness under similarity operations.
3.2 Mult.irnedia analysis
The next phase in a multimedia categorization schema is multimedia analysis.
This analysis boils down to identifying schemata that yield equivalences of the
multimedia objects invariant under a gauge group (see also section 3.1). Among
such concise sets of equivalences of multimedia objects are geometric, topological
and functional invariants that are either of a local, global or joint character. Fur-
thermore, those equivalences may be differential and integral features, or even
inductive and deductive inference structures on top of multimedia objects. The
natural statistics of those inference structures subsequently underly the syntax,
semantics and contexts residing in the multimedia objects. However, the capabil-
ity of detecting perceptually salient multimediastructures using only (semi- )local
information is limited. If the multimedia object is subjected to a well-defined
gauge group we call derive theoretically the multimedia content. However, if
the multimedia objects are possibly degraded by noise or even larger scale mor-
phological deformations, then the effectiveness of such (semi- )local mulimedia
analysis schemata breaks down.
3.3 MultilDedia processing
In order to ensure robustness and discriminative power of multimedia representa-
tion and analysis schemata some form of multimedia relaxation process becomes
11
indispensable. Changing multimedia conditions the observed multimedia phys-
ical fields will be subjected to modern geometric, topological and dynamical
perturbations consisting of non-integrable and integrable deformations of the
physical fields. These multimedia deformations and morphological transforma-
tions lead to a change of the equivalences derived by means of multimedia repre-
sentation and analysis schemata. Therewith our" golden rules" used to categorize
multimedia are under attack. We would like to forget about gory jminor details
and even about large scale background fields that obstruct our comprehension
of the perceptually meaningful semantics and contexts of multimedia objects on
the basis of those golden rules. Lyapunov stability under noise and structural
stability under severe morphological transformations can be guaranteed by mul-
timedia processing that is consistent with the underlying salient physical field
dynamics. Note that, the latter salient field dynamics may comprise fields that
are related to user behaviour and other dynamic network topology aspects.
3.4 Multimediaunderstanding
Multimedia understanding in categorization schemata assumes knowledge of the
multimedia consistent similarity operators and related recursion operators used
in multimedia processing schemata and consequently in multimedia representa-
tion and analysis. Both these types of operators generate hierarchical nestings of
gauge invariant and robust equivalences that might themselves be perceptually
cousistently grouped multimedia objects. These self-similar dynamic multimedia
objects come about by segmentations and arrangements of dynamic scale-spaces
of equivalences of the primal multimedia objects. Next an ensemble of induc-
tive (multimedia statistics driven) or deductive (multimedia concepts driven)
inference structures can be derived on top of those equivalences through combi-
natorics and enumeration. Finally, these (fuzzy) inference structures give rise to
multiple dynamic multimedia object interpretations. The output of these infer-
ence structures in terms of gauge invariant and robust multimedia meta-indices,
including issues like spatio-temporal and dynamic inclusion and ordering rela-
tions for the self-similar multimedia objects, can then also be used to come up
with multiple summarisation, synthesis and association schemata.
As in section 4 we address the problem of web-enabled multiple summari-
sations of multimedia presentations based on different query criteria we briefly
dive into a-symmetric clustering of self-similar multimedia objects as proposed
by Iacob [4]. A dynamic multimedia object summary in this clustering paradigm
comes about by a recursive grouping and possibly hierarchical reordering of per-
ceptually self-similar and predominant multimedia objects. Now we may base
our similarity measure on histograms of gauge invariant and robust multimedia
meta-indices. The hierarchical grouping of the most representative and predom-
inant key multimedia objects using a-symmetric similarity subsequently comes
about after the construction of a directed weighted graph. This graph consists of
a set of vertices that is in a one-one relation with the original set of multimedia
objects and a set of edges. Each edge is then also weighted by a similarity mea-
sure for a key-object relative to another. An optimal collection of two-level trees
12
is obtained from the directed weighted graph of self-similar multimedia objects
by searching for the minimal number of two-level trees with a maximal number
of edges having the highest weights.
4 Web-enabled integrated system
We present a system that incorporates the advanced multimedia systems and
the Acoi system (see section 2 and 3). The architecture is very similar to that of
the Acoi system (see Fig. I). However, our architecture tailors to the advanced
multimedia systems. As depicted the Acoi system has three operational modes,
namely multimedia indexing, querying and retrieval. The indexing mode starts
after a multimedia object is added to the database. The retrieval phase starts
after the user has initiated the query mode on the system.
Fig. 1. Web-enabled integrated system: Multimedia content production and deploy-
ment system (left) comprising that of Acoi system and advanced multimedia systems
(right ).
When a new object is added to the database, this event is relayed to the FDS.
The currently operational indexing schema will be invoked and corresponding
feature detectors will be called. The FDS determines the indexing schema to start
the FDE. The outcome ofthe detectors may in turn influence (the choice of) the
ensuing indexing schema. In our system the feature grammars and detectors are
based on categorisation schemata of dynamic multimedia objects. One schema
result will be a parse tree containing the results of the feature detectors, with
the structure of the context dependent feature grammar. This parse tree can be
put in XML-format and can, through XSL(T)s, be translated to other formats
and even other categorization schemata. In the Acoi system the parse tree is
translated to database commands, that will insert the index. When a user wants
to retrieve information from the system, this query is relayed to the FQE. The
FQE selects the appropriate indexing schema that will be used for the retrieval.
This selection is based on many factors, such as query type, user preferences
and system parameters. With the correct indexing schema selected, the query
is relayed to the FDS. The FDS will retrieve all the necessary indices from
13
the multimedia DBMS, or will schedule detectors to generate new indices or to
update existing ones. Ultimately the requested object(s) can be retrieved based
on the selected indexing schema.
In Fig. 1 we show in addition the distributed system architecture for mul-
timedia content production and deployment as developed and operational at
the indicated Dutch institutes and companies. This system architecture lately
comprises that of the integrated system based on the Acoi system and that
of advanced multimedia components built by the Telematica Institute. There
are three actors present on the platform, namely users, content providers and
content producers. The FDS and FDE using advanced multimedia components,
as mentioned in section 3, are part of the distributed production street. Here
MPEG-4/7 are used to comply to industry standards. The FQE is part of the
distributed content production as well as deployment sites. The user may launch
indexing schemata, not yet available at the content production sites, in order
to update the meta-indices. After (re)structuring the multimedia DBMS the
novel met a-indices can be used to do retrieval on the basis of the query posed
by the user. In this system, an indexing schema is governed by one advanced
multimedia system; this system provides a specific feature grammar and related
detectors. However, within the current DBMS different indexing schemata, based
on various advanced multimedia systems, can coexist. Therewith, our multi-tier
architecture may enable multimedia web services that juxtapose very complex
feature grammars and detectors. One of the biggest problems in multimedia
information retrieval systems is the discrepancy between the features that are
automaticallyextracted and the features for which the user would like to search.
This is sometimes referred to as the semantic gap. For instance, a user does not
want to search for a sphere with black and white patches, but for a soccer ball.
There are two methods for designing indexing schemata, one starts with the
information needs of the user, the top down approach. The other one starts with
the features that can (easily) be extracted from the multimedia objects, the
bottom up approach. Most current systems take the latter approach, forcing the
user to accommodate to the system, instead of the other way round. The major
reason for this approach is that starting with a limited set of features makes j[,
possible to calculate indices off-line, before queries are formulated. On the other
hand, the set of possible information requests is unlimited, meaning that (some
part of) the. query matching has to be done on-line, at the time of the query
processmg.
In our architecture, a hybrid approach is taken. When an object is entered
into the database, it is indexed according to several indexing schemata. The
choice of schemata depends, among others, on the available feature rlf't.f'rt.ori,
a very }Jladical constraint, and on the type and contents of the newly entered
multimedia object. This is the bottom up approach. When a user submits an
information request to the FQE, the FQE matches this request with an indexing
schema. In this matching process, the FQE links t.he requested features with
the available features in the system. The FQE can use an ontology or other
context-dependent domain knowledge to provide a better matching. For a limited
14
domain, this extra knowledge can of course greatly increase the performance of
the system. According to the selected indexing schema the FDS will retrieve the
necessary precompiled indices from the database or create a new index on the
fly. This is the top down, user-centric, part.
For efficient, fast, retrieval it is of course essential that most ofthe required in-
dices have been calculated in advance, off-line. However, the only way to present
the user with the best matching search results, is to adapt the indexing schema
to the specific information request. The separation of features that are used
to search with and the features that are used to create indices is more than
just a method to provide a user-friendlier interface. It creates an abstraction
layer between the query interface and the indices of the database. This abstrac-
tion makes it possible to add new features or create completely new indexing
schemata without disrupting the retrieval interface. It also allows for several dif-
ferent databases, with different indexing schemata, to be queried through one
uniform interface. It also allows for the completely transparent refinement or
addition of new feature detectors; the only noticeable effect will be improved
retrieval results.
T...._a~
b_~ &_ ....a,.:.f:=-
~
.J
j---_ .. ._..
-:l
:.J __
_
............. ...._
e.-..
~-
.-._-- ":.-----.._.....
Ai:.- :~_,~ ._-_._-
! ~
. "
- "_
'/
.. a7
._ .. _._
,,
I
. ..
1l,1IM1Hl'
d.!. ·j"'I."'I".ijlll.
W~:llr~'N
Fig.2. Web-enabled summarisations of a multimedia presentation: a short slide sum-
mary (top; stressed user) versus a multimedia summary (bottom; relaxed user) .
As an illustration of such an improvement, we applied a web-enabled sum-
marisation schema to a multimedia presentation consisting of an audio-video to-
gether with recorded slide presentation (see Fig. 2). Using the query formulation
we derived by means of an advanced multimedia system two summarisations. In
the summaries key multimedia objects preserving predominant audio-video and
slide information are presented according to user availability. The multimedia
15
summary consists of key video frames, grey audio intervals and slides. Key slide
and audio transcription information steers the key video frame selection. We
used categorical statistical relevance weighting and reinforcement to select the
key multimedia objects. Such types of summaries are very useful in educational
settings [7,8].
5 Conclusion
We presented a web-enabled multimedia categorization system integrating both
the Acoi system and advanced multimedia systems. It enables a gauge consistent
and robust categorization of multimedia objects: sustainable retrieval, querying
and indexing schemata have become web-enabled. Ambient aware multimedia
web services taking into account e.g. network system characteristics and user
behavior are coming into sight. Such services may launch in the future user-
friendly query systems that start up related indexing and/or retrieval schemata.
References
1. M. Windhouwer, A. Schmidt and M. Kersten, "Acoi: A system for indexing mul-
timedia objects," In Proceedings of the first international workshop on informa-
tion inteqration and web-based applications and services, Yogyakarta, Indonesia,
November 1999.
2. A.H. Salden, "Multimedia system analysis and processing," In Proceedings of 2001
IEEE International Conference on Multimedia and Expo, ICME2001, August 22-
25, 2001, Waseda University, Tokyo, Japan.
3. F. AIdershoff and A. H. Salden, "Multiscale audio-video analysis and processing:
segmentations and arrangernents," In Proc. SPIE, Internet Multimedia Manage-
ment Systems 1I, Vol. 4519, pp. 20-31, 2001.
4. S. M. Iacob, R. L. Lagendijk, M. E. Iacob, "Video abstraction based on asymmetrie
similarity values," In Proceedings SPIE Multimedia Storage and Archiving Systems
IV, Vol. 3846, pp. 181-191, 1999.
5. A. Hamrapur, A. Gupta, B. Horowitz, C. F. Shu, C. Fuller, J. Bach, M. Gorkani and
R. Jain, "VIRAGE Video Engine," In SPIE Proceedings on Storage and Retrieval
for Image and Video Databases V, pp. 188-197, 1997.
6. Roman E. Maeder, The Mathematica Programmer 1I, Academic Press, 1996.
http://www.wolfram.com/
7. R. Brussee, A. Salden, H. van Vliet and P. Boekhoudt, "A web based architecture
for e-learning," In SSGRR 2001: International Conference on Advances in lnfras-
tructure for Electronse Business, Science, and Education on the Internet, L'Aquila,
Italy, 2001.
8. M. Grootveld and H. van Vlif>t (Edc.}, "Engiueeriug Edücatronal Content," Gi-
gaCE Deliverable 6.1, TI/RS/2001/071, Enschede, The Netherlands, 2001.
16
Entropy-Constrained Index Assignments for
Multiple Description Coding
Jean Cardinal
Université Libre de Bruxelles CP 212
B-1050 Brussels, Belgium
p: +32-2-650 56 08, f: +32-2-650 56 09
email: jcardin@ulb.ac.be
Abstract. Multiple description coding has revealed itself highly useful
for the transmission of digital signals over packet-switched networks or
diversity systems. The index assignment problem is central in the theory
and practice of multiple description quantizers. We propose a novellocal
optimization algorithm that produces index assignments for such quan-
tizers. It locally minimizes the distortion due to description losses with
constraints on the entropy of each description. We present experimental
comparisons with previously published index assignment algorithms in
both scalar and vector cases. Our method is shown to perform signifi-
cantly better.
1 Introduction
Multiple description coders are designed to send pairs of redundant descriptions
of a signalover two unreliable channels, so that the signal can be reproduced
with a good quality even if only one of the two descriptions is available to
the decoder. The multiple description coding paradigm was introduced in the
early eighties in the information theory community (see for instance Ozarow
[8] and El Gamal-Cover [5]). Recent applications of such coders include data
transmission over packet-switched networks or diversity systems. This paper
describes a new method for the design of multiple description codes based on
unconstrained vector quantizers. We assume the existence of a single-description
quantizer Ct mapping the input random variable X E IRk on the index of the
closest reproduetion vector in a codebook {Yi}f:,1 C IRk. We define a transcoding
step 8 in which the codevector index is translated into a pair of indices; or
descriptions. These two descriptions are subsequently encoded by two entropy
coders 1'1 and 1'2. Fig. 1 illustrates this process. The information rates at the
output of the entropy coders are called side rates.
One of the two descriptions can be lost during transmission. If the first (resp.
second) description is lost, a reproduetion vector .K2 (resp. .Kd is constructed
from the second (resp. first) description by a decoder (32 (resp. (32). (31 and (32
are called side decoders, and the distortions at the output of these decoders
are called side distortions. If both descriptions are received, the central decoder
(30 outputs a reconstruction vector .Ko based on both descriptions. The central
17
Fig. 1. Block diagram of the multiple description coding scheme
distortion Do = E [11 X - .Ko 112 Ik] is equal to the distortion of the quantizer
o. N is the total number of indices in the original quantizer. The injective
mapping 6 : {I, 2, ... , N} -+ {I, 2, ... , N}2 can be represented as an assignment
of the indices {I, 2, ... , N} to cells of a N x N matrix such that the value
of the element in position (r, c) is equal to i if and only if 6(i) = (r, c). We
wish to find such index assignments (IA) that locally minimize the average side
distortion under constraints on the side rates. This approach constrasts with the
previous entropy-constrained multiple description quantization schemes in which
the IA was considered fixed and the side rates depended on the boundaries of
the quantization cells [12].
We propose an IA design method based on a local search algorithm with a
large-scale neighborhood. This algorithm uses entropy constraints and allowsto
design multiple description coders with different side rates and side distortions
without modifying the central codebook. It is a combinatorial algorithm with
polynomial complexity in which no training set is needed.
2 Previous Work on Index Assignment
The first description of index assignments for multiple description scalar quantiz-
ers is found in the work of Vaishampayan [11].Two families of index assignment
matrices are described, in which the maximal distortion between two indices
sharing a description is minimized. The asymptotic soundness of this min-max
criterion is proved. In [10], an iterative algorithm similar to the generalized
Lloyd algorithm (GLA) is described and applied to the optimization of multi-
ple description vector quantizers. In [12], a similar technique is presented for
entropy-constrained multiple description scalar quantizers. In both cases, the
index assignment problem is not treated explicitly. Other contributions from
Vaishampayan, Sloane et al. [13][3] describe index assignment methods for lat-
tice vector quantizers. A recent work from Oggier and Servetto [7] describes a
semidefinite programming approach for codebook design with a fixed index as-
signment. Berger-Wolf [1] analyzes index assignment for scalar quantizers under
the min-max criterion. Optimal index assignments constructions are shown for
various cases. Among other things, the families of diagonal assignments from
Vaishampayan [11]are shown to be optimal. In these IA the indices are placed
along the t main diagonals, and the maximal index difference is equal to the
18
lower bound t(t - 1)/2. In [6], index assignments and codebooks for multiple
description quantizers are jointly optimized using deterministic annealing.
3 Definitions
Let R1(8) (resp. R2(c5» be the rate on channell (resp. 2), D1(8) (resp. D2(c5»
the distortion due to the loss of the second (resp. the first) description, R; the
set {j I 81 (j) =
i} of indices in row i and Ci the set {j I c52(j) =
i} of indices in
column i. We assume that the distortion is defined as the mean squared error
(MSE). We use two simplifying assumptions:
1. the index output by a is a uniform random variable,
2. the central decoder satisfies the centroid condition, i.e.,
/3o(i,j) = E[X I 8(a(X» = (i,j)]. (1)
These two conditions are satisfied by MSE-optlmalfixed-rate quantizers. IT as-
sumption 2 is verified, then the total side distortion is the sum of the central
distortion Do and the distortion due to the description loss Dj,j =
1,2. Hence
minimizing the total side distortion is equivalent to minimizing Dj, which can
be seen as a channel distortion as opposed to the source coder distortion". When
a side decoder, say /31, receives an index 8t{ i), it outputs the best estimation
of the initial codevector given the index. In the MSE sense, it amounts to com-
puting the centroid LJ"ER 61 (.)"Yj/IRódi)l· The distortions D1(c5) and D2(c5) are
therefore related to the variances of the sets of codeveetors having one common
description. Note that this estimation mechanism suppresses the need for side
codebooks as used in [12].
From the preceding discussion, the distortions are
where
var(S) = L 11 v. - I~I LYj 11 2
. (2)
iES JES
We also define the side rates R1(c5) and R2(c5) as follows:
1 N 1 - N
R1(8)= kNLIRdlOgIRil' R2(c5)= kNLICilloglCil"
• •
These values for the rates are equal to the side entropies if and only if assumption
1 is verified. Otherwise, the probabilities IRil/N should be replaced by LjER, Pj,
where Pj is the probability mass associated with index j in a.
1 In the literature, Dl and D2 are generally used to denote side distortions. Here it
denotes the difference between side and central distortions.
19
4 Achievable Rate Pairs
To know precisely which rate pairs are achievable under assumption 1, it is worth
asking which pairs of probability mass functions (pmf) are achievable on each
side. The pmfs are of the form Ud N}~l for side 1 and {gd N}~l for side 2,
where !i and gi are nonnegative integers such that Ei !i = Ei gi = N. We will
use the word partition to refer to this kind of vector and assume that they are
ordered, i.e., /I ~ 12 ~ ... ~ iN and gl ~ g2 ~ ... ~ gN· To know whether
a partition pair is achievable, we are only concerned with the existence of an
arrangement of N ones in a N x N matrix such that the number of ones in row
i is equal to ii and the number of ones in column i is equal to gi. A necessary
condition, under assumption 1, for the existence of such an arrangement is the
following:
H(f) + H(g) ~ 10gN, (3)
where H(f) = Ei(!i/N) 10g(N/!i) is the entropy of the partition i, and simi-
larly for g. It is clear that the total rate must be at least equal to the original
quantizer rate, otherwise it is not possible to recover the original index. This
condition is however not sufficient.
A necessary and sufficient condition was given by Ryser [9].It is shown that
the existence of an arrangement is equivalent to the existence of a flowof strength
N in a certain network with capacities defined by i and g. Given two partitions i
and g, we say that i majorizes 9 when /I + 12+···+ h ~gl +g2+·· +ss, TI1 :::;
j ::;N. We also define the conjugate r rei)
of a partition i by = I{j I ij ~ i}l·
We then have the following theorem.
Theorem 1 Let i and 9 be two partitions. There exists an arrangement oj N
ones in a N x N matrix yielding i and 9 as side distributions ii and only ii g*
majorizes i.
This theorem can be used to construct a simple algorithm for the enumeration
of all the achievable rate pairs given N: for each partition i, enumerate the
partitions g* majorizing i and output H(f), H(g**) = H(g). The last equality
holds by definition of the conjugate operator.
5 Local Optimization Algorithm
Index assignment design is NP-hard and we can use local search algorithm to
quickly find good solutions. We present such an algorithm that uses a Lagrangian
relaxation of the entropy constraints. The side entropies are changed by modi-
fying the Lagrangian multiplier values. The same principle is used in entropy-
constrained quantization [2][12],but in these cases the optimization is carried
out using a variant of the generalized Lloyd algorithm in the input space. Here
the optimization is combinatorial and does not require any training set.
Theorem 2 If an IA Ó minimizes the following quantity
20
where the ÀD1' ÀD2' ÀRt and ÀR2 are nonnegative Lagrangian multipliers, then
there exist three values D~, R~ and ~ such that Ó also minimizes DdÓ) under
the constraints D2(Ó) ~ D~, RI(Ó) ~ R~ and R2(Ó) ~~.
A general proof can be found in [4].
We minimize J locally using a search algorithm based on iterative permuta-
tion of indices in the IA matrix. This algorithm selects one row of the IA matrix,
and finds a permutation of the indices in this row that minimizes the objective
function (see Fig. 2). Without loss of generality, we assume that the fust row is
selected. The set of indices found in this row is Cl. In other words, we look for
an assignment of the side descriptions {Ó2(i)}iECt to indices i E Cl that mini-
mizes J. Our algorithm iteratively finds the best permutation of the indices in
each row and proceeds similarly for each column. This process is iterated until
convergence. Depending on the cost function, finding the best permutation may
be a NP-hard problem too. In our case, however, each term of the cost function
is a sum on the side indices, and the cost can be separated. Finding the best
assignment for onerow or one column is therefore a bipartite matching problem
that can be solved in polynomial time.
The bipartite matching problem is a classical one for which numerous efficient
algorithms exist. It is also straightforward to formulate the problem as a linear
program. Let eij be the cost of assigning the index previously found in the ith
row to the jth row and let Xij be an indicator variable such that Xij = 1 if
this index should actually be assigned to row j. The following linearJ>rogram
is a formulation ofthe bipartite matching problem: minimize L~l Lj=l CijXij,
subject to Lf=l Xij = 1, L~l Xij = 1, and Xij E [0,1]. It is well known from
combinatorial optimization theory that solutions of this type of problem are
integer, that is, Xij E {O, I}.
The cost of assigning the index in the ith row to the jth row can be written:
1 (')
Cij = ÀDl kN var Rij + ÀRt kN11'1Rij N
log IRij I' (5)
where Rij is the new set of indices found in the jth row. Assuming that we look
for a permutation of the indices in Cl, it can be written:
(6)
where ó-l(r,e) is either the singleton {l} such that Ó(l) = (r,e) or the empty
set. The computation of the new distortion cost var (Rij ) can be carried out in
constant time by saving the previous values var(Rj). Similarly, the rate costs can
be computed in constant time. In other words, the computation of all assignment
costs eij has complexity O(N2).
By iteratively solving the matching problem for each row and each column,
we obtain an efficient local search algorithm with an exponential neighborhood
size. This is an important feature of the algorithm, since the size of the neigh-
borhood in a local search procedure is generally strongly correlated with its
efficiency. Convergence is guaranteed because J is lower bounded and cannot
21
increase between two iterations. To keep the balance between the row and col-
umn optimization, i.e. to avoid privileging one side, we propose to alternately
optimize for one row, then for one column.
Fig. 2. Update of an IA using bipartite matching
6 Experiments
6.1 Scalar quantizers
0.7 0.8
fix8d-rate IA. k = 1 -~- fixed-rata IA. k = 1
s'i' 0.6
EC·IA. k= 1 ... ..
~ 0.6
0.7 EC-IA. k= 1
e.
+
0.5
D.•
e.
+ 0.5
0 0
e e D.•
0.3
~
~ 02
<;
i
<;
0.3
02
~ 0.1 :sJ'" 0.1
0
4 4.5 5 5.5 6 6.5 7 7.5 8 7.5
rate Rl + R2 rale Rl + R2
(a) iid Gaussian source (b) iid Laplacian source
Fig.3. Results for 4-bit scalar quantizers
We first provide experimental results for an optimal scalar (k = 1) 4-bit
quantizer for iid Gaussian sources with distortion Do ::: 0.0104 and balanced
descriptions. We compared the results of our optimization algorithm with those
obtained using optimal diagonal IA described in [11][1]with t = 1,2,3,4 diago-
nals. These IA are designed to minimize the maximal index spread for fixed-rate
descriptions. Our optimization procedure starts with a full-redundancy IA, i.e.
a diagonal IA with t = 1, and optimizes the IA for increasing values of the
Lagrangians .ÀR1 and .ÀR2. We fixed .ÀR1 = .ÀR2 and .ÀDl = .ÀD2 = 1. It is more
natural in our case to show the curves of the side distortion for each rate with a
22
tixed central distoi tion rather than th= traditional central/side distortion curve
for a fixed rate. These curves are given on Fig. 3(a).
We observe that our algorithm produces IA with better performance, of the
order of 0.85 dB at some points. This is partly due to the fact that we obtain
rates that are not achievable with the other IA due to the fixed-rate constraint.
The optimization times were very short, i.e. a few seconds, even though we did
not use an optimized matching algorithm.
We carried out a similar experiment with a scalar quantizer designed for a
Laplacian source, a common model for subband coefficients in wavelet image
coding. The central distortion is approximately Do ~ 0.0168. Results are shown
on Fig. 3(b). We observe a clearer improvement than in the Gaussian case; more
than 2dB in the region RI + R2 ~ 5.5 bps. This might indicate that the entropy
constraint works better when the distribution is highly peaked.
6.2 Vector quantizer
0.3 '---~-~-~-~-----'
1 1.2 1.4 1.6 1.8 2
rale Rl + R2
Fig. 4. Results for a 1 hps vector quantizer with k = 4 optimized for a correlated
Gaussian source
In the vector case, we tested our optimization algorithm on a k = 4-dimensional
codebaak optimized for a Gauss-Markov source with correlation coefficient0.9.
The rate of this quantizer a is 1 bps, and the central distortion is Do ~ 0.3916.
We design balanced descriptions only, i.e. with the same constraints on the La-
grangian values as in the scalar case. We compared the entropy-constrained
design with a similar fixed-rate algorithm in which the Lagrangian multipliers
for the rates are zero and the rate is defined by the size of the IA matrix. The
objective function in this algorithm is the surn of the side distortions only. We
used matrix sizes equal to 4,5,... ,10 and 16. The results are shown on Fig. 4.
In the vector case, the entropy-constrained algorithm clearly outperforms the
fixed-rate version by a significant margin, up to 1 dB in the low rate region. In
both cases the optimization was extremely fast.
23
7 Conclusion
We presented a novel local optimization algorithm for the design of multiple
description IA subject to constraints on the side entropies. It was shown to per-
form weil on Gaussian sources in both scalar and vector cases. It has several
advantages compared to previously published methods: it uses the MSE crite-
rion instead of the maximum spread, works for any dimension k, can be used to
design asymmetrie descriptions, and can also be used together with the gener-
alized Lloyd algorithm to produce better quantizers. Future work on this topic
should include results on m-description IA and the design of a fast incremental
algorithm computing all points on the rate-distortion curve.
References
1. T. Berger-Wolfand E. Reingold. Index assignment for multichannel communication
under failure. IEEE 1hms. Inform. Theory, 2002. to appear.
2. P. A. Chou, T. Lookabaugh, and R. M. Gray. Entropy-constrained vector quanti-
zation. IEEE TI-ans. Acoust., Speech, Signal Processing, 37(1):31, 1989.
3. S. N. Diggavi, N. J. A. Sloane, and V. A. Vaishampayan. Design of asymmetrie
multiple description lattice vector quantizers. In Proc. IEEE Data Compression
Conf., 2000.
4. H. Everett. Generalized lagrange multiplier method for solving problems of opti-
mum allocation of resources. Operations Research, 11:399--417, 1963.
5. A. A. El Gamal and T. M. Cover. Achievable rates for multiple descriptions. IEEE
Trans. Inform. Theory, 28(6):851-857, November 1982.
6. P. Koulgi, S. L. Regunathan, and K. Rose. Multiple description quantization by
deterministic annealing. In Proc. Int. Symposium on Information Theory, June
2000.
7. F. E. Oggier and S. D. Servetto. Semidefinite programs for the design of codes for
delay-constrained communication in networks. In Proc. IEEE Data Compression
Conf., 2001.
8. L. Ozarow. On a source coding problem with two channels and three receivers.
Bell Syst. Teeh. J., 59:1909-1921, December 1980.
9. H. J. Ryser. Combinatorial properties of matrices of zeros and ones. Canadian J.
Math., 9:371-377, 1957.
10. V. A. Vaishampayan. Vector quantizer design for diversity systems. In Proc. 25th
Annual Conference on Information Sciences and Systems, pages 564-569, John
Hopkins University, March 1991.
11. V. A. Vaishampayan. Design of multiple description scalar quantizers. IEEE TI-ans.
Inform. Theory, 39(3):821-834, May 1993.
12. V. A. Vaishampayan and J. Domaszewicz. Design of entropy-constrained multiple
description scalar quantizers. lEER Tmsi« Inform. Thcory, 40(1).245-250, January
lYY4.
13. V. A. Vaishampayan, N. J. A. Sloane, and S. D. Servetto. Multiple description
vector quantization with lattice codebooks: Design and analysis. IEEE Trans.
Inform. Theory, 47(5):1718-1734, 2001.
24
TWO ASPECTS OF CODING FOR INFORMED DECODERS
Ludo Tolhuizen, Andries Hekstra, Ning Cai and Stan Baggen
Philips Research laboratories
Prof. Holstlaan 4, 5656 AA Eindhoven, The Netherlands
ludo.tolhuizen,andries.hekstra,stan.baggen@philips.com
Department of Mathematics, University of Bielefeld
P.O. Box 100131, D-33501, Bielefeld, Germany
cai@mathematik.uni-bielefeld.de
INTRODUCTION
At last year's WIC symposium, we introduced coding for informed decoding
[1]. This refers to coding for an error-prone channel, where a side-channel possi-
bly informs the decoder about a part of the information that is encoded in the
transmitted code word. The encoder does not know about which part of the in-
formation, if any, the decoder will be informed. Several constructions were given
of codes for which the error-correcting power is enhanced if some information
symbols arè known to the decoder.
In the present paper, we discuss two further aspects in the application of
coding for informed decoders.
I ADDRESS LABELLING SUITABLE FOR INFORMED DECODING
Coding for informed decoders can be applied in address retrieval on optical
disc [2]. In this application, we are interested in the information that is stored in
the headers of the sectors in which the disc is (logically) partitioned. The decoder
knows, from the system specifications and the sector in which the read/write
head is intended to land, in which relatively small disc area the head will actually
land. The common part of the addresses of the sectors residing in this area can
Le used as known inforrnation in informed decoding. Clearly, we would prefer
this common part to be as large as possible. A poor choice would be to use as
address for sector s the binary representation of s. For example, the addresses of
the two consecutive sectors 127 and 128 would then be 01111111 and 10000000
and hence differ in all positions.
Motivated by this application, we will study the following problem: assuming
that each sector address is a q-ary vector of length n, can we find address labelings
25
such that the addresses of any b consecutive sectors agree in many positions? A
more formal problem description now follows.
We fix a positive integer n and a set Q of size q. An address list of length M
is a sequence a(O), a(l), ... , a(M - 1) of M distinct elements from Qn; of course,
we require that M ~ qn. If S c Qn, the common coordinates of S, denoted by
cc(S), is the set of positions in which the vectors of S agree, that is,
cc(S) = {i E {l, ... ,n} 13xEQV'.ES[Si =x]}.
For an address list A = a(O), a(l), ... , a(M -1) of length M and an integer b, we
denote by g(b, A) the minimum number of positions in which any b consecutive
vectors in A agree, that is
g(b,A)=min{lcc({a(i),a(i+1), ... ,a(i+b-1)})11 O~i~M-b}.
For each positive integer b ~ M, we define
g(b, M) = max{g(b, A) I A is an address list of length M}.
We are interested in finding g(b, M) and address lists that attain this maximum.
A Gray code is an address list in which any two consecutive addresses differ in
exactly one position. A Gray code is an obvious choice for an address list that is
used in conjunction with informed decoding, as then at least for small b we stand
a chance of having many common coordinates in any b consecutive addresses.
A well-known way to recursively construct q-ary Gray codes is by "reflection" as
described next.
~h= 0,1, ... , q - 1.
Let n 2: 1 and let Gn = g(O), g(l), ... , g(qn -1) be a Gray code of length s". The
Gray code gn+l is then defined as
Og(O),Og(l), ... ,Og(qn - 1), 19(qn - l),lg(qn - 2), ... ,lg(0),2g(0), ...
where xg(i) denotes the concatenation ofthe symbol x and the vector g(i).
The following theorem from [3] shows that q-ary reflected Gray codes are
perfectly suited to be applied in conjunction with informed decoding.
26
Theorem 1 For each M and each b, 2 :::;b :::;M, we have that
if M> ql(bl
(b M) = { n - l(b) - 1 , where l(b) = flogq(b - 1)1-
g , n - l(b) if M:::; ql(bl
The q-ary reflected Gray code attains this bound for all b simultaneously.
II JOINT DECODING
The headers of consecutive sectors of a disc often contain related information.
For instance, the date of recording and copyright information from two consecu-
tive sectors often are equal, while the difference of their addresses usually attains
its value from a small set of possibilities. As another example, in packet trans-
mission, the headers of consecutive packets often contain related information like
consecutive sequence numbers. Informed decoding offers a way to benefit from
the inherent correlation between consecutive headers as it allows retrieval of the
difference of two consecutive headers in a reliable way (assuming linear encod-
ing). Several such retrieved differences can then assist in retrieval in each of the
individual headers, as is explained in the following example.
Consider three codewords Cl, C2 and C3, corresponding to three consecutive
sectors, and suppose we read out r, = Ci+ei for 1:::;i :::;
3. Assume that by means
of informed decoding, we obtained the correct value of C2- Cl and C3- C2. Then
we also know C3-Cl, and we can compute r; = r2+(cI-C2) and r; = r3+(cI-C3).
Now note that rl = Cl +el and r~ = Cl +ei for i = 2 and i = 3. So after informed
decoding, we have three vectors that are corrupted versions of Cl, that can jointly
be decoded in order to retrieve Cl. This could be done by first obtaining the vector
z from these three vectors by majority voting (erasing the positions in which the
vectors attain 3 different values), followed by decoding z to the nearest word in
C. Note that we are in fact decoding a corrupted word from the product code
of C and the repetition code of length 3. Many error patterns of a weight that
exceeds half the minimum distance of this product code are decoded correctly.
REFERENCES
[1] M. van Dijk, S. Baggen and L. Tolhuizen, "Coding for informed decoders",
22nd Symp. on Information and Communication Theory in the Benelux,
Enschede, The Netherlands, May 15 & 16, 2001, pp. 123-128.
27
[2] M.W. Blum, L.M.G. Tolhuizen and C.P.M. Baggen, "Informed decoding in
an address format", Technical Digest Int. Symp. on Optical Memory, Taipei,
Taiwan, October 16-19 2001, pp. 276-277.
[3] N. Cai, L. Tolhuizen and H. Hollmann, "Common coordinates in consecutive
addresses" , preprint.
28
Faster U niversal Modeling for Two Source
Classes
AH Nowbakht* and Frans Willems
Eindhoven University of Technology, Eindhoven, The Netherlands
Abstract. The Universal Modeling algorithms proposed in [2] for two
general classes of finite-context sources are reviewed. The above meth-
ods were constructed by viewing a model structure as a partition of
the context space and realizing that a partition can be reached through
successive splits. Here we start by constructing recursive counting al-
gorithms to count all models belonging to the two classes and use the
algorithms to perform the Bayesian Mixture. The resulting methods lead
to computationally more efficient Universal Modeling algorithms.
1 Introduetion
We review the Universal Modeling algorithms proposed in [2] for two finite-
context source classes: Class-I and Class-H. These algorithms were developed in
the framework of a generalization of the Context-Tree Weighting (CTW) algo-
rithm [1] and perform a recursive weighting of all models. A close look into the
workings of the methods for Class-I and Class-Il reveals that some of the models
are being counted in repeatedly. This results in excessive storage and a higher
computational complexity than strictly needed. Using an approach based on
counting algorithms inside the original methods we can remove these repetitions
and therefore reduce the complexity without sacrificing the performance.
2 U niversal Source Coding Overview
The purpose of Source Coding is to represent sequences in the most compact
way. This representation is called a (source) code and each (binary) sequence
xi = XI,"" XT of length T is represented by a (binary) codeword c(xf) of
length L(x'[). According to the concept of entropy of Shannon the ideal code-
word length is related to the probability of the sequence P(x'[) by the following
expression Lid(xf) = -10g2 P(x'[) bits. The probability of a sequence depends
on the characteristics of the information source which generated it. In the Uni-
versal Source Coding setting the characteristics of the information source are
unknown and therefore the probability P(x'[) has to be estimated from the
sequence xi and any other available information.
* Supported by Technologiestichting STW under project EEL4643.
29
Finite-Context Sources These sources are characterized by the fact that
their current state (parameter) is determined by the current context information
through some function (3(.). For each sequence symbol Xt there is a context
symbol Ut available. Therefore we can express the instantaneous probability as
P(Xt = 1) = 1 - P(Xt = 0) = O{3(u,J for t = 1, ... ,T where Ut EU = {I, ... , U}
the context space and Ok E [0,1] is a parameter. The probability of the whole
. T
sequence would be P(X[ = xI') = TIt=l P(Xt = xd·
Structure and Parameters The Source Model consists of two parts, namely
the Model Structure (determined by the function (3(.» and the Source Parame-
e
ters specified by the Parameter Vector = {Ok, k = 1, ... , K} (K is the number
of parameters here). The Structure specifieswhich groups of contexts correspond
to the same state (parameter), these are called Context-Sets. The structure can
be seen as a partition of the context space into disjoint subsets. The parameters
define the probability distribution for every state. A Source Class is a collection
of structures that satisfy some restrictions on the allowed context-sets i.e. only
some groups of contexts can correspond to the same state.
Universal Model - Bayesian Mixture A Universal Model is a probability
distribution that fits any source model. A conceptually straightforward way to
construct such a universal model is to perform the Bayesian Mixture.
Pc(xf) = L PM(M)P(xf I M) (1)
MEM
In the above expression Pc(xI') is the universal probability assigned to string xi.
It is constructed by weighting (averaging) p(xi I M), the probabilities assigned
byeach structure M from source class M, with the a-priori probability of that
structure PM(M). p(xi I M) = TI~l Pe(Si), where Pe(S) is an estimate for
the probability of the subsequence corresponding to all symbols which where
generated with context U E S ç U. Here model M partitions U into K cells Si.
3 Universal Modeling for Class-I
Class-I is the most general source class one can think of since it makes no
restrictions whatsoever on the composition of the context-sets.
Context-Sets and Structures ITthe size of the context space is n there are
(;) possible context-sets of size s. Hence, in total there are L:;=l C) = 2n - 1
different subsets. The number of different model structures is the number of
distinct partitions of the context space into disjoint subsets. In general, N(n,p)
the number of partitions of a context space of cardinality n into p subsets can be
expressed as N(n,p) = M(~,p)p.
where M(n,p) defines the number of partitions
into p labeled subsets and is defined recursively M(n,p) = pn - Lf~; (~)M(n, i).
The total number of structures in Class-I is thus L:~=lN(n, i).
30
3.1 The Arhitrary Splitting Method
As should be obvious from the preceding section, it is infeasible to calculate
the Bayesian Mixture (1) by summing all models one by one. Therefore Willems
et al. proposed the Arbitrary Splitting (AS) method in [2]as an alternative. We
describe briefly the AS method. For each of the possible context-sets D a record
is hold which keeps two probabilities : the Estimated Probability Pe (D) and the
Weighted Probability PwCD).
Pe (V) is an estimate for the probability of the subsequence corresponding to
all symbols which where generated with context u E V.
The weighted probability Pw(V) is defined as the uniform weighting of the
estimated probability and the weighted probabilities of all substructures which
result by splitting V (into two subsets). The set fl(V) of all possible splits of
context-set V is defined in the followingmanner
The weighted probability is expressed as
P. (V) = Pe(V) + L(Sl,S2)ElI('D) Pw(Sr)Pw(S2)
(2)
w 21'DI-l
The Universal Model is defined as Pc(xf) = Pw(U) and includes all models in a
recursive way.
Computational Complexity For a certain subset V we need according to
expression (2) 21'DI-l - 1 additions and 21'D1-1 multiplications. Note that we are
just counting the operations needed to calculate Pw(V) when all involved terms
are already available. Summing up over all subsets will give the total complexity.
Remember that for a context space of cardinality n there are (;) subsets of size
s. The total number of additions is therefore
NAS(
add
) _
n - ~
~ (n)
s
(28-1
-
1) _ 3
-
n
- 2n+l
2
+1
8=1
and the total number of multiplications
NAS
mul
(
n
) = ~Z:: (n)s
28-1
n
= 3 2- 1
8=1
Model Multiplicity There are many ways to arrive at a partition by means
of successive splitting. Consider a model with p parameters i.e. a partition of
the context space into p cells. We can easily write down the followingrecursive
formula for f.L(P) the number of different ways we can arrive at this particular
model
for p even
31
Fig. I. All Context-Sets for Class-I with U = {a, b, c}. Splits are shown for new method
(only filled lines) and AS method (all lines).
JL(P) = t (~)
E..=!
JL(i)JL(P - i) for p odd
with JL(l) = 1.
Example 1. In figure 1 the JL(3) =
3 successions of splits leading to structure
SI = {a} ~ = {b} S3 = {cl can be appreciated.
3.2 El: A New Universal Modeling Method
From the preceding section it should be clear that for the AS method it
holds that the number of times a structure is included in the Universal Model
explodes with its number of parameters. This observation motivates the search
for methods which perform the Bayesian Mixture without repeating models in
the sum and hence saving arithmetic operations. We start by introducing an
algorithm to count all models in Class-I. Let a(n) he the number of models ill
Cläss-I for a context space of size n. Let us begin counting all models by selecting
an arbitrary context x E U, and consider all models where x forms a context-set
on his own. Since there are n -1 contexts left, there will be a( n -1) such models.
So far we have only considered the models with x forming a subset. Let us
now add all models where x is joined by one of the other n - 1 contexts, say y.
Now {x,y} form a context-set and there are thus n - 2 contexts left. Therefore
there are (n - 1) . a(n - 2) such models. By continuing in this way we can write
a recursive formula for a(n) namely
a(n) = L n ~ 1 a(n -1 - i)
n-l ( )
<=0
with a(O) = 1.
32
Obviously it must be true that a(n) = 2::;=1 N(n,p). The above algorithm
can be used to perform the Bayesian Mixture. First of all we define a set of splits
of a generic context-set D ç U. This set is formed by all splits used in the above
algorithm when applied on D. Consider an arbitrary element x E D. We define
(3)
fleD) contains all possible splits, the same as II(D), the difference is that here
we ask that the sets containing x are called SI or what is the same that all SI 's
must have a common element.
Note that fleD) includes the void split (D,0) which II(D) does not, and
therefore the number of splits is Ifl(D)1 = 21'DI-l.
The new method works in the following way. Again we have records holding
the estimated probability Pe(D) for all possible context-sets in Class-I. But now
instead of having a weighted probability attached to all (2n -1) context-sets we
only need it for the context-sets which will be further split (the 2n-1 - 1 sets
called S2 in (3)). Only for these context-sets we define PI(D) probabilities
P (D) = 2::(Sl,S2)E{.?('D) Pe(SdPI(S2)
I 21'DI-l
where PI (0) = 1. This reduces the storage need for keeping the weighted prob-
abilities to the half.
We define the Universal Model as Pc(xf) = PI(U) and now each model is
included only once in the sum since there is only one possibility to arrive at a
partition through successive splits.
Example 2. The new method results in removing the dashed splits in figure 1.
Computational Complexity For a certain subset D we need according to the
above expression 21'DI-l - 1 additions and 21'DI-l multiplications. Summing up
over all subsets for which a weighted probability is necessary will give the total
complexity. Note that for a context space of cardinality n there are only (n~l)
context-sets of size s which have a PI (.) attached. The total number of additions
is therefore
and the total number of multiplications
In summary, this new approach increases the speed with respect to the AS
method by a constant factor and reduces the storage need for keeping the
weighted probabilities to the half.
33
4 Universal Modeling for Class-II
Class-11is defined by first considering a lexicographical ordering on the con-
text space U. Since we have defined U == {I, ... , n} the lexicographical ordering
is the usual ordering of the natural numbers. The only allowed partitions of the
context space (because of the ordering it is now a line) are those which divide it
into intervals, each forming a context-set. We introduce the following notation
for specifying context-sets (i -+ j) == {u EU: i ::; u ::; j} where i,j E U and
j ? i.
Context-Sets and Structures Note that for a context space of size n there
are n(n2+l) possible context-sets and that there are different structures (;=:)
having p parameters. This means that in total there are L:;=1 (;=:) = 2n-1
possible structures in Class-H.
4.1 The Lexicographical Splitting Algorithm
Although Class-If is a small class compared to Class-I it still includes an
exponential number of structures making the brute-force approach to calculat-
ing the Bayesian Mixture infeasible. Therefore Willems et. al [2] proposed the
Lexicographical Splitting (LS) algorithm. We describe the LS method briefly.
For a context space of size n there is for each of the n(n2+l) possible context-
sets (i -+ j) a record which keeps two probabilities : the Estimated Probability
Pe{(i -+ j» and the Weighted Probability Pw((i -+ j». Pe((i -+ j)) is of course
the same as in the methods for Class-I. The weighted probability Pw{(i -+ j»
is also defined in the same manner but its mathematical expression has to be
adjusted to Class-H.
P. ((. -+ .» = Pe((i -+ j» + L:t~! Pw((i -+ k» . Pw((k + 1 -+ j» for j > i
w ~ J J. - ~·+1
(4)
ITj = i we define Pw((i -+ i» = Pe((i -+ i». The Universal Model is Pc(xf) =
Pw(U) = Pw((l -+ n».
Computational Complexity We look now at the complexity of computing the
weighted probability for a generic context-set of size d. Suppose that all weighted
and estimated probabilities involved have been updated already, in that case we
need d - 1 additions and d multiplications as can be seen from (4). Note that
for a context space of size n there are n - d + 1 context-sets of size d.
n
+ 1)
L (11
N!:.t~(n) ;;;;; = S + 1) . (s
1) _ (n - l)n(n
6
8=1
NLS ( ) _ ~
mul n - ~
(
n- s+
1)
. s _- n(n + l)(n
6
+ 2)
8=1
The complexity is thus 0(n3).
34
Fig.2. All Context-Sets for Class-II with U = {I, 2, 3}. Splits are shown for new
method (only IDled lines) and LS method (all lines).
Model Multiplicity This section is based on the observation that the LS
algorithm arrives at some models through different splits. More precisely suppose
a model having p parameters. The number of ways /L(P) we can arrive at a model
with p parameters is given by the Catalan Numbers
(2P - 2)
p-l
/LCp) = ~ J.L(i) . J.L(p - i) = ~
~ p p-I
.=1
with /LCI) = 1.
Example 3. In figure 2 the J.L(3) = 2 successions of splits leading to structure
SI = {I} ~ = {2} S3 = {3} can be appreciated.
4.2 E2: A New Universal Modeling Method for Class-H
As for Class-I we start by finding an counting algorithm for Class-H. Let
bCn) be the number of models in Class-If for a context space of size n. We can
write an expression for all structures in function of the size of their first interval.
ben) = L~~1 bCi) with bCO) = 1. Obviously bCn) = 2n-1.
Therefore we define instead of the weighted probabilities, Fast Weighting
probabilities PI(')' Note that now we do not need to store a PI in each of
the n(ntl) records corresponding to all context-sets (i ----j) for i = 1, ... , nand
j ~ i. To calculate PI((I ---- n)) we only need n Pi's, namely those corresponding
to context-sets (i ----n) for i = 1, ... ,no
'
P I CCz----n )) = L~-iPe((i ---- k))· PI«k + 1----n))
n-i +1
where PI«n+I ----n)) = 1 by convention. The Universal Model is simply defined
as Pc(x'[) = PI(I ---- n).
Example 4. The new method results in removing the dashed splits in figure 2.
35
Computational Complexity The only difference with respect to the analysis
for the LS method is that now for a context space of size n there is only one
context-set of size d which has a weighted probability attached.
N~~(n) = t
8=1
(s - 1) = en ~ l)n
nen + 1)
NE2 ( ) _ ~ _
mul n - ~s - 2
8=1
Which are of order O(n2).
In summary, this new method reduces the complexity from O(n3) to O(n2)
and the storage need for keeping the weighted probabilities from n(n2+1) to n.
5 Conclusions
We have introduced new methods to perform the Bayesian Mixture for Class-
I and Class-H. The difference to the earlier proposed methods of [2] can be best
appreciated in the Model Multiplicity. In our methods each model can be reached
through a unique succession of splits and therefore is included only once in the
Universal Model. As we have shown, in the earlier methods this was not the
case.
The new methods exhibit a lower computational complexity and storage need.
In the case of Class-I the reduction is by a constant factor. For Class-If we go
from O(n3) to O(n2) in complexity and from O(n2) to Oen) in the storage need
for the weighted probabilities. Here n represents the size of the context space.
6 Acknowledgment
The authors thank Henk van Tilborg and Stan Baggen for pointing them to
the Catalan numbers.
References
1. F.M.J. Willems,Y.M. Shtarkov and Tj.J. TjaIkens, "The Context-TreeWeighting
Method : Basic Properties," IEEE Trans. Inform. Theory, vol. 41, no. 3, pp.
653-664, 1995.
2. F.M.J. Willems,Y.M. Shtarkov and Tj.J. Tjalkens, "Context Weightingfor Gen-
eral Finite-Context Sources," IEEE TI-ans. Inform. Theory, vol. 42, no. 5, pp.
1514-1520, 1996.
36
EPSILON-ENTROPY OF A SPECIAL CLASS OF
ELLIPSOIDS IN A HAMMING SPACE *
Viacheslav V. Prelov! and Edward C. van der Meulen!
t Institute for Information Transmission Problems
of the Russian Academy of Sciences
19 Bol'shoi Karetnyi, 101447 Moscow, Russia.
prelov(hi tp. ru
t Department of Mathematica, Katholieke Universiteit Leuven
Celestijnenlaan 200B, 3001 Heverlee, Belgium.
edward.vandermeulen~wis.kuleuven.ac.be
Abstract - The asymptotic behavior of the e-entropu of ellipsoids in an n-
dimensional Hamming space whose coefficients take only two different values is in-
vestigated as n ~ 00. Explicit expressions for the main terms of the asymptotic
representation for the e-entropu of such ellipsoids are obtained under different rela-
tions between E and parameters defining these ellipsoids.
1 Introduction
The ellipsoid Ea(r) in the n-dimensional Hamming space {O, I ]" is defined as the set of binary
n
vectors x = (XI,···, Xn), Xi E {O, I}, of length n which satisfy the inequality L aixi :s: r,
i=l
i.e.,
(1.1)
where a = (al, ... , an), ai E [0,00), i = 1,···, n, and r are a given real-valued vector and a
positive real number, respectively.
Given a positive integer E, the s-entropy H, = Hó(Ea(r)) of the ellipsoid Ea(r) is defined
by the equality
(1.2)
where the minimum is taken over all subsets Mó of the Hamming space {O,I}" such that for
any xE Ea(r) there exists ayE Mó such that d(x,y) :s: E. Here, IMól is the number of
elements of the set Mó, d(x,y) is the Hamming distance between the vectors x and y, and
"This work was carried out with the partial support of the Russian Foundation for Basic Research under
Grant 00-01-00266, INTAS Project 00-738, and Project GOA/98/06 of Research Fund K.V.Leuven.
37
log'(-) denotes log2(') throughout the paper. Note that the z-entropy H,(Ea(r» can also be
defined as the logarithm of the minimum number of balls of radius e which cover the ellipsoid
Ea(r).
Given the ellipsoid Ea(r), define 1in as
(1.3)
where h(P) = -plogp - (1 - p)log(l - p), 0 ~ P ~ 1/2, is the entropy function of the
binary probability distribution {p, 1 - p}, and the maximum in (1.3) is taken over all vectors
n
P = (PI, ... ,Pn) such that 0 ~ Pb'" .v« ~ 1/2, and L aiPi ~ r. !t is easy to see that there
i=1
exists the unique vector p" = (Pi, ... ,p~) which maximizes the right-hand side of (1.3). The
vector p* has components
pi = (1 + 2 ÀCli) -1, i = 1, ... , n, (1.4)
where the parameter>. is defined as follows:
n
Lai > 2r (1.5)
i=I
and
n
.À = 0 if L ai ~ 2r. (1.6)
i=1
It is known [IJ that the entropy H = H(Ea(r» of the ellipsoid Ea(r) (i.e., the logarithm
of its cardinality) has the following asymptotic representation:
H(Ea(r» ~ log IEa(r)1 = 1in(l + 0(1», n -+ 00, (1.7)
if
1in
lim --=00. (1.8)
n-+oologn
For a given ellipsoid Ea(r) and an integer e define the quantity Kn{t:) by the equality
(1.9)
where the maximum is taken over all vectors p = (PI, ... ,Pn) such that
n
L aiPi ~ r, 0 ~ Pi <: 1/2, i = 1, ' .. , n, (1.10)
i=1
and the minimum is taken over all vectors E = (EI,.'" t:n) such that
7!
L e; ~ e, 0 ~ t:i ~ Pi, i = 1, ... , n. (1.11)
i=I
In [2J, it was proved that the s-entropy of the ellipsoid Ea (r) satisfies the following asymp-
totic inequalities:
Kn(t:)(l +0(1)) < H",(EA(r)) < Kn(E;) + O(Jnlogn), n -+ 00, (l.l2)
38
where the left-hand side inequality in (1.12) holds if condition (1.8) and
Kn(é) x Hn, n -+ 001 (1.13)
are satisfied. In particular, it follows from (1.12) that
He(Ea(r» = Kn(é)(1 + 0(1», n -+ 00, (1.14)
if condition (1.13) is fulfilled and ~ -+ 00 as n -+ 00.
nlogn
In general no explicit expression exists for Kn(é) and several questions concerning the
behavior of Kn(é) remain open. In [3], we have obtained an explicit expression for Kn(é) in
the case where the coefficients ai of the ellipsoid He(Ea(r» take only two possible values.
Moreover, for a certain subclass of such ellipsoids we improve inequalities (1.12) and the
asymptotic formula (1.14) for the s-entropy He(Ea(r».
Another problem connected with the quantity Kn(é) is the following. It is of interest to
find some conditions under which the vector p* = (Pi, ... ,p~) defined in (1.4) - (1.6) (which
optimizes the right-hand side of (1.3» is also optimal for Kn(£), i.e., under which it achieves
the maxmin in the right-hand side of (1.9). It seems that the following hypothesis is natural:
the vector p" is optimal for Kn(£) if lOin < min{pi, ... ,p~}. However, we show that, in
general, this hypothesis is not correct (see Remark 2 below). In the next section, the main
results of the paper are formulated. The proofs of these results can be found in [3].
2 Statement of the results
We will consider ellipsoids (1.1) whose coefficients ai, i = 1,···, n, take only two different
values. In this case we can assume, without loss of generality, that
a if i = 1,···, bnJ
{ 1 if (2.1)
£1;=
i = bnJ + 1,···,n,
where a > 1 is a real number and 0 < "( < 1. Below we will assume throughout that "(n
is an integer. This assumption does not influence our asymptotic results as n -+ 00. More
precisely, for given parameters a and "(, we define the ellipsoid Ea,"((p) as follows:
Ea,"((p) ~f {(Xl •... ,X n) I aXl + ... + aX"(n + X"(n+l + ... + Xn S pn} (2.2)
where p > 0 is a real number. In general, the parameters a.r», and p may depend on n. We
set
def
a=én I (2.3)
and assume throughout that
=r=r 1-"(
(2.4)
We will discuss this condition later. Here we remark only that the condition p < (1 - "()/2
n
implies that L ai = n"(a + (1 - "()n > 2pn, so that we are in case (1.5). We define the
i=l
parameters p* and q" by the equalities
p' = (1 + 2),a)-1
{ q* = (1 + 2),)-1, (2.5)
--~--------------------~
lThe relation b n means that there exist some constants
an X n, -t 00, Cl and C2 such that the inequalities
o < Cl $ :: $ C2 < 00 are valid for all sufficiently large n.
39
where>. is the unique solution of the equation
(2.6)
Set
A' = A'(a) ~ -yh(p*) + (1 - -y)h(q*) - h(a), (2.7)
G* = G*(a) ~ (1--y) [h (1 ~J C -h ~-y)]' (2.8)
and define the function g(p, a) by the equality
g(p,a) ~ (1- -y) [h el-_a~p) - h (~ ~;;)] (2.9)
where
pE [O,a) if a< P (2.10)
- 1 + -y(a - 1)
and
P - a ] if a> P . (2.11)
pE [0, -y(a _ 1) 1+-y(a-l)
Note that G* = g(O, a). Finally, let
G(a) ~ max g(p, a) if a < P (2.12)
PE[O,C1] - 1 + -y(a - 1)
and
D(a) ~ max g(p, a) if a> P . (2.13)
PE[O,(p-C1)/'r(a-l)] 1 + -y(a - 1)
For ellipsoids Ea,,,/(p) considered now, the general expression for the quantity Kn(é) can be
reduced to the form
where the maxmin in (2.14) is taken over all real numbers p, q, al, and a2 such that
OS; p S; q S; 1/2
artp + (1 - -y)q S; P
OS; al S; P (2.15)
{ OS; oz S; q
-yal + (1 - -y)a2 S; a.
Note also that for ellipsoids Ea ...,(P) the quantity 1-1.,., dofined in (1.3) fur elllpsoiös b'a(rJ,
ta.këS the form
1-ln = -ynh(p*) + (1 - -y)nh(q*) (2.16)
where p* and q* are defined in (2.5) and (2.6).
Theorem 1. Let a > 1, 0 < -y < 1, P > 0, and a > 0 be arbitrary constants satisfying
condition (2.4). Then for the E-entropy of the ellipsoid Ea,,,/(p) the following inequalities
hold:
(2.17)
and, therefore, in particular
(2.18)'
40
where Kn(é) defined in (2.14) can be represented in the form
nA·(a) if 0::; a::; a,
K ( )= nmax{A*(a),C(a)} if a < a ::;p., (2.19)
n e
{ ne(a) if p. < a ::;pl(l + -y(a - 1)),
nD(a) if p/(l + -y(a - 1») < a < P,
where a is a real number such that
(1 - -y)p. ::; a < p •. (2.20)
In the next theorem, we consider the case where the parameters P = Pn and a = an
depend on n in such a way that Pn ~ 0 and an ~ 0 as n ~ 00. In this case, the quantities
introduced earlier and, in particular, the parameters p. = p;', q = q;', and À· = À;', defined in
(2.5) and (2.6), also depend on n. For this case, we improve the asymptotic relations (1.12)
and (1.14). Furthermore, the consideration of that case allows us to show that the hypothesis
about the optimality of the vector (p., q.) for Kç,(s) for all a < p"; in general, is not true.
- def 1
Define Hê(Ea~(Pn))
"
= -Hê(Ea~(Pn)). n ti
Theorem 2. Let a > 1 and 0 < -y < 1 be some fixed constants, and P = Pn ~ 0 and
a = an ~ 0 as n ~ 00. Assume also that 0::; an < Pn for all sufficiently large n.
(1) If lim an
n .....oo p~
= u, where Jl. is an arbitrary constant such that 0 ::; Jl. < -ln( -y )' then,
1--y
as n ~ 00, we have
logn
_- = o(PnlogPn},
n (2.21)
a _ logn
Pn ~-;-'
where
(1 - -y)h (....!!!!:_)
1--y
, (2.22)
L(n)+ Jl.a al Pn (2.23)
1 (1- -y)aPn og 1- -y'
arid
(2.24)
where
(n) Pn ua a Pn p~ ( Jl. ) (2.25)
L3 = (1- -y)h(l_ -y) + (l_-y)aPnlog 1- -y + (1- -y)aln2 Jl.ln 1- -y - Jl.
and
(2.26)
(2) If lim an > -y an d·, In particu ;t li
. 1ar, IJ m -an = 00, t hen
p;'_
n-+ex> In (1 - -y) n .....oo p~
n~ 00, (2.27)
41
under the assumptum· (1
logn = 0 Pn log - - an log -
that _- 1) .
n pn an
From the reasoning used in the proof of this theorem, it is not difficult to derive the
following assertion on the quantity Kn(E:).
Corollary. Under the conditions of Theorem 2, for Kn(E:) defined by (2.14) tht; following
equality holds for all sufficiently large n:
(2.28)
Moreover, for any fixed 15, 0 < 15 < 1, there exists an integer no = no(t5) such that for all
n 2: no(t5) we have
an < 1 - 15
a~ -
(2.29)
an, >
- 1- 15 ,
an
where
a'n-
- (2.30)
Remark 1. Let us first discuss condition (2.4) used in Theorem 1. First of all, it is obvious
that Kn(E:) of expression (2.14) equals zero if 0' 2: 1/2. Therefore, it is natural to assume
that a < 1/2. Further, if P > (1 + ')'(a - 1))/2, then Kn(E:) = n(l - h(O')), which expression
corresponds to the s-entropy of the entire Hamming space {O.L]" (see, e.g., [4]). Indeed,
puttingp = q = 1/2 (which is possible since in our case a')'p+(l-')')q = (1 +')'(a-1))/2 < p),
we immediately obtain from (2.14) that Kn(E:) 2: n(l - h(a)). But, on the other hand, we
always have Kn(E:) S n(l- h(O')), and hence Kn(E:) = n(l- h(a)).
Therefore, it suffices to assume that p S (1 + ')'(a - 1))/2. But we have introduced the
stronger condition p < (1 - ')')/2 to simplify matters, and moreover, the latter condition is
automatically satisfied for the case when p ~ 0 and "( =constant. In addition, if p < (1-')')/2,
then the condition a < p is necessary and sufficient for the strict inequality Kn (E:) > O. Indeed,
it follows from (2.14) that Kn(E:) > 0 if and only if
max[')'p + (1 - "()q] > a,
p,q
where the maximum is taken over all pand q satisfying conditions (2.15). But it is clear that
this maximum is equal to p if p < (1 - ')')/2, and, therefore, Kn(E:) > 0 if and only if 0' < p.
Remark 2. In the proof of Theorem 1, it is shown that the quantity (j can be defined as
the maximum value of a that satisfies the inequality .
1-')'
a S ')'P + 1 + R(P) simultaneously for all pE [0, a], (2.31)
where
R(P)~ (l-')'-p+a')'p)a (2.32)
p - a"{p
It is not difficult to see (and this is shown in the proof of Theorem 1) that (j always exists
and satisfies (2.20). If a < p"; then, for 0' E [a,p'], we can only claim that Kn(E:) =
4~max{A'(a),C(0')} (cf. (2.19)). We conjecture that there exists a threshold parameter
a", a S a" sp' (and, moreover, in general a" < pO), which depends on the parameters a",
and p, such that
(j S a < a",
K ( ) = {nA"(a) if (2.33)
n e nC(a) if a" < a S pO.
In other words, if this conjecture is true, then the interval [0, a], for which the vector (P", q")
is optimal for Kn(t:), can be extended to the interval [O,a"). But, at the same time, the
vector (P", q") is not optimal on the whole interval [O,p"). It follows from the Corollary above
that this conjecture (in a little more precise form) is valid at least for the ease where P is
sufficiently small and n sufficiently large (see (2.29».
Remark 3. If a > p" we cannot in general point out explicit expressions for the quantities
C(a) and D(a) (see (2.19», and can only claim that both quantities are the maximum
of the function g(p, a) on the corresponding intervals. But it is not difficult to show that
C(a) > g(P*, a) and D(a) > g(P*, a), since one can verify that g~(P", a) < O. This means that
the vector (P*, q") never optimizes Kn(t:) if a > p". A similar assertion is valid for the ellipsoid
Ea(r), namely the vector (Pi,··· ,p~) is not optimal for Kn(t:) if a> min{pi, ... ,p~}.
Remark 4. Theorem 2 shows that, for the case where Pn and an tend to zero in such
a way that lim (an/P~)
n-+oo
= J-L, where 0 S J-L < ln('
1-,
)' the asymptotics of the quantity
HE(Ea,'1(Pn» co~n)
up to terms of order 0 (i.e., with an accuracy which we cannot improve
even for a sphere and a ball) doesn't depend on the value of an if Pn -t 0 sufficiently fast (in
such a way that p~ 10gPn = Co~n)).
0 The dependence ofthe asymptotics of HE(Ea,,,/(Pn»
on the value of an (i.e., on J-L) begins to appear at the moment when p~ goes to zero not faster
than logn. Moreover, if p~:::: logn, then we can obtain the asymptotics of HE(Ea~(Pn» up
n n "
lOgn) logn .
to terms of order 0 ( -;:;- (see (2.21)). If p~ tends to zero more slowly than -;:;- [i.e.,
~n -
-;:;- = o(p~», then the difference between the upper and lower bounds for HE(Ea,'1(Pn»
has order p~ (see (2.24) - (2.26».
If an goes to zero sufficiently slow (in such a way that lim (an/P~)
n-+oo
2: -1 ('
nl-,
»,
then the asymptotic representation (2.27) holds. In addition, one can obtain an asyrnptotic
expansion of C" (an) up to terms of order 0 co~n) in a form similar to (2.24) if we know
how fast Pn and an tend to zero.
References
[1] Pinsker, M.S., "Entropy of an ellipsoid in a Hamming space", Probl. Peredacbi Inf., 36,
No. 4, 47-52 (2000).
[2] Dumer, l.I., Pinsker, M.S., and Prelov, V.V., "s-entropy of an ellipsoid in a Hamming
space", Probl. Peredacbi Inf., 38, No. 1, 3-18 (2002).
[3] Prelov, V.V. and van der Meulen, E.C., "On the s-entropy of a certain class of ellipsoids
in a Hamming space", Probl. Petedeebi Inf., to appear (2002).
43
Codes for Writing on Dirty Paper
Dirk van den Borne", Ton Kalker+", and Frans Willems+ê
1 Eindhoven University of Technology, Eindhoven, The Netherlands
2 Philips Research Laboratories, Eindhoven, The Netherlands
Abstract. We have investigated coding methods that aim at achieving
the Costa capacity. First we have considered the uncoded case to deter-
mine what can be gained from coding. After that we have designed codes
with a trellis structure that are combined with a two-level quantizer at
the transmitter side. Simulations are carried out to determine the coding
gains of these methods. We have focussed on vector quantization instead
of on scalar quantization to achieve a good performance.
1 System description
w xI y[ ÛJ
encoder decoder
Fig. 1. Costa's Gaussian side-information model.
Costa [3] determined the capacity of the additive white Gaussian noise chan-
nel with side information at the transmitter (see figure 1). In this model the
channel input vector xI' = (Xl. X2, ... , XT) consisting of T real-valued com-
ponents is modified by two additive memoryless Gaussian noise sources. The
first noise source produces the vector sr = (SI, S2, ... , ST) with components
E N(O, Q). This noise vector is observed by the encoder before the transmission
process starts. It is what we call side information for the encoder. The encoder
produces the code vector xI' = e(w, sn. Here w E {I, 2,···, M} is the index
of the message that must be conveyed. All messages are equally probable, i.e.
Pr{W = w} = I/M for all w E {I, 2,··', M}. All code vectors xI' should satisfy
a power constraint, i.e. Lt=I,T x~ ::; TP, where P denotes the signal power.
The channel noise vector z'[ = (ZI, Z2,"', ZT) has components E N(O, N). The
channel output vector y'[ = (Yl, Y2, ... ,YT) = xI' + sr
+ z'[ is processed by the
decoder and leads to the message estimate ib = d(y[).
The system has two parameters that determine its performance. For given
transmitter power P and noise variances Q and N the rate
~ 1
R = T log2(M) (1)
45
should be as large as possible, while on the other hand the expected error-
probability
~
Pe = Pr{W =1= W}
- (2)
should be as small as possible. The largest rate that is achievablewith arbitrarily
small expected error-probability is called the capacity C. Costa showed that this
capacity is determined only by the transmitter power P and the variance N of
the channel noise, i.e, the noise that is unknown to the transmitter. It appearsê
that
C = ~ log2 (1 + ~) bits/transmission. (3)
Since the transmitter knows a part of the noise, this signaling method is called
"writing on dirty paper". Chen and Wornell [2] have been the fust to realize
that Costa's result applies to digital watermarking and information embedding.
In this paper we explore options for turn Costa's results into a practical water-
marking system.
2 Baseline system, uncoded transmission
t-Ll-l
!:i!2 ! 1 qoO 1 s-+
Fig. 2. Two uniform scalar quantizers.
Chen and Wornell [1]proposed a method that is based on quantization index
modulation (QIM). They use two uniform quantizers, a quantizer qo(-) and a
quantizer ql (. ). The distance between the reconstruction points for each of these
quantizers is Ll, their offset is Ll/2 (see figure 2). We can now transmit a uniform
binary digit b E {O,I} by applying either the O-quantizer or the l-quantizer to
the noise sample s. The input x is used to make x + s equal to qb(S). In other
words
x = qb(S) - s for b = 0, 1. (4)
For variance Q » Ll2 the power needed to modify S is the mean-square quan-
tization error, i.e.
P -1~/2 x2dm = Ll2. (5)
-~/2 12
The receiver observes the noisy version y = x + S + z = qb (s) + z of the quantized
s. It decides for iJ E {O,I} if y is closer to a reconstruction point Qf, ( s) for some
3 If the side-information is ignored the maximum rate is ~ log2(1 + P/(N + Q».
46
s than to any other reconstruction point Ql-b(S') for some s', If the magnitude
of the noise sample z is larger than iJ.j4 an error may occur. Therefore
P£ ~ 2Q (4~ ) = 2Q ( (g) , (6)
where Q(t) ~ Jt vk exp( -lP j2)d{3. Note that this uncoded method yields
OO
R = 1 bitjtransmission. (7)
If we are interested in achieving error probability P£ = 10-5 the argument of
the Q-function should be 4.417. Therefore a signal-to-noise ratio PjN = 26.02
is required if we apply the baseline scheme.
3 Gap to capacity
From the capacity expression (3) it can be concluded that a signal-to-noise ratio
(PjN)min = 22R - 1. (8)
suffices to obtain reliable communication. Therefore we define the gap to capacity
as
~ PjN PjN
(9)
9 = (PjN)min 22R -1·
This implies that the baseline system described in the previous section operates
at 9 = 26.02j3.0 = 9.38 dB from capacity. It is our objective to study techniques
and codes that close this gap.
4 Spreading techniques
In the previous section we have discussed a QIM-scheme that achieves rate R = 1
bitjtransmission. By spreading, which is similar to spread-transform dither mod-
ulation (see e.g. [1]), we can construct from such a scheme a scheme with rate
R' = Ijk that requires transmitter power P' = Pjk for k = 1,2,··· without
changing the (bit) error probability. To do so we consider a block of k transmis-
sions and define
_~ 1 ~ _~ 1 ~ _~ 1 ~
s = Vk Z:: Sk, X = Vk Z:: Xk, and z = Vk ~ Zk· (10)
k i=l.k k i=l.k k i=1.k
Now the transmitter chooses x such that
(11)
This requires transmitter power P' = iJ.2j(12k) = Pjk by assuming that Xi =
xjVk for i = 1, k. Note that the variance of the noise variable Z is equal to N.
The receiver makes the decision b based on y = x + S + z.
Note that the gap to capacity increases by spreading since Pjk is proportional
to Ijk while 22R/k - 1 is convex-U in Ijk. The gap approaches 26.02j ln(4) =
12.73 dB for k ........
00.
47
·e
e ·
"':'.~~~:"
10~21':-5
---_"7.1o:----7------7--~:-----:'::lO:-----!,5
Fig.3. Capacity in bits/transmission as a function of PIN in dB (horizontally). The
*-curve denotes the R' versus P' / N behavior for k = 1, 2, ... for the baseline system.
5 Compensation
Compensation was proposed by Chen and Wornell [2) to adapt QIM to Costa
coding. Here compensation is described differently in order to keep the error-
behavior of the system with and without compensation roughly the same.
Consider again the baseline system, with transmitter power P and channel
noise variance N as a reference. Assume that P / N > 1. An alternative system
is obtained by moving a noise sample s towards its reconstruction point %(s),
however not entirely. What we do is fix an 0 < a :::;1 and take
x + s = qb(S) + (1 - a)(s - %(s)). (12)
Then the now required transmitter power Pc is
(13)
Since the signal in y = x + s + ne is %(s), the variance of total noise in y is
Suppose that, in order to keep the performance of the alternative system identical
to that of the baseline system, we make the total noise variance? equal to N then
Ne = N - (1 - a)2 P. (15)
The effective signal-to-noise ratio of the alternative system is
a2p
Pc/Ne = N _ (1 _ a)2p' (16)
4 We assume here that the compensation term is statistically independent ofthe signal.
Observe however that the total noise is not Gaussian so it is not guaranteed that
the performance remains constant.
48
It can be shown that this signal-to-noise ratio is maximized by taking
P-N
a* = -p--, (17)
and moreover
PclNc = PIN - 1. (18)
It is important to note that
(19)
which is consistent with the observations of Costa [3].
If this compensation method is used for the baseline method and if we require
an error probability of 10-5 the signal-to-noise ratio is decreased from 26.02
downto 25.02 which results in a gain of 0.17 dB.
6 Coding methods
6.1 Background
Eggers [4] investigated coding techniques based on scalar quantizing. He needed,
for a R = 1/3 turbo-code, a signal-to-noise ratio of less than 1.5 dB for bit-error
rate 10-5. The minimal ratio is 22/3 -1 = -2.31 dB, hence his method is roughly
3.8 dB from capacity. It was pointed out by Erez et al. [5] that by using vector
instead of scalar quantization a gain of 1.53 dB could be achieved. A similar
gain was obtained by the shaping methods proposed by Forney [6]. We apply
Forney's techniques here to "collect" shaping gain. Instead of turbo-codes we
focus on trellis codes however. A similar approach was suggested recently in [7].
The codes that we study here are based on the well-known rate-1/2 convolu-
tional code with generator polynomials (x6 + x4 + x3 + X + 1, x6 + x5 + x4 + x3 + 1).
The number of states of this convolutional code is 64, its free (Hamming) distance
dH,free = 10. This code, in feed-forward mode, is combined with the two-level
quantizer that is described as part of the baseline system in section 2. First we
will investigate a method based on scalar quantization. After that we will mod-
ify the setup and show that applying vector quantization (slightly) outperforms
scalar quantization.
I
6.2 Coding with scalar quantization
In the scalar case the message stream enters the convolutional encoder, and
produces a code stream (see figure 4). For each binary message digit d two
binary code digits b' and b" are generated. With these two code digits the two-
level quantizer modifies the noise samples s' and s". We can use this method
without (a = 1) and with compensation. The receiver is equipped with a Viterbi
detector which is processing using the squared Euclidean distance metric.
It will be clear that the required transmitter power of this method is equal
to that of the baseline system, both in the uncompensated as as well as in the
49
d
CCE
Fig. 4. Encoder that performs for scalar quantization.
compensated case. What is different however is the distance between the signal
sequences xf
+ sf.
The squared Euclidean distance between two such signal
sequences is at least
(20)
This is an increase by a factor 10 over the baseline case, achieved at the cost a
smaller rate however. In figure 6 we see that we achieve a bit-error probability
of 10-5 at PIN ~ 7.0 dB in the uncompensated case and at PIN ~ 6.0 dB with
compensation. Since the (PIN)min = 0 dB for R = 1/2, the gap is 6.0 resp. 7.0
dB. Spreading the baseline system is roughly 11.14 dB from the Costa capacity
for R = 1/2, so we have gained 5.1 resp. 4.1 dB relative to spreading.
6.3 Coding with vector quantization
d-seq. d,m-seq.
~ Vi""bi
s-seq.
Fig. 5. Encoder for the vector-quantization case.
In the vector case not all the digits that enter the convolutional encoder are
message digits. Part of the digits (see figure 5), the m (match-) digits, are used to
obtain a signal sequence xf sf
+ close to the sequence sf
(the side information
sequence). In the figure, of every three digits that will enter the convolutional
encoder, the last digit is a match digit. A Viterbi algorithm chooses, given the
message (d-) digits, these match digits in such a way that the squared Euclidean
distance between the signal sequence and the side information sequence is mini-
mized. Since part of the convolutional code input digits are applied for matching,
we have to face a rate-loss. We considered a match digit for everyone, two, and
three message digits. The corresponding rates are R = 1/4,1/3, and 3/8. We
50
have determined the bit-error probability for these setups, both for the uncom-
pensated and compensated case (see the three rightmost plots in figure 6). It
can be seen from this figure that the signal-to-noise ratios that are needed to
achieve bit-error probability 10-5 are approximately 3.0 dB, 4.0 dB and 4.2 dB.
Fig.6. Bit-error probability as a function of PIN (horizontally) for a R = 1/2 scalar
code (left) and three vector codes (from left to right R = 1/4,1/3,3/8). For each point
106 message digits were processed.
All our simulations are carried out with a fixed .<:1. We consider a range of
values of the channel noise variance N. First, in the uncompensated case the
required transmitter power P is measured together with the bit-error rate. After
that, to apply compensation, we take a* = (P-N)IP, and Ne = N -(I-a*)2 P,
Then we measure Pc and the bit-error rate (which does not change very much).
6.4 Comparison
To compare the results of the scalar and vector case we consider the normalized
signal-to-noise ratio defined as
PIN
(P/N)norm = 22R -1· (21)
For the scalar R = 1/2 setup and the vector technique with R = 3/8 we have
plotted the bit-error rate in figure 7 as a function of the normalized signal-to-
noise ratio. It can be concluded from this figure that vector quantization gives
an improvement of roughly 0.2 dB.
7 Conclusion
Although we have found a small improvement we are still 6 dB away from ca-
pacity. This is 2.2 dB worse than the turbo codes used by Eggers [4].
51
Fig. 7. Bit-error rate versus normalized signal-to-noise ratio in dB. The *-curve denotes
the R = 1/2 scalar technique, the other curve the R = 3/8 vector method.
Note that our vector code has to compensate the rate loss between R = 1/2
of the scalar code and R = 3/8 which is (21 - 1)/(23/4 - 1) = 1.66 dB. That we
stili gain 0.2 dB shows the potential of vector quantization.
In this paper we have always compared our results to capacity. If instead we
would compare our simulation results to the spreading results for the baseline
system our conclusion would be more positive. Then the rate loss counts for
4/3 = 1.25 dB only, and the gain resulting from vector quantization would be
roughly 0.6 dB.
References
1. B. Chen and G.W. Womell, "Preprocessed and Postprocessed Quantization In-
dex Modulation Methods for Digital Watermarking," Proc. of SPIE: Security and
Watermarking of Multimedia Contents 11, vol. 3971, pp. 48 - 59, San Jose, CA,
January 2000.
2. B. Chen and G.W. Wornell, "Qnantizatlon Index Modulation: A Class of Prov-
ably Good Methods for Digital Watermarking and Information Embedding," IEEE
Trans. Inform. Theory, vol. IT-47, pp. 1426-1443, May 2001.
3. M.H.M. Costa, "Writing on Dirty Paper, IEEE Trans. Inform. Theory, vol. IT-29,
pp. 439-441, May 1983.
4. J. Eggers and B. Girod, Informed Watermarking, preprint, 2002.
5. U. Erez, S. Shamai, and R. Zamir, "Capacity and Lattice Strategies for Cancelling
Known Interference," ISITA, Nov. 2000.
6. G.D. Fomey Jr., "Trellis Shaping," IE!}!!; Trans. Injorm. Theory, vol. IT-38, pp.
281- 30u, Jan. H192.
7. W. Yu and J.M. Cioffi, "Trellis Precoding for the Broadcast Channel," Proc. IEEE
GLOBECOM 2001, San Antonio, TX, Nov. 25-29, 2001.
52
A New Group Identification Scheme
Abdelaziz Gaddach
Universite Libre de Bruxelles
agaddach~ulb.ac.be
Abstract
In this paper, we introduce a new group identification scheme allow-
ing a group member to prove anonymously its membership in a large
group of entities. This scheme presents the important advantages of
needing only one initialization phase in order to create several groups
and it is resistant against a masking attack.
1 Introduction
An individual identification scheme is a method for an entity called prover to con-
vince another entity called verifier of its identity without revealing its secret. An
anonymous group identification scheme allows an entity to prove its membership in
a group without revealing neither its secret nor its individual identity. The verifier
is only convinced that a member belongs to a given group. However, a trusted
third party (TTP) is able to retrieve, in case of problems, the individual identity
of a group member, thanks to the information exchanged between the prover and
the verifier during the group identification protocol.
Group identification scheme is useful in several domains such as electronic com-
merce and electronic votes. In order to make clear the practical importance of the
group identification, we consider the following example. Suppose a building where
each inhabitant owns a smart card to open the building's front door. It could be de-
sirable that the identification protocol carried out between the smart card (prover )
and the door-lock (verifier) does not identify inhabitant who wishes to prove that
he is allowed to enter the building, without revealing his individual identity. But, if
a crime is committed inside the building, designated authority can determine who
was present in the building at that time.
A formal solution to the problem of anonymous group identification is given
in [1] as an application of some results on enlarging the class of languages hav-
ing perfect zero-knowledge proofs. The approach used there in order to construct
identification schemes generalizes the approach in [5,9] to the case of group identi-
fication.
53
Recently, De Santis [2)presented an efficientgroup identification scheme. In this
scheme, the length of the public key depends on the size of the group. Consequently,
the scheme cannot serve to create large groups.
A new primitive called verifiably common secret encoding in anonymously au-
thentificate membership in dynamic groups is presented in [4). Besides two keys
used to cipher and two keys used to sign by the verifier, each group member must
have two secret keys and two public keys. This scheme uses also several functions:
symmetric cipher, asymmetrie cipher and signature. The traceability which is an
important requirement of group identification is not supported by this system.
Boneh and Franklin proposed [3) a new scheme of group identification that
support the identity escrow and the key revocation. The length of public key is
smaller than the public key in De Santis's scheme. A unique group public key
corresponds to several secret keys. An initialization is needed for the of the system
leads to the construction of each group. A coalition of two or more elements of a
group can create a new key that cannot be traced. Boneh and Franklin propose a
strategy which allows to increase the size of coalition needed to realize an attack.
But the system is then less efficientthat the basic scheme because of computation
overhead.
In this paper, we present a new efficient group identification scheme.We start
with the description of the discrete logarithm based problem we use in our seheme
in order to have a structure of groups similar of the one Boneh and Franklin.
However, our structure needs only a single initialization to create several groups.
We will show that our seheme is suitable to create very large groups and is resistant
against masking attack.
The next section presents the model of group identification scheme. In the
section 3, we propose the new problem, based in the discrete logarithm, used in the
section 4, to construct the protocol which is the purpose of this paper. We study
the security of this protocol and we conclude with the fifth section.
2 The model of group ident.iflcat ion scheme
We now give a model of our group identification scheme as well as the related
security requirements.
classically, a group identification scheme consists of the two followingphases:
• An initialization phase executed once, at the start-up of the system. A TTP
and the users run an initialization's protocol such that at the end of it, each
user will obtain his secret key and the public key of his V'()l1P
• An identification phase runs every time a group member wish to identify
himself to a verifying authority. Classically,a group member tries to convince
the verifying authority of a statement which certifies his knowledge of the
secret key received during the initialization phase.
The group identification scheme must satisfy the followingproperties:
54
Correctness. The group identity produced by an honest group member must
be accepted by the verifying authority with very high probability.
Soundness. A person which is not a member of the group, cannot make the
verifying authority accept his group identity with acceptable probability, unless he
knows the corresponding secret key.
Anonymity. If an individual prove his group identity, it reveals whether it is
a member of a group or not, that is, it is not feasible to find out the group member
who proved his group identity for an entity other that TTP.
Unlinkability. It is not feasible to decide whether two different valid group iden-
tification protocols were computed by the same group member.
Traceability. From the information sent by a group member and those sent by ver-
ifying authority during the protocol of group identification, the TTP can discover
the individual identity of this group member.
3 The basic problem
In this section, we propose a new problem based on the discrete logarithm and we
describe its cryptographic use.
3.1 The CDL Problem (Composite Discret Logarithm)
Instance:
Let q be a large strong prime, A, B two elements of Z; and C a generator of Z;,
Question:
Are there x, y such that : A x BY =C mod q ?
Finding a solution of the CDL problem consists of computing the values of x
and y. We have: AX BY = C mod q and x 10gcCA) + Y logdB) = 1 mod q-l
In order to compute a solution for the former equation, we need to compute the
discrete logarithm of A and B in the basis C. Since this is an hard computation,
we may say that the CDL problem is at least as difficult the discrete logarithm
problem.
3.2 Our cryptographic use of the CDL problem.
Let a, band c belong to Z; such that gcd(a, q-l) = gcd(b, q-l) = gcd(c, q-l) = 1
and let a be a generator of Z;. We compute A = aa mod q , B = ab mod q and
C =aC mod q.
Therefore, the equation: AX BY = C mod q is equivalent to resolve: ax + by = c
mod q-l. For each c in Z; the last equation has q-I solutions.
55
In the next section, the set of those solutions will be considered as the secret
keys of a group of users. The public key which corresponds of this group will be C.
For each C in Z;,we can build a group of q-1 members. Therefore, the previous
method allows us to create q-1 groups of q-1 members.
4 Our protocol
In this section, we propose a new group identification scheme. The security of this
scheme is based on the difficulty to solve the CDL problem.
Initialization
The TTP picks
• a large strong prime q,
• a and b in Z;, such that: gcd(a,q - 1) = gcd(b, q - 1) = 1
• a generator a of Z; and computes A = aa mod q, B = ab mod q.
For each group G, (1 :S i :S 9 and 9 < q -I), the TTP picks a number Ci in Z;
such that gcd( Ci, q - 1) = 1 and computes the public key C, of this group: C; = a C
;
mod q.
For each user Uj (1 :S j :S Ui and Ui < q - 1) who wants to be member of the
group Gi, the TTP picks a randomnumber Xj in Z; and computes Yj = (Ci-axj)b-1
mod q-1 and sends secretly (Xj,Yj) to the user Uj. The pair (Xj,Yj) will be the
secret key for Uj•
The TTP makes public A, B, Ci, a, q and the public key C, and keeps a, b, Ci
secret and all (Xj,Yj).
Identification
A user tt, picks a random pair (x', y') in Z; x Z;, computes C' = A BY' mod
X
'
q and sends C' to the verifying authority. The verifying authority picks a random
number e ill {1, ..., t} Where t is a secrity parameter and sends e to the user Uj.
The user Uj computes: Yl = x' + eXj mod q-1 and Y2 = y' + eYj mod q-1 and
sends Yl, Y2 to the verifying authority.
The verifying authority accepts the group identity of Uj if AYl BY2 = CiC' mod q
Correctness
C' being fixed, the prover is able to answer t+ 1 questions of the verifying authority,
since:
modq
'mod q
=C'Ci modq
56
Therefore, an honest group member is accepted by the verifying authority with
a probability equal to 1.
Soundness
Let P* be a person who is not member of the group G«.
If C' is fixed and for two distinct questions eo and el of the verifying authority, sup-
pose that P* know the answer (YlO, Y20) for the question eo and the answer (Yll, Y2d
for the question el. We have: C' = AYIOBY20c;eO = AYl1BY2'Ci-e, mod q and
AYlO BY20 A-Yl1 B-Y21 = C:o-e, mod q and A(YlO-Yll)(eo-e,)-l B(Y20-Y2,)(eo-e,)-1 =
c, mod q.
That is, P* knows the secret «ylO - Yll)(eo - el)-l, (Y20 - Y21)(eO - el)-l) (if
(eo - ed-l exists) which is a solution of the CDL problem.
Zero knowledge
Our protocol is honest verifier zero-knowledge. To simulate, simply choose at ran-
dom fh and fh in Z; and e in {I, ... , t} and C' = iYl BY2C-;' mod q. The reason
such a protocol could be zero-knowledge against the honest verifier but not against
dishonest verifiers is that nothing prevent them from choosing the challenge ma-
liciously rather than uniformly. Because e is chosen randomly, it is clear that
Wh, 112),e, C') has exactly the same distribution of probability than real conver-
sations between the prover and honest verifier. Given any value e we produce a
conversatio~ where e occurs as challenge by choosing Uh, fh) at random and com-
puting the C'. In other word, the simulator does not have to insist on choosing e
itself, it can take an ê-value as input.
By using the techniques recently proposed by Goldreich et al. [11], we can
transform our protocol into a system which is statistically zero-knowledge with re-
spect to any verifier. The idea consists to replace the verifier's random choices
with a random selection protocol which guarantees that the verifier's random are
statistically close to uniform distribution regardless how the verifier behaves.
Coalition attack
We will show, under some conditions, that the previous protocol is resistant to a
masking attack. That is, if a coalition attack is occured, the dishonest members
can be traced. To do so, suppose that a number k of group members (1 ~ k ~ d)
where d is the number of members of Gi, can join their secret keys and compute a
new secret keys.
We recall that resolving the equation AX BY = C mod q is equivalent to resolve
the equation ax + by = c mod q-l where A = o:a mod q, B = o:b mod q,
C = o:C mod q.
If k = 2, the two users Uo and UI can join their secret keys (xo, Yo) and (Xl, Yd to
compute a new secret keyas follow. We have axo+byo = c mod q-l and aXI +byl = c
mod q-1. The users Uo and UI can easily compute (xo + XI, Yo + Yd which is the
valid secret key if c = 2c mod q - 1. In a general way, kusers (2 ~ k ~ d) can use
57
their secret keys to construct the following equation :
a E:=1 Xi + b E7=1 u. = kc mod q - 1.
To prevent k users to construct a new secret key (coalition attack of k members)
in this case, the TTP must choose c such that c i= kc mod q - 1. For that, the
TTP must choose d such that d < q - 2, because if k = q - 2 then Qkc = Q(q-2)c =
Q«q-l)+l)c = QC mod q.
However, the users can use other strategies to compute secret keys. All the
users who want to participate in the construction of this secret key should supply
their secret keys. Let E and F two sets such that:
E = {CB, ')') : ({3, ')') be a valid secret key for a member of the coalition}
F = {(-ó, -À) : (6, À) be a valid secret key for a member of the coalition}.
The number Z = El7EF 17 + ECPEE cp is a valid secret key if iEi > 1, IFI > 0 and
iEi = lFi + 1.
From the fact that Z = (X, Y) is a valid secret key, we pick a random pair (X', Y')
and generate Yb Y2 and C' such that: C' = AX' BY' mod q, Y1 = X' + eX mod
,
q - 1 and Y2 = Y' + eY mod q -1. We have then: AYIBY2C -1 = C" mod q
In order to recover the secret keys used to construct Z, the TTP perform the
following algorithm:
i = 1; found: boolean;
while (i:5 d) do
found:=false;
If (ce AXie i= AYie and C" A-x,e i= A-y,e) then found :=true;
if not(found) then
if (ce Ax,e i= AYie and C" A-x,e = A-Yie) then output (i, 1);
else if (ceAx,e =Ay,e and ceA-x,e i=A-y,e) then output (i,-I);
i=i+l;
end while
For each 1 :5 i :::;
d this program outputs:
1. nothing if the secret key of USP.T Tl, is not used in the coalition attack,
2. (i, 1), if the secret key of user Ui belongs to E.
3. (i, 1), if the secret key of user Ui belongs to F.
Anonymity
Generally, to revoke the anonymity of a group member, we try to know the secret
key or at least the information about this key which will allow HR t.o discover hie
individual identity. We can say that our scheme provide perfect anonym.ity for the
following reasons:
• Computing a secret key is equivalent to resolve the CDL problem and the
respect of the zero-knowledge property (with respect of an honest verifier)
prevents to retrieve useful information.
58
• The link between a secret key and a prover's individual identity is only known
by the TTP. Consequently, even if we succeed in knowing a secret key, we
are not able to know the individual identity of the owner of this key without
the help of the TTP .
Unlinkability
Deciding if (C', Yl, Y2) and (C', ih, ih) were computed by the same group member
is computationally hard. Suppose that the two triplets are computed by the user
Ui, then we have C' = AX' BY' mod q, Yl = x' +elxi mod q-l, Y2 = y' +elYi mod
q-l and C' = AX" BY" mod q, ih = x" + e2Xi mod q-l, ih = y" + e2Yi mod q-l
Consequently, anyone who wants to know whether the two previous triplets are
computed by the same user he must verify the following equalities. (Yl - x')e11 =
Uh - x" )e2"l mod q-l and (Yl - y')e1l = (Y2 - y" )e2"l mod q-l.
In order to make this verification he has to computes x', x", y' and y" from
C', C' ,A and B as follow:
x' = log , C' - y' log , B mod q-l
x" = logA C' - y" logA B mod q-l
y' = 10gB C' - y' 10gB A mod q-l
y" = 10gB C' - x" 10gB A mod q-l
These operations require to compute discrete logarithm, this ensure that it is com-
putationally hard to decide whether two triplets which correspond to two executions
of protocol of group identification are computed by the same user.
Traceability
To recover individual identity of a prover having already proved his group identity,
the TTP needs to use e, ui, Y2 and C' as input for the following algorithm:
i = 1, found = false;
while (i S NumberUsers and notfound) do
x' = eXj - Yl mod q-l;
y' = eYj - Y2 mod q-l;
found = (C' == AX' BY') mod q;
end while
The TTP have list of It legitimate group members secret keys. In this list, each
secret key is connected to the individual identity of a group member.
In order to recover the individual identity of a group member, the TTP goes
through the list of secret keys and computes x' and y'. Afterward, she computes
found = (C' == AX' BY'). If found is true, the individual identity found is the
identity connected to the secret key used. Otherwise, the next secret key in the list
will be used.
59
5 Conclusion
We have proposed a new group identification scheme which has advantages in terms
of security and efficiency. This scheme is based on a new problem witch use the
hardness of discrete logarithm problem. We has adapted this problem to have a
suitable structure witch allows us to create several groups with only a single ini-
tialization. We showed all requirements of this scheme and we has proved that
dishonest members will be traced.
References
1. A. De Santis, G. Di Crescenzo, P. Persiano and M. Yung. "On Monotone For-
mula Closure of SZK," Proceedings of 35th IEEE Symposium on Foundations
of Computer Science (FOCS '94), Santa Fe, New Mexico, USA, November
20-22, 1994, pp. 454-465.
2. A. De Santis, G. Di Crescenzo, and P. Persiano. "Communication Efficient
Anonymous Group Identification," ACM Conference on Computer and Com-
munication Security 1998. pp 73-82.
3. D. Boneh and M. Franklin. "Anonymous Authentification With Subset
Queries," In Proceedings of 6th ACM Conference and Communication Se-
curity 1999. pp 113-119.
4. S. Schechter, T. Parnell and A. Hartemink. "Anonymous Authentification
of Membership in Dynamic Groups," Financial Cryptography'99, Springer-
Verlag, 1999, pp.184-194, Anguilla, British West Indies.
5. A. Fiat and A. Shamir. "How to prove yourself: pratical solutions to Iden-
tification and signature Problems". Advances in Cryptology-CRYPTO'99,
Lecture Notes in Computer Science, 1999. pp 413-430.
6. J. Camenisch and M. Markus. "A Group Signature Scheme with improved
effeciency,". Advances in Cryptology- CRYPTO'86, Lecture Notes in Com-
puter Science, 1986, pp 186-194.
7. C.P Schnorr. "Efficient signature generation by smart cards". Journalof
Cryptology 1991,4(3). pp 161-174.
8. J. Camenisch and M. Michels. "A Group Signature Scheme with Improved
Effeciency,"Advances in Cryptology- ASIACRYPT'98, Lecture Notes in Com-
puter Science, 1998, pp 160-174.
9. U. Feige, A. Fiat and A. Shamir."Zero-Knowledge Proofs of identity, Journal
of Cryptology, vol. 1, pp. 77-94, 1988
10. G. Ateniese, J. Camenisch, M. Joye and G. Tsudik. "A Practical and
Provably Secure Coalition-Resistant Group Signature Scheme," Advances in
Cryptology- EUROCRYPT'OO, Lecture Notes in Computer Science, 2000.
60
"Alnlost Montgomery"
based multiplier in GF(2n)
Lejla Batina+", Cees Jansen", Geeke MuurIing 1, Sheng-bo XuI
lSafeNet BV
Boxtelseweg 26a
5261 NE Vught, The Netherlands
2K.U. Leuven ESATjCOSIC
Kasteelpark Arenberg 10
B-300l Leuven-Heverlee, Belgium
{lbatina, cjansen, gmuurling, sxu}@safenet-inc.com
Lejla.Batina@esat.kuleuven.ac.be
Abstract. Finite field arithmetic over GF(2n) is particularly attractive
for efficientimplementations of elliptic curve cryptosystems in hardware.
In this paper a new scalable multiplier architecture is proposed, com-
bining the classical bit-serial method and Montgomery's modular mul-
tiplication algorithm. Using polynomial basis, this combined multiplier
exhibits a double speed with an increase in hardware complexity of only
50% compared to the classical type of multiplier. Special attention is
given to the scalability and flexibility of the design. Performance data is
given for an FPGA prototype implementation.
1 Introduction
The performance of an elliptic curve cryptosystem and of other public key cryp-
tosystems in general, is mostly determined by the efficient implementation of
finite field arithmetic. Special properties of binary finite fields GF(2n) such as
carry-free arithmetic, linearity of squaring etc. make them very attractive for
hardware implementations. In this work a new scalable multiplier architecture
is proposed, which combines a classical bit-serial multiplier with a multiplier
based on Montgomery's Modular Multiplication (MMM) algorithm ([11]). The
multiplier uses the polynomial basis representation while maintaining flexibility
of the solution. Namely, no special property of the chosen irreducible polynomial
is required. This solution is a scalable design dealing with arbitrary bit-lengths
from 160-500 in a highly efficient way. This range is very suitable for appli-
cations of elliptic curve cryptography. The combined multiplication algorithm
splits multiplication into two parallel processes, thus reducing the number of
cycles required from n to approximately n/2, with complexity changing from
4n to 6n. The proposed architecture trades gate complexity with clock cycles in
such a way that the multiplier performance can be scaled according to systems
61
requirements. The ability to increase operating bit-lengths and to change param-
eters are important requirements in the demanding security market nowadays.
So, flexibility and scalability are musts in hardware, which together with in-
trinsic physical security make software solutions even more inferior. Considering
different basis representations various algorithms and architectures for multi-
plication in GF(2n) have been proposed. However, to our knowledge there is a
shortage of reported hardware implementations. The first bit serial multiplier is
discussed by Beth and Gollmann [3]. This multiplier is using convolution and
reduction modulo an irreducible polynomial taking n clock cycles to compute a
multiplication. One of the earliest implementations is [1], wherein the authors
described an efficient implementation of ECC over GF(2155) in optimal normal
basis (0NB). This finite field was chosen because of the existence of an ONB over
GF(2). Even though the attractiveness of this basis cannot be denied (squaring
being a cyclic shift) the major disadvantage is that these bases do not offer a
scalable and flexible platform. Namely, scalability together with interoperability
and security represent the most important requirements of nowadays applica-
tions. The implementations in [6], [16]also use normal basis representation. The
hardware implementation reported in [14]uses standard basis representation but
this implementation is suitable for composite fields, which are not recommended
([7] and [15]) for security reasons. In [12],a complete processor architecture for
elliptic curve cryptosystems over GF(2n) in polynomial bases is proposed. The
proposed architecture is also scalable with separated squarer (bit-parallel) and
multiplier (digit-serial).
The remainder of this paper is organized as follows. Section 2 provides the
most important mathematical background for ECC in GF(2n) and Section 3
deals with modular multiplication in GF(2n) . Section 4 describes the multiplier
architecture and addresses scalability. In Section 5 some figures and implemen-
tation results are given providing a practical part of this contribution. Section 6
concludes the paper.
Elliptic Curve Cryptography (ECC) was discovered independently by Victor
Miller and Neil Koblitz [8]in mid-eighties. The security of ECC is based on the
absence of a sub-exponential algorithm for Elliptic Curve Discrete Logarithm
Problem (ECDLP). That implies that ECC can use smaller parameters main-
taining a higher security level than conventional cryptosystems. Other benefits
include: higher speed, lower power consumption and smaller certificates, which
are especially useful in constrained environments EeC has been accepted as
an alternative mechanism for implementing public-key cryptography by most of
the standards, such as IEEE PI363 ([18]), ANSI X9.62 ([20]) and WAP ([17]).
Usual fields to implement ECC are GF(p) and GF(2n) where p and n should be
at least 160 bits long. In order to introduce a public key cryptosystem based on
the elliptic curves, the group structure is required. A set of points on an elliptic
curve (with one special point added, the so called point at infinity) together with
62
a point addition as a binary operation has the structure of an abelian group.
For more details see [4], [9] etc.. Then it is natural to define a point or scalar
multiplication. This is simply multiplication of an arbitrary point on an ellip-
tic curve with some integer and it is the most important operation for ECC.
Before implementing an ECC system, several choices have to be made. These
include: selection of elliptic curve domain parameters (underlying finite field,
field representation, elliptic curve) and algorithms for field arithmetic, elliptic
curve arithmetic and protocol arithmetic. Selection of suitable choices is espe-
cially important for fields of characteristic 2, which feature much more options,
namely: various bases, coordinates, types of multiplier etc.. We introduce now
shortly some necessary mathematical background on ECC in GF(2n). Let E be
an elliptic curve over GF(2n) given by the following equation:
This equation is representing the curve E in affine coordinates. From the equa-
tions for point addition ([4]) it is evident that inversion has to be performed
every time for doubling and addition operations. Since inversion is particularly
costly in hardware, an alternative representation is usually considered i.e. the
case of projective coordinates. The advantage of this representation is that it de-
fers inversion i.e. instead of doing that for every double/add, only one inversion
has to be performed at the end of scalar multiplication. However, the number
of multiplications is enlarged in projective coordinates which makes the choice
of a multiplier even more crucial for an efficient implementation. Among many
representations of GF(2n) mostly mentioned are polynomial basis, normal basis
and dual basis.
The contribution in this paper deals with polynomial bases. In this case the
basis elements have the form 1,w,w2, ... ,wn-l where w is a root in GF(2n) of
an irreducible polynomial I(x) of degree n over GF(2). In this basis the elements
of GF(2n) are polynomials of degree at most n - lover GF(2), and arithmetic
is carried out modulo an irreducible polynomial I(x) of degree n over GF(2).
According to this representation an element of GF(2n) is a polynomial of length
n and can be written as:
i=O
where ai E GF(2).
In hardware, the field elements are represented as binary n-tuples i.e. a =
(an-I, an-2, ... , al, ao) where ai E {O,I}. The computation of elliptic curve point
doubling and addition involves field additions, squarings, multiplications and
inversions. Here, we consider squaring as a special case of multiplication and in-
version can be almost completely ignored because of projective coordinates. The
addition of two field elements requires the modulo 2 addition of the coefficients
of the elements. In hardware, a bit-parallel adder requires n XOR gates, so the
sum can be computed in one clock cycle. Considering modular multiplication, it
is based on the followingequation:
63
a(x) . b(x) = (an_lXn-1 + ... + alX + ao) . b(x) modf(x) =
= (...(an-1b(x)x + an_2b(x»x + ... + a1b(x»x + aob(x)modf(x)
which presents the Homer scheme for multiplication. It is the base of the Most
Significant Bit-First (MSB) multiplier ([3]). We givethe precise algorithm in the
following section.
3 Modular Multiplication in GF(2n)
Let f(x) be an irreducible polynomial, so the product c(x) = a(x) ·b(x)modf(x)
has to be computed. The following algorithm to which we refer as the classical
algorithm, is one way to calculate c(x).
Algorithm 1. Classical modular multiplication in GF(2n)
INPUT: polynomials a(x), b(x) and f(x)
OUTPUT: Res(x) = a(x) . b(x)modf(x)
1. Res(x) <- 0
2. For i from n - 1 downto 0 do:
Res(x) <- Resn-l . f(x) + Res(x) . x + ai· b(x)
3. Return Res(x)
Another possibility to calculate the product of two polynomials in GF(2n) is
Montgomery's multiplication algorithm as proposed in [5]as an efficient software
implementation. Before a sequence of operations can be started, all operands
have to be converted to the form a(x)r(x)modf(x), the so-called M-residue of
the operand. This is done by performing a Montgomery multiplication on the
element and r(x)2. The result of Montgomery multiplication on M-residues will
once again be an M-residue, since:
MMM[(a(x)r(x», (b(x)r(x»] = a(x)r(x) . b(x)r(x) . r(x)-lmodf(x)
= a(x)b(x)r(x)modf(x)
The method for Montgomery Modular Multiplication can be written as the fol-
lowing algorithm, where the selection rex) = xn turns out to be very useful in
obtaining a fast implementation.
64
Algorithm 2. Montgomery Modular Multiplication in GF(2n)
INPUT: polynomials a(x), b(x) and I(x)
OUTPUT: Res(x) = a(x) . b(x) . x-n mod I(x)
1. Res(x) +--- 0
2. For i from 0 to n - 1 do:
2.1 Res(x) +--- Res(x) + ai· b(x)
2.2 Res(x) +--- Res(x) + Reso ·/(x)
2.3 Res(x) +--- Res(x) div x
3. Return Res(x)
While the classical multiplier starts the shift-and-add process from the MSB
of one of the operands, and shifts the cumulative result left, the Montgomery
based multiplier starts at the LSB, and shifts the result right. Instead of calcu-
lating the required result a(x) . b(x) mod I(x), this algorithm computes a result
in the form a(x)b(x)r(x)-l mod I(x). This multiplication process includes an
implicit modular reduction. It takes n clock cycles to perform a multiplication.
These two algorithms can be easily combined in one algorithm. The main
idea is to do both previously mentioned algorithms at the same time in parallel
([13]). Since the Classical algorithms starts from the MSB and Montgomery's
algorithm from LSB they can both do half of the full length loop and meet in
the middle to get the final result. Hence, the total number of cycles is reduced
with a factor 2.
4 New Architecture and Scalability
In this Section we will discuss the most time-consuming operation considering
the total time for finite field arithmetic, namely multiplication.
The new algorithm for modular multiplication to which we refer as "Almost
Montgomery" based algorithm in GF(2n) is performing modular multiplication
according to the followingscheme:
Algorithm 3. Combined Modular Multiplication in GF(2n)
INPUT: polynomials a(x), b(x) and I(x)
OUTPUT: Res(x) = a(x) . b(x)· x-L~J mod I(x)
1. Res(x) = 0, Resc = 0, ResM = 0
2. For i from 0 to ~ do:
2.1 Resc(x) +--- ResCn_l . I(x) + Resc(x) . x + ai· b(x)
2.2 ResM(x) +--- ResM(x) + an-l-i . b(x)
ResM(x) +--- ResM(x) + ResMo ·/(x)
ResM(x) +--- ResM(x) div x .
3. Res(x) = Resc(x) + ResM(x)
4. Return Res(x)
This version of the algorithm for n even is explaining the parallelism of the
algorithm. It can be similarly described also for n odd.
65
From the previously described algorithm it is obvious that it reduces the
time-complexity with a factor 2. At the same time area-complexity is enlarged
with a factor which is at most 1.5. This estimation was done according to the
implementation of the prototypes.
As previously mentioned scalability is a very important requirement for im-
plementations in hardware. We distinguish between two types of scalability: seal-
ability in design phase and in implementation ([2]). The first type determines a
design such that system parameters (such as the number of processing elements),
can be changed without changing the foundation of the architecture. It consists
of a variable number of (identical) building blocks that need no re-design to
make a trade-off between area and performance. As an example different sizes
and various numbers of unit blocks are chosen to specify an appropriate design
(see Figure 1).
An architecture is scalable in implementation if the fixed design handles all
required bit-lengths with attractive performances. In Figure 2 it is shown that
for all bit-lengths the performance curve behaves smoothly and does not grow
"too fast".
'"I
:
~I
1, .
~j ! i
!! .'
• ~i'"ht
.. I i
onj !./
-I17~'
Z Z
.~"_,,w'l .~.-
---
"
Fig.2. ScalabiJity in implementation and perfor-
Fig. 1. Scalability In design phase ((2]). mance for point multiplication in InS ([13}).
5 Timing Data for Point Multiplication
With the multiplier described in the previous section, inversion can be performed
by means of Fermat 's theorem. In this way, the inversion operation needs 2n - 5
multiplications. Therefore, the operations in GF(2n) can be implemented by use
of one multiplier only, which is very attractive to low power and low complexity
devices such as smart cards.
Fur this work projective coordinates were chosen instead of affine coordinates.
The point multiplication which was implemented is from work of J. López and
R. Dahab ([10]).
To verify the previously introduced idea the performance of the classical and
combined multipliers are compared by building two ECP (Elliptic Curves Pro-
cessors) prototypes and collecting timing data. The multipliers are designed in
66
such a way that they are flexible and scalable. Therefore both prototypes are
suitable for implementation of elliptic curve cryptosystems with various parame-
ters recommended by NIST ([19])and WAP. The prototypes were built on Xilinx
Spartan-II XC2S200 FPGA using VHDL code. A standard computer parallel in-
terface is built-in to download different elliptic curve domain parameters into the
prototypes and upload the results. The experiment shows that both prototypes
are able to implement elliptic curve cryptosystems with a wide range of field
sizes, up to 500 bits. The time costs of point multiplication under different finite
fields were measured at 55 MHz operating frequency.
Table 1. Timings of scalar multiplication for different architectures ([13]).
Implementation IIFinite fieldlPlatform IFrequencylPoint multo (ms) I
[1] GF(21OO) VLSI 40.0 MHz 3.90
[16] GF(21OO) FPGA XC4020XL 15.0 MHz 18.40
[14] GF(2")~1 FPGA XC4062 16.0 MHz 4.50
[12] GF(210' ) FPGA XCV400E 76.7 MHz 0.21
Combined multiplier GF(21t>") FPGA XC2S200 55.0 MHz 3.8
Figure 2 gives the time costs of the point multiplication over different finite
fields. It shows the advantage of the combined multiplier over the classical im-
plementation. In Table 1 the comparison is given among the performances of the
proposed architecture and previously known implementations.
6 Conclusions
In this paper we considered the efficient implementation of modular multipli-
cation in the finite field GF(2n) using a polynomial basis representation. The
new idea to combine two existing algorithms, classical and Montgomery modu-
lar multiplication, has been introduced. It turns out that this combined modular
multiplication algorithm, when implemented in hardware or concurrent software,
yields a substantial improvement in multiplication speed. The associated increase
in implementation complexity amounts to not more than 50%. It has also been
shown that the important requirements of scalability, both in design phase and
implementation are satisfied by the described design. Finally, performance data
has been given for a prototype FPGA implementation, demonstrating the suit-
ability of the new architecture for modern cryptosystems.
Acknowledgements: The authors would like to acknowledge the contribution of
M. J. Potgieter for his original idea about combining two types of multipliers in
one. We also thank dr. ir. Tj, Tjalkens from TUE for the opportunity to do this
joint project.
67
References
1. G. Agnew, R. Mullin, and S. Vanstone. An implementation of elliptic curve
cryptosystems over lF215S. IEEE Journalon Selected Areas in Communications,
11(5):804-813, June 1993.
2. L. Batina and G. Muurling. Montgomery in practice: How to do it more effi-
ciently in hardware. Topics in Cryptology- CT-RSA 2002, B. Preneel (Ed.), LNCS
2271:40-52, 2002. Presentation available at Proceedings RSA'02 - CD ROM.
3. T. Beth and D. Gollmann. Algorithm engineering for public key algorithm. IEEE
Journal on Selected Areas in Communications, 7(4):458-465, May 1989.
4. J. Blake, G. Seroussi, and N. P. Smart. Elliptic Curves in Cryptography. London
Mathematical Society Lecture Note Series. Cambridge University Press, 1999.
5. Ç.K. Koç and T. Acar. Montgomery multiplication in GF(2k). Designs, Codes
and Cryptography, 14:57-69, 1998.
6. L. Gao, S. Shrivasta, and G. E. Sobelman. Elliptic curve scalar multiplier design
using FPGAs. Lecture Notes in Computer Science, Springer- Verlag, (1717):257-
268, 1999. Cryptographic Hardware and Embedded Systems-CHES 1999.
7. P. Gaudry, F. Hess, and N.P. Smart. Constructive and destructive facets of Weil
descent on elliptic curves. Journalof Cryptology, 15:19-46, 2002.
8. N. Koblitz. Elliptic curve cryptosystems. Mathematics in Computation, 48:203-
209,1987.
9. N. Koblitz, A. Menezes, and S. Vanstone. The state of elliptic curve cryptography.
Designs, Codes and Cryptography, 19:173-193, 2000.
10. J. López and R. Dahab. Fast multiplication on elliptic curves over GF(2=). Lecture
Notes in Computer Science, Springer- Verlag, LNCS 1717:316-327, 1999. Crypte-
graphic Hardware and Embedded Systems-CHES 1999.
11. P. Montgomery. Modular multiplication without trial division. Mathematics of
Computation, Vol. 44:519-521, 1985.
12. G. Orlando and C. Paar. A high-performance reconfigurable elliptic curve processor
for GF(2"'). Lecture Notes in Computer Science, Springer- Verlag, LNCS 1965:41-
56, 2000. Cryptographic Hardware and Embedded Systems-CHES 2000.
13. M. J. Potgieter. A hardware implementation of the group operations necessary for
implementing an elliptic curve cryptosystem over a characteristic two finite field.
Final report of project EPR400, Technical University Eindhoven, 2002.
14. M. Rosner. Elliptic curve cryptosystems on reconfigurable hardware. ECE dept.,
Worcester Polytechnic Institute, Worcester, USA, 1998.
15. N. P. Smart. How secure are elliptic curves over composite extension fields? Ad-
vances in Cryptology, Eurocrypt 2001, LNCS 2045:30-39, 200l.
16. S. Sutikno, R. Effendi, and A. Surya. Design and implementation of arithmetic
processor lF2155 for elliptic curve cryptosystems. IEEE Asia-pacicic Conference on
Circuits and Systems, 1998.
17. Wireless Application Protocol. Wireless transport layer security specification.
WAP-199- WTLS, 2000. Available at: www.wapforum.org.
18. IEEE P1363. Standard specifications for public key cryptography. 1999.
19. Digital Signature Standard (DSS). NIST Documents, 1999. Available at: http:
csrc.nist.gov.
20. ANSI X9.62. The Elliptic Curve Digital Signature Algorithm (ECDSA). available
at: www.ansi.org.
68
A Fast Multiplier over GF(2n)
M.J. Potgieter", B.J. van Dyk1 and Tj.J. Tjalkensê
1 University of Pretoria, Pretoria, South Africa
2 Eindhoven University of Technology, Eindhoven, the Netherlands
e-mail: t.j.tjalkens~tue.nl
Abstract. In this paper we will present a hardware implementation of
a GF(2n) polynomial basis multiplier that is twice as fast a the classical
multiplier while requiring about 50 % more chip area. We implement a
flexible scalar (or point) multiplier for elliptic curve cryptosystems using
this multiplier and find that the flexible system performs almost twice
as fast as compared with the classical multiplier.
1 Introduction
An elliptic curve cryptosystem (ECC) can be used to exchange keys over
an insecure channel. ECC belongs to the class of public key cryptosystems.
The famous Diffie-Hellman system [1] relies on the prohibitive complexity
of solving s from
gS =
k mod p, (1)
where g, k, an p (a large prime) are known. The RSA system [2] is a
widely used variant on this theme.
In an ECC another complex operation is used, namely the point addi-
tion, see [3,4] or the more recent [5]. Here solving m from mP, where P
is a known point on a known elliptic curve in GF(2n) is the intractable
operation. The operation mP is known as the elliptic curve scalar multi-
plication.
For the Diffie-Hellman and RSA systems that use a multiplicative
group, a sub-exponential, w.r.t. logp, running time algorithm, the index-
calculus method, exists, while all known algorithms for solving the EC
scalar multiplication problem are still exponential in n. Thus, much smaller
keys can be used in an ECC (about 160 bit keys) than in RSA systems
(about 1000 bit keys). Even though the basic operation in an ECC, point
addition, might be more complex than the multiplication in RSA, the dif-
ference in field sizes needed, make the ECC system an attractive choice
for low power flow complexity applications.
While implementing a flexible, programmable, hardware EC scalar
multiplier we found a novel field multiplier that is twice as fast as the
standard multiplier, while requiring 50% more chip area.
69
2 Field multipliers
Because we are interested in a flexible system a polynomial basis for
GF(2n) seems more appropriate than a normal basis. Multiplication in
a normal basis representation is only efficient if an optimal normal basis
exists, and in the range of n that we were interested in, 160 ... 200, only
a few optimal bases exists.
So, the field elements are expressed as binary vectors (ao, al, .. ·, an-d
of dimension n, relative to the base {I, a, a2, ... ,an-I}, where a is a root
of the irreducible polynomial f(x) of degree n over IF2•
The classical multiplier implements the multiplication operation to-
gether with the modular reduction. The following pseudo-code describes
this multiplier and figure 1 gives a hardware implementation hereof. It
is clear that the running time, or number of clock cycles, is equal to n.
Note that the multiplication by x in the code is a simple left shift of the
register r.
Inputs: a, b and the polynomial f(x).
Output: r, where r == a- b mod f(x).
r+-O
for i from n downto 0 do
msb +- Fn. I
r +- (msb and f(x)) EB (r * x)
r +- r EB (ai and b)
endfor
return r
Listing 1: Pseudo code for the classical multiplier
For odd characteristic fields, a more efficient multiplier exists, the
Montgomery multiplier [6]. Applying this idea to GF(2n) we end up with
a multiplier that is very similar to the classical multiplier, see Listing 2.
The main difference is that. it operates on the least significant bits of a.
70
Fig. 1. The classical multiplier
The running time is again equal to n clock cycles. Note also that the
division by x in the code is a simple right shift of the register r.
Inputs: a, b and the polynomial f (x).
Output: r , where r == a· b- x-n mod f(x).
r-O
for i from 0 to n - 1 do
r +- r EB (ai and b)
r +- (ro and f(x)) EB r
r-r/x
endfor
return r
Listing 2: Pseudo code for the Montgomery multiplier
Instead of computing r = a . mod f (x) the Montgomery multiplier
b
(MM) computes MM[a,b] g r == a·b·x-nmodf(x). Therefor we
L1
represent every element a E GF(2n) by M(a) = a . xn mod f(x). So,
71
if we wish to compute a . b mod f(x) we compute M M[M(a), M(b)] ==
a-b-te" mod f(x). We observe that MM[M(a),M(b)] = M(ab). Convert-
ing a value a to its Montgomery representation M(a) is easily obtained
using the Montgomery multiplier as M(a) = M M[a, x2n]. The conversion
from M(a) to a is similarly performed by a =
M M[M(a), 1].
3 A modified field multiplier
If we briefly ignore the modular reduction we see that the classical multi-
plier and the Montgomery multiplier actually compute the same product.
Say a(x) = a4x4 + a3x3 + a2x2 + aIX + ao and b(x) = b4X4 + b3X3 + ~x2 +
bI X + bo. Then the classical multiplier results in
(a4x4 + ll,3X3 + a2x2 + alX + ao){b4x4 + b3x3 + ~x2 + blx + bo) =
C8x8 + C7x7 + C6X6 + csxs + C4x4 + C3x3 + C2x2 + ClX + Co (2)
It is easy to see that the result for the Montgomery multiplier is c(x) ·x-n
because the intermediate results are shifted to the right.
a4b4 a4b3 a4~ a4bl a4bO
a3b4 a3b3 osbz osb: a3bO
a2b4 a2b3 oaoz a2bI oabo
alb4 alb3 asb: albl albo
aOb4 aob3 aeb: aObl aobo
c8 c7 C6 Cs c4 c3 C2 Cl Co
Assume that n is even, then multiplying c(x) by xn/2 can be seen
as a combination of left and right shifts on the partial results. However
these results can be performed in parallel and the two partial end results
72
can then be added together. It is still possible to perform the modular
reduction using the original algorithms from listing 1 and listing 2.
Inputs: a, b and the polynomial f(x).
Output: r, where r = a- b· x-n/2 mod f(x).
re +- 0
rm+-O
for i from 0 to n/2 - 1 do
msb +- rCn-l
re +- (msb and f(x)) E9 (re * x)
re <- re EB (an-l-i and b)
rm +- rm E9 (ai and b)
rm +- (rmo and f(x)) E9 rm
rm +- rni] x
endfor
return re E9 rm
Listing 3: Pseudo code for the modified multiplier
The main increase in chip area is caused by the extra (temporary)
result register, rm and re in stead of r in the original multipliers.
It is easy to extend this method to the case where n is odd. In that case
the Montgomery part works on the (n - 1)/2 least significant coordinates
of a and the representation is M(a) = a- x(n-l)/2 mod f(x). The number
of clock cycles needed is (n + 1)/2. Odd, or preferably prime, values for
n are often used in cryptographic systems.
4 Comparing the classical and modified multipliers
The multipliers were implemented in a field programmable gate array
FPGA. The following two tables give an indication of the speed-up and
chip area cost of the modified multiplier relative to the classical multi-
plier. We show the timing and chip area for the complete ECC scalar
multiplier unit in table 1 and table 2 respectively.
5 Conclusion
The results of the ECC scalar multiplier comparison indicate that the
field multiplier is the predominant factor in the speed-up of the design.
73
Field size n tclassica.l tmodified
163 6.619 3.776
233 13.316 7.158
283 19.518 10.299
Table 1. Timing comparison in milliseconds
% modified
Field size n % slices (modified) % slices (classical)
% classical
96 35 26 1.346
192 56 40 1.400
304 81 56 1.446
384 99 67 1.478
Table 2. Chip area in FPGA slices
The increase in chip area is caused by the field multiplier only. This and a
more detailed comparison of the designs show that the modified multiplier
costs about 50 % more chip area. Because we designed a flexible and
programmable ECC unit, many optimizations that are possible with fixed
and clever choice of parameters were not possible in this implementation.
This might influence the speed and chip area cost of a design enormously.
Still the speed-up factor will be more or less the same because in many
designs the field multiplier will determine the speed of the overall circuit.
References
1. Diffie, W. and M.E. Hellman, "New direenons in cryptography," IEEE nuns. In-
form. Theory, vol. 22, 1976, pp. 644--654.
2. Rivest, R.L., A. Shamir, and L. Adleman, "A method for obtaining digital signatures
and public-key cryptosystems," Comm. ACM, vol. 21, 1978, pp. 120-126.
3. Koblitz, N., "Elliptic curve cryptosystems," Math. Comp., vo148, 1987, pp. 203-209.
4. Miller, V., "Use of elliptic curves in cryptography", In Advances in Cryptology,
CRYPTO 85, Ed. H.C. Williams, Springer-Verlag, LNCS 218, 1986, pp. 417-426.
5. Blake, I.F., G. Seroussi, and N. Smart, Elliptic Curves in Cryptography, Cambridge
University Press, Cambridge, 1999, pp. 1-76.
6. Montgomery, P.L., "Modular multiplication without trial division," Math. Comp.,
vol 44, 1985, pp. 519-521.
74
ML-Performance of Low-Density Parity-Check
Codes
vofkcÜ# ~ bIJ klhtfk7tP- t/#/IJ/! ?tlt{,~/l ~C7U41/
Heidi Steendam and Marc Moeneclaey
DIGCOM research group, TELIN Dept., Ghent Unîversity
Sint-Pietersnieuwstraat 41, 9000 GENT, BELGIUM
E-mail: {hs.mm}@telin.rug.ac.be
Abstract. In this paper, we derive the maximum likelihood (ML) per-
formance for low-density parity check (LDPC) codes, considering BPSK
and QPSK transmission over a Gaussian channel. We compare the the-
oretical ML performance with the performance of the iterative decoding
algorithm. It turns out that the performance of the iterative decoding
algorithm is close to the ML performance when the girth of the code is
sufficiently high. When the girth of the code is equal to or smaller than 6,
the decoding algorithm performs sub-optimal: the bit error rate (BER)
obtained with the iterative decoding algorithm is much higher than the
optimal BER that can be obtained when using ML decoding.
1 Introduction
Low-density parity check (LDPC) codes were introduced by Gallager [1] as a
class of linear error-correcting block codes of which the check matrix is sparse.
The original regular Gallager codes have a regularity constraint on the weight
of the columns and the rows of the check matrix: the columns and the rows
each contain a small fixed number of ones, j and k respectively. Gallager showed
in [1] that random regular LDPC codes are asymptotically good and perform
close to the Shannon capacity limit when the block length increases. However,
LDPC codes were forgotten, as no practical decoding technique was available
that was able to achieve the expected near-Shannon performance. Only recently,
with the introduetion of turbo codes [2], LDPC codes were rediscovered [3].
Similarly as for turbo codes [2], a decoding algorithm that was based on the belief
propagation method [4] was proposed [3]. In this decoding algorithm, the aim is
to compute the marginal posterior probability that a received bit is erroneous,
given the information of the check matrix and the syndrome. This computation
of the marginal posterior probability is done in an iterative way. When decoding
the LDPC codes with this relatively simple and practical iterative decoding
algorithm, it is shown in [5]-[7] that their empirical performance can approach
the Shannon limit.
The search for a practical suboptimal decoding algorithm was necessary as
the optimal (maximum likelihood, ML) decoder was too complex: the complex-
ity of the ML decoder increases exponentially with the length of the information
75
word. However, as the ML performance limits the performance of any decoding
algorithm, it can be useful to compare the performance of the practical iterative
decoding algorithm with the optimal ML performance. From the gap between
the two, we can learn how to improve the code by carefully selecting the code
parameters, such that the suboptimal decoding algorithm performs nearly opti-
mal.
In this paper, we derive the maximum likelihood performance for LDPC
codes, considering BPSK and QPSK transmission over a Gaussian channel, and
compare the theoretical ML performance with the performance of the iterative
decoding algorithm.
2 Low-Density Parity-Check Codes
A linear (K,N) binary block code is characterized by two parameters: the number
K of information bits in a codeword and the length N of the codeword. The linear
transformation that converts the information word of length K into the codeword
is characterized by the N-by-K generator matrix G of the code. Defining b =
(bI ... btc) as the information word and c = (Cl ... CN) as the code word, the
relationship between band c is given by
c=bG (1)
In this paper, we restrict our attention to systematic codes, i.e. the generator
matrix is given by G = (PIIK), where IK is a K-by-K identity matrix and P
is the N - K-by-N check matrix. Hence, in this case, the last K bits of the
code word are the information words. The code word c is transmitted over the
Gaussian channel. At the receiver, the received word can be written as
r=c+e (2)
where e is the error word. The error word contains ones on positions where
a transmission error occurred. To know if the transmitted word was received
correctly, the syndrome s = (SI ... SM) is computed, i.e.
(3)
where H is the M-by-N check matrix and GHT = o. If the received word is a
codeword, the syndrome is all zero, i.e. Sm = 0, m = 1, ... , M.
In a low-density parity-check code, the check matrix is sparse, i.e. it has a low
density of ones. In this paper, we consider the regular LDPC codes introduced by
Gallager [1]. In this type of codes, there is a regularity constraint on the weight
of the columns and the rows of the check matrix: the columns and the rows each
contain a small fixed number of ones, j and k respectively. An LDPC code can
be represented by a bipartite graph. This bipartite graph consists of two types
of nodes, i.e. the symbol nodes, which correspond to the bits of the received
word, and the check nodes, which cortespond to the bits of the syndrome. A
76
connection (edge) between the symbol node rn and the check node Sm indicates
that the (m, n)th element of the check matrix equals 1. Hence, because of the
regularity constraint, each symbol node (check node) is connected to exactly j
check nodes (k symbol nodes), as indicated in figure 1. A cycle in the graph is
a sequence of connections that starts and ends in the same node. In figure 2, a
cycle of length 6 is shown. The minimum cycle length of the code is called the
girth. It will be shown in section 4 that the girth of the code has an influence
on the optimality of the iterative decoding algorithm.
Gallager presented a simple method to construct check matrices that satisfy
the regularity constraints. In this method, the check matrix is characterized by
three parameters, i.e. k which is the weight of the rows, j which is the weight of
the columns, and p which is a prime number. The check matrix is constructed
in the followingway:
lp
I
lp
0:
lp
o:k-l
j
H=
[
I:aL, a(k~;)(j~'J
(4)
where lp is the p-by-p identity matrix and 0: is a p-by-p matrix that represents
a single left or right cyclic shift, i.e.
0:=
[000011
10000
01000 0:=
[0100 Ol
00100
00010 (5)
00100 00001
00010 10000
left cyclic shift right cyclic shift
The matrix o:X is the xth power of the matrix 0:. The resulting check matrix
is a pj- by-pk matrix. Hence, the length of the code word and the length of the
syndrome are given by
N=pk
M=pj (6)
It turns out that in the check matrix (4), j - 1 rows are linearly dependent on
the other rows, such that the rank of the matrix equals N - K = pj - (j - 1).
Hence, the length K of the information word equals
K = pek - j) + j - 1 (7)
77
Performance Analysis of Limited-Trial Chase
Decoders
Fred Kossen and Jos H. Weber
Delft University of Technology
Faculty of Information Technology and Systems
P.O. Box 5031, 2600 GA Delft
The Netherlands
J.H.Weber~its.tudelft.nl
Abstract. Chase decoders permit flexible use of reliability information
in algebraic decoding algorithms for error-correcting block codes of Ham-
ming distance d. The least complex version of the original Chase algo-
rithms ("Chase 3") uses roughly d/2 trials of a conventional binary de-
coder, after which the best decoding result is selected as the final output.
In this paper, the performance of Chase-like decoders with even less trials
is studied, in particular for the additive white Gaussian noise (AWGN)
channel and the Rayleigh fading channel. For both channels, the perfor-
mance of these low-complexity decoders is promising. It is shown that
decoders exist with lower complexity and better performance than the
Chase 3 decoder. However, it also turns out that optimization of the set-
ting of the trials depends on the nature of the channel, i.e., AWGN and
Rayleigh fading channels may require different arrangements.
1 Introduetion
In [3] Chase has proposed a class of algorithms for decoding binary block codes
using channel measurement information. Over the years, many variations on and
extensions or improvements to the still highly relevant Chase decoding princi-
ple have been proposed, see e.g. [5] for an overview. It is also considered as a
constituent component in modern techniques like iterative decoding of product
codes ('block turbo codes'), see [7], [1]. In this paper, we propose low-complexity
Chase-based decoding algorithms and compare their performance to the perfor-
mance of the original Chase algorithms.
We assume a similar setting as in [3]. A sequence of k information bits is en-
coded into a codeword x = (Xl, X2, ••. , xn) according to a binary linear (n, k, d)
code C of length n, dimension k, and Hamming distance d. The bits Xi are fed
into the data modulator which determines the waveform to be transmitted. Next,
this waveform may be distorted by the channel. The received waveform is fed
into a demodulator, which delivers, for each i = 1, ... , n, a binary symbol Yi,
which represents the detector's estimate of Xi, and a reliability value ai, which
is a non-negative real number, and which represents the detector's confidence
in its estimate. The higher ai, the more reliable is the symbol Yi. The input to
79
the decoder consists of the received binary vector y = (Yb Y2,' .. , Yn)and the
associated reliability vector a = (al, a2, ... , an). We define the error vector by
z = x + y. The analog weight of z is defined by
n
wo:(z) = L aiZi, (1)
i=l
where the summation is over the real numbers. It is the job of the decoder to
come up with an estimate of the transmitted codeword, or equivalently, with
an estimate of the error pattern. A complete channel measurement decoder is
a decoder capable of finding the codeword that minimizes the analog weight of
the error pattern. For certain channels and appropriate assignments of reliability
values, this is equivalent to a maximum likelihood (ML) decoder [3].
A complete channel measurement decoder may be far too complex for prac-
tical implementation. The idea behind the Chase decoding approach is to use
a binary decoder in a multi-trial fashion, in combination with the reliability
vector a, to obtain a relatively small set of possible error patterns, of which
one of minimum analog weight is the final decoding result. The algorithms have
been designed to work with a conventional (algebraic) binary decoder, which will
determine the codeword which differs in the least number of places from the de-
coder's input sequence provided that this number is not greater than l(d -1) /2 j .
The set of error patterns is obtained by the followingprocedure. A binary test
pattern t = (tl, t2, ... , tn) from a test set T of size 1 is added to the received
vector y. The resulting vector y' = y + t is fed into the binary decoder, giving
either an error pattern z' or a decoding failure. In case an error pattern has been
found, the error pattern Zt = z' + t relative to y is calculated. After this has
been done for all test patterns t from T, a Zt with minimum analog weight is
determined and added to y to obtain the estimate for the transmitted codeword.
In case all 1 trials result in decoding failures, the decoder output is the received
vector y itself.
In [3]Chase has proposed three algorithms, i.e., three test sets T. For Algo-
rithm 1 the set T consists of all binary vectors of length n which contain exactly
ld/2 j ones. For Algorithm 2 the set T consists of Rll binary vectors of length n
which have the n - L d/2 J most reliable positions equal to zero. For Algorithm
3 the set T consists of all binary vectors of length n which contain ones in the
i most unreliable positions and zeros elsewhere, where i = 0,2,4, ... d - 1 if d
is odd and i = 0,1,3,5, ... , d - 1 if d is even. Hence, the sizes of the test sets
are (Ld/2J)' 2Ldj2J, and ld/2 + Ij, for Algorithms 1, 2, and 3, respectively. Note
that the number of trials for Algorithm 3 grows only linearly in d. Being the
least complex, Algorithm 3 performs worse than Algorithms 1 and 2. Still, for
binary antipodal signaling, e.g., binary phase shift keying (BPSK), over the ad-
ditive white Gaussian noise (AWGN) or the coherent Rayleigh fading channel,
all three algorithms give essentially the same performance as ML decoding at
high signal-to-noise ratios (SNR) [3].
In this paper we analyze the performance of Chase-like algorithms when
limiting the number of decoding trials even more than in the Algorithm 3 case,
80
i.c., in case 1 is small « d/2). Preliminary matters, mainly (adaptations of)
results from [3], are treated in Section 2. Next, the main results are presented ill
Section 3. Finally, the paper is concluded in Section 4.
2 Preliminaries
We assume that, at the output of the channel, the received waveform is filtered,
leading to decision statistics Vi (i = 1, 2, ... , n) which are of a form such that
the decision rule is
{
Yi ::
Yi -
° ~f Vi 2: 0,
1 if Vi < O.
(2)
The decision statistics are multiplied by positive weight factors Wi, and the
reliability values are then given by
(3)
The exact form of these decision filters depends on the form of the transmitted
signals and the type of channel.
In determining bounds on the probability Pe(block) of a block error, i.e., an
unsuccessful decoding result, for a binary linear code C of Hamming distance
d and a Chase-like decoder with test set T, we mayassume, without loss of
generality, that the transmitted codeword is the all-zero sequence. Thus, the
received bit Yi is not equal to the transmitted bit Xi if the weighted decision
statistic WiVi is negative. Let the effective distance r(T, d) be defined as the
largest integer r for which the following property holds: if a block error occurs,
then there exists a set S ç {I, 2, ... , n} of size r such that
(4)
Assuming all (r(;,d)) sets of r(T, d) weighted decision statistics have the same
probability of having a negative sum, we obtain the upper bound
(5)
From the analysis in Appendix I in [3] we have the following general result.
Lemma 1. If the tmnsmitted all-zero codeword is genemted in at least one of
the decoding trials in a Chase-like decoder, but not selected as the final decoding
result, then there exists a set S ç {I, 2, ... ,n} of size d such that LiEs WiVi < o.
For binary antipodal signals over the AWGN channel with single-sided spec-
tral density No, Yi is obtained bya decision filter, which is assumed to be matched
81
to a waveform of energy E representing the value of Xi. The output of this
matched filter is
(6)
where ni is Gaussian distributed with mean 0 and variance No/2. Further, set
the weights Wi = 1 for all i and let "( = E/No. For large "(, i.e., at high SNRs,
the error probability for an ML decoder is essentially e--yd [3], while the upper
bound (5) for the error probability of a Chase-like decoder with test set T is
essentially e--yr(T,d). Hence, if the effective distance r(T, d) equals the Hamming
distance d, as is the case for Chase Algorithms 1, 2, and ~ [3], the asymptotic
behavior of the error probability of a Chase-like decoder is the same as that for
an ML decoder on the AWGN channel.
For the Rayleigh fading channel, the output of the matched filter is
Vi = riVE + ni ~f z, =0,
(7)
{
Vi = -riVE + ni if Xi = 1,
where ri is Rayleigh distributed (i.e., the probability density function is 2re-r2,
r > 0), and ni is Gaussian distributed with mean 0 and variance No/2. We
assume the receiver to have channel state information, i.e., it knows ri, and set
the weights Wi = ri for all i. For large "(,i.e., at high SNRs, the error probability
for an ML decoder is essentially "(-d [3], while the upper bound (5) for the
error probability of a Chase-like decoder with test set T is essentially "(-r(T,d).
Hence, also for the Rayleigh fading channel, the asymptotic behavior of the
error probability of a Chase-like decoder is the same as that for an ML decoder
if r(T, d) equals d.
3 Limited-Trial Chase-Like Decoders
For i = 0, 1, ... , n, let ti denote the test pattern of length n which contains ones
in the i most unreliable positions and zeros elsewhere. Let Oi denote the sequence
of i zeros, and let 1i denote the sequence of i ones. For convenience, we assume
without loss ot generality throughout the rest of this paper that the ordering
of the received symbols is such that Qi ~ Qi+! for i = 1, ... n - 1. Under this
assumption, note that
(8)
for i = 0, 1, ... , n. Here we will evaluate r(T, d) for test sets T which are subsets
of Uf=o{ti}. Note that the Chase 3 test set belongs to this class.
If a block error occurs, the Chase-like decoder either does generate the true
error pattern in at least one of the trials but does not select it as the final winner,
or does not generate the true error pattern in any of the trials. In the former
case Lemma 1 applies. We will now concentrate on the latter case. Assuming the
all-zero vector is transmitted, let e be the most likely received binary sequence
for which the true error pattern does not appear in any of the trials. If to ET,
r
e contains at least d/21 ones.
82
Table 1. ERROR PATTERNS e AND VALUES OF r(T, d) IN CASE OF CODES WITH n >
d = 5 AND CHASE-LIKE DECODERS WITH TEST SET T.
T e r(T,5)
{to} On -6000111 3
{to,tt} On -6001110 4
{to, t2} On -6001101 4
{to,ts} On -6011001 5
{to, t4} On 6010011 4
{to, t5} On 6100011 4
{to, tI, t2} On -6001110 4
{to, h,tS} On -6011010 5
{to, h,t4} On 6010110 5
{to, h,t5} on -15100110 5
{to,t2,tS} On -15011001 5
{to, t2, t4} On -15010101 5
{to, t2, ts} On -15100101 5
{to, ts, t4} On 6011001 5
{to,tS,t5} On -15101001 5
{to,t4,t5} On -"100011 4
We mainly consider the case d = 5. In Table 1 we list e and r(T, d) for some
subsets of u~=o{td. For example, for T = {to, t2}, the presence ofto in the test
set gives that e contains at least three ones, while the presence of t2 in the test
set gives that at least two of these ones should be outside the two least reliable
positions. Since for each position a zero is more likely than a one and since a
one is more likely to occur in a less reliable position than in a more reliable
position, we thus find e = on-4no1. It also follows from this analysis that in
case the true codeword is not generated in any of the trials, there always exists
a set 5 ç {I, 2, ... , n} of size four such that LiES WiVi < O. In case the number
of erroneous positions in the received sequence is four or more we can just take
any size-four subset of these positions as 5, while if this number is three we take
the three erroneous positions and one correct position from the two least reliable
positions. Note that in this latter case the positive contribution to LiES WiVi
from the correct position is compensated for by the negative contribution from
the most reliable erroneous position. Further, it follows from e = on-4nOI
that a set 5 of size five or more with LiES WiVi < 0 is not guaranteed in
case the true error pattern is not generated in any of the trials: for example,
if an-4 > L~=n-3 ai, then such set does not exist. Hence, from this reasoning
and Lemma 1, we conclude that r( {to, t2}, 5) = 4. The other entries in Table 1
follow similarly.
Some interesting observations can be made from Table 1. Note that the pat-
tern e = on-SWI01 for the Chase 3 test set {to, t2, t4} is more likely than the
pattern e = on-Snow for test set {to, tI, t3}, since the former e has its errors
83
BCH(15.7.51 Rayleigh
. .... -ë- haId-decision
-e- Cha8e3
.... Chase TO- T1- T3
..... ChasaTO-T3-T5
SNR per bH: of information transmitted (dB]
Fig. I. Simulated bit error probability results for the Chase-like decoders with test
sets {to} (hard-decision decoder), {to, t2, t4} (Chase 3 decoder), {to, tI, t3}, and
{to, t3, ts}, all in case of a binary (15,7,5) BCH code, BPSK signaling, and trans-
mission over the Rayleigh fading channel.
in less reliable positions. This means that the test set {to, tI, t3}, which is of the
same size as the Chase 3 test set, may perform better. Even more strikingly, we
notice that r({to,t3},5) = 5, which means that on AWGN or Rayleigh fading
channels with antipodal signals, the test set {to, t3} asymptotically achieves ML
performance in only two trials, where Chase Algorithm 3 needs three trials. It
seems that in case d is odd, the Chase 3 choice of test patterns with an even
number of inversions, inspired by the erasure patterns in generalized minimum
distance (GMD) decoding [4], is not necessarily thp best thing to do. III [2], test
sets T of SIze l are proposed for which r(T, d) = r21li Hence, for odd d, r~ll.
an effective distance r(T, d) equal to the Hamming distance d can be achieved
by a test set T of size r~l (i.e., about half the size of the Chase 3 test set!).
Next, we extend our analysis to practical SNR values. In Figures 1, 2 and 3
we present simulation results for various Chase-like decoders in case of a binary
(15,7,5) BCH code and BPSK signaling. In Figures 1 and 3 transmission is over
the Rayleigh fading channel, while in Figure 2 transmission is over the AWGN
channel. The figures show bit error probabilities as a function of Eb/NO, where
Eb = nE/k is the energy per information bit.
Figure 1 shows that the Chase 3 decoder is indeed not necessarily the best
choice among all possible 3-trial decoders. Test sets {to, t3, t5} and {to, tI, t3}
clearly outperform the Chase 3 test set {to, t2, t4}. The 1 dB gain of {to, t3, t5}
over {to, t2, t4} at bit error probability 10-3 is achieved without any complexity
84
increase. Note from Figures 2 and 3 that even the 2-trial decoders with test sets
{to, t3} and {to, t5} perform better than the 3-trial (and thus more complex)
Chase 3 decoder! In order to explain this phenomenon, recall from Table I that
for d = 5 the most likely error event which leads to non-consideration of the
true codeword in the decoding process is on-51010l for the Chase 3 test set
{to, t2, t4}, and on-5noOl for the test set {to, t3}' Note that the latter event is
less likely than the former since the second I is in ~ more reliable position.
Another important observation from Figures 2 and 3 is that the test set
{to, t3} performs a little bit better than the test set {to, t5} on the AWGN
channel, while it is quite the reverse on the Rayleigh fading channel. In order
to explain this phenomenon, first note that for an error pattern like on-5uoOl
the transmitted codeword is considered by the decoder with test {to, t5} and
not considered by the decoder with test {to, t3}' However, for an error pattern
like on-6100101, it is the other way around. Since the distribution of the errors
over the ordered positions is different for the AWGN and Rayleigh fading cases,
it may indeed weil be the case that a certain test set is better matched to one
channel than to the other.
4 Conclusion
In this paper, we have considered Chase-like decoders with a limited number of
test patterns. The presented results show that we can design test sets leading
to limited-trial decoders which are better than the original Chase 3 algorithm
in complexity as well as in error performance. Furthermore, it has become clear
that optimal test set design should take into account the nature of the channel.
The results obtained so far are mainly based on example cases [6), a general
theory is under development.
References
1. C. Argon, S.W. McLaughlin, and T. Souvignier, "Iterative application of the Chase
algorithm on Reed-Solomon product codes", Proceedings IEEE ICC 2001, pp. 320-
324, 2001.
2. G. Arico and J.H. Weber, "Limited-trial Chase decoding", submitted to IEEE Trans.
on Inform. Theory, Jan. 2002.
3. D. Chase, "A class of algorithms for decoding block codes with channel measurement
information" , IEEE Trans. Inform. Theory, vol. 18, pp. 170-182, Jan. 1972.
4. G.D. Forney, Jr., "Generalized minimum distance decoding", IEEE Trans. Inform.
Theory, vol. 12, pp. 125-131, April 1966.
5. M.P.C. Fossorier and S. Lin, "A unified method for evaluating the error-correction
radius of reliability-based soft-decision algorithms for linear block codes", IEEE
Trans. Inform. Theory, vol. 44, pp. 691-700, March 1998.
6. F. Kossen, "Performance analysis of limited-trial Chase decoders on the Rayleigh
fading channel", M.Sc. Thesis, Delft University of Technology, May 2002.
7. R.M. Pyndiah, ''Near-optimum decoding of product codes: block turbo codes", IEEE
Trans. Comm., Volume 46, pp. 1003-1010, Aug. 1998.
85
BCH(15.7.5)
AWGN
... Chase3
...... Chase TO- T5
...... Chase TO- T3
g
w
~
III
10"
10~0~--~--~------~2-------L3------~4------~------~6
SNR per bit ol inlomla_ 1ransmilled [dB]
Fig.2. Simulated bit error probability results for the Chase-like decoders with test
sets {to, t2, t4} (Chase 3 decoder), {to, ts}, and {to, ts}, all in case of a binary (15,7,5)
BCH code, BPSK signaling, and transmission over the AWGN channel.
Ravleq1
BCH(15.7,5)
10~7~--~7.5~--~B----B~.5~--~9--~9~,5--~1~0--~10~,5~~1~1---1~1~.5--~12
SNn per tktöf "dulnIllW'I uan5lMIeCf lèIBl
Fig. 3. Simulated bit error probability results for the Chase-like decoders with test
sets {to, t2, t4} (Chase 3 decoder), {to, t3}, and {to, t5}, all in case of a binary (15,7,5)
BCH code, BPSK signaling, and transmission over the Rayleigh fading channel.
86
Symmetric codes over rings
André Barbé, Fritz von Haeseler
Departement Elektrotechniek (ESAT-SISTAjCOSIC)
Kasteelpark Arenberg 10
B 3001 Leuven
{Andre.Barbe,fvanhaes}@esat.kuleuven.ac.be
Abstract. Shannon suggested to investigate a binary multiplying chan-
nel and asked for a maximal uniquely symmetric code. Motivated by his
example, we define a Shannon set for an arbitrary ring. We investigate
the Shannon sets for the rings lF~xn, n E N, and the rings ZTn= Zj(mZ)
for mEN.
1 Introduction
In 1961, Shannon [3] formulated the following problem. Two terminals, Tl and
T2, wish to communicate over a binary multiplicative channel. To this end, they
choose a set X ç {O, I} n, the set of input vectors. If ;!;., Y E X are input vectors,
then the output vector is given by !f = (Zi)i=l, ... ,n = (XiYi) (the usual product
of natural numbers). Each terminal should be able to determine uniquely the
vector transmitted by the other terminal on the basis of its own vector and the
output vector. Since both terminals are using the same set X the set is called a
symmetric code.
Shannon's question was to deterrnine the possible sets X and to find a set
with highest possible cardinality.
A subset X with this property is called uniquely decodable. This problem
and its generalizations have been studied by several authors, see e.g., [1,4] for
more references.
We can reformulate Shannon's question in a ring theoretic setting. We con-
sider {O, l }" as the ring R = Z;" i.e., the n-fold product ofthe ring Z2 = Zj(2Z).
Then Shannon asked to find a subset X c t: such that for all given x, Y E X the
knowledge of x and xy allows to find Y E X uniquely, or, vice versa, a knowledge
of Y and xy allows to determine x E X uniquely. This subset X is then said to
have the unique decomposition property.
In this paper we shall study Shannon's question for arbitrary rings R. We
introduce the notion of a Shannon set of a ring '1{. A Shannon set of a ring R is
a subset with unique decomposition property and of maximal cardinality.
After some preliminary definitions and some general observation we will study
the rings lF'~xn and Zm in more detail. In particular, we shall prove that the ring
lF'~xn has a unique maximal Shannon set, namely the set of invertible matrices.
The situation is different for the ring ZTn. We shall prove that the units of Zm
form the unique Shannon set if gcd(m, 6) = 1. The remaining cases are discussed
in detail and the number of different Shannon sets is computed.
87
2 Shannon sets of a ring
From now on R denotes a finite ring. For r E R and a subset A c R we write
rA as abbreviation for the set {ra I a E A}. The cardinality of A is denoted as
lAl·
Definition 1. A subset X of R has the unique decoding property if IrXI =
IXrl = lXI holds for all rEX.
In case R is commutative a subset has the unique decoding property if lxXI = lXI
for all x E X.
Note that Definition 1 is equivalent to Shannon's problem. If terminal Tl
knows x E X and xy, then it can determine y. The same holds for terminal T2
and its knowledge of y E X and xy.
The set of all subsets of R having the unique decoding property is denoted
X(R). If x E R, then {x} E X(R). Without proof we state some elementary
properties.
LeIIlIIla 1. - If X E X(R), then any subset of X has the unique decoding
property.
- IfXI, X2 E X(R), then x, nX2 E X(R).
- IfRI and R2 are rings then X(R1) x X(R2) C X(R1 X R2).
The relation C defines a partial order on X(R). It is therefore meaningful to
speak of maximal elements of X(R). The number max{IXII X E X(R)} is called
the Shannon number of the ring R and is denoted by X(R). The set X E X(R)
is called Shannon set of the ring R if lXI = X(R). In particular, Shannon sets
of R are maximal. On the other hand, of course, not every maximal element of
X(R) is a Shannon set. The following lemma provides a lower bound for the
Shannon number of a ring.
LeIIlIIla 2. IfR* denotes the set of units of the ring R, then X(R) ~ IR*I.
The proof is obvious. As the ring (Z2)n shows, this estimate can be very poor.
In fact, we have only one unit and large sets with the unique decoding property,
see e.g. [4]. If a finite commutative ring with zero and one has large Shannon
sets, then it is already a field, as shown by
Theorem 1. Let R be a finite commutative ring with 0 and 1. The ring R is a
field if and only if x(R) = IRI- 1.
Proof If n is a field then there is nothing to show.
If X(R) = IRI - 1, then for any r 1= 0 the map t; : R \ {O} -+ R, x I-> rx,
is injective. Now suppose that there exist r , sER \ {O} such that rs = O. We
compute r(s+ 1) ~ rs+r == r·1 and conclude that due to the injectivity property
of l; it follows either s + 1 = 0 or s + 1 = 1. If s + 1 = 0, then it follows that
r = 0 and if s + 1 = 1, then it follows that s = 0; this is a contradiction to our
assumption. Therefore any map t; restricted to R \ {O} is injective with image
R \ {O}, thus R is a field.
88
•
We conclude the section with some examples.
1. For m ~ 2 we define a ringstructure on {O, ... , m-I} by using the addition
mod m and the multiplication is given by TS = 0 for all T, s. The thus defined
ring has Shannon number 1. Any T =1= 0 defines a Shannon set {T}.
2. For m ~ 2 we define a ringstructure on {O, ... , m-I} by using the addition
mod m and the multiplication is given by OT = TO = 0 for all T and Tl =
IT = Tand TS = 0 for all other possibilities. The thus defined ring has
Shannon number 2 and any two different elements T, s in {I, ... ,m - I}
define a Shannon set {T, s}.
3. If n = Z~, then a Shannon set is given by {(O, 1, 1), (1,0,1), (1, 1, O)}.
3 The ring lFnxn
q
In this section, we study the ring of matrices over a finite field of characteristic
p, where p is a prime number. We will show that for rings of this type there
exists only one Shannon set.
Theorem 2. Let n = lF;xn be the ring of n x ri-matrices with entries in the
field Fq of characteristic p. The set Cl(n, IF) of invertible matrices is the only
Shannon set of lF;xn.
Proof The set Cl(n,lFq) of invertible n x n-matrices has the unique decoding
property. The cardinality of Cl(n,IFq) is given by n;~~(qn - qj). Now suppose
that XE x(w;xn) is such that lXI> ICl(n, IFq)l. Then X contains at least one
matrix A such that A rt Cl (n, lFq). If we consider A as a linear map from the lF«:
veetorspace IF; to itself, then A (IF;) is an at most (n - 1)-dimensional subspace
of lF;. This gives that the cardinality of the set AlF;xn = {AB I B E IF;xn}
is smaller than or equal to qn(n-l). On the other hand, A E X and therefore
IAXI = lXI. This yields ICl(n,IFq)1 = n;~~(qn - qj) < lXI = IAXI :::;qn(n-l),
which is a contradiction.
•
4 The ring Z'Tn
In this section we study the residue class rings ZTn = Z/(mZ), where m is
a natural number. Theorem 3 shows that X(ZTn) = cP(m), where cP is Euler's
totient function, see e.g. [2]. Moreover, we give a complete list of all possible
Shannon sets of ZTn.
Theorem 3. If n = ZTn' then the set of units Z;;' of ZTn is a Shannon set.
We begin with an auxiliary Lemma and some notation
89
Lemrna 3. If 1 < P2 < P3 < ... < PL are natural numbers, then
L
<
IT ~_PL,
j=I PJ
Pj
where equality holds if and only if j = Pj for all j = 2, ... ,L.
The function 1, such that d < "'(:)' then X n Z'TTl(d) =
0.
Proof Let d be the largest proper divisor of m such that Z'TTl(d) n X i= 0 and
let dl = 1 < d2 < ... < dK -1 < d« = d be all divisors of m less than or equal
to d«. By 1., it follows that d« < "'(:)' If rn" = lcm (dl , ... ,dK) denotes the
least common multiple of dJ, ... , d«, then we can write
L
m = m" ITpfim',
i=l
where PI < ... < PL are the prime divisors of m* and the prime divisors of m'
are all greater than d« .
90
By 1. we have that
Let y E X n Zm.(d). Since X is a Shannon set, it follows that
which implies
U z.;
K
rjJ(m) < U Zm.(gcd(dKdj, m)) (dK gcd (dj,:;:; ITpfim')) .
j=1 J=1 .=1
This can be estimated by
where ó runs over the divisors of ;; I1f=1pfi. Using Euler's totient function rjJ,
we obtain the inequality
Since the sum is over all divisors of ;Z; I1f=l pfi, we obtain the inequality
* L
rjJ(m) < rjJ(m'); ITpfi
K i=1
and with rjJ(m) = ; (m* I1~=1pfim') = rjJ(m*) I1~=1pfirjJ(m') we obtain the final
inequality
m*
rjJ(m*) < dK)
or, d« < q,~.). Since Pt < ... < PL are the prime divisors of m* there exists a
jo E {l, ... ) K} such that djo = PL :s
dK and thus we have
m" L Pj
PL IT p' _ 1
:s d« < rjJ(m*) = J=1 J
which is a contradiction to Lemma 3. Therefore we can conclude that no proper
divisor d of m exists such that X n Zed) # 0.
•
91
We are now prepared to finish the proof of Theorem 3. By 1., we have X ç
Zm(dt} U ... U Zm(dM), where dM is the largest divisor less than m/>(m). By
2., it follows that X ç Zm(I) which contradiets our assumption lXI> >(m).
This completes the proof of Theorem 3.
Theorem 4. If gcd(m, 6) = 1, then Z;' is the unique Shannon set of the ring
•
z.;
Proof If X is a Shannon set different from Z;', then there exists a largest non-
trivial divisor d of m such that X n Zed) ie- 0. Due to our above observations
from the previous proof, d has to satisfy d :::::",(r:.). Following the arguments
given in 2. of the proof of Theorem 3, d also satisfies
m*
d<--
- >(m*)'
where m" is the lowest common multiple of all divisors of m which are less than
or equal to d. If PI < ... < PL denote the prime divisors of m*, then we have
that
* L
PL -
< d < _!!!._ =
- >(m*)
IT _!!j_
. P - 1·
J=1 1
Since gcd(m, 6) = 1, we have 4 < PI < ... < PL and Lemma 3 implies
L
Pj
IT ~
(m') different Shannon sets of Z7n'
3. If 0: = 2, then there exist 24>(m')+ 1 different Shannon sets of Zm.
Proof 1. We begin with the case f3 = 0, i.e., m = 2m'. A Shannon set X has to
be a subset of Zm(I) U Zm(2) and we write
X = XCI) U X(2),
where XCi) = X n Zm(i), for i = 1,2. Note that IZm(2)1 = IZm(I)1 = 4>(m).
Since 2Zm(2) = Zm(2), it follows that Z,.,,(2) is a Shannon set. Moreover, the
map Zm(2) :3 dl--> d + m' E Zm(I) is bijective.
Let X be a Shannon set. If d E X(2), then d2 E dX and therefore d + m'
being an element of Zm(I) is not an element of XCI); otherwise we would have
~ = d(d + m'). Thus we see that XCI) = Z7n(I) \ (X(2) + m') and X =
(Zm(I) \ (X(2) + m'» U X(2).
On the other hand, if Y is any subset of Zm(2), then (Zm(I) \ (Y + m') uY
is a Shannon set. The assertion follows from IZm(2)1 = 4>(m').
Now suppose that m = 2 . 3f3m', where f3 ;::: 2. A Shannon set X is a subset
of Zm(I) U Z7n(2) U Zm(3) and we write X = XCI) U X(2) U X(3), where XCi) =
XnZ(i), i = 1,2,3.
If « X(3), then we must have that 4>(m) = IdXI :::; IZm(3) U Zm(6) U Z7n(9)1.
ä
We therefore obtain the inequality
which is impossible. This shows that X c Zm(I) U Zm(2) and an application of
the same arguments as above gives the desired result.
2. For m = 6m', where gcd( m', 6) = 1, we have the following facts
- Zm(I) = Zm(2) + 3m'. .
- Zm(I) = (Zm(3) + 2m') U (Zm(3) + 4m') and (Zm(3) + 2m') n (Z1n(3) +
4m') = 0.
- IZ7n(I)1 = IZm(2)1 = 24>(m') and IZ7n(3)I = 4>(m').
As before, we have X = XCI) U X(2) U X(3). If X(3) = 0, then the arguments
°
of 1. for f3 = apply and we count 224>(7n')Shannon sets.
If d E X(3), then XCI) does not contain d + 2m' and d + 4m', since ~ =
d(d + 2m') = d(d + 4m'). Moreover, if d' E XCI), then there exists ( E Z1n(3)
such that either d' = (+ 2m' or d' = (+ 4m'. On the other hand, for d E X(3)
we have that dd' = d«( + 2m') = d«( + 4m'). I.e., if d' = (+ 2m.' E XCI), then
(+ 4m' If. XCI) and vice versa. We conclude that IX(I)I :::; 4>(m') - IX(3)1. On
the other hand, we have that
24>(mf) = IX(I)I + IX(2)1 + IX(3)1 :::; 4>(m') + IX(2)1·
Therefore IX(2)1 ;:::4>(m').
If d' E Z7n(2), then either d' + 2m' E Z7n(2) or d' + 4m' E Z7n(2). In any
case it follows for d E X(3) and d' E X(2) that either dd' = d(d' + 2m') or
94
dd' = d(d' +4m'). Therefore IX(2)1 :s >(m').By our above inequality, it follows
that IX(2)1 = >(m').
Finally, if d' E X(2), then d' + 3m' ~ X(I), otherwise d'd' = d'(d' + 3m').
This gives that
X(I) = Zm(l) \ «X(2) + 3m') U (X(3) + 2m') U (X(3) + 4m'».
On the other hand, for a given non-empty subset Y(3) of Z(3) and a subset
Y(2) C Z(2) such that IY(2)1 = >(m') and such that for given dl, d2 E X(2)
dl i= d2 mod 2m', we define Y(I) as in the above formula (replace X by Y).
Then Y(I) U Y(2) U Y(3) is a Shannon set.
This gives 24>(m')(24>(m') - 1) Shannon sets if X(3) i- 0, plus the number of
Shannon sets in case X(3) = 0 gives a totalof 224>(m')+1 - 24>(m') Shannon sets.
3. Let m = 4· 3/3m', where gcd(m',6) = 1. As a first step we consider the case
f3 = 0, i.e., m = 4m'. We have that IX(I)1 = 2IX(2)1 = 2jX(4)1. Moreover, since
the map Zm(2) 3 x 2x E Zm(4) is bijective, it follows that Zm(2) has the
f--+
unique decoding property. The map Zm(I) 3 x X + 2m' E Zm(I)
f--+ is bijective.
If X = XCI) U X(2) is a Shannon set such that X(2) i- 0, then s E X(I)
implies s + 2m' ~ XCI); otherwise we would have for d E X(2): ds = des + 2m').
This shows that IX(I)1 :S >(m'). Since X is a Shannon set, it follows that
IX(2)1 = >(m'),i.e., X(2) = Zm(2), and IX(I)I = >(m').Note that XCI) is such
that (X(I) + 2m') n X(I) = 0.
Let Y c Zm(1) be such that (Y + 2m') n Y = 0, then Y U Zm(2) is a
Shannon set. This gives 24>(m') Shannon sets. Since Zm(I) is also Shannon set,
the assertion follows.
As a next step we consider m = 12m', where gcd(m',6) = 1. A Shannon set
X is a subset of Zm(1) U Zm(2) U Zm(3). If we assume that there exist d E X(3),
then we arrive at the inequality >(12):S >(4)+ >(2),a contradiction. Thus
we conclude that X C Zm(I) U Z7n(2) and apply the arguments for the case
m=4m'.
The case m = 4 . 3/3 for f3 2: 2 is treated in a similar way. The assumption
X(3) i- 0 leads to a contradiction. Thus X C Zm(I) U Z7n(2) and we can use the
same arguments as in 1. for f3 = o.
•
References
1. R. Ahlswede, N. Cai, Z. Zhang. On Interactive Communication, IEEE Trans. In-
form. Th., Vol. 43., No. 1, Jan. 1997, 22-37.
2. G.H. Hardy, E.M. Wright. An Introduction to the Theory of Numbers, 5th edi-
tion, Oxford Clarendon Press, 1979.
3. C.E. Shannon. Two-way communication channels, Proc. 4th Berkeley Symp.
Math. Stat. and Prob., 1961, 611-644.
4. L. Tolhuizen. New rate pairs in the zero-error capacity region of the binary
multiplying channel without feedback, IEEE Trans. Inform. Th. Vol. 46, No. 3,
2000, 1043-1046.
95
Sum Capacity of the OCDMA /OCDMA Signature
Sequence Set with Unequal Power Constraints
Frederik Vanhaverbeke and Marc Moeneclaey
TELINIDIGCOM,Ghent University, Sint-Pietersnieuwstraat 41, B-90oo Gent, Belgium
fv@telin.rug.ac.he
Abstract. In this paper, the sum capacity of the OCDMAJOCDMA (DID) sig-
nature sequence set is investigated when the users of the two orthogonal sets
are allowed to have a different average-input-energy constraint and with perfect
synchronization of the users. It is found that the sum capacity is dependent on
the load and the respective SNR only, but independent of the choice of the or-
thogonal sets. For a fixed total power and when the power constraints of the
two user sets are allowed to he different, it is shown that the sum capacity of
the DID system can he made arbitrarily close to the sum capacity of the Gaus-
sian Multiple Access Channel.
1 Introduction
It is well known that imposing the structure of direct-sequence spread-spectrum Code-
Division Multiple Access (CDMA) on transmitted signals, in general yields a capacity
loss as compared to the Gaussian Multiple-Access Channel (GMAC) [1]. Denoting by
N and K the spreading factor and the total number of users of the CDMA system re-
spectively, in the non-saturated channel (K to Ps, where
i,k E G.
2. After receiving the information, Pk computes À, such that M~«:])À = e,
o
for some group cG and GE 2 * TA.
3. Denote by RI the first column in R. So, s =< RI,e >=< RI,M~(G)À >=
< M =< (M = < (S , where (S .
Note that joint information held by the players in G is S (MiR)T = RAfl' and
hence MjvT = vjM[ holds for all good players P;,Pj. Thus all good players are
in G. Therefore veri = 1 for each good player Pi.
3. Suppose that all players from G E TA output veri = 1 at the end of the Share.
Then in G no one complained to the others. Since we assume that there are ..::lA
bad players, there are at least G E 2 * TA good players in G. Further because of
condition iii) the players in G can determine the secret s' EK. Of course s' = s
if the dealer is good.
4. Regarding privacy let N be the "rejected" set and let us consider joint infor-
mation held by the players in N, i.e. S = O. If the
conditions are satisfied, then Pk computes and sends to Pj the values Mcp(j)(V~e?k»)T.
Otherwise Pk broadcasted an accusation of Pr
4. Pj checks whether Mcp(j)(v~elk»)T = vcpelj)M~(k) for the values of e not
accused by some set of servers from 2*FA (in step 3). If the set of values of k for
which equations are not true is from 2 * FA, then Pj broadcasts an accusation
of Pe.
5. If Pe is accused by some set of servers from 2 * rA(from steps 3 and 4),
then he can defend himself as follows. For those Pi that Pe is accused by, Pe
broadcasts V~()i)"Then all servers Pk checks whether v~()k)M~(i) = Mcp(k)(V~()i)T
and broadcasts "yes" or "no ". If the set of servers broadcasting "yes" is from
2 * FA, then Pe is not a bad server.
6. Pj updates the list of bad servers L by including all values e for which
Pe is accused by at least one set from 2 * rAor found bad in the previous step.
e
Then Pj updates Its shares as Vj +--- Vj + Ee\tL vJ ).
In this phase the real shares are not involved, so no information about them
could be revealed. Secondly, from the protocol we know that every good server
should have the same list L. Therefore, the good server will keep consistent
shares after renewal.
Note that a good server Pe can be accused by at most 2 * ..1A servers. In this
case, Pe will broadcast its defense. On the other hand, suppose P« gives to Pi a
204
wrong share, i.e the received share Pi is not consistent with some set of servers
from 2 * rA.
Then Pi will accuse P; in step 4. If Pe broadcasts a correct share
in the defense, then Pi can correct his share. Otherwise Pe will be found to be
bad.
4.3 Recover a share
When a server is corrupted or replaced, it needs to be rebooted and thus it needs
to recover the secret shares.
Detection First we provide a protocol, to detect the corrupted servers, which
we call detection.
1. Pe computes and sends M to Pk.
2'. Pk computes À, s.t, M~(ë)À = E, for some group à c G and ä E 3 * rA.
3. As in VSS ease the secret s =< (Sëh, À>.
Let us define the d = max{ Ir,o( N) I; N E r-} and let dl = mine d, d). We are
now in position to prove the following theorem.
205
Theorem 3. The scheme described in this section is an unconditionally secure
proactive secret sharing scheme if the following conditions are satisfied:
iv) F = 3 * FA'
v) Im(Mcp(G)) = «« if and only if GE F. (i.e. Mcp(G) has a maximal column
rank if and only if G E F.)
The proof follows from Theorem 2 and from the description of the protocol.
References
1. G.R.Blakley and G.A.Kabatianskii, Linear Algebra Approach to Secret Shar-
ing Schemes, Springer Verlag LNCS 829, 1994,33-40.
2. M.Ben-Or, S.Goldwasser and A.Wigderson, Completeness theorems for
Non- Cryptographic Fault-Tolerant Distributed Computation, Proc. ACM
STOC'BB, 1988, 1-10.
3. G.R.Blakley, Safeguarding cryptographic keys, AF/PS Conference Proc. 48,
1979, 313-317.
4. E.F .Brickell, Some ideal secret sharing schemes, J. of Comb. Math. and Comb.
Computing 9, 1989, 105-113.
5. R.Cramer, Introduetion to Secure Computation, Secure Computation 2000.
6. R.Cramer, I.Damgard, U.Maurer, General and Efficient Secure Multy-Party
Computation from any Linear Secret Sharing Scheme, Weizmann Workshop on
Cryptography, Weizmann Institute of Science, Rehovot, Israel, June 1998.
7. R.Cramer, I.Darngard, U.Maurer, General Secure Multy-Party Computation
from any Linear Secret-Sharing Scheme, Proc. EUROCRYPT 2000, Springer Ver-
lag LNCS 1807, 316-335.
8. B.Chor, S.Goldwasser, S.Micali and B.Awerbuch, Verifiable secret sharing
and achieving simultaneity in the presence of faults, Proc. of the IEEE 26th Annual
Symp. on Foundations of Computer Science 1985, 383-395.
9. M.van Dijk, A Linear Construction of Secret Sharing Schemes, DCC 12, 1997,
161-201.
10. A.Herzberg, S.Jarecki, H.Krawczyk, M.Yung, Proactive secret sharing or:
How to cope with perpetnet leakage, Proc. CRyrTO 1995, Springer Verlag LNCS
963, 339-352.
11. M.Hirt and U.Maurer, Player Simulation and General Adversary Structures in
Perfect Multiparty Computation, J. of Cryptology 13, 2000, 31-60.
12. M.Karchmer, A. Wigderson, On Span Programs, Proc. of B-th Annual Structure
in Complexity Theory Conference, San Diego, California, 18-21 May 1993. IEEE
Computer Society Press, 102-111.
13. R.Ostrovsky, M.Yung, How to withstand mobile virus attack, ACM Symposium
on principles of distributed computing, 1991, 51-59.
14. T.Rabin and M.Ben-Or, Verifiablesecret sharing and multiparty protoeels with
honest majority, Proc. of the 21st Annual ACM Symp. on Theory of Computing
1989, 73-85.
15. D.R.Stinson and R.Wei, Unconditionally Secure Proactive Secret Sharing
Scheme with combinatorial Structures, SAC'99, Springer Verlag LNCS 1758, 200-
214.
16. A.Shamir, How to share a secret, Communications of the ACM22, 1979,612-613.
206
Automatic Human Face Detection for Home
Surveillance Applications*
Fei Zuo! and Peter R.N. de With2
1 Eindhoven University of Technology, EESI, 5600MB Eindhoven, the Netherlands
F.Zuo~tue.nl
2 CMG Eindhoven / Eindhoven University of Technology,the Netherlands
peter.de.with~cmg.nl
Abstract. This paper concentrates on exploiting human face informa-
tion for surveillance applications in a home environment. The system
features real-time human face detection and facial feature identification.
It is our aim to insert the results in a video-security system architec-
ture, where MPEG-4 coding techniques enable low bit-rate video trans-
mission over a home network environment. The processing contains the
following essential elements: (1) skin-color segmentation, (2) histogram
analysis for facial feature detection, and (3) probability-based confidence
value evaluation of facial features. We have tested our sequence of pro-
cessing algorithms on a set of video sequences. The experimental results
show that our approach offers near real-time processing speed with good
detection capability, but the robustness needs further improvement.
1 Introduetion
Video surveillance systems have become popular in many professional applica-
tions. The small inexpensive cameras for multimedia computing enable the in-
troduction of video surveillance applications in a consumer home environment.
In the home environment, video surveillance is attractive for new applications
when it is combined with face recognition. Such a system can automatically per-
form tasks such as identifying persons approaching the back door for security
purposes. The required processing task of such a application usually involves a
widc variety of video processing algorithms ranging from motion segmentation
to pattern recognition.
A typical home video surveillance system may contain the following video
analyzing tasks.
1. Moving person segmentation for identifying approaching persons. Motion
information is analyzed here to separate moving targets from their back-
ground.
* This work is supported by the HomeNet2Run project, which is running under the
ITEA research programme within the EUREKA framework.
207
Fei Zuo and Peter H.N. de With
2. Face detection. When the person gets near enough, his/her face can be de-
tected and extracted. The corresponding facial features are extracted and/or
coded at the same time for later processing.
3. Face recognition. Face recognition distinguishes different persons and decides
about the person's identification.
Among these tasks, face detection is an indispensable and important step because
it usually sets the input for the face recognition modules. The performance of
most face recognition algorithms relies on an accurate locating of human face
regions. However, face detection has remained to be a difficult problem because
human face varies strongly in its appearance. The challenges associated with face
detection can be attributed to the following factors: pose, presence or absence
of structural components, facial expression, occlusion, image orientation and
imaging conditions [3].
A wide variety of methods for face detection have been proposed in the past
decade. Extended surveys of these methods can be found in [3][4]. These meth-
ods range from simple edge-based algorithms to complex high-level approaches
utilizing advanced pattern recognition techniques. Among these approaches, skin
color has been proved to be an effective facial feature for locating facial regions.
In addition, skin-color-based methods usually achieve much higher speed than
other computation-expensive approaches and are especially suitable for real-time
applications such as video surveillance. Several studies [1][2][3]have revealed that
human skin color forms a highly condensed cluster in certain color spaces, and
its distribution can be characterized as a multivariate Gaussian distribution.
However, skin color detection methods are prone to detection errors, especially
in cases where human faces are immersed in a skin-color-like background. Some
recent skin-color based methods use geometric analysis or motion information
for face verification. However, these methods generally cannot achieve robustness
due to the following reasons:
1. Most verification processes only simply make a true-or-false decision for a
candidate skin-color blob, therefore, they are prone to make erroneous deci-
sions when faces and their background are contained in the same skin-color
region.
2. In geometry-based verification, a set of rules defining a face are usually
formed according to heuristics or anthropometric measurements. Due to the
variation of human faces (e.g. race, sexe, and age), these rules should be well
defined. The definition of a 'perfect' threshold for classification of faces and
non-faces has been proved not feasible.
In this paper, we propose a skin-color based face detection which invokes a fur-
ther extraction process. The extraction process uses confidence values for some
facial features. The confidence value of each facial feature is based on a proba-
bilistic analysis of facial geometry. The proposed approach selects the most prob-
able facial feature combination to form a complete facial region. Our approach
has the following advantages over aforementioned skin-color-based methods:
208
Automatic Human Face Detection for Home Surveillance Applications
1. It can extract the face region from a large skin-colored area by verifying the
existence of facial features such as mouth and eyes.
2. It avoids a strict true-or-false decision by incorporating probabilistic metrics.
A set of facial features is considered to have a certain probability to represent
a human face. If one set of facial features achieve a sufficiently high confidence
value, the corresponding region is regarded as a real face region.
The paper is structured as follows. In section 2, we give a brief introduetion of
the proposed method and its processing flow. Section 3 illustrates in more detail
the key algorithms, i.e. the skin-color segmentation and probability-based facial
region evaluation. Section 4 presents the evaluation results of experiments using
our proposal. Section 5 presents conclusions.
2 Sequence of Processing Algorithms for Face Detection
In this section, we present an overview of all processing tasks that are performed
for our face detection proposal. The purpose of this section is to briefly discuss
the individual steps in the processing. In the next section, we will discuss details
of the most important steps. Fig. 1 visualizes the sequence of processing steps.
(d) (e) (I) (g)
Fig. 1. The sequence of processing algorithms for the proposed face detection method
(a) Original image frame (b) Skin color segmentation (c) Filtering (d) Contouring (e)
Region forming (f) Thresholded image for histogram analysis (g) Final result.
Each frame of the original video sequence (Fig. l(a)) is first segmented into
areas based on skin-color detection (Fig. 1(b)) [1J. A binary majority filter is then
applied to smooth the segmentation results and it also removes minor objects
and it fills holes in the object (Fig. 1(c)). The contours of the skin-colored areas
are then traced (Fig. l(d)) and candidate regions that may contain faces are
recognized and labeled (Fig. l(e)). Each candidate region is converted to a binary
image using a threshold based on both luminance and chrominance information
(Fig. l(f)). The binary image emphasizes some of the salient facial features.
209
Fei Zuo and Peter H.N. de With
After these pre-processing steps, we use a probability-based face verification
algorithm to further extract facial regions from the candidate regions. In this
algorithm, possible prominent facial feature regions (mouth and eyes) are first
located, using histogram analysis. Then so-called individuallocal confidence val-
ues are assigned to each feature. All possible combinations of facial features are
then formed to generate a face candidate set. For each combination, the global
relationship between constituting feature regions is examined to yield a global
confidence value. The candidate combination with the largest comprehensive
confidence value is considered the most-likely facial region. After such a facial
region is determined, post-processing eliminates unlikely candidates based on
shape analysis (Fig. leg)). The rectangular bounding box indicates the face re-
gion, while the enclosed upper and lower horizontallines represent the eye region
and mouth region, respectively.
3 Key Algorithms for Face Detection
3.1 Skin Color Segmentation
We apply the research result from [Ijbecause it uses two signal components only
which supports real-time applications. We analyzed a sample set of facial pix-
els taken from people of different race, gender, age and under various lighting
conditions. The skin color is mostly concentrated in two normalized signal com-
ponents r = R+~+B and 9 = R+g+B' The combination (r,9) yields a bivariate
Gaussian distribution, which is plotted in Fig. 2.
Skin-color distributiof'
Fig. 2. Bivariate Gaussian distribution of skin color showing a narrow concentration
(I-£r = 110.4157, I-£g = 80.4125, {j~ = 154.9733, {j~ = 20.1298, {jgr = (jrg
= -18.5518).
The mean values of rand 9 (I-£r = EI'=l ri, I-£g = E7=19j) are computed. Also
the covarianee term a gr and the signal varianees {j; and {j~ are evaluated for a
rough segmentation of the original image frame into possible facial areas.
210
Automatic Human Face Detection for Home Surveillance Applications
3.2 Probability-based Facial Region Verification
Facial features have been widely used in facial processing literature for classifying
human faces. However, facial feature appearance and distribution vary consid-
erably among different people and under different conditions. Some of the facial
features can not be explicitly distinguished from image deteriorations resulting
from local poor video quality (e.g. a dark noisy area). Some of the facial features
can be easily mixed up like eyebrows and eyes. For this reason, we focus on first
selecting the most prominent facial features - eyes and mouth. We assume that
these features are always present in every face image. At the same time, the
detection of less prominent features, like nostrils and eyebrows, can contribute
positively to a confident identification of prominent facial features.
The algorithm starts with a binary image which may contain a human face.
First the horizontal histogram is generated from the input image [6], from which
second derivatives of local maxima are located as reference lines. These reference
lines correspond to some comparatively 'flat' areas having no significant dark
regions, i.e. potential cheek lines. The local minima above the reference line
and the local minima below the reference line form two candidate sets: the eye
region candidate set ESk = {ei I i = I,m} and the mouth region candidate set
MSk = {mj Ij = l,n}(see Fig. 3). The algorithm iterates over the whole facial
region to get all reference lines and all possible eye and mouth candidates: ES
= UESk and MS = UMSk.
Fig. 3. Face detection and subsequent facial histogram analysis.
For each e, E ES, we define the probability of being the real eye region as a
local confidence function:
m
LC(e"EYE) = L WsP". (1)
8=1
The term ui, is a weighting factor and Ps represents the confidence value
based on different assessment criteria that are explained below. Two criteria are
of significant importance for their contribution to the confidence function.
1. A principal criterion is the matching probability of ei fitting to a pre-defined
eye region template (see Fig. 3(a». A series oftemplates are used in this stage
to accommodate for various eye positions. The probability value indicates
how well ei fits to one of these available templates.
211
Fei Zuo and Peter H.N. de With
2. Another important criterion considers the possible existence of less promi-
nent features like nostrils and eyebrows, for increasing the reliability of our
decision. The detection of less prominent features in the correct positions
relative to ei increases the probability that ei is a real eye region. In Fig.
3(b), auxiliary regions es and et are introduced for this purpose, where es
may contain the eyebrows and et may contain the cheek. The presence of
low-intensity pixels in es and high-intensity pixels in et gives ei a higher
confidence value. This is especially useful when a significant eyebrow area
appears in the face.
Eye templates
1-
- -- Auxiliary region es
Candidate eye region
Auxiliary region et
ei
(a) (b)
Fig. 4. Local confidence evaluation
Similar processing is also applied to evaluate the mouth region. After local
confidence evaluation is examined, the individual candidate features of ES and
MS are extended with their corresponding confidence values, as follows:
where Cei represents the confidence value of ei and Cmj represents the confidence
value of mj'
'The examination of only local features and their relations is not sufficient
for a final judgment of a facial region. A global confidence evaluation process is
applied to assess the overall probability for a face candidate. We define a face
candidate as a combination of facial feature regions. For each face candidate
(ei,mj) E ESC x MSC, a global confidence function is evaluated as follows:
n
GC(ei, mi) =~
~ WtQt . (2)
t=l
The term Wt is a weighting factor and Qt represents the global confidence
value according to global assessment criteria. These criteria are based on geo-
metric relations between different features. For example, one of the criteria is
based on the statistical analysis of the ratio between face width at the eye level
de and the distance between eye and mouth dv. The probability density function
of this parameter for a large group of people can be characterized as a normal
212
Automatic Human Face Detection for Home Surveillance Applications
distribution. Therefore, the confidence value Qt in our proposal is based on the
probability evaluation of the specific ratio de/dv.
The final confidence evaluation function of a face candidate combines equa-
tions (1) and (2) into:
The variables wg, We, Wm are weighting factors. The face candidate with the
highest confidence value is selected as the most probable facial region. A post-
processing step is then performed to make a final judgment using a shape analysis
of the selected region.
4 Experimental Results
To evaluate the efficiency of our proposed technique, we tested our method on
several video sequences including both standard testing sequences and self-made
sequences. The system achieves an average of 10.7 frames/sec processing speed
on a Pentium IV desktop (Intel 1.7G Pentium IV processor, 256M memory, Red
Hat Linux 7.2, gcc) with a resolution of 320 pixels by 240 lines, which is sufficient
for real-time video surveillance applications.
Example frames from the testing video sequences are shown in Fig. 5. In
sequence Salesman (Fig. 5(a» which contains relatively detailed background,
the system identifies the face region correctly in 90% of the frames. We recorded
a special experimental indoor sequence (Fig. 5(b» because it contains skin-
colored background objects such as cabinets, tables and parts of the person's
clothes. The system successfully identifies the face region in 95% of the frames.
The experiments prove that our approach is quite attractive for real-time video
surveillance applications.
However, initially the proposed method was prone to make false detections
when dealing with more detailed background objects, and it showed low robust-
ness against poorly-illuminated environments. These problems were solved by
incorporating an image correction pre-processing step and a refinement of the
previously mentioned confidence evaluation criteria.
(a) (b)
Fig. 5. Detection results on different video sequences
213 .
Fei Zuo and Peter H.N. de With
5 Conclusions
In this paper, we have proposed a fast human face detection technique for home
video surveillance applications. The proposal first uses a skin-color model to
roughly segment the possible facial areas. Afterwards, a probability-based evalu-
ation process is applied to further extract facial features from candidate regions.
In this step, prominent feature regions such as eyes and mouth are extracted
based on confidence value evaluation. The experimental results show that a
90-95% detection accuracy is achieved. As there is no training procedure in-
volved in the processing, the proposed technique is suitable for real-time video
processing.
Our proposal can be further refined by incorporating more advanced nor-
malization and criterion selection. Motion information can also be included to
improve the overall detection accuracy. The robustness of the system with re-
spect to poor illumination and rotation of the faces still need further study.
References
1. Yang, J., Lu, W., Waibel, A.: Skin-Color Modelling and Adaptation. Technical Re-
port CMU-CS-97-146. School of Computer Science, Carnegie Mellon University,
Pittsburgh (1997)
2. Sobottka, K., Pitas, Ioannis.: Extraction of Facial Regions and Features using Color
and Shape Information. In Proc. 13th International Conference on Pattern Recog-
nition. Vienna Austria (1996) 421-425
3. Yang, M-H., Kriegman, D., Abuja, N.: Detecting Faces in Images: A Survey. in IEEE
Transactions on Pattern Analysis and Machine Intelligence (PAMI), Vol 24, no. 1.
(2002) 34-58
4. Hjelmaas, E.: Face Detection: A Survey. in Computer Vision and Image Under-
standing, Vol 83. (2001) 236-274
5. Yang, M-H., Abuja, N.: Detecting Human Faces in Color Images. in Proc. Interna-
tional Conference on Image Processing, Vol1. 1. (1998) 127-130
6. Kotropoulos, C., Pitas, I.: Rule-based Face Detection in Frontal Views. in Proc.
International Conference on Acoustics, Speech and Signal Processing. Munich Ger-
many (1997) 127-541
214
Multi-party Server-Aided Key Distribution Protocols
Based on Symmetric techniques
Malek Bechlaghem"
Université Libre de Bruxelles
Dept. of Computer Science, Bd. Du Triomphe, e.P. 212,
1050 Bruxelles, Belgium
mbechla@ulb.ac.be
Abstract. Server-aided multi-party key distribution (MSKD) protocols are
protocols in which a Trusted Third Party generates and broadcasts securely a session
key to protocol participants. We investigate MSKD protocols through their desired
properties and propose new protocols offering additional properties. Our protocols are
contributory in the sense that every protocol participant equally contributes to the key
generation process and guarantees its freshness. Our protocols do not require the use
of conventional encryptionldecryption, instead, we use other security mechanisms
such as Secure Keyed Hash Functions. Our protocols allow pre-computation on TTP
side which is an important property allowing to reduce the TTP computational
complexity during protocol runs. We define backward secrecy as being a week variant
of perfect forward secrecy and show that our protocol provide backward secrecy.
I. Introduetion
Key establishment protocols can be roughly classified in two categories: Key
distributton protocols which rely on a trusted entity to generate and transfer a session
key to protocol participants. On the other hand, in Key agreement protocols each
participant is involved in the construction ofthe key.
In this paper, we are interested in multi-party key distribution protocols based on
symmetric techniques. Server-less multi-party key distribution protocols [3] are not
easily extendible to multi-party settings since every user needs to share his secret key
with all other users so in this paper we confine our work on Mu/ti-party Server-aided
Key Distributton (MSKD) protocols. In this paper, we considered relevant features
and properties of MSKD protocols and in doing so, we discovered that existing
protocols suffer from the lack several of these properties which led us to define new
useful properties.
The remainder of this paper is organized as follows. After presenting some
necessary definitions in section 11, we discuss the motivations and goals of our work
in section Ill. After describing few useful notations in section IV, we then detail our
protocols in section V .
• This paper was finalized when the author was working for Belgacom, Bd du Roi Albert 1127,
)030 Brussels.
215
11.Key establishment protocols: Definitlons and properties
Most of the following definitions are taken from the literature. Menezes & al [5],
chapter 12 is a good reference.
Key authentication is the property whereby one party is assured that no other party
aside from protocol participants may gain access to an agreed secret key during a
protocol run unless aided by dishonest protocol participant.
Key confirmatien is the property whereby one party (possibly the TIP) is assured
that other protocol participants actually have possession of an established session key.
Explicit key authentication is the property obtained when both key authentication
and key confirmatien hold.
An authenticated key distribution protocol is a key distribution protocol which
provides key authentication.
A contributory protocol is a protocol where each party equally contributes to the
key and guarantees its freshness.
Resistance to known key attacks. A protocol is said to be resistant to known key
attacks if compromise of past session keys should not release any useful information
about future session keys.
"Perfect" Forward secrecy. A protocol is said to provide perfect forward secrecy
if compromise of long-term keys cannot result in compromise of old session keys.
Ill. Motivation and goals
To our knowledge, apart from Boyd protocols [4J who provided a framework to
develop key establishment protocols and Needham-Schroeder like protocols [7,8,9J
which can all be generalized to n-party case, no specific multi-party server-aided key
distribution protocol using symmetric techniques has been developed. MSKD
protocols has not been widely studied because they suffer from the inherent
drawbacks and disadvantages of 2-party key distribution protocols that can be
summarized through the followings:
In most existing server-aided key distribution protocols, no entity authentication
to the TTP is foreseen. In some situations, it may desirables for the TIP to
authenticate entities participating in the protocol before distributing session keys.
Typically, MSKD protocols are not contributory in the sense that the session key
is generated by the TIP and broadcasted to users. In some situations, it might be
simply unacceptable to rely on a single party to generate the group key giving not
enough guarantees that the key is fresh and random.
No existing server-aided key distribution protocol (either in 2 and multi-party
settings) offers perfectforward secrecy.
The TTP is actively involved in the protocol runs generating and distributing
session keys to a multitude of protocol participants.
So, we took these drawbacks into consideration when developing our protocols and
were particularly interested in reaching the following properties:
216
Achieve partielpants authentication to the TTP before any key distribution
from the TIP holds.
No use conventional encryption-decryption
Contributory protocols, where all participants contribute to the key
generation
Guarantee of key freshness and correct key possession to protocol
participants without the obligation of key confirmation phase
We investigate perfect forward secrecy, which is difficult to achieve in
server-aided multi-party key distribution protocol using symmetric
techniques.
Reduce TTP involvement during protocol runs
IV. Notations
TIP Trusted third party
U Set of existing users in the system, U={ U , U" U" ... }
lb
U Data which uniquely identify the i member of the system
P Set of participants in a protocol run.
Pi i" participant in a protocol run. Within this document, we will use indistinguishably
the terms P and U in the system.
P Initiator of a protocol run with the TIP
P Last participant involved in authentication phase of our protocols
K Long-term secret key of U shared with the TIP
RW J'" protocol run in which P will be involved
CNT)i Nonce shared between the TIP and Pi during the t protocol run RUN)i in which Pi
will be involved.
K_l. Session key established during the jUl_])rotocol run in which P was involved
h(x) The result of applyin_g a Collision Resistant Hash Function (CRHF) [10,6] to x
h(k,x) The result of applying a Secure Keyed Hash Function [1] to x, k being a fixed length
key
Fig. 1. Notations
V. Our multi-party key establishment protocol
V.I Initiation phase
The initiator of the protocol run sends to the TIP the list P of participants involved
in the protocol run. Without loss of generality, we assume P ={Pl' P2, P3, ••• , p.}.
Every participant in the protocol run receives the names of other participants in an
authenticated message coming from the TIP.
217
Nonce synchronizaüon between the TTP and protocol participants. Each time a
user participates in a protocol run, he must agree on a new nonce with the TTP. In
our protocols, we consider that the nonce must be kept secret. So, when he is
registered for the first time, every user U; agrees with the TTP on an initial secret
nonce cJVIi,. This value will be used during the first protocol run in which U; will be
involved. When he will participate to his t protocol run, P; selects randomly a nonce
CNTj; corresponding to the current protocol run and computes l( = h(K,CNT·I) (J)
CNT.t P, discards CNT·1and sends J( , to the TfP. The TIP retrieves the new nonce it
shares with P; by computing CNT, = 1( (J)h (K, CNT·I). We note finally that
CNT'-I; is also discarded on TfP side.
V.2 Authentication phase
In this paper, we consider an inherent drawback of existing server-aided key
distribution protocols related to the way entity authentication is achieved. Typically,
entity authentication between protocol participants is achieved through key
confirmation. Moreover, no entity authentication to the TfP is foreseen. The
consequence is that when the TfP receives a message from an originating party
requesting a session key to share with another party, the TTP has no guarantee that
the request came indeed from the originator. It may be simply an attacker trying to
mount an efficient cryptanalytic attack by collecting a maximum messages encrypted
with long-term secret keys. To be immune from such threats, we define the following
ro e
Direct entity authentication is the property whereby explicit authentication of
participants to the TIP holds before a session key is distributed by the TfP.
Direct entity authentication deals with the authentication of protocol participants to
the TIP which may be a desirable property in some situations. It allows the TIP to
establish identities of all protocol participants and their aliveness at a given instant
before deciding to distribute session keys.
Authenrieatlon protocol
1- The TfP and protocol participants agree on fresh nonce using the method described in
section V.l.
2- For every participant P; in the protocol run, the TIP computes the value Hi = h(Kp
CNT)
3- The TfP computes the sum S= HI tB H] tB .. , tB Hn.n being the number of participants in
the protocol run.
4- The TIP selects randomly an integer A, adds it to S and sends the resulting sum to the
"Initiator" of the protocol run: 1TP -7 initiator PI: 1TP _A UTH_MESS = S tB A = H, tBH2
tBH3(J)···@Hn@A
Once he receives the message ITP _AUTH-MESSAGE from the TfP, the initiator PI
computes the value HI = h(KI, CNT), adds it (XOR addition) to 1TP _AUTH_MESS. He
then sends the resulting message to P, who will perform the same action and forwards the
resulting message to next user. Finally, if all participants behave correctly, Po should
218
receive the message H, tE A from p ...r He compute H. and adds it to the message he
receives resulting in the value A. Finally, the "finalist" applies the function "h" to A and
sends the resulting message "FINALIST_AU1H_MES" to the TIP:
5- TIP ~ Initiator = PI: ITP _A Um_MESS = Hl $Hz (/)H3tE ... (/) H, (/)A
6- PI ~ Pz: P }-AUm_MESS = H] (/)H3(/) (/)H, tEA
7-P] ~ P3: p}-AUm_MESS =H3(/)H.(/) (/)Hn$A
8-P ...1 ~ P, i P...}-Aum_MESS=Hn$A
9- Pn ~ TIP : r,_Aum_MESS = A
Upon fmding a match between the message P, _A U1H_MESS received from P n and the
integer A it generated at the beginning of the protocol, the TIP is convinced that all
participants are who they claim to be. She is also convinced that all participants are alive
and contributed in the authentication phase. Upon fmding a mismatch, the TIP terminates
the protocol run.
Fig. 2. Authentication protocol
Authentication protocol message flow topology. We opted for an annular topology
described in the following figure:
,----, I _---ëO- lP'
TTP
~""1 L-
Fig. 3. Authentication protocol message flow topology
The order of participant in the annular topology can either be imposed by the TIP
or by the initiator. We opted for an annular topology simply to allow minimizing the
messages originating from and received by the TIP during authentication phase.
Security of authentication protocol
Use of nonces eNT,. Since we are using a Secure Keyed Hash (SK.HF) function,
associating a nonce with P,'s key K, guarantees that the value H, = h(K, CNT) will be
fresh and new for every protocol run provided that the value of eNT, is different each
time the user P, is involved in a protocol run.
Attacker's! motivation and strategy. Firstly, the attacker wants to compromise
participant Pi key K, In case it is not able to compromise Pi key K's, the attacker
wants to masquerade as Pi who's name doesn't appear in the list P received by the
TIP from the initiator in the initialization phase. To succeed in his strategy, the
attacker must be able to retrieve the value "A" without Pi'S involvement. To do so, the
attacker must be able to reproduce the value H, = h(K~ CNT). Since we are using a
I In an extended version of our paper [2], we describe different types of attackers
(insiders, external attackers, ... ) and the strategy of each of them.
219
secure keyed hash function, the attacker cannot compute If; without having any
knowledge about the value of the key K;.
Denial of service attack. The only effective attack an attacker can mount is a kind
of "denial of service attack" where he injects or modifies messages in the flow of
messages exchanged during authentication protocol. Such an attack is not considered
as a security breach and can be dealt with by techniques such as physical security.
Authentication phase failure. Byeavesdropping on message exchanged during a
particular protocol run, the attacker is able to gain knowledge about H;os without
knowing any secret key K; (ie [I,n]). The way he can do it is very straightforward:
P ;-A UTH_MESStB P,+;-A UTH_MESS= H'+I. At the end of authentication phase, if the
TIP doesn't receive the correct value A, it stops the protocol run and requires new
nonce values from each participant. This protects from an attacker replaying H;'s
corresponding to former protocol runs.
On the confidentiality of secret nonce CNT/s. A new secret nonce CNTJ;,
t
corresponding to the protocol run in which P;is involved, is sent from P;to the TIP
as follows: R\ = h(K;,CNT°';) EBCNTj;. Since an attacker knows h(K;,CNT-I) and R\
byeavesdropping, secret nonce CNT\ is now disclosed to the attacker. This problem
can be solved by simply having P; incrementing first CNTJ-'; and then computing R\ =
h(K;,CNTjOI;+ 1) Efl CNT';.
V.3 Session key generation by the TTP
When thinking about a key generation method, our motivation was of twice. Firstly,
we wanted that every protocol participant contributes to the key generation and
guarantees its freshness. Secondly, we were interested in a mechanism allowing every
participant to be convinced that we has the correct established key. This property may
be needed in situations where no key confmnation is foreseen.
Our method to generate a fresh session key is based on the Chinese Remainder
Theorem (CRT) which allows us to reach our desired goals.
CRT theorem. Suppose that mi' m,•...• mu are pair-wise relatively prime positive
integers, and let ai' ~, ... , aDbe integers. Then the system of congruencies, X = a; (mod
m) for 1<~, has a unif.Jue solution modulo M = mi x m2 x ... x ID..
To generate a session key SK, the TIP solves the following system of congruencies
for the session key SK:
SK == h(KI,CNTI + 1) (mod m)
SK == h~,CN1\+ 1) (mod m.)
Where m; (IE LI,n]) are pair-wise relatively
prime positive integers
Security and confidentiality of the session key. When associated with fresh
participants nonce, CRT theorem guarantees the uniqueness and freshness of the
session key SK. Nonce CNf; must be incremented because, as we explained
previously, all's H;'s (H; =h(K;,CNT) are disclosed to an attacker eavesdropping on
messages exchanged during authentication protocol.
220
Contributory key generation method. Proving that each particrpant equally
contributes to the key is very straightforward since the session key SK is constructed
from all participants contributions (through their fresh nonce).
Remark. We could have applied one way hash function to M and used the result as
the session key value. Unfortunately, this won't allow us to provide protocol
participants with the guarantee of correct key possession without key confirmation,
Guarantee of key freshness and correct key possession without key confirmation.
When he receives the session key, each participant Pi reduce it modulo m. Upon
finding a result that is equal to h(IC"CNT"i+ 1), he is now convinced that the session
key comes from the TfP, that the key is fresh and more importantly that he his in
possession of the correct established key since apart from the TfP which shares
secrets with every participant, no other entity can compute the session key SK without
knowing participant secrets shared with the TfP.
V.4 Key distribution protocol: Key_Dist
When developing our key distribution protocol, one of our goals was to have a
protocol free from conventional encryptionldecryption (such as invertible block
ciphers). So we argue that not relying on block cipher algorithms (such as DES)
would help to be immune from a major advance in cryptanalysis techniques against
block ciphers. Our protocol allowing a TfP to broadcast a session key to protocol
participants is based on Shamir's polynomial interpolation [10].
1- The TfP executes authentication protocol with protocol participants.
2- After a successful authentication phase, the TfP generates a session key SK (as
described in section V.3)
3- To distribute the session key SK to protocol participants, the TfP solves first the
following equations for al'~' ... , a.:
h(KI, CNT\+2)= SK + al x 1 + ~ X (1)2 + + a. x (1)"
h~, CNT\+2)= SK + al x 2 + ~ X (2)2 + + a. x (2)·
h~, CNT'D+2)= SK + al x n + ~ x (n)' + ..... + a. x (n)"
All computations are performed modulo a suitably large prime number q.
4- Let f(x)= SK + al x x + ~ X (X)2 ..... + aDx (x)" .
Note that f(I)=h(Kl,CNT"1+2), f(2)=h(~,CN1"2+2), ... and finally f(n)= h(K.,CNTD+2).
The TfP computes f(n+ 1), f(n+2), ..... , f(2n) and sends them to all protocol participants.
An alternate mechanism consists in the TfP maintaining a read only public directory
where it makes available these values for protocol participants.
5- Each participant Pi who knows IC, and possesses n+ 1 points (x, f(x) can now
interpolate the polynomial f and gain access to the session key SK.
Fig. 4. Key distribution protocol: Key_Dist
Theorem V.l: Key_Dist protocol is an authenticated key distribution protocol.
Sketch of proof By monitoring network traffic, n points «n+l, f(n+l», (n+2,
f(n+2», ... , (2n, f(2n», are revealed to an attacker who wants to gain information
221
about the value of the session key SK. For each candidate value SK', the attacker can
construct one and only one polynomial f'(x) of degree n such that f'(O)=k',
f'(i)=f(n+i) for i E [l,n]. All such polynomials are equally likely; therefore, since
nonce are incremented (same argument given in section V.3), there is nothing the
attacker can deduce about the value of the session key SK.
Theorem V.2: Key_Dist is contributory.
Proof: The TIP distributes a session key generated using a key generation method
which has been proven to be contributory (as explained in section V.3).
Theorem V.3: Key_Dist is resistant to known key attacks.
Sketch of proof. The proof of this theorem can be deduced from the security of
key generation method (explained in section V.3) and from the proof of theorem V.l
where it has been explained that unless the attacker knows Pi'S long-term secret key
K;, it is impossible for him to gain any knowledge about the established session keys.
V.5 On perfect forward secrecy
We recall how a participant Pi sends to the TIP a new nonce value corresponding
to the current protocol run. P; selects randomly a nonce eNTJi corresponding to the
current protocol run (jib for example). Then he computes R\=h(Ki,eNTJ·\+I) EBeNTJ;
and sends it to the TTP. cxr", is then discarded on both TTP and Pi'Ssides.
We consider a scenario where Pi has already participated in "j" protocol runs
RUN'i' RUN2i, .... , RUN'i· If Pi'S key K, become compromised, an attacker who is
able to gain access to nonce eNTi (corresponding to RW) is now able to deduce the
session key corresponding to that protocol run. He is also able to deduce all nonce
eNT'" 'i' eNT'"'i'.... eNTi, which allows him to deduce the session keys
corresponding to all remaining protocol runs in which Pi was involved. Regarding to
runs RUN'., RUN2i, .... , RW-'., since corresponding nonce were discarded, the
compromise of Pi'S key K, and nonce eNT; doesn't allow the attacker to gain any
knowledge on session keys corresponding to runs RUN'., RUN2;, •••• , RUN'·'. This
backward security allows us to defme backward secrecy as being a weak variant of
perfect forward secrecy as follows:
Backward secrecy is the property whereby the compromise of a user PUi long-term
secret and the secret material (e.g. nonce) corresponding to a particular run RUN;. in
which P, was involved. doesn't compromise the session keys corresponding to
previous protocol runs that take place before RUN;.
\1.6 On TTP involvement during protocol runs
When the TIP is involved in key distribution protocols, a desirable property
would be to have a TTP performing off-line pre-computations to reduce on-line
computational complexity. We assume that at the end of protocol run, each participant
is asked by the TIP to generate and sends securely a new nonce (using the method
described in section V.I) that will be used in the next run he will be involved in. In
such a situation, TTP oftline pre-computation is made possible since the TIP can
222
compute for each participant P; values h(}s,CNT), h(ls,CNT;+I) and h(}s,CNT;+2)
that will be needed in the next protocol run P; will be involved in.
VI Conclusion
We investigated multi-party server-aided key distribution protocols. We developed
protocols offering interesting properties when compared with existing 2-party
protocols which can be generalized to n party. Our protocol reduces the TIP
involvement during protocol runs through offline pre-computations. Our protocol is
contributory since each participant equally contributes to the key value. Our protocols
don't require the use of conventional encryptionldecryption algorithms but use other
security mechanisms such as polynomial interpolation. Regarding to key
confirmation, our protocols alloweach participant to be convinced that he received
the correct established session key from the TIP. Finally, it has to be noted that an
extended version of our paper [2] describes an efficient key confirmation protocol in
comparison with the traditional approach which accomplishes key confirmation by
having participants exchanging messages encrypted with the established session key
and signed with participants' private signature keys.
References.
1. S. Bakhtiari, R. Safavi-Naini and J. Pieprzyk, "Keyed Hash Functions",
Cryptography: Policy and Algorithms, Springer-Verlag, 1996, pp.201-214.
2. M. Bechlaghem, "Key establishment protocols revisited", in preparation.
3. R. Blom, "An Optimal Class of Symmetric Key Generation Systems",
Advances in Cryptology - Eurocypt 84, Springer-Verlag; 1984, pp. 335-338.
4. C. Boyd, "A Framework for Design of Key Establishment Protocols",
Information Security and Privacy, 1996, pp.146-157.
5. A. Menezes, P. Van Oorschot and S. Vanstone, "Handbook of Applied
Cryptography", CRC Press, 1997, pp.547-548.
6. National Institute of Standards and Technology (NIST), "FIPS Publication
180: Secure Hash Standard (SHS), May 11, 1993.
7. R.M. Needham and M.D. Schroeder, "Using encryption for authentication in
large networks of computers", Communications of the ACM, 21 (1978), pp.
993-999.
8. B.C. Neuman and T. Ts'o, "Kerberos: An Authentication Service for
Computer Networks", IEEE Communications, 32(9), September 1994.
9. D. Otway and O. Rees, "Efficient and timely mutual authentication",
Operating Systems Review, 21, 1987, pp.8-10.
10. R.L. Rivest, "The MD5 Message-Digest Algorithm", RFC 1321, April 1992.
11. A. Shamir, "How to Share a Secret", Communications of the ACM, 22(11),
November 1979, pp.612-613.
223
Secret Exponent Information Leakage for
Timing Analyses
Lejla Batina1,2 and Cees Jansen!
lSafeNet BV
Boxtelseweg 26a, 5261 NE
Vught, The Netherlands
2K.U. Leuven ESAT/COSIC,
Kasteelpark Arenberg 10
B-3001 Leuven-Heverlee, Belgium
{lbatina, cjansen }@safenet-inc.com
Abstract. Side-channel attacks are a real threat to implementations of
cryptographic algorithms. In this paper we focus on the secret exponent
information leakage in modular exponentiation algorithms (like used in
RSA cryptosystems), caused by obtaining information on the number
of square and multiply operations performed. Using a random exponent
model in an information theoretic approach, the exponent leakage is
shown to be too small to exploit in practice, e.g. 6.06 bits for a 1024 bit
exponent. An extension of the model to observation of multiple parts of
the exponent is also given.
1 Introduction
Today many analysis methods exist which are used to attack implementations
in hardware or software of cryptographic algorithms of both types i.e. public-key
and secret-key cryptography. Rather than attacking the algorithms themselves,
specific properties of the implementation such as timing behaviour ([1], [4]) and
power consumption ([5]) during execution of the algorithm are exploited to gain
information about the secret key. These, so called side channel attacks can be
very effectivein breaking the cryptosystem, necessitating careful implementation
and consideration of countermeasures.
In this paper we focus on asymmetrie i.e. public-key algorithms, in particular
on modular exponentiation which is used in RSA cryptosystem ([6]). The first
question we ask ourselves is how much information we obtain (in the Shannon
sense) when observing the total number of operations, i.e. modular multiplica-
tions and squarings, in a certain part of the secret exponent.
The simplest instance of this problem is to consider a left-to-right square-
and-multiply algorithm for exponentiation in which we cannot distinguish be-
tween multiplication and squarings. In a first order approximation it is assumed
that the secret exponents are chosen at random from the set of odd numbers
225
3,5, ... , 2n-1. For this random exponent model the exact probability distribution
is derived, and the entropy H(K) of the number of operations K is determined.
The results is showing that this information is far from exploitable for the prac-
tical bit-lengths in nowadays applications.
This observation can be furthermore extended in observing the situation in
which the attacker is able to attack some specific part(s) of the exponent. The
relation between exponent information leakage and the number of exponent parts
is also given.
The remainder of this paper is organized as follows. In Section 2 we use
the combinatorial approach to develop a simple model for Hamming weight
leakage. In Section 3 we conclude that Hamming weight information is not really
useful information i.e. if only info is the number of squarings and multiplications,
the adversary cannot do much with it. Further refinement of possible attack
is considered in Section 4. The general relation between information leakage
and exponent length is proven to be logarithmic. In particular, the information
leakage is 6.06 bits for a 1024 bits exponent, which is far too little to be practically
exploitable in an attack. Section 5 concludes the paper.
2 A Random Exponent Model
Let us first assume that the secret exponent is an arbitrary odd number. We
want to compute the number of possible exponents of length I up to n (I ::; n)
which require exactly k operations (squares or multiplies) to be computed. We
will compute this in a number of steps.
First, we determine the number of (different) exponents of length exactly n
(so with MSB equal to 1), which require exactly k operations: Least significant
bit (LSB) is 1, because the exponent, say e, is odd, and therefore we have to
count all different sequences of O's and 1's for the remaining n - 1 bits. Let us
first calculate the number of operations for computing Me by use of the standard
square-and-multiply algorithm ([3]):
Algoritlun 1. Square-and-Multiply Algorithm (from MSB)
INPUT: M and e =~~=~~ei2i =
(eo, el, ... , en-I)
OUTPUT: Res = Me
1. Res +- M
2. For n-2 to 0 do:
2.1 Res +- Res2 mod N
2.2 if ei = 1 then Res +- Res- M mod N
3. Return Hes
So, the number of operations, which are squares (S) and multiplies (M) are
determined with bits on positions from n - 2 to o. If this number is denoted as
k, and WH is its binary Hamming weight, we conclude:
k = n - 1 + wH(e) - 1 = n - 2 + wH(e). (1)
226
We can now count how many exponents exist with some fixed number of op-
erations k, which have bit-length exactly n. Here, LSB is also not taken into
account (being fixed as 1). So, the number of different exponents is (;=~)where
k = n, n + 1, ..., 2n - 2.
Secondly, we want to determine the number of exponents of length up to n
with exactly k operations involved in exponentiation. Let us denote this number
with G(n, k). We get the following:
G(n,k) = L ~-=-i2)
n (.
(2)
i>~
- 2
To illustrate this formula let us find all exponents of length up to n = 7, for
which k = 8. The possible lengths are n = 5: 11111; n = 6: 100111, 101011,
101101, 110011, 110101, 111001;andn =
7: 1000011,1000101,1001001,1010001,
1100001. According to formula (2), we can easily check: G(7,5) = L~=5(~-=-~) =
m + (~)+ m = 1 + 6 + 5 = 12.
Let us now rewrite the formula (2) in a different way to make calculations
easier. We consider fust the following case: k = 2m. In this case G (n, k) becomes:
G(n,k) = .~ ~ (i2m-_2) = (m - 1) + (m)
i
( n- 2)
m - 2 + ... + 2m -
m-I n . (3)
z=Tn+l
We will use the following theorem.
Theorem 1.
Fn+1 =L
l~J (
n~J
.)
Vn~ O. (4)
j=O J
Proof: Follows directly as sums of diagonals in Pascal's triangle ([7)).
It is easy to see that this equality can be applied on the equation (2) if and
only if n = k and in that case we get G(n,n) = Fn-l. This holds trivially for
n> k. So, we conclude: G(n,k) = Fn-1, for all n, n ~ k, where k is fixed.
We still have to consider those cases for which k > n. Consider again the formula
(4) (for keven):
(5)
= G(n - 1, k - 1) + G(n - 1, k - 2)
227
We obtain the recurrence, which can be further expanded:
G(n, k) = G(n - 1, k - 1) + G(n - 1, k - 2)
= G(n - 2, k - 4) + 2G(n - 2, k - 3) + G(n - 2, k - 2)
(6)
= ... ~ (k -1)
=!- 2 i k + 1,2 + i)
G(n - '2
.=0
From here follows:
Theorem 2. The numbers G(n, k), for k even, satisfy the following equation:
G(n,k) = G(n-l,k-2)+G(n-l,k-1) =~ ~ (k-1)
2 i k
G(n-'2+1,2+i). (7)
Proof: By induction.
Using (7) we can easily compute G(n, k) for arbitrary n and k: The numbers
G(n, k) are listed in Table 1, for n ::; 12 and k ::; 20.
Table 1. The behaviour of numbers G(n, kl.
2 10 0 ... 0
3 1 1 1 0 ... 0
4 1 1 2 2 1 0 ... 0
5 1 1 2 3 4 3 1 0 ... 0
6 1 1 2 3 5 7 7 4 1 0 ... 0
7 1 1 2 3 5 8 12 14 11 5 1 0 ... 0
8 1 1 2 3 5 8 13 20 26 25 16 6 1 0 ... 0
9 1 1 2 3 5 8 13 21 33 46 51 41 22 7 1 0 0 0 0
10 11 2 3 5 8 13 21 34 54 79 97 92 63 29 8 1 0 0
11 1 1 2 3 5 8 13 21 34 55 88 133 176 189 155 92 37 9 1
12 1 1 2 3 5 8 13 21 34 55 89 143 221 309 365 244 247 46 1
The previous conclusions are easily verified. On the main diagonal we notice
Fibonacci numbers. Also, the numbers under this diagonal are the same within
each column. Namely, as we proved G(n, k) does not depend on k, for all k s: n
and this number is equal to (n - n=
Fibonacci number. We also note that the
recurrence (5) holds.
We are interested in G(ID,14) i.e, how many exponents exist in the interval
[1,210] which involve 14 operations while performing exponentiation. It is easy
to check: G(ID,14) = L~=o(~)G(4, 2 + i) = G(4,2) + 6G(4, 3) + 15G(4,4) +
2DG( 4,5) + 15G( 4,6) = 1 + 6 . 1 + 15 ·2+ 20 . 2 + 15 . 1 = 92
228
Now let us assume that exponents are selected at random from the set of odd
numbers {3, 5, ... ,2n - I} with equal probability (2n-1 - 1)-1. Let K denote
the associated random variable denoting the number of operations in an expo-
nentiation with the randomly selected exponent. The probability distribution of
K is given by:
Pr[K = k] = (2n- 1 - 1)-lG(n, k). (8)
As can be seen, even for very high values of n there is always a non-zero proba-
bility of very small number of operations.
3 Entropy of operations and exponent leakage
In the light of side-channel cryptanalysis, the previous consideration is tightly
related to the followingquestion: If the attacker possesses the exact information
on number of operations k performed while exponentiation has been done, what
is the probability for him to successfullyguess the secret exponent e? We assume,
as expected, that he has a detailed knowledge on algorithm of exponentiation
and the relevant bit-lengths. So, we are interested in the expected amount of in-
formation that k gives about e. Formulated in an information theoretic sense: get
an expression for the mutual information It K: E) between the random variables
K and E, where E denotes the random exponent. This notion of given-away
information of the key is introduced in [2].
For E and K random variables, we have:
l(K;E) = H(K) - H(KIE)
(9)
= H(E) - H(EIK).
Here H(K), H(E) denote the entropies of K and E respectively, and H(KIE)
and H(EIK) are conditional entropies of K with given E and vice versa. H(EIK)
is usually interpreted as the uncertainty about E given K.
Note that for any given exponent, the number of operations is exactly determined
by (1). Hence, the uncertainty in K, given E is zero, resulting in:
leK; E) = H(K), and
(10)
H(EIK) = H(E) - H(K).
Equations (10) clearly show that the information leakage is exactly equal to
the entropy H(K) of the number of operations. Havirig the exact probability
distribution of this random variable from the previous section, this exponent
leakage can precisely be determined.
By assuming a uniform probability distribution on K and observing that K
takes on values k E {2, 3, ..., 2n - 2}, we can easily bound H(K) from above:
H(K) :S log2(2n - 3) bits. (11)
Approximating H(E) ~ n - 1 we obtain the followinglower bound on the con-
ditional exponent uncertainty:
H(EIK) = H(E) - H(K) ~ n - 1 -log2(2n - 3) bits. (12)
229
From (11) and (12) the logarithmic relation between information leakage and
maximum exponent length can be observed. Applying (12) for n = 1024 bits, we
get H(EIK) ~ 1012, so the average amount of information that K gives about
E is not more than 12 bits. However,from Table 2 it can be seen that the exact
exponent leakage in this case amounts to 6.06 bits.
Table 2. Data for the entropy and upper bound for two models.
IIRan. expo model Binomial Model
N Log(N)IIH(K) Bound H(K) Bound
2 1 0 0 0 0
4 2 2.24 2.32 1.50 1.58
8 3 3.09 3.70 2.33 2.80
16 4 3.46 4.86 2.95 3.90
32 5 3.18 5.93 3.50 4.95
64 6 4.11 6.97 4.02 5.98
128 7 4.63 7.98 4.54 6.99
256 8 5.09 8.99 5.04 7.99
512 9 5.57 10.00 5.54 9.00
1024 10 6.06 11.00 6.05 10.00
2048 11 6.54 12.00 6.55 11.00
A slightly different model is one in which the most significant bit of the ex-
ponent is always taken to be 1. The justification of this model comes from the
fact that in practice RSA key generation appliances may force the secret expo-
nent to be of maximum length. For this model the length n is fixed and the
Hamming weight of the exponent is a binomially distributed random variable.
Consequently, the number of operations is a binomially distributed random vari-
able, K, which takes on values k E {n - 2, ... ,2n - 2}. Use ofthis distribution,
yields the following upper bound on thp entropy of K:
H(K) ~ log2(n + 1) bits. (13)
The two bounds for H(K) differ by :::! 1 bit. For long exponent lengths, the
contribution of short exponent tends to become negligible and the two models
give identical results for exponent leakage. Figure 1 shows the exponent entropy
loss for both models and their corresponding upper bounds.
4 Observation in parts
In this section we generalize the results from the previous section by considering
the possibility that the attacker is observing the random exponent in two or more
parts. The assumption here is that the number of operations (total of squares
and multiplies when performing an exponentiation) in each part is known to the
230
"1
Ir-.:..~-:
12}_;==~
~ !_Eb.m-BinOm :
'0 j- ..
--.---.-------.- --- .--------_.-_I"""-~"""-
I
!
• aj--------
~+---------
JO I
I
Fig. 1. Exponent entropy loss for two different models (Random Exponent Model
(REM) and binomial model
adversary. Obviously, if each part comprises only one bit of the exponent, then
he knows the value of that bit in each part exactly from the corresponding one
or two operations observed. If, on the other hand, the number of parts is less,
with more bits in each part, then the uncertainty for the attacker will be higher,
as there is no longer a one-to-one correspondence between the values of the bits
and the number of operations for each part. We consider the fixed exponent
length model in which the number of operations has a binomial distribution. It
is assumed that the exponent of length n bits is partitioned into parts of equal
length I bits, with the exception of the most significant part, which contains the
remaining n - LT J I bits.
Let hB(m) denote the entropy (in bits) of a binomially distributed random
variable, representing the number of operations in an exponent part of length m
bits. Let H(Kt) denote the total amount of information obtained by observing
the operations from all parts. Then if n - LTJ I > 0, the following relation holds:
t
H(K ) = hB(l - 1) + (tiJ - 1)hB(l) + hB(l) (n -l7Jl - 1) bits. (14)
This can be seen from the independenee of the parts and the fact that the least
and most significant bits are always 1. Figure 2 shows H(Kt) as a function of
the part-length for a 1024 exponent on a log-log scale. The steps in the curve
are caused by the sudden change in the number of parts LT J .
A more realistic model in which exponents are taken to be random, but co-
prime to a random even composite number should be further developed. Also
according to [8]short RSA exponent can be successfully attacked, so in practice
not all bit lengths are possible.
5 Conclusion
We have considered secret exponent information leakage for modular exponen-
tiation algorithms in an information theoretic setting. To this end, expressions
231
1024 bit exponent
12T _.__..
I
'0
-----_._--
!
•t----- ---.----.---------------"'-.....::
o~----------- ~ _
o '0 '2
Fig.2. Random Exponent Model - Observation in Parts
for the number of exponents resulting in a given number of square and multi-
ply operations have been derived. These expressions straightforwardly lead to
the probability distribution of the number of operations in the random expo-
nent model. This random exponent model has subsequently been used to obtain
data on the exponent leakage, showing that the amount of information is too
small to exploit in practice. A further refinement of the model, considering the
observation of multiple parts of the exponent, has also been given.
References
1. G. Hachez, F. Koeune, and J.-J. Quisquater. Timing attack: what can be achieved
by a powerful adversary? Proceedings of the 20th symposium on Information Theory
in the Benelux, pages 63-70, May 1999.
2. C. J. A. Jansen. Key signature schemes. Proceedings nf the Seventh Symposium
UTt Information Theory in the Benelux, Noordwijkerhou.t, The Netherlands, pages
197-205, 1986.
3. D. E. Knuth. The Art of Computer Programming, volume 2jSeminumerical Algo-
rithms. Addison-Wesley, 1997.
4. P. Kocher. Timing attacks on implementations of Diffie-Hellman, RSA, DSS and
other systems. Lecture Notes in Computer Science, Springer- Verlag, pages 104-113,
1996. Advances in Cryptology-CRYPTO 96.
5. P. Kocher, J. Jaffe, and B. Jun. Differential power analysis. Lecture Notes in
Computer Science, Springer- Verlag, pages 388-397, 1999. Advances in Cryptology-
CRYPTO 99.
6. R. L. Rivest, A. Shamir, and L. Adleman. A method for obtaining digital signatures
and public-key cryptosystems. Communications of the ACM, 21(2):120-126, 1978.
7. K. H. Rosen. Handbook of Discrete and Combinatorial Mathematics. CRC Press,
2000.
8. M. J. Wiener. Cryptanalysis of short RSA secret exponents. IEEE Transactions
on Information Theory, 36(3):553-558, May 1990.
232
A Short Note on Irreducible Trinomials in
Binary Fields
Mathieu Ciet*, Jean-Jacques Quisquater, and Francesco Sica*
Université catholique de Louvain, Crypto Group
Place du Levant, 3 1348 Louvain-la-Neuve, Belgium
{ciet. jjq. sica}Odice.ucl.ac.be -http://vwv.dice.ucl.ac.be/-crypto
1 Introduction
In this paper, we analyse the irreducibility of trinomials defined over lF2[X].
For elliptic curve cryptography, prime extensions fields lF2P are recommended
to avoid current attacks like the Weil descent attack [3]. One often represents
lF2P as a quotient lF2[X]/(J(X)), where f is an irreducible polynomial over lF2 of
degree p.
Performance reasons impose that irreducible polynomials have the short-
est number of non zero terms. More precisely, the reduction polynomial plays a
fundamental role in the basic field operations and particularly in modular reduc-
tions. This in turn is related to the number of carries in each modular reduction
and this is where the structure of the polynomial plays a crucial role.
Recommended binary fields for elliptic curve cryptosystems, as in norms
IEEEP1363, ANSI X9.62 or SEC1, are produced together with irreducible trino-
mials or pentanomials when no irreducible trinomials exist. However criteria for
existence or non-existence of irreducible trinomials or pentanomials over given
extensions are not clearly stated in the cryptographic literature (but cf. [4, §
4.5.2]).
The purpose of this short note is a first attempt to clarify some parts of this
problem. We propose, following the work of [1, 6], to give a proof of the following
theorem.
MAIN THEOREM. Let P be a prime, p == 13 mod 24 or p == 19 mod 24. Then
there are no irreducible trinomials of degree pover lF2. In particular, the quotient
representation of 25% of all prime degree extensions oflF2 has to use at least a
pentanomial as a reduction polynomial.
2 Proof of the Theorem
The proof relies on a theorem of Swan and Dalen [2,6], originally due to Stick-
elberger [5]. We cite here a particular instance of the theorem.
* The work described in this paper has been supported by the European Commission
through the IST Programme under Contract IST-1999-12324.
233
Theorem 1. Let f E Fq[Xl be a squarefree polynomial over the finite field with
q elements (q prime J. Suppose f factors over Fq [Xl into the product of r distinct
irreducible factors. Let F E Z[Xl be a representative of f, that is f = F mod q.
Then deg f - r is even if and only if disc F is a square mod 4q.
By computing explicitly the value of the discriminant disc F in the case of tri-
nomials, Swan was able to deduce the following theorem.
Theorem 2. The polynomial X" + XA: + 1 E 1F2[X] has an even number of
irreducible factors if and only if
1. n is even, k is odd, n f:. 2k and nk/2 == 0 or 1 mod 4,
2. n is odd, k is even not dividing 2n and n == ±3 mod 8,
3. n is odd, k is even dividing 2n and n == ±1 mod 8,
4. one of the previous cases holds with k replaced by n - k.
In partienlar if n = p is a prime congruent to ±3 mod 8, then XP + XA: + 1
is irreducible implies that k or n - k must be equal to 2. Since XP + XA: + 1
and XP + Xp-A: + 1both have the same number of factors, we see that we are
reduced to examine the factorisation behaviour of XP + X2 + 1 (when p == ±3
mod 8).
However, if p == 1 mod 3, it is immediate to see that X2 + X + 1 divides
XP + X2 + 1. Thus, for p == 13 mod 24 or p == 19 mod 24, polynomials of the
form XP + X A:+ 1 are all reducible. The density of such p' s is 1/4, by the prime
number theorem for primes in arithmetic progressions. 0
References
1. LF. Blake, S. Gao, and R.L. Lambert. Construction and Distribution Problems for
Irreducible Trinomials over Finite Fields. In D. Gollmann, editor, Applications of
Finite Fields, Oxford-Clarendon Press, pages 19-32, 1996.
2. K. Dalen. On a theorem of Stickelberger. In Math. Scand. 3, pages 124-126, 1955.
3. P. Gaudry, F. Hess, and N.P. Smart. Constructive and Destructive Facets of Weil
Descent on Elliptic Curves. Journal of Cryptology, 15(1):19-46, 2002.
4. A. J. Menezes, P. C. Van Oorshot, and S. C. Vanstone. Handbook of Applied Cryp-
tography. CRC Press, 1997.
5. L. Stickelberger. Über eine neue Eigenschaft der Diskriminanten algebraischer
Zahlkörper. In Verh. 1 Internat. Math. Kongresses, Zürich 1897, pages 182-193,
Leipzig 1898.
6. R.G. Swan. Factonzation of Polynornials over Finite Fields. In Poe. J. Math., HI,
pages 1099-1106, 1962.
234
An Algorithm for Joint Diagonalization by a
Congruence Transformation
Lieven De Lathauwer Bart De Moor Joos Vandewalle*
Abstract
Simultaneous matrix decompositions are nowadays popular for solving a variety
of signal processing problems, especially problems related to signal separation. In
this paper we derive a new algorithm for the approximate diagonalization of a set
of matrices by means of a simultaneous non-unitary congruence transformation.
1 Introduction
Approximate diagonalization of a set of R given (N x N) matrices by means of a si-
multaneous congruence transformation forms the basis of several algorithms for source
separation, such as the Analytical Constant Modulus Algorithm (ACMA) [15],algorithms
for higher-order-only Independent Component Analysis (ICA) [3], ... In addition, many
well-known source separation algorithms are based on an approximate diagonalization by
means of a simultaneous unitary similarity transformation; the fact that the transforma-
tion is unitary is induced by a prewhitening. Examples are the ICA-algorithm described
in [2], the second-order-only blind source separation method (SOBI) presented in [1] and
the algorithm for the blind separation of non-stationary sources proposed in [12]. Ac-
tually, it seems strange to consider some second-order constraints on the mixing matrix
as infinitely more reliable than other second- or higher-order constraints. Instead, one
could give the different constraints an appropriate (finite) weight and deal with them
simultaneously instead of sequentially. We called this principle "soft whitening" in [8]
(complementarily to "hard whitening" or "without whitening"). Soft whitening versions
of [2, 1, 12] also take the form of an approximate diagonalization by means of a simulta-
neous non-unitary congruence transformation.
·L. De Lathauwer is with the research group ETIS, UPRES-A 8051, 6 avenue du Ponceau, BP
44, F 95014 Cergy-Pontoise Cedex, France. Tel: +33-(0)1-30.73.66.10; fax: +33-(0)1-30.73.62.82;
e-mail: delathau@ensea.fr; URL: http://www-rech.ensea.fr. B. De Moor and J. Vandewalle are
with the group SCD-SISTA of the E.E. Dept. (ESAT) of the K.U.Leuven, Kard. Mercierlaan
94, B-3001 Leuven (Heverlee), Belgium. Tel: +32-(0)16-32.17.09; fax: +32-(0)16-32.19.70; e-mail:
{demoor,vdwalle}@esat.kuleuven.ac.be;URL: http://www.esat.kuleuven.ac.be/sista-cosic-docarch.
235
For the computation of this simultaneous decomposition, an extended QZ-iteration has
been proposed in [15]. Jacobi-algorithms have been derived in [4, 5, 9]. In this paper we
show that the problem can be reduced to a simultaneous unitary congruence transforma-
tion.
In Section 2 we discuss simultaneous 'congruence, in Section 3 simultaneous T congruence,
and in Section 4 joint simultaneous * and T congruence (we adopt the terminology used
in [10]). Section 5 is a remark of a numerical nature.
2 Simultaneous *congruence
We are dealing with the following problem. Given matrices AI, A2' ... ,AK E CNxN, we
want to find W E CNxN such that
(1)
with Ab A2' ... ,AK E CNxN diagonal. We assume that W is full rank. (If W has
more rows than columns, then one may first perform a dimensionality reduction using
the techniques explained in [4, 7]). For K ~ 3, the problem is in general overdetermined
and will be solved in an approximate sense.
Let the SVD of W be given by
in which D, V E CNXN are unitary and 1:; E CNxN is diagonal. Define, for k =
1,2, ... ,K, Àk as
Äk = _l;-lUH AkD1:;-l = VH Ak V. (3)
The fact that all these matrices are commuting, may be expressed as
(4)
with
M = U· 1:;-2. UH. (5)
Hence we may first obtain 1\1 from Lhe overdëtërmined set of linear equations (4), then
compute D and 1:; from the EVD (5), and finally estimate V from the simultaneous EVD
(3).
The dimensionality of (4) is as follows. Because M is Hermitean, we have N(N + 1)/2
complex unknowns. There are R(R - 1)/2 different matrix equations, and each matrix
equation provides N(N + 1}/2 different complex linear equations - (4) can be rewritten
as
(6)
236
To be a bit more accurate: since the diagonal of an Hermitean matrix is real, we have in
fact R(R - I)N2/2 real equations in N2 real unknowns.
After calculating the best non-trivial solution to this set of linear equations (as the right
singular vector corresponding to the smallest singular value of the coefficient matrix),
and computing the EVD (5), the simultaneous EVD (3) remains. V may be obtained by
means of a Jacobi-iteration, as explained in [2, 13]. The computation of an elementary
rotation involves the computation of the dominant eigenvector of a real symmetric (3 x 3)
matrix ({Ak} complex) or (2 x 2) matrix ({Ad real).
In [15] the simultaneous congruence transformation (1) was translated into a simultaneous
generalized Schur decomposition, for the computation of which an extended QZ-iteration
was proposed. The latter involves an iteration over a sequence of SVDs of matrices of
dimensions (N x K), ((N - 1) x K), ... , (2 x K), respectively. An alternative is the
Jacobi approach. For real matrices, computing the optimal rotation matrices amounts
to the computation of the roots of a polynomial of degree 8 [4, 5]; for complex matrices,
we have to compute the best rank-I approximation of a partially symmetric complex
(2 x 2 x 2 x 2) tensor [9].
3 Simultaneous T congruence
For given BI, B2, ... , Bp E CNxN, we may have, instead of Eqs, (1), a simultaneous
decomposition of the type
(7)
with 01, O2, ... , Op E CNxN diagonal (e.g. [14]). Let the SVD of W again be given by
Eq. (2). Then we define, for p = 1,2, ... , P, Bp as
(8)
The counterpart of (4) becomes:
(9)
with M again given by (5).
Here we have, for the determination of M, R(R - I)N2/2 complex linear equations
in N(N + 1)/2 complex unknowns. (8) is a simultaneous Takagi factorization of the
symmetric matrices {Bp}. In [6] we derived a Jacobi-algorithm for the determination
of the optimal V. It is similar to the Jacobi-algorithm for the simultaneous EVD (3):
when {Bp} is complex, the calculation of an elementary rotation again involves the
computation of the dominant eigenvector of a real symmetric (3 x 3) matrix; when {Bp}
is real, both problems coincide. This result was independently rediscovered in [14].
237
4 Combined * and T congruence
In some problems, like the blind separation of non-circular sources [8] (the results may
also be applied to, e.g., the problems addressed in [1, 12]), we have both Eqs. (1) and (7).
M is then the solution to the resulting global set of linear equations. V is to be obtained
from a joint simultaneous EVD / Takagi factorization. The real symmetric (3 x 3) matrix
is here simply the sum of the matrices corresponding to the two subproblems.
5 Singular values of W are close
It is well-known that when eigenvalues of a matrix are close, the corresponding eigen-
vectors are ill-conditioned [lIJ. This does not necessarily pose a major problem for our
method.
Call hl the estimate of the true matrix M, with EVD
hl = û .~-2 . ÛH. (10)
If
hl = M+O(t), (11)
then we have
~-2 ~-2 + O(t), (12)
Û U· Q+O(t), (13)
in which Q is a block-diagonal matrix containing unitary blocks where eigenvalues are
close. We have then
(14)
such that the simultaneous diagonalization procedure may compensate for Q.
6 Conclusion
In this paper we have derived a new algorithm for the approximate diagonalization of a set
of R given (N x N) matrices by means of a simultaneous congruence transformation. It
relies on the following 3 steps: (i) solving a big overdetermined set of linear equations, (ii)
EVD of an Hermitian (N x N) matrix, (iii) joint diagonalization by a unitary congruence
transformation of a set of R (N x N) matrices.
Acknowledgements
Lieven De Lathauwer holds a permanent research position with the French Centre National de
la Recherche Scientifique (C.N.R.S.); he also holds a honorary post-doctoral research mandate
238
with the Fund for Scientific Research-Flanders (F.W.O.), affiliated with the K.U.Leuven. Bart
De Moor and Joos Vandewalle are Full Professor with the K.U.Leuven.
This work is supported by several institutions:
1. Research Council K.U.Leuven: Concerted Research Action GOA-MEFISTO-666 (Math-
ematical Engineering for Information and Communication Systems Technology),
2. Flemish Government: the F.W.O. projects G.0240.99 (Multilinear Generalisations of the
Singular Value Decomposition and Applications in Signal Processing and System Identi-
fication) and G.0256.97 (Numerical Algorithms for Subspace System Identification, Ex-
tension to Special Cases), the F.W.O. Research Communities ICCoS (Identification and
Control of Complex Systems) and ANMMM (Advanced Numerical Methods for Mathe-
matical Modelling),
3. Belgian Federal Government: Interuniversity Poles of Attraction Programme IUAP IV-02
(1997-2001): Modeling, Identification, Simulation and Control of Complex Systems, and
IUAP V-22 (2002-2006): Dynamical Systems and Control: Computation, Identification
& Modelling.
The scientific responsibility is assumed by its authors.
References
[1] A. Belouchrani, et al., "A Blind Source Separation Technique using Second Order
Statistics", IEEE Trans. Signal Processing, Vol. 45, No. 2, Feb. 1997, pp. 434-444.
[2] J.-F. Cardoso, A. Souloumiac, "Blind Beamforming for Non-Gaussian Signals", lEE
Proceedings-F, Vol. 140, No. 6, 1994, pp. 362-370.
[3] L. De Lathauwer, B. De Moor, J. Vandewalle, "Independent Component Analysis
Based on Higher-Order Statistics Only", Proc. Bth IEEE SP Workshop on Statistical
Signal and Array Processing (SSAP-96), Corfu, Greece, June 24-26, 1996, pp. 356-
359.
[4] L. De Lathauwer, Signal Processing Based on Multilinear Algebra, Ph.D. thesis,
K.V.Leuven, E.E. Dept., Belgium, 1997.
[5] L. De Lathauwer, J. Vandewalle, B. De Moor, "Jacobi-Algorithm for Simultaneous
Generalized Schur Decomposition in Higher-Order-Only ICA", Proc. IEEE Benelux
Signal Processing Chapter Signal Processing Symposium (SPS'9B), Leuven, Belgium,
March 26-27, 1998, pp. 67-70.
[6] L. De Lathauwer, B. De Moor, J. Vandewalle, "IC A Techniques for More Sources
than Sensors", Proc. IEEE Signal Processing Workshop on Higher-Order Statistics
(HOS'99), Caesarea, Israel, June 14-16, 1999, pp. 121-124.
[7] L. De Lathauwer, B. De Moor, J. Vandewalle, "On the Best Rank-l and Rank-
(RI, R2, •. ·, RN) Approximation of Higher-Order Tensors", SIAM J. Matrix Anal.
Appl., Vol. 21, No. 4, April 2000, pp. 1324-1342.
239
[8] L. De Lathauwer, B. De Moor, "On the Blind Separation of Non-circular Sources",
Proc. XIth European Signal Processing Conf. (EUSIPCO-2002), Toulouse, France,
Sept. 3-6, 2002.
[9] L. De Lathauwer, B. De Moor, J. Vandewalle, "Jacobi-iteration for the Complex
Simultaneous Generalized Schur Decomposition" , Tech. Report ESAT jSCD-SISTA,
K.U.Leuven, Belgium (in preparation).
[10] R.A. Horn, C.R. Johnson, Matrix Analysis, Cambridge University Press, 1985.
[ll] T. Kato, A Short Introduction to Perturbation Theory for Linear Operators,
Springer-Verlag, N.Y., 1982.
[12] D.-T. Pham, J.-F. Cardoso, "Blind Separation of Instantaneous Mixtures of Non-
stationary Sources", IEEE Trans. Signal Processing, Vol. 49, No. 9, pp. 1837-1848.
[13] A. Souloumiac, J.-F. Cardoso, "Jacobi Angles for Simultaneous Diagonalization",
SIAM J. Matr. Anal. Appl., Vol. 17, No. I, Jan. 1996, pp. 161-164.
[14] A. Souloumiac, E. Moreau, "Blind Source Separation via Joint Diagonalization of
Symmetrie Complex Matrices", Proc. 2002 IEEE Int. ConJ. on Acoustics, Speech
and Signal Processing (ICASSP 2002), Orlando, FL, USA, May 13-17,2002.
[15] A.-J. van der Veen, A. Paulraj, "An Analytical Constant Modulus Algorithm", IEEE
Trans. Signal Processing, Vol. 44, 1996, pp. 1136-1155.
240
An Algebraic Algorithm for Blind Identification with More
Inputs than Outputs
L. De Lathauwer B. De Moor J. Vandewalle*
Abstract
In this paper we link the blind identification of a MIMO Fm filter to the calculation of the
Canonical Decomposition (CANDECOMP) in multilinear algebra. This allows for the blind identi-
fication of systems that have much more inputs than outputs. We also derive algebraic tools for the
computation of a high-rank CANDECOMP.
1 Introd uction
Blind identification of a linear system is the identification of that system without knowing its inputs.
Typically one assumes that the inputs are spatially and temporally independent.
In this contribution we exploit the structure of the higher-order cumulant of the outputs. We show
that a part of it satisfies a CANDECOMP model, in which the components yield the unknown Markov
parameters. The CANDECOMP of a higher-order tensor is the decomposition of that tensor in a minimal
number of rank-I terms; for a general discussion and a brief overview of the state-of-the-art, we refer
to [4]. For an (I x J x K x L) tensor, the number of terms can be much higher than min(I,J,K,L)
(unlike the situation for matrices), enabling us to blindly identify systems that have much more inputs
than outputs. The link between CANDECOMP and blind identification is explained in Section 2.
Next, we derive new techniques for the calculation of the CANDECOMP. Section 3 proposes a technique
that works under some mild assumptions on the rank of the tensor and the values taken by the canonical
components. In Section 4 these assumptions are further weakened. Section 4.1 deals with the case of
super-symmetric higher-order tensors; Section 4.2 addresses unsymmetric tensors.
2 A CANDECOMP approach to blind identification
Consider the following data model.
L
yen) = LH(l)X(n -i) + N(n),
1=0
in which X(n) E ]RJ are the unkown inputs, which are assumed to be mutually independent, yen) E ]RI
are the observed outputs, H(i) E ]R/xJ, i = 0, ... , L are the unknown Markov parameters, and N(n) E ]RI
is Gaussian noise.
Let us consider the (I x 13) matrices C(Tl,T2,T3,T4), defined by
(C(Tl, T2, T3, T4»i,,(i2-1)/2+(i3-1)1+i, = Cum[Yi2(n - Tl), Yi3 (n - T2), Yi! (n - T3), Yi, (n - T4)].
OL. De Lathauwer is with the research group ETIS, UPRES-A 8051,6 avenue du Ponceau, BP 44, F 95014 Cergy-Pontoise
Cedex, France. Tel: +33-(0)1-30.73.66.10; fax: +33-(0)1-30.73.62.82; e-mail: delathau©ensea.fr; URL: http://www-
rech.ensea.fr. B. De Moor and J. Vandewalle are with the group SCD-SISTA ofthe E.E. Dept. (ESAT) ofthe K.U.Leuven,
Kard. Mercierlaan 94, B-300l Leuven (Heverlee), Belgium. Tel: +32-(0)16-32.17.09; fax: +32-(0)16-32.19.70; e-mail:
{demoor,vdwalle}@esat.kuleuven.ac.be; URL: http://www.esat.kuleuven.ac.be/sista-cosic-docarch.
241
Define also
Then we have:
C(O,L - 1,0,0) C(O,L-l,O,L-l) )
C(O,L - 1,1,0) C(O,L -1, I,L-l)
C(O,L - 1, L - 1,0) C(O,L -1,L -1,L -1)
H· diag(Kl, ... ,KJ)· (H(L - 1) 0 H(O) 0 H)T,
in which 0 is the Katri-Rao or column-wise Kronecker product, and Kl,··., KJ are the cumulants of the
inputs. This equation is actually the decomposition of a fourth-order tensor T E ]RLIXIXIxLI, of which
T is a matrix representation, in a sum of rank-I terms:
J
(Dk,k,ksk. = LKj (H)k,j(H(L -1))k,j(H(O))ksj(Hh.,· (1)
j=l
In what follows, we will derive means to compute this decomposition.
In Eq. (1) we have actually only exploited the structure of the output cumulant for a very specific set of
time lags: Tl = 0, T2 = L - 1, T3 = 0, ... ,L - 1, T4 = 0, ... ,L - 1. The expressions for the input-output
cumulant relations for other sets of time lags are more complex. However, more accurate results may
be obtained by taking more time lags into account. The solution to (1) may then be used to initialize a
matching of both sides of the overall set of input-output cumulant relations. By way of illustration, we
also provide the expressions for Tl = 1, T2 = L - 1, T3 = 0, ... ,L - 1, T4 = 0, ... ,L - 1.
Call H the part of H without the H(O) block. Define
T'! = H· diag(Kl, ... , KJ) . (H(L - 2) 0 H(O) 0 H)T
and define T' 2 as the matrix with the same block structure, of which the first block row and column are
zero and the remaining part is given by
inT
T 2 = H· diag(Kl, ... ,KJ)·
I - (
H(L -1) 0H(I) 0H) .
Then we have:
C(I,L -1,0,0) C(1,L -1,O,L -1)
C(I,L-l,I,O) C(1,L -1, I,L -1)
(
C(I,L-~,L-l,O) C(I, L - 1,L - 1, L - 1)
3 CANDECOMP Algorithm 1
This section is inspired by the technique derived in [2], which only applies to super-symmetric higher-
order tensors (real tensors are super-symmetric when they are invariant under arbitrary index permuta-
Lium;).
Consider an (I x J x K x L) tensor T of which the CANDECOMP is given by
R
tijkl = L nirbjrCkrdlr. (2)
r=l
in which A E ]RIXR, B E ]RJxR, C E ]RKxR, D E ]RLxR. R is called the rank of T, Note that the
R components may be reordered, and that, within the same component, the different factors may be
242
rescaled, as long as the overall component remains the same. Associate with T a matrix-to-matrix
mapping as follows:
(T(M));j = Lt;jklmkl.
kl
Let this mapping be represented by a matrix T E ]RIJ x KL, and consider a factorization of T of the form
(3)
with E E ]RIJxR and F E ]RKLxR full rank (this factorization may, e.g., be obtained by means of an
SVD). The full rank property is generically satisfied if R"; min (IJ, KL). Hence we may read the value
R as the number of significant singular values of T. Because of (2) and (3), we have:
A®B=E·W
for some nonsingular W E ]RRxR. The task is now to find W such that the columns of E . Wand
F . W-T correspond to rank-l matrices.
Theorem 1 Define a mapping 4> : ]RlxJ X ]RlxJ --7 ]RlxJxlxJ by
(4)
Then we have that 4>(G, G) = 0 if and only if G is at most ronk-I.
Proof: It is easy to check that 4>(G, G) = 0 if G is rank-I. For the "only if" part, let the SVD of G be
given by U· n vr. We have:
rs
L (jr(1sUi1 rUil sUi2sVi2r·
rs
Rank-l terms corresponding to the same r = s cancel out in Eq. (4). However, due to the orthogonality
of U and y, the other terms are linearly independent. So we must have that CTrCTs = 0 whenever r ~ s;
hence, ~ is at most rank-I. •
Denote the (I x J) matrices represented by the columns of E as EI' ... ' ER and let 4>.t = 4>(E.,Et).
Due to the bilinearity of 4>, we have
0, f3i :::::0 for each iE [1, n], and f3(k) ::; 0 for each k E [1, n]\T.
Then the size of any T-design in the symmetric scheme (X, R) is bounded from
below by
IYI:::::IXIf3o/f3(O).
An interesting application is the design-codesign inequality [20], dual of the
clique-coclique inequality given above. The result is this. If Y is a T-design and
if W is a ([1, n] \ T)-design, then IWI . IYI :::::lXI· Furthermore, IWI· IYI = lXI
if and only if ai (W) . ai (Y) = 0 for all i E [1,nl. The proof is left to the reader .
• Comment and exercice For the Hamming scheme, the linear programming
problems relative to D-codes and T-designs are exactly the same (with T =
[1, n] \ D), since this scheme is self-dual. As a down to earth introduction to the
method, let us explain the details of the machinery for codes of length n := 3.
We are especially interested in the code r, of size 4 and minimum distance 2,
formed by the even weight binary triples. The vertices of the Hamming cube
355
can be identified with the integers 0,1, ... ,7, in the usual manner. This gives
r = {O,3, 5, 6}. With the vertex v we associate the variable Xv. A given code Y,
of size IYI = K, in the Hamming scheme H(3,2), is represented by numerical
values given to these variables, as follows:
lifVEY
Xv:= { 0 if v ti Y
For example, r can be defined by Xo = X3 = X5 = X6 = i
and Xl = X2 = X4 =
X7 = O.
Note the identity 2:~=0Xv = 1, for any code Y. Next, let us introduce the
vertex function (distance 0), the edge function (distance 1), the square-diagonal
function (distance 2), and the cube-diagonal function (distance 3). They are
quadratic forms defined by
fa := x6 + xi + ... + x~ + x?, [: := 2(XOXI + XOX2 + ... + X5X7 + X6X7),
12 := 2(XOX3 + XOX5 + ... + X4X7 + X5X6), is > 2(XOX7 + XlX6 + X2X5 + X3X4).
In particular, for the code r,
we compute fa = i,
I: = 0, 12 = £, is = O. The
general definition of the quadratic forms fi (for any length n) is
Ie= L XuXv, for each iE [0, nl·
8H(u,v)=i
The value of fa is immediate. In effect, for a code Y of size K in H(n,2) we
have fa = 2:~:~1X; = K/ K = 1/ K. Furthermore, it is clear that the minimum
2
distance of Y is at least equal to a given integer d E [1, n] if and only if h +
... + fd-l = 0 (or, equivalently, h = 0,···, fd-l = 0). The connection with the
distance distribution is obvious:
As a result, the "main problem of coding theory" can be presented as follows.
For given values of nand d, to maximize the size K, i.e., to minimize fa (equal
to 1/ K) under the constraints 2:v>o Xv = 1 and [: + ... + fd-l = O. Each
variable Xv can assume only two values. More precisely, Xv = 0 or Xv = c, where
c is a positive constant (independent of v). It is easily seen that the condition
Xv E {O,c} is equivalent to x., 2': O. This means that our optimization problem
can be stated as follows:
(1) minimize fa under the constraints Xv 2': 0, 2:xv = 1, and h + ... + fd-l = O.
Let Al denote the minimum value of fa for this problem. The size of any code
with designed distance d satisfies K ::S I/Al' This bound is sharp, in the sense
that the maximal size of the codes under consideration is equal to I/Al' The
real difficulty of our optimization problem (1) lies in the constraints x; 2': O. We
356
decide to replace them by the weaker constraints Ji 2: O. Here is the resulting
problem:
(2) minimize Jo under the constraints LXv = 1, and Ji 2: 0, h = 0,'" ,Jd-l = 0.
Let Az denote the minimum value of Jo for the relaxed problem (2). Since Az :::;
Al we obtain the upper bound K :::;I/Az for the size K of every code with
designed distance d.
Problem (2) has 2n variables and involves quadratic constraints. We shall see
that it reduces to a linear programming problem in n variables. Let us introduce
the normalized functions ai := Ji/ Jo, for i E [0, nl. This gives ao = 1. The
constraints of the problem imply ~ 2: °and al = ... = ad-l = 0. Within
the normalizing factor Jo, the functions ai are quadratic forms in the variables
Xv. It can be shown that ·there exist n + 1 well-defined linearly independent
nonnegative definite quadratic Jorms Jobo, ... ,Jobn that are linear combinations
of the quadratic forms Joao,' ", Joan. In the case n = 3, they are given by
bo := ao + al + az + a3, b: := 3ao + al - a2 - 3a3,
bz := 3ao - al - a2 + 3a3, b3 := ao - al + a2 - a3·
In particular, Jobo = (xo + ... + X7)2 = 1. Straightforward computation shows
that
JObl=(xo - Xl + X2 - X3 + X4 - X5 + X6 - X7)2
+(xo + Xl - X2 - X3 + X4 + X5 - X6 - X7)2
+(xo + Xl + X2 + X3 - X4 - X5 - X6 - X7)2.
Hence, JObl is non-negative definite. There exist similar formulas for b2 and b3.
In general, the relevant linear combinations are given by the Q-transJorm, i.e.,
in the present situation, by the Krawtchouk transform (see Section 3.1). This
means that bk = LZ:oaiQk(i), for each k E [O,n]. In particular, bo = L~=oai.
Our analysis leads us to a third optimization problem, of the standard linear
programming type:
(3) maximize bo under the constraints ao = 1, ai 2: 0, al = ... = ad-l = 0, and bk 2: 0.
Let B be the maximum value of bo for the linear programming problem (3).
Since bo = I/Jo, we obtain 1/ B :::;A2' whence K :::;B for any code of size K and
minimum distance d. More precisely, we have 1/ B = A2. This is due to the fact
that any feasible program for problem (3) yields a feasible program for problem
(2).
The linear programming problem (3) is the primal form of the problem
treated in the beginning of this section, concerning the case of [d, n]-codes in
the Hamming scheme H(n,2). This means that B is equal to the minimum
value of a(O)/ao in the situation of Theorem 7. A detailed verification of the
357
preceding statements is left to the reader. The required technical information
can be found in Sections 2.2 and 2.3. See also [19].
Let us complete our example, in which n = 3 and d = 2. The linear program-
ming problem (3), in the variables a2 and a3, is quite simple:
maximize bo := 1 + a2 + a3 under the constraints a2 2: 0, a3 2: 0;
and bl := 3 - a2 - 3a3 2: 0, bz := 3 - a2 + 3a3 2: 0, bs := 1 + a2 - a3 2: 0.
There is a unique maximal solution, given bya2 = 3 and a3 = 0. As expected, the
result is K :::;4, which proves optimality of the code r. The Krawtchouk trans-
form ofthe four-tuple (aO,al,a2,a3) = (1,0,3,0) is found to be (bo,bl,b2,b3) =
(4,0,0,4). Simple computation shows that exactly two eight-tuples (xo, ... ,X7)
are consistent with the numbers bk in question. They correspond to the even
weight code r = {O,3, 5, 6} and to its complement, the odd weight code r =
{I, 2, 4, 7}. Let us stress the fact that such a situation is quite exceptional. In
general, the relaxed problem (2) in the variables Xv admits an infinite set of
optimal solutions. The best one can hope is that this set contain at least a non-
°
negative program (xv 2: for all v), so that the linear programming bound of
problem 3 (and Theorem 7) is actually achieved by a code. This is far from being
always true.
In our example where n = 3 and d = 2, i.e., D = {2,3}, the dual linear
programming problem of Theorem 7 has an infinite number of optimal solutions,
with the normalization ao = 1. They are given by the polynomials
with ~ :::;al :::;1. Note the properties a3 = ° and a(2) = 0, resulting from b3 =1= °
and a2 =1= o.
3.3 Codes in a P-polynomial scheme
Les us introduce some notation. For an (n+ 1)-tuple c = (eo,···, cn) E JR.n+l, the
integers u(c) and w(c), which might be called the strength of c and the weight
of c, are given by
u(c) := largest jE [0, n] with Cl = ... = Cj = 0, w(c) := I{i E [0, n]1 Ci =1= O]].
We consider an n-class P-polynomial scheme (X, R). It corresponds to a
well-defined distance function 8: X2 f-+ [0, n] in such a way that R; = {(x, y) E
X21 8(x, y) = i} for each i E [0, nl. Let Y be a code in (X, R). From the inner
distribution a = (ao,··· ,an) of Y and its Q-transform b := aQ = (bo,· '., bn)
we define two important parameters [16], [17].
Definition 9 (1) The minimum distance of Y is d := u(a) + 1. It is equal to the
largest integer i E [1, n + 1] such that al = ... = ai-l = 0. (2) The dual degree
of Y is r := w(b) - 1. It is equal to the number of integers k E [1, n] such that
bk =1= 0.
358
The minimum distance is the smallest value of 8(Yl, Y2) for distinct code
points Yl, Y2 E Y. As shown by Theorem 6, the dual degree plus one equals the
rank of the outer distribution.
Recall two classical notions. The packing radius of Y is e := L (d - 1)/2 J. The
covering radius ofY is p := max{8(x, Y) I x E X}, with 8(x, Y) := min{8(x, y) lyE
Y}. Clearly, e ::;p. Equality e = p holds if and only if Y is a perfect code. This
means that the spheres {x E XIO::; 8(x,y)::; e} of radius e centered at the
code points Y E Y form a partition of X.
By use of the P-polynomial assumption we can prove the following inequality:
w(cQ) ~ 1 + Lu(c)/2J, for all cE JRn+l with Co #- 0.
This is slightly stronger than Theorem 5.5 in [17], but the proof is essentially
the same. As an application, we obtain e ::;r . It can be shown that e = r if and
only if Y is a perfect code. Furthermore, any code Y with parameters d and r
satisfies
e r
i=O i=O
The left inequality is the sphere packing bound. If either the upper bound or the
lower bound is achieved, then so is the other. This happens if and only if Y is a
perfect code [17].
Interesting information on a code Y is provided by its P-minimal polynomial,
defined by
where (bo,· .. ,bn) is the Q-transform of the inner distribution, and where the
numbers f.k are those occurring in Definition 3. Let M = [Mo ... Mn] denote
the outer distribution of Y (Definition 8). The last n - r columns of M can be
determined from the first r columns, in terms of the inner distribution. More
precisely, each column of M is a linear combination of the all-one vector j and the
columns Mo,· .. ,Mr-l' with coefficients computable from the P-minimal poly-
nomial. In particular, M; can be obtained as follows. Consider the P-expansion
.e;
B(z) = 2:::;=0 /3ii(Z), with /30,··· ER Then we have
Since f3r #- 0, this expresses M; as a well-defined linear combination of j,
Mo,···,Mr-l·
A remarkable consequence is the upper bound p ::; r on the covering radius
p, in terms of the dual degree r (see [16], [17]). The same method allows us to
obtain an interesting result about completely regular codes, defined as follows.
359
Definition 10 A code Y in a P-polynomial scheme is said to be completely
regular if the rows of its outer distribution depend only on the distance between
x and Y, for all x EX.
As an illustration, consider the set Y consisting of all binary (2m)-tuples of
weight m. The outer distribution of Y with respect to the Hamming scheme is
given by Mi(x) = pf,m for each x E {O, 1}2m such that WH(X) = k. In this case,
OH(X, Y) = Im-kl. We see that pf m = p;r;:.-k. Therefore, the row M(x) depends
only on the distance OH(X, Y). A~ a conclusion, Y is a completely regular code
in the Hamming scheme H(2m, 2).
To prove that a code Y of dual degree r is completely regular, it suffices
to show that the r-tuple (Mo(x),···, Mr-1(x)) depends only on the distance
o(x, Y). As a consequence, if d ~ 2r -1 then Y is completely regular [17]. The
result applies to perfect codes, since they are characterized by d = 2r + 1. In
this case, the P-minimal polynomial simply is the sum 2::=0 q>i(Z). Thus, all
coefficients fJi in the P-expansion are equal to 1. This is the Lloyd theorem for
perfect codes in a P -polynomial scheme. It is a special case of the following result
[17]. If d - 1 ~ r then fJo = ... = fJd-1-r = l.
Note that if Y is completely regular then its covering radius p is equal to its
dual degree r. Let M denote the "reduced outer distribution", consisting of the
distinct rows of the outer distribution M. If Y is a completely regular code of
dual degree r , then M contains r + 1 rows. Furthermore, t.he square submatrix
of M built on the first r + 1 columns is a nonsingular upper triangular matrix
(for an appropriate numbering of the rows). This property exactly characterizes
what we have called complete regularity.
As an example, consider the binary Golay code Y. It is a linear code of
length n = 23, dimension 12 (size IYI = 212) and minimum distance d = 7. The
orthogonal code Y j_ has three nonzero weights, which are 8, 12 and 16. Hence,
r = 3. Since e = 3, this shows that Y is perfect. Hence, Y is completely regular.
The P-minimal polynomial and its Krawtchouk expansion are
B(z) := 2
11
(1 - ~) (1 - t2) (1 - 1 6) = Ho(z) + Hl (z) + H (z) + H (z).
Z
2 3
From these data we can compute the whole outer distribution M of Y. The
following table gives the entries Mi(X) for i E [0,11] and x E X := lF~3. The
column labelled # contains the occurrence numbers of the different rows.
OH(X, Y) 0123 4 5 6 7 8 9 10 11 #
0 1 253506 1288 1
1 1 77 176 176 330 616 672 23
2 1 21 fin 11? ?40 400 546 672 253
3 15 1648120240400560 658 1771
The columns of indices i E [12,23] can be obtained by symmetry: Mi(x) =
M23-i(X).
Next, let us examine the expurgated binary Golay code Yo, containing the
even weight codewords in Y. We know that Yo = v-. The main parameters
360
are do = 8 and ro = 7, In effect, the orthogonal code Yl= Y has seven
nonzero weights, 7,8,11,12,15,16 and 23, As a result, the covering radius of Yo
is bounded by Po :::; 7, In fact, it is easily seen that the bound is sharp, Le.,
Po = 7. The following table gives the entries Mo,i(x) of the outer distribution
Mo of Yo for i E [0,11J and X E lF~3. The last column contains the occurrence
numbers.
BH(x, Yo) 012345 6 7 8 9 10 11 #
0 1 506 1
1 1 176 330 672 23
2 1 56 240 546 253
3 1 16 120 400 658 1771
4 5 48 240 560 1771
5 21 112 400 672 253
6 77 176 616 23
7 253 1288 1
No extra computation is required. In fact, M« can be deduced from M by a
splitting operation that separates the even weight and odd weight contributions.
Conversely, M results from Mo by folding it along the horizontal mid line ..This
can be deduced from the even/odd coset decomposition Y = YoU(Y\Yo). Details
are omitted. The result can be checked (partially) as follows. Using the relation
/3o,oMo + ... + /30,7M7 = j allows us to determine the columns MO,6 and Mo,7
of Mo from the preceding columns. The required coefficients /30,i are obtained
from the Krawtchouk expansion of the P-minimal polynomial Bo(z), that is
7 3
Nil'
This gives /30,0 = I, /30,1 = 2 3' /30,2 = 1 1' /30,3 =
2
/30,4 = 3 :5' /30,5 = 1i~l'
/30,6 = A,
/30,7 = 2~3' We observe that Yo is completely regular, although do =
8 < 13 = 2ro - 1.
The sufficient condition d 2: 2r - 1 for complete regularity can be weakened
slightly, under an appropriate assumption, in the following manner.
Theorem 9 Let Y be a code of dual degree r in a P-polynomial scheme such
that p;rr-=-21= O. If the minimum distance of Y is d = 2r - 2 and if ad+1 (Y) = 0
(i.e., if'y is a {d,d+ 2,'" ,n}-code), then Y is completely regular.
Proof We use the outer distribution M of Y. Let xo, Xl and X2 be any elements
of X such that B(xo, Y) = r - 2, B(X1, Y) = r - 1 and B(X2, Y) = r . From
d = 2r - 2 it follows that Mr-2(xo) = 1 and Mr-1(xo) = O. Next, we verify that
Mr(xd = O. Suppose this is false, i.e., B(yo, Xl) = r for a certain Yo E Y. Since
B( Xl, Y) = r - 1, there exists a point Y1 E Y such that B( Xl, Y1) = r - 1. Hence,
by the triangle inequality, 1 :::;B(yo, Y1) :::;r + (r - 1) = 2r - 1. As p;rr-=-21= 0
and d = 2r - 2, the only possibility is B(yo, Y1) = 2r - I, which contradiets our
361
assumption a2r-l(Y) = O. As a result, the "critical submatrix" MC of M built
on the rows xo, Xl, X2 and the columns r - 2, r - 1, r isthe following:
Consider the P-minimal polynomial B(z) and its Krawtchouk expansion B(z) =
L~=o.8i