<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Subdirect Decomposition of Contexts into Subdirectly Irreducible Factors</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Jean-Franc¸ois Viaud</string-name>
          <email>jviaud@univ-lr.fr</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Karell Bertet</string-name>
          <email>kbertet@univ-lr.fr</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Christophe Demko</string-name>
          <email>cdemko@univ-lr.fr</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Rokia Missaoui</string-name>
          <email>rokia.missaoui@uqo.ca</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Laboratory L3i, University of La Rochelle</institution>
          ,
          <country country="FR">France</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>University of Qu ́ebec in Outaouais</institution>
          ,
          <country country="CA">Canada</country>
        </aff>
      </contrib-group>
      <fpage>49</fpage>
      <lpage>64</lpage>
      <abstract>
        <p>The size of a concept lattice may increase exponentially with the size of the context. When the number of nodes is too large, it becomes very difficult to generate and study such a concept lattice. A way to avoid this problem is to break down the lattice into small parts. In the subdirect decomposition, the small parts are factor lattices which are meaningful in the Formal Concept Analysis (FCA) setting. In this paper a walkthrough from a finite reduced context to its subdirect decomposition into subdirectly irreducible subcontexts and factors is given. The decomposition can be reached using three different points of view, namely factor lattices, arrow relations and compatible subcontexts. The approach is mainly algebraic since it is based on abstract lattice theory, except for the last point which is inherited from FCA. We also propose a polynomial algorithm to generate the decomposition of an initial context into subcontexts. Such a procedure can be extended to conduct an interactive exploration and mining of large contexts, including the generation of few concepts and their neighborhood.</p>
      </abstract>
      <kwd-group>
        <kwd>concept lattice</kwd>
        <kwd>congruence relation</kwd>
        <kwd>factor lattice</kwd>
        <kwd>arrow relation</kwd>
        <kwd>arrow closed subcontext</kwd>
        <kwd>compatible subcontext</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>During the last decade, the computation capabilities have promoted Formal
Concept Analysis (FCA) with new methods based on concept lattices. Though
they are exponential in space/time in worst case, concept lattices of a
reasonable size enable an intuitive representation of data organized by a context that
links objects to attributes through a binary relation. Methods based on concept
lattices have been developed in various domains such as knowledge discovery
and representation, database management and information retrieval where some
relevant concepts, i.e. possible correspondences between objects and attributes
are considered either as classifiers, clusters or representative object/attribute
subsets.</p>
      <p>
        With the increasing size of data, a set of methods have been proposed in
order to either generate a subset (rather than the whole set) of concepts and
their neighborhood (e.g. successors and predecessors) in an online and
interactive way [
        <xref ref-type="bibr" rid="ref20 ref8">8, 20</xref>
        ] or better display lattices using nested line diagrams [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ]. Such
approaches become inefficient when contexts are huge. However, the main idea of
lattice/context decomposition into smaller ones is still relevant when the
classification property of the initial lattice is maintained. Many lattice decompositions
have been defined and studied, both from algebraic [
        <xref ref-type="bibr" rid="ref16 ref6">6, 16</xref>
        ] and FCA points of
view [
        <xref ref-type="bibr" rid="ref12 ref13">13, 12</xref>
        ]. We can cite Unique Factorisation Theorem [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ], matrix
decomposition [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], Atlas decomposition [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ], subtensorial decomposition [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ], doubling
convex construction [
        <xref ref-type="bibr" rid="ref14 ref17 ref3 ref5">5, 17, 14, 3</xref>
        ] and subdirect decomposition. The latter has
been widely studied many years ago, in the field of universal algebra [
        <xref ref-type="bibr" rid="ref11 ref6">6, 11</xref>
        ],
and even in FCA [
        <xref ref-type="bibr" rid="ref12 ref21 ref22 ref23 ref24">21–24, 12</xref>
        ]. To the best of our knowledge, there is no new
development or novel algorithms for subdirect decomposition of contexts.
      </p>
      <p>
        In this paper we investigate the subdirect decomposition of a concept lattice
as a first step towards an interactive exploration and mining of large contexts.
The subdirect decomposition of a lattice L into factor lattices (Li)i∈{1,...,n},
denoted by L ,→ L1 ×· · ·×Ln, is defined by two properties (see important results in
[
        <xref ref-type="bibr" rid="ref13">13</xref>
        ]): (i) L is a sublattice of the direct product L1 ×· · ·×Ln, and (ii) each
