(IJCSIS) International Journal of Computer Science and Information Security,Vol. 8, No. 5, August 2010
equals one, i.e. consistent algorithm, then the algorithm describes acomplete stable dynamic. Suppose that the CNN dynamic could berepresented by a decision algorithm and then study the affection of consistency relation in realizing the optimal template structure of asingle layer CNN through the following theorems.
Theorem 1:
Any consistent algorithm can be recognized by a CNNtemplate for which, for all linear cells, there is no other directconnected linear cells, where a cell
ij
C
is directly connected to a cell
mn
C
if
r mi
≤−
and
r n j
≤−
, i.e.
)(
ij N C
r mn
∈
and thefeed-back synapse
0
,
≠
−−
n jmi
A
.
Proof:
Let
L
C
be a linear cell, i.e.
)()(
t yt x
=
. For any consistentalgorithm, all cells that are directly connected to
L
C
must haveconstant output. Then the dynamics of
)(
t x
L
in the linear regiongoverned by
qat x
dt dx
c L L
+−=
)1)((
where
q
comprises thecontribution of the neighbor output values from the input, bias, and boundary which is constant by assumption as long as
L
C
is linear.
00
Aa
c
=
, where
00
A
is the center element of the
A
-template. Thesolution is a single exponential function with a positive argument,which guarantees that the equilibrium lies in the saturation region.Hence the sign of
dt t dx
L
)(
determines the output values of theneighboring cells and can not change while the linear region.Therefore, the template is uncoupled CNN or there is no directconnected linear cells.
Corollary 1
: Any inconsistent algorithm can not be realized by asingle layer space invariant CNN without directly connected cells.
Proof:
we prove that using contradiction by considering the oppositei.e. consider its inconsistent algorithm and can be represented byCNN with no directly connected cells. Then, the CNN dynamic can be represented by
z BU W I A AW AX
dt dX
+=−=+=
and)1(,
00
,
I
is theidentity matrix (6)Then,
t A
eC X
)1(0
00
−
=
and
),(
00
W AC C
=
is a linear functiondepends on a self-feedback constant value and the offset level whichis a function of the input pattern. Hence the trajectory depends onanential function on time, i.e. it’s a continuous monotonic functionconverges to a single equilibrium point. Thus, consider that
),(
Y C Dec
∈→
ψ φ
and since
φ
based on the input pattern,
0
C
is a constant value, and
ψ
is determined by a linear piecewisefunction in Equation (2) as function in the trajectory which convergesto a single equilibrium point. Hence
ψ
is a one-one function whichcontradicts the definition of inconsistence. Therefore, we reject our assumption which completes the proof.Since consistency of the algorithm gives no promise for thelinearly separable, such as
XOR
logic function which is consistent butnon-linearly separable, then the algorithm should be checked for linear separability. If it is a consistent algorithm and linearlyseparable, it can be recognized by a stable dynamic with memoryless parameters, and synaptic weights, according to the followingtheorem;
Theorem 2:
Any consistent algorithm which is linearly separable andhas
0
c
as a superfluous attribute, it can be recognized by a singlelayer CNN with memoryless synaptic weight.
Proof:
Since CNN is a massively parallel architecture working with analogsignals, and as the path of information is an analog to digitalconverter, then our proof will be concentrated on the binary outputonly.
Case 1: (binary input signals)
Since any consistent algorithm with binary signals can be seen as atruth table, then it can be determined by a statement form in whichthe only connectives occurring are from amongst, (
∨∧
,~,
, negation,conjunction and disjunction functions). Since for any local linearlyseparable Boolean function, there exists a barrier (plane) satisfies thatthe output at each cell
],sgn[
b xa y
−><=
. According to [1],they proved that any local Boolean function
),...,,(
921
x x x
β
of nine variable is realized by every cell of an uncoupled CNN. Thishappens if and only if
(.)
β
can be expressed explicitly by theformula
[ ]
b xa
−><=
,sgn
β
where
><
xa
,
denoted the product between the vectors
],...,,[
921
aaaa
=
and
],...,,[
921
x x x x
=
, where
Rb Ra
i
∈∈
,
and
}1,1{
−∈
i
x
isthe i
th
Boolean variable,
i
=1,…,9. Hence, there exists a single layer CNN with memoryless synaptic weights that realize the output,which satisfy the proof.
Case 2: (analog input signals)
We prove by considering the opposite, i.e. the output can not berecognized by a single layer CNN. Thus, by a single layer there existsan error corresponding to some cells
E
C
. This means that some cellsremains in the linear saturation region or in the opposite saturationregion. From theorem 1, any cell in the CNN including
E
C
should be realized a template for which, for all linear cells, there is no other directly connected linear cells, which is completely stable dynamic,i.e. all cells should belong to only one of the positive or negativesaturation region. Hence,
E
C
should be in opposite saturationregion, this case should be happened when
E
C
located in one of thedegenerate cases. From the assumption about the binary output, thereis only one degenerate case when the self-feed back
00
A
is greatestthan one (i.e. CNN dynamic depends on the initial state), whichcontradicted with theorem 1 and
0
c
is the superfluous attribute. Thisleads us to reject our assumption and the consistent algorithm isrecognized by a single layer. Since the algorithm is linearlyseparable, the output can be recognized by a single layer CNN withmemoryless synaptic weights.After determining the set of reduct
C
and cells significance, weconstruct the CNN structure by removing the cells that correspondingto the attributes in the set
R
, the set of superfluous cells. Also, thedecision table should be modified by removing the columnscorresponding to the superfluous cells. Coupled to this, if
0
c
belongs
157http://sites.google.com/site/ijcsis/ISSN 1947-5500