<!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>Measuring the Feasibility of Analogical Transfer using Complexity</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Pierre-Alexandre Murena</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Helsinki Institute for Information Technology HIIT, Department of Computer Science, Aalto University</institution>
          ,
          <addr-line>Espoo</addr-line>
          ,
          <country country="FI">Finland</country>
        </aff>
      </contrib-group>
      <fpage>62</fpage>
      <lpage>74</lpage>
      <abstract>
        <p>Analogies are 4-ary relations of the form “A is to B as C is to D". While focus has been mostly on how to solve an analogy, i.e. how to find correct values of D given A, B and C, less attention has been drawn on whether solving such an analogy was actually feasible. In this paper, we propose a quantification of the transferability of a source case (A and B) to solve a target problem C. This quantification is based on a complexity minimization principle which has been demonstrated to be eficient for solving analogies. We illustrate these notions on morphological analogies and show its connections with machine learning, and in particular with Unsupervised Domain Adaptation.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Analogical reasoning</kwd>
        <kwd>Analogical transfer</kwd>
        <kwd>Minimum Message Length</kwd>
        <kwd>Domain adaptation</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        Analogies are 4-ary relations of the form “ is to  as  is to  ", denoted  :  ::  :  . Even
though humans demonstrate strong capabilities of understanding and generating analogies,
which has been intensively studied by cognitive sciences [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], these tasks are much more dificult
for a machine. In particular, an important task consists in solving analogical equations: given
,  and  , find  such that  :  ::  :  is a valid analogy. Solving such equations has
been investigated in multiple domains: Boolean domains [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], formal concepts [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], structured
character strings [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], semantic [
        <xref ref-type="bibr" rid="ref5 ref6">5, 6</xref>
        ] or morphological tasks [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ].
      </p>
      <p>
        In most cases, the aforementioned methods are designed to provide an answer to any equation
 :  ::  :  , regardless of whether the equation makes sense. This is not the case for humans,
who consider that some analogies make more sense than others. Consider for instance the
domain of Hofstadter analogies [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. It describes analogies between character strings, with
strong domain constraints relative to the order of the alphabet. For instance, the analogy “ABC :
ABD :: IJK : IJL", which is a typical illustrative example of this domain, is based on the notions
of increment and last element. Intuitively, not all analogical equations have a solution in this
domain: for instance, it is dificult for a human to find a satisfying solution to the equation “ABC
: HIC :: BFQ :  ". This is confirmed by the results of the user study conducted by Murena et
al. [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ].
      </p>
      <p>
        Which analogical equations are indeed solvable, is a rather infrequently discussed question.
However, it would have strong implications, be it in practical applications of analogies (e.g.
in intelligent tutoring systems [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]) or in transfer learning. In this paper, we propose a first
step toward this important direction, by considering how to measure the transferability of a
source case (, 
) to a target case (,
      </p>
      <p>
        ). To do so, we propose a very general formalization
of the problem, which is shown to apply to transfer in both symbolic tasks (like morphological
analogies) and numerical machine learning. Based on this formalization, and getting inspiration
from applications of Kolmogorov complexity in inference [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ], we propose several potential
definitions of transferability and discuss their main properties.
      </p>
    </sec>
    <sec id="sec-2">
      <title>2. Preliminary Notions</title>
      <sec id="sec-2-1">
        <title>2.1. Domains and Model Spaces</title>
        <p>of Mℛ , .
and 5.</p>
        <p>
          Although various definitions of analogy have been proposed in the literature, we consider in
this paper the following definitions, inspired by the recent framework of Antic [
          <xref ref-type="bibr" rid="ref11">11</xref>
          ].
        </p>
        <sec id="sec-2-1-1">
          <title>A domain  is defined as the product of two spaces</title>
          <p>(the problem space) and  (the solution
space). An element (,  ) ∈ 
will be referred to as a case.</p>
        </sec>
        <sec id="sec-2-1-2">
          <title>We introduce a set ℛ</title>
          <p>called representation space. A model space Mℛ , of domain 
based
on representation ℛ is defined as a subset
mapping a problem  ∈  , a solution  ∈</p>
          <p>Mℛ ,
⊆ { :
 ×  × ℛ →</p>
          <p>
            [
            <xref ref-type="bibr" rid="ref1">0, 1</xref>
            ]} of functions
and a representation  ∈ ℛ , to a real number. Any
∈ M
          </p>
          <p>is called a model of  . When the context is clear, we will use the notation M instead
We illustrate these notions with two examples that will be further investigated in Sections 4
or conjugation of a verb in natural language): therefore, it is given by 
=  * ×  *.</p>
          <p>Example 1 (Recursive model for morphology). Given an alphabet  , we define by  * the set of