projection of L onto a factor is surjective. The first property establishes that each factor
lattice is the concept lattice of an arrow-closed subcontext, i.e. closed
according to the arrow relation between objects and attributes. This means that the
decomposition can be obtained by computing specific subcontexts. The second
property states that there is an equivalence between arrow-closed subcontexts
and congruence relations of L, i.e., an equivalence relation whose equivalence
classes form a lattice with elements closed by the meet and join operations. This
means that the concepts of L can be retrieved from the factor lattices, and the
classification property of L is maintained since each equivalence relation forms
a partition of the elements. The last result establishes an equivalence between
arrow-closed subcontexts and compatible subcontexts, i.e. subcontexts such that
each concept corresponds to a concept of the initial lattice. This result gives a
way to compute the morphism from L into the direct product, and thus to
retrieve the concepts of L from the factor lattices. In this paper, we deduce from
these results strong links between the following notions that have not been used
yet together as far as we know:
– Factors of a subdirect decomposition,
– Congruence relations,
– Arrow-closed subcontexts and
– Compatible subcontexts.
      </p>
      <p>
        As suggested in [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ], the contexts of the factors of a particular subdirect
decomposition, namely the subdirectly irreducible subcontexts, can be obtained
by a polynomial processing of each row/object of the initial context. Therefore,
the subdirect decomposition of a lattice can be extended to a subdirect
decomposition of its reduced context into subdirect and irreducible subcontexts.
      </p>
      <p>In this paper, we propose a subdirect and polynomial decomposition of a
context into subcontexts by extending the subdirect decomposition of a lattice
into factor lattices. This decomposition leads to data storage saving of large
contexts. Indeed, the generation of the whole set of factor lattices can be avoided
by providing an interactive generation of a few (but not all) concepts and their
neighborhood from large contexts. Moreover, a focus on a specific factor lattice
can be proposed to the user by generating, partially or entirely, the concept
lattice and/or a basis of implications.</p>
      <p>There are at least two reasons for studying this case of pattern
management. The first one comes from the fact that users tend to be overwhelmed
by the knowledge extracted from data, even when the input is relatively small.
The second reason is that the community of FCA has made progress in lattice
construction and exploration, and hence existing solutions can be adapted and
enriched to only target useful patterns (i.e. pieces of knowledge).</p>
      <p>This paper is organized as follows. Section 2 introduces the subdirect
decomposition and the three different points of view, namely factor lattices, arrow
relations and compatible subcontexts. Section 3 contains the main contribution
of this paper about the subdirect decomposition and the proposed algorithms.
A preliminary empirical study is presented in Section 4 while Section 5 presents
future work.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Structural framework</title>
      <p>Throughout this paper all sets (and thus lattices) are considered to be finite.
2.1</p>
      <sec id="sec-2-1">
        <title>Lattices and Formal Concept Analysis</title>
        <p>Algebraic lattice Let us first recall that a lattice (L, ≤) is an ordered set in
which every pair (x, y) of elements has a least upper bound, called join x ∨ y,
and a greatest lower bound, called meet x ∧ y. As we are only considering finite
structures, every subset A ⊂ L has a join and meet (e. g. finite lattices are
complete).</p>
        <p>Concept or Galois Lattice A (formal) context (O, A, R) is defined by a set
O of objects, a set A of attributes, and a binary relation R ⊂ O × A, between O
and A. Two operators are derived:
– for each subset X ⊂ O, we define X0 = {m ∈ A, j R m ∀j ∈ X} and dually,
– for each subset Y ⊂ A, we define Y 0 = {j ∈ O, j R m ∀m ∈ Y }.</p>
        <p>A (formal) concept represents a maximal objects-attributes correspondence
by a pair (X, Y ) such that X0 = Y and Y 0 = X. The sets X and Y are
respectively called extent and intent of the concept. The set of concepts derived from
a context is ordered as follows:</p>
        <p>(X1, Y1) ≤ (X2, Y2) ⇐⇒ X1 ⊆ X2 ⇐⇒ Y2 ⊆ Y1</p>
        <p>The whole set of formal concepts together with this order relation form a
complete lattice, called the concept lattice of the context (O, A, R).
Different formal contexts can provide isomorphic concept lattices, and there
exists a unique one, named the reduced context, defined by the two sets O and
A of the smallest size.</p>
        <p>This particular context is introduced by means of special concepts or elements
of the lattice L, namely irreducible elements.</p>
        <p>An element j ∈ L is join-irreducible if it is not a least upper bound of
a subset not containing it. The set of join irreducible elements is noted JL.
Meet-irreducible elements are defined dually and their set is ML. As a direct
consequence, an element j ∈ L is join-irreducible if and only if it has only one
immediate predecessor denoted j−. Dually, an element m ∈ L is meet-irreducible
if and only if it has only one immediate successor denoted m+.</p>
        <p>
          In Figure 1, join-irreducible nodes are labelled with a number and
meet-irreducible nodes are labelled with a letter.
Fundamental Bijection A fundamental result [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ] establishes that any lattice
(L, ≤) is isomorphic to the concept lattice of the context (JL, ML, ≤), where JL
and ML are the join and meet irreducible concepts of L, respectively. Moreover,
this context is a reduced one.
        </p>
        <p>As a direct consequence, there is a bijection between lattices and reduced
contexts where objects of the context are associated with join-irreducible concepts
of the lattice, and attributes are associated with meet-irreducible concepts.</p>
        <p>Figure 2 shows the reduced context of the lattice in Figure 1.</p>
        <p>Compatible subcontexts A subcontext of a formal context (O, A, R) is a triple
(J, M, R ∩ J × M ) such that J ⊂ O and M ⊂ A. A subcontext (J, M, R ∩ J × M )
of (O, A, R) is compatible if for each concept (H, N ) of (O, A, R), (J ∩ H, M ∩ N )
is a concept of (J, M, R ∩ J × M ).</p>
        <p>
          Arrow relations The arrow-closed subcontexts involved in the equivalence
are based on the arrow relations between join and meet irreducible concepts of
a lattice. Consider the reduced context (JL, ML, ≤) of a lattice (L, ≤). Arrow
relations [
          <xref ref-type="bibr" rid="ref15 ref4">4, 15</xref>
          ] form a partition of the relation 6≤ (defined by not having x ≤ y)
by considering the immediate predecessor j− of a join-irreducible j, and the
unique immediate successor m+ of a meet-irreducible m:
– j l m if j 6≤ m, j ≤ m+ and j− ≤ m.
– j ↑ m if j 6≤ m, j ≤ m+ and j− 6≤ m.
– j ↓ m if j 6≤ m, j 6≤ m+ and j− ≤ m.
– j ◦ m if j 6≤ m, j 6≤ m+ and j− 6≤ m.
        </p>
        <p>In Figure 3, the reduced context of Figure 2 is enriched with the four relations
l, ↑, ↓, and ◦ in the empty cells that both correspond to the case where j 6≤ m:
b c d f g j
2 × × × × × l
3 × l × ↓ × ×
5 × × × l l ◦
6 × × l × ↓ ◦
9 l × ◦ × ◦ ◦</p>
        <p>Fig. 3. Arrow relation
As an illustration, let j = 5 and m = f be join-irreducible and
meetirreducible nodes respectively (see Figure 1). Then, j− = 2 and m+ = c. The
relation 5 l f holds since 5 6≤ f , 5 ≤ c and 2 ≤ f .</p>
        <p>Arrow-closed subcontext A subcontext (J, M, R ∩ J × M ) of a context
(O, A, R) is an arrow-closed subcontext when the following conditions are met:
– If j ↑ m and j ∈ J then m ∈ M
– If j ↓ m and m ∈ M then j ∈ J</p>
        <p>As an example, the first subcontext of Figure 4 is an arrow-closed subcontext
of the reduced context of Figure 3 whereas the second one is not, due to the
down-arrow 6 ↓ g.</p>
        <p>
          c d f g
3 x x
5 x x
6 x x
c d f g
3 x x
5 x x
Equivalence theorem First let us introduce the first equivalence we need in
this paper, whose proof can be found in [
          <xref ref-type="bibr" rid="ref13">13</xref>
          ]:
Theorem 1. Let (J, M, R ∩ J × M ) be a subcontext of (O, A, R). The following
propositions are equivalent:
– The subcontext (J, M, R ∩ J × M ) is a compatible one.
        </p>
        <p>– The subcontext (J, M, R ∩ J × M ) is an arrow-closed one.
2.3</p>
      </sec>
      <sec id="sec-2-2">
        <title>Congruence Relations and Factor Lattices</title>
        <p>In this section, we introduce the equivalence between congruence relations and
arrow-closed subcontexts.</p>
        <p>Quotient An equivalence relation is a binary relation R over a set E which is
reflexive, symmetric, and transitive. An equivalence class of x ∈ E is:
The set of equivalence classes, called the quotient set E/R, is:
xR = {y ∈ E | xRy}</p>
        <p>E/R = {xR | x ∈ E}
Factor lattice A congruence relation Θ on a lattice L is an equivalence relation
such that:</p>
        <p>x1Θy1 and x2Θy2 =⇒ x1 ∧ x2Θy1 ∧ y2 and x1 ∨ x2Θy1 ∨ y2</p>
        <sec id="sec-2-2-1">
          <title>The quotient L/Θ verifies the following statement:</title>
          <p>
            xΘ ≤ yΘ ⇐⇒ xΘ(x ∧ y) ⇐⇒ (x ∨ y)Θy