words of  . The morphological domain consists of two forms of a word (e.g. declension of a word</p>
          <p>We define the representation space ℛ
functions 1 from ℛ to  . For all  ∈ ℱ , we define
= ⋃︀
 =1( *) . Let ℱ
∞</p>
          <p>be the space of all recursive
  :  * ×  * × ℛ → { 0, 1} as:
We can then define the model space</p>
          <p>Mℛ , as:
  (, , 
) =
︃{ 1 if  ( ) = (,  )
0</p>
          <p>otherwise
Mℛ ,
= {  | ∈ ℱ }
(1)
(2)</p>
          <p>This example has an easy interpretation. The morphological domain consists of two words
 1 and  2, which are typically two flections of a same word. For instance, the tuple “play :
played" describes the flection of the English verb “play" from the present tense to the perfect
tense. Similarly, the tuple “taloon : talossa" describes the flection of the Finnish noun “talo"
from the illative case to the inessive case.
1i.e. functions computable by a Turing machine. See Section 2.2.</p>
          <p>For a better readability, we decompose the recursive function  ∈ ℱ as  ( ) = ( 1( ),  2( )).
The function  1 (resp.  2) describes how the word  1 (resp.  2) is formed based on some
representation  . For instance, in the “play : played" example, we can have  1( ) =  ,  2( ) =
 + “ed" (where the + operation is the string concatenation), and both functions are instantiated
with  = “play".</p>
          <p>Example 2 (Probabilistic models on R ). We define the binary domain  =  ×  with problem
space  = (R )* and solution space  = ℒ *, for some space ℒ of labels. When ℒ is discrete, the
problem is called classification , otherwise regression. An observation on domain  consists of one
labelled dataset, where the problem is the unlabeled dataset (points in R ) and the labels (in ℒ ).</p>
          <p>
            Let  be a set  Θ = {  :  ×  → [
            <xref ref-type="bibr" rid="ref1">0, 1</xref>
            ]| ∈ Θ} of probability density functions on 
parameterized by  ∈ Θ. Fixing ℛ = ∅ and therefore identifying  (, ,  ) to  (,  ), we can
define the model space Mℛ , =  Θ.
          </p>
          <p>In this paper, we assume that all considered quantities are computable. For those which are
not computable (for instance domains of real numbers used in Example 1), we will introduce
relevant computable approximations.</p>
        </sec>
      </sec>
      <sec id="sec-2-2">
        <title>2.2. Kolmogorov Complexity</title>
        <p>
          Our framework relies on the use of Kolmogorov complexity [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ]. We propose a gentle
introduction to this notion. In the following, we will use the notation B to designate the binary set
{0, 1}.
        </p>
        <p>A function  : B* → B* is called partial recursive if its output  ( ) corresponds to the output
of a given Turing machine after its execution with input  when it halts (otherwise, we use
the convention  ( ) = ∞). With this notation, the function  can be improperly likened to a
Turing machine. In this case, the input  is called a program. A partial recursive function  is
called prefix if, for all ,  ∈ B*, if  ( ) &lt; ∞ and  ( ) &lt; ∞, then  is not a proper prefix of  .</p>
        <p>Complexity   ( ) of a string  ∈ B*, relative to a partial recursive prefix (p.r.p.) function  ,
is defined as the length of the shortest string  such that  ( ) =  :
  ( ) = m∈iBn*{ ( ) :  ( ) =  }
(3)
where  ( ) represents the length of the string  .</p>
        <p>A key result of the theory of complexity is the existence of an additively optimal p.r.p.
function  0: for any p.r.p. function  , there exists a constant   such that for all  ∈ B*,
  0 ( ) ≤   ( ) +   . These additively optimal p.r.p. functions are used to define Kolmogorov
complexity. They present in particular invariance properties, which means that the diference
between the complexities defined by two distinct universal p.r.p. functions is bounded. However,
it can be shown that Kolmogorov complexity is not computable, and thus cannot be used in
practice.</p>
        <p>In practice, this limitation is overcome by fixing a reference p.r.p. function which is not
optimal but leads to a computable complexity. By definition, this non-optimal complexity
is an upper-bound of Kolmogorov complexity (up to an additive constant). This choice of a
reference function is particularly restrictive and imposes some biases, which is inherent to any
inductive problem. In the following, we will refer to this upper-bound either as complexity or
as description length.</p>
      </sec>
      <sec id="sec-2-3">
        <title>2.3. Inference on a Single Domain</title>
        <p>describes the observation.
standard inference task of supervised learning is to select a model 
Consider a domain 
=  × 
and an observation (,  ) ∈  . Given a model space M , the

which optimally
∈ M</p>
        <p>
          Selecting a model which accurately describes the observation is not enough in general: In
most situations there exists multiple such models, and sometimes even infinitely-many. It is
then necessary to discriminate among all these models, in particular based on the intended use
of the model. In statistical learning for instance, the discrimination is done by both the selection
of a simple model family and a penalization of models [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ].
        </p>
        <p>
          The inference of the model describing an observed case can then be split into two aspects:
selection of a model accurately describing the case and penalization over the model space. This
idea has been formalized by Algorithmic Information Theory using Kolmogorov complexity. The
Minimum Message Length (MML) [
          <xref ref-type="bibr" rid="ref13">13</xref>
          ] and the crude Minimum Description Length (MDL) [
          <xref ref-type="bibr" rid="ref14">14</xref>
          ]
principles both formulate the general inference task over a domain as the following minimization
problem:
minimize
 ∈M
 ( ) +  (,  | )
(4)
This two-part objective function corresponds to the trade-of between the accuracy of the model
and its simplicity. For instance, in the morphological domain, it is possible to define a model
accounting for all possible valid transformations. By construction, this model will have perfect
accuracy, but it will require to encode every pair of problems and solutions in the language, and
therefore will be particularly complex.
        </p>
        <p>
          We remind the computation of complexity is relative to a choice of a reference Turing machine.
Therefore, this choice imposes a strong bias over the intended outcome. A refined
version of
the MDL principle has been proposed, which overcomes this limitation. This version is beyond
the scope of this paper, but we refer the interested reader to (Grünwald, 2007) [
          <xref ref-type="bibr" rid="ref15">15</xref>
          ].
        </p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>3. A Definition of Transferability</title>
      <p>Analogies involve two separate domains: a source domain   and a target domain   . Given
a source problem-solution pair (  ,   ) ∈ 
transfer from (  ,   ) to   is informally defined as finding
 and a target problem  
∈</p>
      <p>
        , the analogical
 such that the
transformation  
↦→   is “similar" to the transformation  
↦→   . This notion of similarity is
problematic, especially when the source and target domains are distinct. Existing frameworks
of analogy often assume that the source and target domains are the same [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], or at least share
 
∈ 
a common structure (e.g. are  -algebras of a same language  , such as proposed by (Antic,
2020) [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ]).
      </p>
      <p>In this section, we show how complexity can be used to properly define this similarity, even
in the case of distinct domains. We will then show that this definition helps quantifying the
notion of transferability, i.e. how the source observation (  ,   ) is useful to find a solution to
target problem   .
3.1. Inference of a Target Model</p>
      <p>maximizing the score  (  ,   ,  ):
problem  
 
∈</p>
      <p>∈ 
 and  ∈ ℛ
The task in the target domain consists in predicting the solution  
 associated to the
∈ 
 . Usually, this is done throughout a model  , in particular by finding
  * ∈ arg max</p>
      <p>︂{
 ∈ 
 ∈ℛ
max  (  , ,  )
︂}
(5)
The solution   is then estimated by taking  
corresponds to taking the most probable solution.</p>
      <p>In the context of Example 1, this corresponds to choosing a representation  that successfully
describes   given the recursive function  associated to  , i.e. finding  such that  1( ) =   .</p>
      <p>=  2( ). In the context of Example 2, Equation (5)
However, in practice, the model</p>
      <p>is not known and needs to be inferred. The dificulty is
that, in general, it is not possible to identify</p>
      <p>given   only. Even worse, there is no guarantee
that two models correctly describing   can yield the same values of   . For instance, in the
morphological domain (Example 1), one can build degenerate functions  such that  ( ) =  
for all  . All such functions successfully describe   and yield all possible values for   .</p>
      <p>The MML principle presented in Equation 5 is meant to be used in a single domain, in particular
the source domain. We propose to use it as well to estimate the target model   . However, in
the context of an analogy, some additional information is provided by the observation of the
target model   can then be described with regards to the source model   .
source domain, where a model   can be evaluated from observations (  ,   ) ∈ 
 . The</p>
      <p>The limitation of such a relative description of models is that the source model may not be
relevant. In the following, we propose to quantify this relevance with two measures of model
reusability,</p>
      <sec id="sec-3-1">
        <title>3.2. Reusability of a Source Model</title>
        <p>We measure the reusability of a source model to its ability to compress the information about
the target domain. We identify two main possible definitions, that we call
weak and strong
reusability, and will show that a strongly reusable model is necessarily weakly reusable.</p>
        <p>The main criterion for weak reusability is that knowing the source model   makes the
target inference better, in the sense that it compresses more the description of the target
case (  ,   ) ∈</p>
        <p>Definition 1 (Weak reusability). Let  &gt; 0. A model  
for case (  ,   ) in target model space Mℛ  ,  if:</p>
        <p>min</p>
        <p>∈ Mℛ  ,  is called weakly  -reusable
≥  +</p>
        <p>min
 ( |  ) +  (  ,   | )
}
(6)</p>
        <p>It is essential to keep in mind that this definition is relative to the choice of a model
space Mℛ  ,  for the target domain. A source model   may not be reusable for a case
(  ,   ) depending on the chosen target model space. In the following, we will abusively omit
to mention the target model space, for readability purposes.</p>
        <p>Note that the models</p>
        <p>defined in the left-hand side and in the right-hand side of inequality (6)
are not the same. On the left-hand-side, the model corresponds to the optimal target model
describing (  ,   ) while, on the right-hand-side, it is the optimal model describing (  ,   )
when   is known.</p>
        <p>|</p>
        <p>This notion of reusability means that providing the source model   helps finding a new
description of the problem shorter than the optimal description by  bits. In particular, in the
case where Mℛ  ,  = Mℛ  ,  , the optimal model for (  ,   ) (i.e. the model that minimizes
 ( ) +  (  ,</p>
        <p>)) is trivially weakly reusable for (  ,   ) for all  . In other words,
when the optimal model for the source domain is also optimal for the target domain, then it is
obviously reusable for the target domain. The interesting case will be when the optimal source
model is not optimal for the target domain.</p>
        <p>We notice that the definition does not require 
 = 
 and aims to quantify the reusability
of a model even for a completely diferent task. This is possible since complexity only requires
to have computable models: Indeed, the term  ( |
computable. In practice, the issue of comparing objects of diferent nature is hidden within the
  ) is defined as long as the models are
choice of the reference p.r.p. function for complexity (see Section 2.2).</p>
        <p>We propose an alternative definition of reusability, called strong reusability. It is based on
the idea that   is reuseable if it helps compressing the optimal model of target case (  ,   ).
Unlike previous definition,   is not directly involved in the description of (  ,   ) though.
Definition 2 (Strong reusability). Let  &gt;</p>
        <p>0. A model  
 -reusable for case (  ,   ) in target model space Mℛ  ,  if:
∈ Mℛ  ,  is called strongly

∈</p>
        <p>arg min {</p>
      </sec>
      <sec id="sec-3-2">
        <title>3.3. Properties of Reusability</title>
        <p>This definition also relies on the choice of a target model space. As for weak reusability, we
will abusively omit the model space in the following notations.</p>
        <p>Strong reusability is an extremely strong property of a source model. Indeed, it would
be a natural property that, in case Mℛ  , 
=</p>
        <p>Mℛ  ,  , any model minimizing  ( ) +
|
 (  ,    ) is reusable to (  ,   ). This is not the case for strong reusability: indeed, the
definition implies that any model minimizing  ( ) +  (   ) can be compressed given
  , not only   itself. Note that this could be alleviated by weakening Definition 2 and
|
minimizing  ( ) +  (  ,   | ) and such that
We now present basic properties of these two notions of reusability. All the presented properties
follow directly from the definitions.</p>
        <p>The first property applies to both weakly and strongly reusable models: it states that the
threshold  is not unique. The proof of this proposition is trivial and omitted.
of   to (  ,   ) the quantity:
Proposition 1. Let   ∈ Mℛ  ,  and (  ,   ) ∈ 
it is also  ′-reusable for (  ,   ) for all  ′ ≤  . In the following, we will call degree of reusability
 . If   is  -reusable for (  ,   ), then
 (  , (  ,   )) = max {︀  ;   is  -reusable for (  ,   )︀}
(8)</p>
        <p>However, we insist on the fact that the degree of reusability is relative to a chosen target model
space. It also depends on which of weak or strong reusability is considered. This dependency
would not exist if these two notions of resuability were equivalent, which we will see is not the
case. We will use the notation   and   to specify between the weak and strong cases.</p>
        <p>We now show that strong reusability implies weak reusability:
If   is strongly  -reusable for (  ,   ), then   is also weakly  -reusable for (  ,   ).
Proposition 2. Let  
∈ Mℛ  ,  a source problem, a target case (  ,   ) ∈ 
 and  &gt; 0.
 (  ,   | )}. Under the assumptions of the proposition, it follows that:
Proof. We call  * ∈</p>
        <p>Mℛ  ,  an optimal model for (  ,   ):  * ∈ arg min {
 ( ) +

min{ ( ) +  (  ,   | )</p>
        <p>}
=  ( *) +  (  ,   | *)
≥  ( *|  ) +  +  (  ,   | *)
≥ m in{ ( |  ) +  (  ,   | ) +  }
which proves the proposition.</p>
        <p>However, the converse is not true: weak reusability does not imply strong reusability. This is
the consequence of the fact that the models implied in Equation (6) are not the same on the
right hand side and on the left-hand side. We illustrate this with a simple example.
{ 1,  2}. We assume the following properties:
Example 3. We consider a target model space made up of two distinct models: Mℛ  , 
=
•  1 and  2 describe equally well case (  ,   ), in the sense that  (  ,   | 1) =
 (  ,   | 2)
0
take  ( 2|  ) =  ( 2)
• Model  1 is more complex than model  2:  ( 1) &gt;  ( 2)
• Model  1 is easily described by source model   : for simplicity, we can take  ( 1|  ) =
• Model  2 is not well described by source model   : for simplicity, we can</p>
        <p>With these assumptions, it can be easily verified that   is weakly  -reusable for (  ,   ),
 ( ) +  (  ,   | ) but  ( 2) &lt;  ( 2) +  =  ( 2|  ) +  .
with</p>
        <p>≤  ( 2). However,   is not strongly  -reusable for (  ,   ), since  2 minimizes
Putting together the results of Propositions 1 and 2, as well as the counter-example of
Example 3, we can establish the following result:
Corollary 1. For   ∈ Mℛ  ,  and (  ,   ) ∈ 
 :
  (  , (  ,   )) ≤   (  , (  ,   ))
(9)</p>
      </sec>
      <sec id="sec-3-3">
        <title>3.4. Transferable Cases</title>
        <p>The notion of reusability we proposed in Definitions 1 and 2 are not directly applicable to measure
transferability from a source observation to a target problem. The property of transferability
the target case (  ,   ) ∈ 
model   is determined based on the source observation.
measures the ability to transfer knowledge from a source case (  ,   ) ∈ 
 . It can be seen as an extension of reusability where the source
 to apply it to
Definition 3 (Transferability). Let (  ,   ) ∈ 
models {  | (  ) +  (  ,   |  ) &lt;  (  ,   ),  
be strongly (resp. weakly)  -transferable to the target case (  ,   ) ∈ 
∈
  * such that   * is strongly (resp. weakly) reusable for case (  ,   ).</p>
        <p>if the set of compatible</p>
        <p>Mℛ  ,  } contains an element
 be a source case. The case (  ,   ) is said to</p>
        <p>The proposed definition of transferability is very weak, since it only requires the existence of
one source model that is reusable. However, it does not take into account the quality of this
model in the source domain. For instance, it would acquire equal weight if the reusable source
model is associated with complexity  (  ) +  (  ,     ) close to  (  ,   ), as if the
complexity is close to 0. Such situations are very likely to occur with probabilistic models, since
|
many such models give positive probability to all observations.</p>
        <p>In order to refine this notion, it would be important to define a coeficient of transferability,
similar to the degree of reusability  defined in Proposition 1. We will denote such a coeficient
 ((  ,   ), (  ,   )). We propose two possible definitions below. These definitions rely on the
set of compatible models for (  ,   ) introduced in Definition 3, and denoted
M(  ,   ). For
simplicity, we will use the notation   (resp.   ) to designate the case (  ,   ) (resp. (  ,   )).</p>
        <p>A first definition is a direct application of Definition 3: it associates the transferability of a
problem to the maximum reusability of the corresponding model:
 max (︀   ,  )︀ =</p>
        <p>max
with the convention that max ∅ = 0. This definition has the same weakness as the introduced
concept of transferability: it does not take into account that the most reusable model might also
be very weak to describe (  ,   ).</p>
        <p>In order to alleviate this, our second definition proposes to average the score over the possible
models. Therefore, we compute the posterior of the model for given (  ,   ) and compute the
score as the expected value over   of the degree of reusability.</p>
        <p>
          avg (︀   ,  )︀ =

 (  
|
 ,   ) (  ,  )

In order to compute the posterior  (    ,   ), we use algorithmic probability [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ] and assume
a uniform prior:
 (  
|
        </p>
        <p>,   ) = 2− (  ,  |  )− (  )
This second definition provides a better idea of how transferable a source observation can
be, since it takes into account all possible models describing it. However, it has two major
weaknesses. On a theoretical level, it does not reflect the variance of the reusability degree over
the compatible models: based on  avg only, it is impossible to know whether all models, only
very few but very compatible models, or a large number of less compatibles are reusable. On a
practical level, the  avg score may not be tractable, and would require some approximations.</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. Illustration: Transferability of Morphological Transformations</title>
      <p>In this section, we propose to apply the notions introduced in Section 3 to the case of
morphological analogies. We will mostly build upon the domain introduced in Example 1.</p>
      <sec id="sec-4-1">
        <title>4.1. Introduction to Morphological Analogies</title>
        <p>Morphological analogies are analogies on words involving transformations of a morphological
nature, for instance declension or conjugation. Unlike semantic analogies (e.g. “king is to queen
as man is to woman"), morphological analogies are mostly of a symbolic nature: they involve
the detection of transformations of one form of a word into another form. Typical example of
such morphological analogies could be “work : worked :: call : called" in English (transformation
from present to preterit, in English), or “voihin : vuossa :: soihin : suossa" (transformation from
illative plural to inessive singular in Finnish).</p>
        <p>
          Various works have been proposed to solve such analogies, mostly based on the principles
of proportional analogy [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ]. Other approaches rely on an algebraic consequence of these
principles [
          <xref ref-type="bibr" rid="ref16">16</xref>
          ], on deep learning approaches [
          <xref ref-type="bibr" rid="ref17">17</xref>
          ] or even on complexity minimization [
          <xref ref-type="bibr" rid="ref18">18</xref>
          ].
        </p>
      </sec>
      <sec id="sec-4-2">
        <title>4.2. A Simplified Model for Morphology</title>
        <p>
          The model proposed in Example 1 is relevant for a formal treatment of morphological analogies.
However, following Murena et al. [
          <xref ref-type="bibr" rid="ref18">18</xref>
          ], we propose a simplification where the space of partial
recursive functions is restricted to a simpler subset. This subset is defined by a simple descriptive
language based on the concatenation of various strings. It allows to define functions of the form
 = ( 1,  2) with, for  ∈ {1, 2}:
︁∑
 
 =1
  ( 1, . . . ,   ) =  0 +
   ( ) +
        </p>
        <p>(13)
where the + operation stands for string concatenation,  1, . . . ,   ∈  * and  0, . . . ,   ∈  *
are words on the alphabet  , and   : {0, . . . ,   } → {0, . . . ,  }. The vector  = ( 1, . . . ,   )
corresponds to the representation, and the models are defined such as in Equation (1).</p>
        <p>We notice that the proposed restriction accounts for various types of morphological
transformations, such as prefixation, sufixation, change or prefix and/or sufix, but also duplication.
However, the language is not Turing complete, and for instance does not cover any conditional
statement.</p>
        <p>In morphological analogies, the source and target domains are the same.</p>
      </sec>
      <sec id="sec-4-3">
        <title>4.3. Computing Complexities</title>
        <p>In order to compute the reusability and transferability, we must define three expressions of
complexity: complexity of a model  ( ), complexity of a case given a model  (,  | ) and
complexity of a target model given a source model  (  |  ).</p>
        <p>
          A model is entirely defined by the function  . A binary coding of such functions is proposed
in [
          <xref ref-type="bibr" rid="ref18">18</xref>
          ]. The complexity of the model then corresponds to the length (in bits) of the binary code
of the function.
        </p>
        <p>Given a model  , the case (,  ) is coded by providing a correct representation ( 1, . . . ,   ).
In case no representation generates (,  ) with model  , the two words are hard-coded. In
terms of binary representation, we propose the following coding. The string starts with a bit
encoding whether the following bits code for the representation vector or for the two words.
After this bit, the words are coded letter by letter, with specific delimitors to mark the end of
each string. The complexity  (,  | ) is the length of this code.</p>
        <p>For the model transfer, we propose an elementary description. More sophisticated versions
have to be discussed in future works. We propose to reuse the source model either by reusing it
directly (without modification), or by redefining completely. Such as previously, this choice is
indicated by an initial bit. The model complexity is then given by:
 (  |  ) =
︃{ 1
1 +  (  )
if   =  
otherwise
(14)</p>
      </sec>
      <sec id="sec-4-4">
        <title>4.4. Examples of Reusability</title>
        <p>Sufixation. We consider the source model   associated to transformation  ( 1) = ( 1,  1 +
“ ”) which consists in sufixing an “s" at the end of a word. We can verify that   is  -reusable
for the target case (“film", “films"). In that case, it can be verified that   minimizes quantity
 ( ) +  (  ,   | ). Consequently,   is weakly  -reusable for (“film", “films") with
 ≤  (  ) − 1. This shows that   (  , (“film", “films" )) =  (  ) − 1. It can also be
verified that   is the only model minimizing  ( ) +  (  ,   | ). Therefore, we also
have that   is strongly  -reusable for (“film", “films") with  ≤  (  ) − 1. In this case, we
have   (  , (“film", “films" )) =   (  , (“film", “films" )).</p>
        <p>However, the model is not reusable for (“mouse", “mice") for instance, since the
minimal transformation for this case is  ′( ) = ( + “ouse",  + “ ”). We then have
  (  , (“mouse", “mice")) =   (  , (“mouse", “mice")).
Duplication. We consider the source model   associated to transformation  ( 1) = ( 1 +
“ − ” +  1,  1). This transformation is the reverse of a duplication (plural form in Indonesian).
As for previous example, one can easily check that   is not reusable for the case (“orang",
“orang-orang"). This was expected, with the choice of the transfer representation  (  |  )
which forces toward reusing the source model or ignoring it completely. It would not have been
the same with other choices though. In particular, if it allowed for model transformation of the
form ( 1,  2) ↦→ ( 2,  1).</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>5. Toward Transferability in Domain Adaptation</title>
      <p>
        Domain adaptation is a machine learning task where a hypothesis on a source domain has to be
transferred to a target domain where data are not equally distributed [
        <xref ref-type="bibr" rid="ref19">19</xref>
        ]. We conclude this
paper with a quick investigation of how domain adaptation can fit to our proposed framework.
      </p>
      <sec id="sec-5-1">
        <title>5.1. Related Works: Task-Relatedness</title>
        <p>
          The question of transferability of one solved source problem to a target problem has played
a predominant role in the theoretical understanding of domain adaptation. Ben-David et al.
(2010) [
          <xref ref-type="bibr" rid="ref20">20</xref>
          ] propose a PAC bound for transfer between domains in a binary classification setting,
which relies on the use of a measure of a specific domain divergence, called ℋ -divergence. It is
noticeable that the introduced measure depends on the hypothesis class ℋ , i.e. on the model
space. This proposed notion has then been refined, to account for a variety of loss functions [
          <xref ref-type="bibr" rid="ref21">21</xref>
          ]
or to adapt to the PAC-Bayesian setting [
          <xref ref-type="bibr" rid="ref22">22</xref>
          ]. All these measures follow a similar idea of
comparing the distribution over the input spaces, but ignore the labels. Closer to our proposal,
Zhang et al. (2012) [
          <xref ref-type="bibr" rid="ref23">23</xref>
          ] propose to additionally take into account the label distribution  ( ) in
the discrepancy measure. Independently from these studies, Mahmud (2009) [
          <xref ref-type="bibr" rid="ref24">24</xref>
          ] also proposed
to quantify the task-relatedness using Kolmogorov complexity and Algorithmic Information
Theory.
        </p>
      </sec>
      <sec id="sec-5-2">
        <title>5.2. Open Question: Complexities for Probabilistic Models</title>
        <p>We describe the domain adaptation task in the context of the probabilistic model space defined
in Example 2, in which a model is associated to a probability distribution. Such as for the
morphological domain (Section 4.3), we need to define the complexities  ( ),  (,  | ) and
 (  |  ).</p>
        <p>The term  (,  | ) is a standard quantity considered by Algorithmic Information Theory.
It is commonly computed using the Shannon-Fano coding. Using this allows to define the
complexity of an object (,  ) knowing a probability distribution  as  (,  | ) = − log  (,  ).
This corresponds to the natural choice when computing  (,  | ) in our probabilistic domain.</p>
        <p>
          Defining  ( ) and  (  |  ) is more dificult thought and goes beyond the scope of this
paper. Traditionally, the complexity of a probability distribution is assimilated to the probability
of its density function, and specific computations are proposed to estimate these. We refer the
interest the interested reader to [
          <xref ref-type="bibr" rid="ref24">24</xref>
          ] for instance.
        </p>
      </sec>
      <sec id="sec-5-3">
        <title>5.3. Discussion</title>
        <p>Extending our framework to domain adaptation is both natural and complex. Indeed, the problem
formulation in terms of models allow for a direct characterization of domain adaptation, where
a domain is characterized by an unlabeled dataset (the problem) and a vector of predictions
(the solution). However, the computation of the complexities may not be as simple as for the
symbolic domain. Future works will have to bridge this gap.</p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>6. Conclusion</title>
      <p>
        In this paper, we introduced a novel understanding of analogical transfer, by focusing on whether
the information contained in the source case were transferable to the target case. We proposed
a formalism based on a notion of models, which we defined in a way that is consistent with
both symbolic analogies and numerical machine learning. Even though this preliminary works
cover only the question of measuring the transferability from a source case (  ,   ) to a target
case (  ,   ), it is a first step toward the key question of predicting whether knowledge of
(  ,   ) could be reused to find a solution  to problem   . We think the proposed framework
could provide a common basis to develop a general understanding of transfer, going beyond the
current statistical theories [
        <xref ref-type="bibr" rid="ref20">20</xref>
        ] for instance.
      </p>
    </sec>
    <sec id="sec-7">
      <title>Acknowledgments</title>
      <p>The author wishes to thank the anonymous reviewers for their insightful comments and
suggestions. Some of the presented ideas have been inspired by discussions with Antoine Cornuéjols,
Jean-Louis Dessalles, Marie Al-Ghossein and Miguel Couceiro. This work was supported by the
Academy of Finland Flagship programme: Finnish Center for Artificial Intelligence, FCAI.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>D.</given-names>
            <surname>Gentner</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Hoyos</surname>
          </string-name>
          , Analogy and Abstraction, Top.
          <source>Cogn. Sci. 9</source>
          (
          <year>2017</year>
          )
          <fpage>672</fpage>
          -
          <lpage>693</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>L.</given-names>
            <surname>Miclet</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Prade</surname>
          </string-name>
          ,
          <article-title>Handling analogical proportions in classical logic and fuzzy logics settings</article-title>
          , in: G.
          <string-name>
            <surname>C. C. Sossai</surname>
          </string-name>
          (Ed.),
          <source>Proc. 10th Europ</source>
          .
          <article-title>Conf. on Symbolic and Quantitative Approaches to Reasoning with Uncertainty (ECSQARU</article-title>
          <year>2009</year>
          ), Springer, Berlin/Heidelberg,
          <year>2009</year>
          , pp.
          <fpage>638</fpage>
          -
          <lpage>650</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>N.</given-names>
            <surname>Barbot</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Miclet</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Prade</surname>
          </string-name>
          ,
          <source>Analogy between concepts</source>
          ,
          <source>Artif. Intell</source>
          .
          <volume>275</volume>
          (
          <year>2019</year>
          )
          <fpage>487</fpage>
          -
          <lpage>539</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>D.</given-names>
            <surname>Hofstadter</surname>
          </string-name>
          , M. Mitchell, Fluid Concepts and
          <string-name>
            <given-names>Creative</given-names>
            <surname>Analogies</surname>
          </string-name>
          , Basic Books, Inc., New York, NY, USA,
          <year>1995</year>
          , pp.
          <fpage>205</fpage>
          -
          <lpage>267</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>T.</given-names>
            <surname>Mikolov</surname>
          </string-name>
          , W.-t. Yih, G. Zweig,
          <article-title>Linguistic regularities in continuous space word representations, in: Proceedings of the 2013 conference of the north american chapter of the association for computational linguistics: Human language technologies</article-title>
          ,
          <year>2013</year>
          , pp.
          <fpage>746</fpage>
          -
          <lpage>751</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>S.</given-names>
            <surname>Lim</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Prade</surname>
          </string-name>
          , G. Richard,
          <article-title>Classifying and completing word analogies by machine learning</article-title>
          ,
          <source>International Journal of Approximate Reasoning</source>
          <volume>132</volume>
          (
          <year>2021</year>
          )
          <fpage>1</fpage>
          -
          <lpage>25</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Lepage</surname>
          </string-name>
          , Analogy and
          <string-name>
            <given-names>Formal</given-names>
            <surname>Languages</surname>
          </string-name>
          ,
          <source>Electron. Notes Theor. Comput. Sci</source>
          .
          <volume>53</volume>
          (
          <year>2001</year>
          )
          <fpage>180</fpage>
          -
          <lpage>191</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>P. A.</given-names>
            <surname>Murena</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.-L.</given-names>
            <surname>Dessalles</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Cornuéjols</surname>
          </string-name>
          ,
          <article-title>A complexity based approach for solving Hofstadter's analogies</article-title>
          , in: CAW@ ICCBR-2017
          <source>Computational Analogy Workshop, at International Conference on Case Based Reasoning</source>
          ,
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>P.-A.</given-names>
            <surname>Murena</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Al-Ghossein</surname>
          </string-name>
          ,
          <article-title>Inferring Case-Based Reasoners' Knowledge to Enhance Interactivity</article-title>
          ,
          <source>in: International Conference on Case-Based Reasoning</source>
          , Springer,
          <year>2021</year>
          , pp.
          <fpage>171</fpage>
          -
          <lpage>185</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>M.</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Vitányi</surname>
          </string-name>
          , et al.,
          <article-title>An introduction to Kolmogorov complexity and its applications</article-title>
          , volume
          <volume>3</volume>
          , Springer,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>C.</given-names>
            <surname>Antić</surname>
          </string-name>
          , Analogical Proportions,
          <year>2020</year>
          . URL: https://arxiv.org/abs/
          <year>2006</year>
          .02854.
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>S.</given-names>
            <surname>Shalev-Shwartz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Ben-David</surname>
          </string-name>
          ,
          <article-title>Understanding machine learning:</article-title>
          <source>From theory to algorithms</source>
          , Cambridge university press,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>C. S.</given-names>
            <surname>Wallace</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D. M.</given-names>
            <surname>Boulton</surname>
          </string-name>
          ,
          <article-title>An information measure for classification</article-title>
          ,
          <source>The Computer Journal</source>
          <volume>11</volume>
          (
          <year>1968</year>
          )
          <fpage>185</fpage>
          -
          <lpage>194</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>J.</given-names>
            <surname>Rissanen</surname>
          </string-name>
          ,
          <article-title>Modeling by shortest data description</article-title>
          ,
          <source>Automatica</source>
          <volume>14</volume>
          (
          <year>1978</year>
          )
          <fpage>465</fpage>
          -
          <lpage>471</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>P. D.</given-names>
            <surname>Grünwald</surname>
          </string-name>
          ,
          <article-title>The minimum description length principle</article-title>
          , MIT press,
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>P.</given-names>
            <surname>Langlais</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Yvon</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Zweigenbaum</surname>
          </string-name>
          ,
          <article-title>Improvements in analogical learning: application to translating multi-terms of the medical domain</article-title>
          ,
          <source>in: Proceedings of the 12th Conference of the European Chapter of the ACL (EACL</source>
          <year>2009</year>
          ),
          <year>2009</year>
          , pp.
          <fpage>487</fpage>
          -
          <lpage>495</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>S.</given-names>
            <surname>Alsaidi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Decker</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Lay</surname>
          </string-name>
          , E. Marquer,
          <string-name>
            <given-names>P.-A.</given-names>
            <surname>Murena</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Couceiro</surname>
          </string-name>
          ,
          <article-title>A Neural Approach for Detecting Morphological Analogies</article-title>
          ,
          <source>in: IEEE 8th DSAA</source>
          ,
          <year>2021</year>
          , pp.
          <fpage>1</fpage>
          -
          <lpage>10</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <given-names>P.-A.</given-names>
            <surname>Murena</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Al-Ghossein</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.-L.</given-names>
            <surname>Dessalles</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Cornuéjols</surname>
          </string-name>
          ,
          <source>Solving Analogies on Words based on Minimal Complexity Transformation., in: IJCAI</source>
          ,
          <year>2020</year>
          , pp.
          <fpage>1848</fpage>
          -
          <lpage>1854</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <given-names>A.</given-names>
            <surname>Farahani</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Voghoei</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Rasheed</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H. R.</given-names>
            <surname>Arabnia</surname>
          </string-name>
          ,
          <article-title>A brief review of domain adaptation</article-title>
          ,
          <source>Advances in Data Science and Information Engineering</source>
          (
          <year>2021</year>
          )
          <fpage>877</fpage>
          -
          <lpage>894</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          [20]
          <string-name>
            <given-names>S.</given-names>
            <surname>Ben-David</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Blitzer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Crammer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Kulesza</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Pereira</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. W.</given-names>
            <surname>Vaughan</surname>
          </string-name>
          ,
          <article-title>A theory of learning from diferent domains</article-title>
          ,
          <source>Machine learning 79</source>
          (
          <year>2010</year>
          )
          <fpage>151</fpage>
          -
          <lpage>175</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          [21]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Mansour</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Mohri</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Rostamizadeh</surname>
          </string-name>
          ,
          <article-title>Domain adaptation: Learning bounds and algorithms</article-title>
          ,
          <source>arXiv preprint arXiv:0902.3430</source>
          (
          <year>2009</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          [22]
          <string-name>
            <given-names>P.</given-names>
            <surname>Germain</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Habrard</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Laviolette</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Morvant</surname>
          </string-name>
          ,
          <article-title>A PAC-Bayesian approach for domain adaptation with specialization to linear classifiers</article-title>
          ,
          <source>in: International conference on machine learning, PMLR</source>
          ,
          <year>2013</year>
          , pp.
          <fpage>738</fpage>
          -
          <lpage>746</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          [23]
          <string-name>
            <given-names>C.</given-names>
            <surname>Zhang</surname>
          </string-name>
          , L. Zhang, J. Ye,
          <article-title>Generalization bounds for domain adaptation</article-title>
          ,
          <source>Advances in neural information processing systems</source>
          <volume>25</volume>
          (
          <year>2012</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          [24]
          <string-name>
            <given-names>M. H.</given-names>
            <surname>Mahmud</surname>
          </string-name>
          ,
          <article-title>On universal transfer learning</article-title>
          ,
          <source>Theoretical Computer Science</source>
          <volume>410</volume>
          (
          <year>2009</year>
          )
          <fpage>1826</fpage>
          -
          <lpage>1846</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>