With such an order, L/Θ is a lattice, called factor lattice. A standard theorem
from algebra, whose proof is omitted, states that:
Theorem 2. The projection L → L/Θ is a lattice morphism onto.
The second equivalence theorem We are now able to formulate the second
equivalence whose proof can be found in [
            <xref ref-type="bibr" rid="ref13">13</xref>
            ]:
Theorem 3. Given a lattice L, the set of congruence relations on L corresponds
bijectively with the set of arrow-closed subcontexts of the reduced context of L.
          </p>
          <p>
            Congruence relations will be computed with this theorem. However, other
algorithms exist [
            <xref ref-type="bibr" rid="ref10 ref9">9, 10</xref>
            ].
2.4
          </p>
        </sec>
      </sec>
      <sec id="sec-2-3">
        <title>Subdirect decompositions</title>
        <p>In this section, we introduce the equivalence between subdirect decompositions
and sets of arrow-closed subcontexts.</p>
      </sec>
      <sec id="sec-2-4">
        <title>Subdirect product</title>
        <p>Definition 1. A subdirect product is a sublattice of a direct product L1 ×· · ·×Ln
of lattices Li, i ∈ {1, . . . , n} such that each projection onto a factor is surjective.
The lattices Li, i ∈ {1, . . . , n} are the factor lattices. A subdirect decomposition
of a lattice L is an isomorphism between L and a subdirect product which can be
denoted as:</p>
        <p>L ,→ L1 × · · · × Ln</p>
        <p>
          Li
The third equivalence theorem The third and most important equivalence
whose proof can be found in [
          <xref ref-type="bibr" rid="ref13">13</xref>
          ], makes a connection with sets of arrows-closed
subcontexts when they cover the initial context:
Proposition 1. Given a reduced context (O, A, R), then the subdirect
decompositions of its concept lattice L correspond bijectively to the families of
arrowclosed subcontexts (Jj , Mj , R ∩ Jj × Mj ) with O = ∪Jj and A = ∪Mj .
3.1
        </p>
      </sec>
      <sec id="sec-2-5">
        <title>Main Result</title>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Our contribution</title>
      <p>
        From the three previous equivalences found in [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ], we deduce the following one:
Corollary 1. Given a lattice L and its reduced context (O, A, R), we have an
equivalence between:
1. The set of arrow-closed subcontexts of (O, A, R),
2. The set of compatible subcontexts of (O, A, R),
3. The set of congruence relations of L and their factor lattices.
Corollary 2. Given a lattice L and its reduced context (O, A, R), we have an
equivalence between:
1. The families of arrow-closed subcontexts of (O, A, R) covering O and A,
2. The families of compatible subcontexts of (O, A, R) covering O and A,
3. The families (θi)i∈I of congruence relations of L such that ∩i∈I θi = Δ with
xΔy ⇐⇒ x = y.
4. The set of subdirect decompositions of L and their factor lattices.
      </p>
      <p>In the following, we exploit these four notions that, to the best of our
knowledge, have not been put together yet.
1. The subdirect decomposition ensures that L is a sublattice of the factor
lattice product. Moreover, each projection from L to a factor lattice is
surjective.
2. The congruence relations of L indicate that factor lattices correspond to
their quotient lattices, and thus preserve partitions via equivalence classes.
3. The compatible subcontexts give a way to compute the morphism from L
onto its factors.
4. Arrow-closed subcontexts enable the computation of the reduced context of
the factor lattices.</p>
      <p>In the following we present the generation of a particular subdirect
decomposition and show a possible usage of factor lattices.
3.2</p>
      <sec id="sec-3-1">
        <title>Generation of Subdirectly Irreducible Factors</title>
        <p>
          In this section, we consider subdirect decompositions of a lattice L with its
reduced context (O, A, R) as input. From Corollary 2, a subdirect decomposition
of a lattice L can be obtained by computing a set of arrow-closed subcontexts of
(O, A, R) that have to cover O and A. There are many sets of arrow-closed
subcontexts and thus many subdirect decompositions. In particular, the
decomposition from a lattice L into L itself is a subdirect decomposition, corresponding to
the whole subcontext (O, A, R) which is clearly arrow-closed. A subdirect
decomposition algorithm has been proposed in [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ]. However, all congruence relations
are computed and then only pairs of relations are formed to get a
decomposition. As a consequence, potentially multiple decompositions are produced with
necessarily two factors.
        </p>
        <p>
          In this article, we focus on the subdirect decomposition of a context into a
possibly large number of small factors, i.e. factors that cannot be subdirectly
decomposed. A factor lattice L is subdirectly irreducible when any subdirect
decomposition of L leads to L itself. A nice characterization of subdirectly
irreducible lattices can be found in [
          <xref ref-type="bibr" rid="ref13">13</xref>
          ]:
Proposition 2. A lattice L is subdirectly irreducible if and only if its reduced
context is one-generated.
        </p>
        <p>A context (O, A, R) is one-generated if it can be obtained by arrow-closing
a context with only one j ∈ J . Thus (O, A, R) is the smallest arrow-closed
subcontext containing j ∈ J .</p>
        <p>Therefore, we deduce the following result:
Proposition 3. Let L be a lattice. From L, we can deduce a product lattice
L1 × ... × Ln where each lattice Li is:
– the concept lattice of a one-generated subcontext,
– subdirectly irreducible,
– a factor lattice of the subdirectly irreducible decomposition.</p>
        <p>From this result, we propose an algorithm (Algorithm 1) to compute in
polynomial time the contexts of the factor lattices L1, . . . , ...Ln of a subdirectly
irreducible decomposition, with a reduced context (O, A, R) as input. The
onegenerated subcontexts for each j ∈ J are obtained by arrow-closing (Algorithm
2). The subdirectly irreducible decomposition of L can then be obtained by
computing the concept lattices of these subcontexts.</p>
        <p>One can notice that the closure computed from join-irreducible concepts can
also be calculated from meet-irreducible concepts.</p>
        <p>Algorithm 1: Subdirect Decomposition</p>
        <p>Input: A context (O, A, R)
Output: List L of the contexts (Jj , Mj , Rj ) of the subdirectly irreducible
factor lattices
1 L ← ∅;
2 forall the j ∈ O do
3 Compute (Jj , Mj , Rj ) = Arrow Closure((j, ∅, ∅), (O, A, R)), the
one-generated subcontext span by j;
4 if L does not contain any subcontext that covers (Jj , Mj , Rj ) then
5 add (Jj , Mj , Rj ) to L
return L;</p>
        <sec id="sec-3-1-1">
          <title>Algorithm 2: Arrow Closure</title>
          <p>Input: A subcontext (J˜, M˜ , R˜) of a context (J, M, R)</p>
          <p>Output: Arrow-closure of (J˜, M˜ , R˜)
1 Jc = J˜; Mc = M˜ ;
2 predJ = 0; predM = 0;
3 while predM &lt; card(Mc) or predJ &lt; card(Jc) do
4 predJ = card(Jc);
5 predM = card(Mc);
6 forall the j ∈ Jc do
7 add to Mc all m ∈ M such that j ↑ m;</p>
          <p>Consider the reduced context in Figure 2. Each iteration of Algorithm 1 is
described by Figure 5 for each value of j, the input and output of Algorithm
2, and the three one-generated subcontexts that belong to L at the end of the
process. Therefore we get three factor lattices (see Figure 6).</p>
          <p>The first subcontext is the one on the left of Figure 4. The two other ones
are: ({2}, {j}, ∅) and ({9}, {b}, ∅). The latter two subcontexts are interesting
because:
– They show that the initial lattice has parts which are distributive. Indeed,
these two subcontexts contain exactly one double arrow in each line and each
column.
– They give us a dichotomy: any concept contains either 2 or j ; any concept
contains either 9 or b
– In the reduced context, an arrow brings a deeper knowledge than a cross.
(b) First subcontext in
Figure 4
(c)
({9}, {b}, ∅)</p>
          <p>The context on the left hand-side of Figure 4 is tricky to understand. For
the other ones, we have a simple relation 2 l j or 9 l b, which means that, for
instance, 2 and j are some kind of complement or converse.</p>
          <p>Figure 7 shows a factor lattice and its corresponding congruence.
A subdirect decomposition of a lattice L into factor lattices L1, . . . , Ln is relevant
since there exists an into morphism from L to the product lattice L1 × . . . × Ln.
This morphism is specified by the bijection between compatible subcontexts and
congruence relations stated by Corollary 1:
Proposition 4. Let (J, M, R ∩ J × M ) be a compatible subcontext, then the
relation ΘJ,M defined by:</p>
          <p>(A1, B1)ΘJ,M (A2, B2) ⇐⇒ A1 ∩ J = A2 ∩ J ⇐⇒ B1 ∩ M = B2 ∩ M
is a congruence relation, and its factor lattice is isomorphic to the concept lattice
of the subcontext (J, M, R ∩ J × M ).</p>
          <p>Algorithm 3 computes this morphism: each concept of L is computed as the
product of concepts in each factor, and then marked in the product lattice.
From Algorithm 3, we get the large tagged lattice product shown in Figure 8.
Obviously, this algorithm is not intended to be used in a real application with
large contexts since the product lattice is much more bigger than the original
one, while the main goal of the decomposition is to get smaller lattices. We only
use this algorithm in the empirical study.</p>
          <p>Nevertheless, this morphism can be extended to develop basic FCA
processing. Once the subdirectly irreducible decomposition of a reduced context
(O, A, R) into the contexts C1, . . . , Cn is computed, an interactive exploration
and mining process can easily be considered by using the following basic tasks
and avoiding the generation of the lattice for the whole context (O, A, R):
– Compute the smallest concept of L that contains a given subset of objects
or attributes, and identify its neighborhood
– Compute the smallest concept cij and its neighborhood in a subset of factors
that contain a given collection of objects or attributes. Each factor Li is a
specific view of data.</p>
        </sec>
        <sec id="sec-3-1-2">
          <title>Algorithm 3: Into morphism</title>
          <p>Input: Initial lattice L;
Subcontexts (Jj, Mj, Rj);
Product lattice P = L1 × . . . × Ln</p>
          <p>Output: Product lattice P with nodes coming from L marked.
1 forall the c = (A, B) ∈ L do
2 forall the (Jj, Mj, Rj) do
3 Compute (A ∩ Jj, B ∩ Mj);
4</p>
          <p>Mark, in P , the product node Πj(A ∩ Jj, B ∩ Mj);
4</p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Experiments</title>
      <p>In this section, we conduct an empirical study in order to better understand the
impact of the subdirect decomposition on contexts with different density levels.
All the tests were done using the java-lattices library available at:
http://thegalactic.github.io/java-lattices/</p>
      <p>A thousand of contexts of 10 observations and 5 attributes were randomly
generated. The experiments have been done three times using three density
values, namely 20%, 50% and 80%. Figure 9 presents the number of generated
lattices according to their size and their density. We can observe two histograms
with a nice gaussian shape in the first two cases, but a strange behavior in
the last case. However, we roughly observe that the higher the density is, the
bigger the lattices are. Therefore, the context density will have an impact on the
decomposition process.</p>
      <p>(a) Density of 20%
(b) Density of 50%</p>
      <p>(c) Density of 80%</p>
      <p>The number of generated factors is given in Figure 10. One can observe
that this number increases with the density of the initial context since the
corresponding lattices have more edges. With a context density of 20%, we get 87.40%
irreducible contexts. However, with a density of 80%, only 1.50% of contexts are
irreducible and 70% of contexts have at least 4 factors in their decomposition.
Thus, lattices are more decomposable when they come from dense contexts.
Factors Density=20% Density=50% Density=80%
1 87.40% 70.50% 1.50%
2 9.70% 21.40% 9.90%
3 2.60% 6.20% 18.70%
4 0.30% 0.50% 23.40%
5 1.40% 28.50%
6 18.00%</p>
      <p>Let us now examine the size of factors with two different density values,
namely 20% and 50%. Figure 11 gives the number of cases (initial lattices)
according to the number of produced factors. Of course, we observe that smaller
lattices give rise to smaller factors. We can also see that in these two density
cases, the largest number is obtained for factors of size 2.</p>
      <p>(a) Density 20%
(b) Density 50%</p>
      <p>The last part of the tests aims at using contexts with a large density of 80%
and computing the ratio between the number of nodes (edges resp.) of the initial
lattice and the number of nodes (edges resp.) of the product lattice.</p>
      <p>We thus get Figure 12 which shows that the higher is the number of factors,
the bigger is the product lattice. Consequently, the set of useless (void) nodes in
the product becomes larger as the number of factors increases.</p>
      <p>We have also conducted experiments with 40 observations and 15 attributes,
and a hundred of contexts were generated using two density values: 20% and
50%. Unfortunately, all were subdirectly irreducible.</p>
    </sec>
    <sec id="sec-5">
      <title>Conclusion and future work</title>
      <p>
        In this paper, we have presented a polynomial algorithm for the decomposition
of a reduced context into subcontexts such that the concept lattice of each
subcontext is a subdirectly irreducible factor. This decomposition is a direct
consequence inferred from strong links between factors of a subdirect decomposition,
congruence relations, arrow-closed subcontexts and compatible subcontexts
established in [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ].
      </p>
      <p>
        To further investigate the subdirect decomposition, it would be interesting to
conduct large-scale experiments on real world data not only to confirm/nullify
the preliminary empirical tests but also to understand the semantics behind
the generated irreducible contexts. In particular, attributes covered by several
factors interfere in different views of data whose semantics must be interesting
to understand. Moreover, it would be useful to allow the user to interactively
select a few factors of the decomposition by mixing our approach with the one
in [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ].
      </p>
      <p>
        From a theoretical point of view, we think that there are strong links between
the implication basis in a quotient lattice and the one from the initial lattice. To
the best of our knowledge, this issue has never been addressed and could have
significant algorithmic impacts. However, we note that [
        <xref ref-type="bibr" rid="ref19">19</xref>
        ] tackle a similar issue
in case of a vertical decomposition of a context into subcontexts.
      </p>
      <p>
        Since the empirical study in [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ] show that many real-life contexts are
subdirectly irreducible, we plan to (i) identify cases in which a context is necessarily
irreducible, and (ii) study, compare and combine other decompositions, in
particular the Fratini congruence [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], and the reverse doubling convex construction
[
        <xref ref-type="bibr" rid="ref14 ref17 ref3 ref5">5, 17, 14, 3</xref>
        ]. Finally, the construction of a lattice from its factor lattices can be
done based on the optimization principles behind the relational join operation
in databases.
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Barbut</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Monjardet</surname>
            ,
            <given-names>B</given-names>
          </string-name>
          . (eds.):
          <article-title>L'ordre et la classification</article-title>
          .
          <source>Alg`ebre et combinatoire</source>
          ,
          <string-name>
            <surname>tome</surname>
            <given-names>II</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hachette</surname>
          </string-name>
          (
          <year>1970</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Belohlavek</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Vychodil</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          :
          <article-title>Discovery of optimal factors in binary data via a novel method of matrix decomposition</article-title>
          .
          <source>Journal of Computer and System Sciences</source>
          <volume>76</volume>
          (
          <issue>1</issue>
          ),
          <fpage>3</fpage>
          -
          <lpage>20</lpage>
          (
          <year>Feb 2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Bertet</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Caspard</surname>
          </string-name>
          , N.:
          <article-title>Doubling convec sets in lattices: characterizations and recognition algorithms</article-title>
          .
          <source>Tech. Rep. TR-LACL-2002-08</source>
          , LACL (Laboratory of Algorithms, Complexity and Logic), University of Paris-Est (Paris 12) (
          <year>2002</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Crawley</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dilworth</surname>
          </string-name>
          , R.:
          <article-title>Algebraic theory of lattices</article-title>
          . Prentice Hall, Englewood
          <string-name>
            <surname>Cliffs</surname>
          </string-name>
          (
          <year>1973</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Day</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Congruence normality: The characterization of the doubling class of convex sets</article-title>
          .
          <source>algebra universalis 31</source>
          (
          <issue>3</issue>
          ),
          <fpage>397</fpage>
          -
          <lpage>406</lpage>
          (
          <year>1994</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Demel</surname>
          </string-name>
          , J.:
          <article-title>Fast algorithms for finding a subdirect decomposition and interesting congruences of finite algebras</article-title>
          .
          <source>Kybernetika</source>
          (Prague)
          <volume>18</volume>
          (
          <issue>2</issue>
          ),
          <fpage>121</fpage>
          -
          <lpage>130</lpage>
          (
          <year>1982</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Duquenne</surname>
          </string-name>
          , V.:
          <article-title>Lattice drawings and morphisms</article-title>
          .
          <source>In: Formal Concept Analysis, 8th International Conference, ICFCA</source>
          <year>2010</year>
          , Agadir, Morocco, March
          <volume>15</volume>
          -18,
          <year>2010</year>
          . Proceedings. pp.
          <fpage>88</fpage>
          -
          <lpage>103</lpage>
          (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8. Ferr´e, S.:
          <article-title>Reconciling Expressivity and Usability in Information Access from File Systems to the Semantic Web</article-title>
          .
          <source>Ph.D. thesis, Univeristy Rennes</source>
          <volume>1</volume>
          (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Freese</surname>
          </string-name>
          , R.:
          <article-title>Computing congruence lattices of finite lattices</article-title>
          .
          <source>Proceedings of the American Mathematical Society</source>
          <volume>125</volume>
          (
          <issue>12</issue>
          ),
          <fpage>3457</fpage>
          -
          <lpage>3463</lpage>
          (
          <year>1997</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Freese</surname>
          </string-name>
          , R.:
          <article-title>Algorithms in finite, finitely presented and free lattices</article-title>
          .
          <source>Preprint, July</source>
          <volume>22</volume>
          ,
          <fpage>159</fpage>
          -
          <lpage>178</lpage>
          (
          <year>1999</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Freese</surname>
          </string-name>
          , R.:
          <article-title>Computing congruences efficiently</article-title>
          .
          <source>Algebra universalis 59</source>
          (
          <issue>3-4</issue>
          ),
          <fpage>337</fpage>
          -
          <lpage>343</lpage>
          (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Funk</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lewien</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Snelting</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          :
          <article-title>Algorithms for concept lattice decomposition and their applications</article-title>
          .
          <source>Tech. rep., TU Braunschweig (December</source>
          <year>1995</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Ganter</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wille</surname>
          </string-name>
          , R.:
          <source>Formal concept analysis - mathematical foundations</source>
          . Springer (
          <year>1999</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Geyer</surname>
            ,
            <given-names>W.:</given-names>
          </string-name>
          <article-title>The generalized doubling construction and formal concept analysis</article-title>
          .
          <source>algebra universalis 32</source>
          (
          <issue>3</issue>
          ),
          <fpage>341</fpage>
          -
          <lpage>367</lpage>
          (
          <year>1994</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15. Gra¨tzer, G.:
          <article-title>General lattice theory. Birkha¨user-</article-title>
          <string-name>
            <surname>Verlag</surname>
          </string-name>
          , Basel (
          <year>1978</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16. Mih´ok,
          <string-name>
            <surname>P.</surname>
          </string-name>
          , Semani˜sin, G.:
          <article-title>Unique factorization theorem and formal concept analysis</article-title>
          . In: Yahia,
          <string-name>
            <given-names>S.</given-names>
            ,
            <surname>Nguifo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            ,
            <surname>Belohlavek</surname>
          </string-name>
          ,
          <string-name>
            <surname>R</surname>
          </string-name>
          . (eds.)
          <source>Concept Lattices and Their Applications, Lecture Notes in Computer Science</source>
          , vol.
          <volume>4923</volume>
          , pp.
          <fpage>232</fpage>
          -
          <lpage>239</lpage>
          . Springer Berlin Heidelberg (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17.
          <string-name>
            <surname>Nation</surname>
          </string-name>
          , J.:
          <article-title>Alan day's doubling construction</article-title>
          .
          <source>algebra universalis 34</source>
          (
          <issue>1</issue>
          ),
          <fpage>24</fpage>
          -
          <lpage>34</lpage>
          (
          <year>1995</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          18.
          <string-name>
            <surname>Snelting</surname>
          </string-name>
          , G.:
          <article-title>Concept lattices in software analysis</article-title>
          .
          <source>In: Formal Concept Analysis, Foundations and Applications</source>
          . pp.
          <fpage>272</fpage>
          -
          <lpage>287</lpage>
          (
          <year>2005</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          19.
          <string-name>
            <surname>Valtchev</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Duquenne</surname>
          </string-name>
          , V.:
          <article-title>On the merge of factor canonical bases</article-title>
          .
          <source>In: International Conference on Formal Concept Analysis ICFCA</source>
          , pp.
          <fpage>182</fpage>
          -
          <lpage>198</lpage>
          . Springer Berlin Heidelberg (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          20.
          <string-name>
            <surname>Visani</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bertet</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ogier</surname>
            ,
            <given-names>J.M.:</given-names>
          </string-name>
          <article-title>Navigala: an Original Symbol Classifier Based on Navigation through a Galois Lattice</article-title>
          .
          <source>International Journal on Pattern Recognition and Artificial Intelligence (IJPRAI)</source>
          (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          21.
          <string-name>
            <surname>Wille</surname>
          </string-name>
          , R.:
          <article-title>Subdirekte produkte und konjunkte summen</article-title>
          .
          <source>Journal fu¨r die reine und angewandte Mathematik 0239</source>
          <volume>0240</volume>
          ,
          <fpage>333</fpage>
          -
          <lpage>338</lpage>
          (
          <year>1969</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          22.
          <string-name>
            <surname>Wille</surname>
          </string-name>
          , R.:
          <article-title>Subdirekte Produkte vollsta¨ndiger Verba¨nde</article-title>
          .
          <source>J. reine angew. Math. 283/284</source>
          ,
          <fpage>53</fpage>
          -
          <lpage>70</lpage>
          (
          <year>1976</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          23.
          <string-name>
            <surname>Wille</surname>
          </string-name>
          , R.:
          <article-title>Subdirect decomposition of concept lattices</article-title>
          .
          <source>Algebra Universalis</source>
          <volume>17</volume>
          ,
          <fpage>275</fpage>
          -
          <lpage>287</lpage>
          (
          <year>1983</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          24.
          <string-name>
            <surname>Wille</surname>
          </string-name>
          , R.:
          <article-title>Subdirect product construction of concept lattices</article-title>
          .
          <source>Discrete Mathematics</source>
          <volume>63</volume>
          (
          <issue>2-3</issue>
          ),
          <fpage>305</fpage>
          -
          <lpage>313</lpage>
          (
          <year>1987</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>