<!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>
      <journal-title-group>
        <journal-title>Hyatt Regency, San Francisco Airport, California, USA, March</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Counterfactual Edits for Generative Evaluation</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Maria Lymperaiou</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Giorgos Filandrianos</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Konstantinos Thomas</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Giorgos Stamou</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>AILS Laboratory, School of Electrical and Computer Engineering, National Technical University of Athens</institution>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2023</year>
      </pub-date>
      <volume>2</volume>
      <fpage>7</fpage>
      <lpage>29</lpage>
      <abstract>
        <p>Evaluation of generative models has been an underrepresented field despite the surge of generative architectures. Most recent models are evaluated upon rather obsolete metrics which sufer from robustness issues, while being unable to assess more aspects of visual quality, such as compositionality and logic of synthesis. At the same time, the explainability of generative models remains a limited, though important, research direction with several current attempts requiring access to the inner functionalities of generative models. Contrary to prior literature, we view generative models as a black box, and we propose a framework for the evaluation and explanation of synthesized results based on concepts instead of pixels. Our framework exploits knowledge-based counterfactual edits that underline which objects or attributes should be inserted, removed, or replaced from generated images to approach their ground truth conditioning. Moreover, global explanations produced by accumulating local edits can also reveal what concepts a model cannot generate in total. The application of our framework on various models designed for the challenging tasks of Story Visualization and Scene Synthesis verifies the power of our approach in the model-agnostic setting.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Image Generation</kwd>
        <kwd>Counterfactual Explanations</kwd>
        <kwd>Difusion Models</kwd>
        <kwd>Story Visualization</kwd>
        <kwd>Generative Evaluation</kwd>
        <kwd>XAI</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        Image generation has been one of the most popular deep learning tasks, inspiring many
impressive state-of-the-art applications [
        <xref ref-type="bibr" rid="ref1 ref2 ref3 ref4 ref5 ref6 ref7">1, 2, 3, 4, 5, 6, 7</xref>
        ]. Even since the introduction of Generative
Adversarial Networks (GANs) [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], which marked one of the first significant breakthroughs in
the field, most applications focused on enhancing image quality according to human perception.
At the same time, the automatic evaluation of the generated samples remains a long-standing
problem as there are no ground truth data to measure against. The valuation of such generative
tasks, so far, relies on pixel-level metrics such as Inception Score (IS) [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ], Frechet Inception
Distance (FID) [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ], Learned Perceptual Image Patch Similarity (LPIPS) [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ], to provide a quality
measure for the generated samples. Consequently, the list of literature evaluated upon those
benchmark metrics is long; yet concerns have been raised that their brittleness [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] is leading
to inaccurate results. Although recent metrics, such as Clean-FID [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] can resolve some issues
regarding visual artifacts, they still cannot address major issues such as the evaluation of
complex images, compositionality, logic, and fairness of generation [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ]. Moreover, when it comes
to conditional generation, we further require a measure of whether objects and attributes
mentioned in the conditioning are successfully depicted on the generated samples. Current attempts
in conditional synthesis evaluation remain limited [
        <xref ref-type="bibr" rid="ref14">14, 15</xref>
        ] while still facing the shortcomings
of their unconditional counterparts, on which they are built.
      </p>
      <p>Explainability of generative models is another emerging field, which has currently received
way less attention compared to discriminative models [16, 17]. The incorporation of explainable
feedback in Generative Adversarial Networks (GANs) has demonstrated a promising research
direction [18], while other works focus on interpreting GAN inner structure [19]. Overfitting in
GANs can be tackled by determining the image areas that contributed to classifying a sample
as fake/real, thus explaining the discriminator’s decision [20]. This limited literature impedes
the development of explainable evaluation for generative models, even though related attempts
have gained ground in other AI domains, such as Natural Language Processing [21, 22, 23].</p>
      <p>We argue that resolving generative evaluation challenges calls for a conceptual approach
to the evaluation process, diverging from the pixel-level route. Relying on concepts instead of
pixels ofers the advantage of enhanced interpretability regarding the evaluation process and
paves the way for explainable evaluation of generative models. Identifying concepts (objects
or attributes) that can or cannot be generated reveals the capabilities and biases of the model
at hand, thus driving potential architectural modifications. In this paper, we present the
ifrst explainable evaluation technique targeting generative models. Specifically, we utilize
counterfactual explanations to frame conditional generative evaluation as the answer to the
following question: What concepts need to change in a generated sample X, for it to reach its
conditioning c? Conceptual edits guided from external knowledge sources [24] have shown to
eficiently indicate the shortest possible path to reach the conditioning concepts. Furthermore,
existing works that combine explainability with image generation operate on specific models
[18, 19, 20] and demand access to their inner structure (white-box techniques), while our
approach only requires generated outputs along with their ground truth conditioning, yet still
regarding the generative model as a black-box. We, therefore, contribute to the following:
1. We propose the first conceptual rather than pixel-based generative evaluation framework1,
suitable for various tasks such as Scene Generation (SG) and Story Visualization (SV).
2. Our metrics are explainable by design, illustrating which concepts need to be inserted,
deleted, or replaced in the generated images, for them to approach the ground truth
conditioning. Those edit operations are applied in a model-agnostic setting, totally
trespassing any access to the generative model inner workings.
3. Global explanations automatically reveal possible blind spots of generative models, i.e.</p>
      <p>concepts that a model is intrinsically incapable of generating.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Related work</title>
      <p>
        Generative Adversarial Networks (GANs) [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] consist of two neural networks, a generator
1https://github.com/geofila/Counterfactual-Edits-for-Generative-Evaluation
(;  ) and a discriminator (;  ).  maps random noise , generated from a prior
distribution  ∼ , to the data space. , on the other hand, maps a sample  from the same data
space to a scalar value  = (), which represents the probability that the sample was drawn
from the real data distribution. In the case of conditional GANs (cGANs) [25],  is fed not only
with random noise , but also with an additional conditioning vector , which helps guide the
generation of samples from specific sub-regions of the target distribution.
      </p>
      <p>Several image generation cGANs [26, 27] perform well when it comes to generating images
with distinct textures and colors. However, they tend to struggle with generating coherent
overall object structures and other long-range dependencies, due to the limited nature of
convolutional filters. The Self-Attention GAN (SAGAN) [ 28] was proposed as a solution to this
problem; it utilizes a self-attention module in both  and , as well as modern stabilization
techniques such as Spectral Normalization of weights [29], while it leverages the two-timescale
update rule [30] to impose diferent learning rates for  and .</p>
      <p>
        Difusion models are breaking new ground in the field of conditional image generation and
are becoming the state-of-the-art in that area [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. These models work by adding noise to an
image and then learning to reconstruct it. In the past year, there have been several exciting
developments in the field of difusion-based image synthesis. Stable Difusion [ 31] allows for
high-quality image synthesis even under resource constraints by applying the difusion process
in the latent space of autoencoders instead of at the pixel level in the image space. DALL-E2
[
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] builds upon the success of its predecessor [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] by incorporating text-conditioned image
embeddings learned from CLIP [32] as input to a difusion model that acts as the decoder. The
resulting images are photorealistic and accurate representations of the input text, and it also
allows for language-guided manipulation of a source image. The work of Imagen [33] leverages
large pre-trained language models, such as T5 [34], for language encoding and conducts image
synthesis using the difusion process. DreamBooth [ 35] takes Imagen a step further by allowing
for context-aware image synthesis, given a text description of the desired context. This allows
for the generation of various visual subjects while maintaining high image synthesis quality.
Conditional image synthesis has come a long way since the early days of text-conditioned
image generation [36, 37]. First attempts produced images lacking in detail and quality.
StackGAN [38] was the first model to significantly improve the quality of generated images using a
multi-stage adversarial training process, followed by StackGAN++ [39] which further enhanced
generation results. AttnGAN [40] employed attention mechanisms to generate fine-grained
details in images based on individual words in the input text. SEGAN [41] took this a step further
by only focusing attention on relevant keywords in the input text. DM-GAN [42] improved the
quality of generated images by addressing fuzzy areas.
      </p>
      <p>
        StoryGAN [43] is a generative model that synthesizes images based on sequential input
(Story Visualization), using an RNN structure to encode the input text and provide context
information to the generator. The generator is trained adversarially against two discriminators:
the image discriminator, which evaluates image quality and text-image relevance, and the story
discriminator, which ensures consistency across images given the entire story context. Recent
work has focused on improving the baseline StoryGAN model [44] and exploring alternative
story encoding methods, such as using Transformer architectures [
        <xref ref-type="bibr" rid="ref15 ref16">45, 46, 47</xref>
        ].
Generative evaluation Despite the rapid advancements in image synthesis, generative
evaluation is falling behind due to outdated evaluation practices [
        <xref ref-type="bibr" rid="ref10 ref11 ref17 ref9">9, 10, 11, 48</xref>
        ], mainly
followed for benchmarking reasons, ignoring the problems recognized in recent works [
        <xref ref-type="bibr" rid="ref12 ref13">12, 13</xref>
        ].
Explainability in generative modeling can deliver interesting insights, though current eforts
either remain model-specific [
        <xref ref-type="bibr" rid="ref18">49, 18, 19, 20</xref>
        ] or require discovering interpretable latent
directions [
        <xref ref-type="bibr" rid="ref19 ref20 ref21 ref22">50, 51, 52, 53</xref>
        ], which is a non-trivial task. Our method serves both the evaluation and
explainability of generative models under a single framework and is capable of being adapted
to any generative model - even the ones serving sequential image generation [
        <xref ref-type="bibr" rid="ref15 ref16">43, 45, 46, 47</xref>
        ]
as it focuses solely on input and output concept sets.
      </p>
      <p>
        Counterfactual explanations Contemporary AI research moves towards explaining a neural
network’s train of ’thought’, thus eXplainable AI (XAI) becomes a field of increasing interest [
        <xref ref-type="bibr" rid="ref23">54</xref>
        ].
Counterfactual explanations provide alternative realities based on minimal input modifications,
hence revealing reasoning paths. Generative models are a straightforward approach when
visual alternatives are explored [
        <xref ref-type="bibr" rid="ref24">55</xref>
        ]. Any alteration should be feasible with respect to original
data distribution, an observation that adds constraints in alternative inputs [
        <xref ref-type="bibr" rid="ref25">56</xref>
        ]. Minimum
alterations can be decided either by interfering with the black-box nature of neural networks
[
        <xref ref-type="bibr" rid="ref26">57</xref>
        ], or not [24]. We chose to follow the black-box route, using counterfactual explanations to
uncover clues on the reasoning processes of generative models.
3. Conceptual edits as counterfactual explanations
Our overall approach is heavily inspired by Filandrianos et al. [24], which explores the
fundamental question of counterfactual reasoning: “What is the minimal change that has to occur in
order for an image  to be classified as X instead of Y?”, where X and Y are predicted categories
of a pre-defined image classifier  . In our case,  is not necessary, since we by default place
all generated concepts  in a set , and all ground truth concepts  in a set  . Counterfactual
explanations are capable of addressing the aforementioned question, providing the minimum
number of conceptual edits to achieve the  →  transition for all  ∈ ,  ∈  .
      </p>
      <p>
        Concept distances instruct the shortest path that connects two specific concepts. Concept
hierarchies are employed, deterministically defining the transition cost between concepts. We
explore both the option to use external hierarchical knowledge such as WordNet [
        <xref ref-type="bibr" rid="ref27">58</xref>
        ], mapping
extracted concepts to synsets, or alternatively handcraft specific hierarchies to allow highly
controlled semantic distance definition. In both cases, we denote as (, ) the distance between
concepts  and . There are three available concept edit operations to realize transitions:
• Replacement (R) →(): A concept  ∈  is replaced with a concept  ∈/ .
• Deletion (D) − (): A concept  ∈  is deleted from .
      </p>
      <p>• Insertion (I) +(): A concept  ∈  is inserted in .</p>
      <p>Each edit operation inherits the concept distances imposed by the selected hierarchy.
Therefore, R operation considers the path between  and  so that min((, )) is ensured. As in
[24],  also ensures actionability of edits, allowing semantically meaningful transitions (e.g.
’food’→’pasta’), while prohibiting meaningless ones (e.g. ’food’→’sky’). D and I operations
regard the root node of the hierarchy as  and  respectively; in the case of WordNet, entity.n.01
serves as the root. Concept Set Edit Distance (CSED) ( →  ) is obtained by aggregating
all possible minimum cost edit operations so that  →  is finally achieved:
, ,,
 = ( →  ) = min ∑︁ ∑︁ (, )
̸=
(1)</p>
    </sec>
    <sec id="sec-3">
      <title>4. Method</title>
      <p>The heart of our method consists of a pre-trained black-box generative model  which receives a
semantic description  (in natural language or in symbolic format) as conditioning and produces
an image  corresponding to . We then use of-the-self automatic methods such as object
detection, semantic segmentation, and others, in order to extract all the concepts depicted in
the generated images  and append them in the generated (or source) concept set . Similarly,
concepts extracted from  contribute to the real (or target) concept set  . The format of  defines
the concept extraction technique that is followed, ranging from linguistic concept extraction, if
 is a textual sentence, to simple preprocessing, if  is already in a set format. Ultimately, we
aspire to answer the following: "What are the minimal required changes in order to traverse
from  to  ?" The outline of our method is presented in Figure 1.</p>
      <sec id="sec-3-1">
        <title>4.1. Generative evaluation</title>
        <p>The counterfactual backbone described in Section 3 highlights our process for generative
evaluation, which we employ on two dificult tasks of the generative literature: Story Visualization
(SV) and Scene Generation (SG).</p>
        <p>Story Visualization (SV) targets the sequential creation of images 1, 2, ...,  that
correspond, one-to-one, to a given sequential conditioning 1, 2, ...,  of a total length . The
generated images need not only to remain faithful to their conditioning, but to also maintain
serial consistency. We therefore define the two desiderata applicable to SV:
• Faithfulness: objects and attributes mentioned in  should also appear in frame , for
any story frame , where 1 ≤  ≤ .
• Consistency: objects or attributes appearing in frame  cannot disappear or change in
later frames +1, ..., , for any story frame , where 1 ≤  &lt; .</p>
        <p>
          Since well-defined semantics are tied to counterfactual explanations [
          <xref ref-type="bibr" rid="ref28">59</xref>
          ], we regard
CLEVR
        </p>
        <sec id="sec-3-1-1">
          <title>SV [60] as the ideal dataset to demonstrate our approach, as it provides a set of concepts :</title>
          <p>shape (cube, sphere, cylinder), size (small, large), material (rubber, metal) and one of 8 colors (blue,
cyan, brown, yellow, red, green, purple, gray). Each CLEVR-SV object contains ||=4 concepts
that describe its shape, size, material and color. We handcraft a simple hierarchy to group object
semantics to generic concept classes, demonstrating the following inclusion relationships:
(large, small) ⊂ Size
(blue, yellow, brown, grey, green, purple, cyan, red) ⊂ Color</p>
          <p>Material
(metallic, rubber) ⊂
(sphere, cube, cylinder) ⊂ Shape
(2)
CLEVR-SV contains stories of length =4, with the -th frame strictly containing  objects.
Any of the three available edit operations can be relevant per frame: D of a concept, when
a generated frame contains more objects than its ground truth match; I of a concept in the
opposite case; R equals to a D followed by an I, and can be applied on frames with proper
number of objects when semantics difer. In the default case, we assign equal costs of 1 for all
semantics, as well as for D and I operations (R cost is the sum of D and I costs).</p>
          <p>To measure story faithfulness we propose the Story Loss (SL) metric, which sums up
the per-frame Concept Set Edit Distance () for  = 1, 2, ...,  frames of the story.
Generated CLEVR-SV semantics for shape, size, material and color for the k-th frame form the
concepts set , while the semantics of the conditioning form , with their  denoted as
(, ). Thus, the cost for the transition {1, 2, 3, 4} → {1, 2, 3, 4} corresponding
to the minimum cost R D I edits needed to transform the semantics of the generated sequence
{1, 2, 3, 4} to the semantics of its conditioning {1, 2, 3, 4} can be expressed as:
= =
 = ∑︁  = ∑︁ (, ),
=0 =0
 = 4
By scaling up the calculation of SL for a dataset containing  stories, we obtain the Global
Story Loss (GSL) metric:</p>
          <p>=
 = ∑︁  = ∑︁ ∑︁ (, )</p>
          <p>=0 =0 =1
As for story consistency, we propose the metric of Consistency Loss (CL): the frame  is
compared with − 1,  = 2, ..,  frames of the generated sequences to capture changes of
semantics. A challenging aspect of CL is that there does not exist a ground truth concept set.
However, since it is known by task definition that the k-th frame contains k objects, and the
cardinality || of dataset concepts is predefined ( ||=4 in the case of CLEVR-SV), we can assume
that every previous frame constitutes the ’ground truth’ corresponding to the concept set  .
Commencing from the k=1 frame, we expect the cardinality of  to be equal with || ·  = ||.
Any discrepancy results in a penalty  = | | − || ·  =  for k=1. For later frames, we
define as  the concept set corresponding to the k-th frame, and as  the ’ground truth’ set
comprised of the k-1 frame concepts. Mathematically, CL can be written as:
In the ideal case, when the k-th frame contains k objects with  semantics, we expect that
=1 = 0 and &gt;1 = || · ( − 1). By extending CL to  stories, Global Consistency Loss
(GSL) evaluates the consistency capabilities of a generative model  in total:
(3)
(4)
(6)
(7)
(8)
=
 = =1 + ∑︁ (, ),
=2
 = − 1,  = 4
(5)
  =
 = ∑︁  = ∑︁{=1, + ∑︁ (, ), , = − 1,}</p>
          <p>=0 =0 =2
Average values can be obtained for both local (SL/CL) and global (GSL/GCL) metrics:
1

Avg  =
,</p>
          <p>Avg  =</p>
          <p>[Avg ] =
1

1


For consistency, instead of exporting an average value over ∑︁ , it is more meaningful to
count how many times the =1 = 0, &gt;1 = || · ( − 1) requirement was not respected,
averaged for  =  frames:</p>
          <p>=
Avg  = =1 + 1 ∑︁[&gt;1 ̸= || · ( − 1)],
  =1</p>
          <p>Avg  =</p>
          <p>[Avg ]
1

SL and CL are by nature explanaible, as they do not only provide a measure of quality but also
reveal the  →  edit paths. Those paths serve as local counterfactual explanations, highlighting
the erroneously generated semantics for this particular story, either in terms of faithfulness or
consistency. Overall, higher SL/GSL and CL/GCL values denote lower conceptual generation
quality. GSL/GCL edit paths correspond to global counterfactual explanations: rule extraction
techniques provide frequent patterns, summarizing the behavior of  under investigation.
Frequent GSL edit paths in fact contain common misconceptions, i.e. conditioning concepts that
 cannot easily generate. Similarly, GCL edit paths reveal frequent inconsistency patterns,
showcasing concepts that arbitrarily change within the story frames. Hence, by researching
the question "What has to minimally change in order to transit from  to  ?", we eventually
answer a more generic one: "Which concepts cannot be generated or preserved by  ?"
Scene Generation (SG) aims to synthesize a visual scene  based on a conditioning . The
synthesized image comprises multiple objects which interact with each other. Scene objects
are also accompanied by attributes. The given conditioning  is more complex compared
to conditionings provided for SV, since the concepts to be generated are numerous and not
predefined; this yields a concept set  of unknown but comparatively large cardinality.</p>
          <p>
            COCO dataset [
            <xref ref-type="bibr" rid="ref30">61</xref>
            ] provides the ideal setting for evaluating generative faithfulness for
SG, providing textual captions  that can serve as conditioning. We focus our endeavors on
state-of-the-art open source difusion models [
            <xref ref-type="bibr" rid="ref2">2</xref>
            ] from Huggingface2, and specifically on Stable
Difusion v1.4 &amp; v2 [
            <xref ref-type="bibr" rid="ref31 ref32">62, 63</xref>
            ] and Protogen x3.4 &amp; 5.8 [
            <xref ref-type="bibr" rid="ref33 ref34">64, 65</xref>
            ] (details in Appendix). These models
produce realistic images - an important aspect of the concept extraction (object detection) stage.
We omit older SG architectures [66, 67, 68, 69, 70, inter alia] due to their inferior visual quality
and their reliance on scene graphs and layouts for ensuring proper composition.
          </p>
          <p>
            In the concept extraction stage, YOLO-v8 [
            <xref ref-type="bibr" rid="ref40">71</xref>
            ] and YOLOS [
            <xref ref-type="bibr" rid="ref41">72</xref>
            ] object detectors are leveraged
to construct the generated concept set . Since  is in textual format, spaCy [
            <xref ref-type="bibr" rid="ref42">73</xref>
            ] is used to
extract ground truth concepts from captions that form the target concept set  . The semantically
complex nature of concept distances related to COCO concepts requires a rich knowledge
scheme, such as WordNet. For example, if  refers to concepts such as ’food’ or ’animal’, a
difusion model may generate more refined ’food’ or ’animal’ instances, for example, ’pasta’ and
’dog’ respectively. The object detectors will then return these refined classes, inducing some
noise in the transformation process. Hierarchical knowledge can eliminate such issues: even
though  = {food, animal} ̸=  = {pasta, dog}, the two sets are semantically equivalent if
we consider the hierarchical relationships pasta − isA − food and dog − isA − animal provided by
mapping  and  concepts on WordNet synsets. In this case, no  →  transformation needs
to be performed. Therefore, the usage of external knowledge allows more conceptually accurate
transitions. Moreover, WordNet provides concept distances necessary for edit operations,
precisely reflecting semantic relationships between concepts. Then, CSED can be applied to
provide the total cost of the  →  transformations.
2https://huggingface.co/models?pipeline_tag=text-to-image&amp;sort=downloads
          </p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>5. Experiments</title>
      <p>
        5.1. Story Visualization
Since all semantics and D, I edit operations have an equal cost, we assign =1 for all semantics,
as well as for D, I. For example, deleting a color yields an edit cost of 1. Alternatively, by
substituting a color with another one induces an edit cost of 2, equal to deleting the source color
and then inserting the target color. The same logic applies to shape, size and material of objects.
Metric results over the best variants of selected SV models [
        <xref ref-type="bibr" rid="ref15 ref16">43, 45, 46, 47</xref>
        ] are presented in
Table 1. Existing metrics (FID, Clean-FID, LPIPS, SSIM) are provided for comparison.
      </p>
      <p>
        In general, we observe an agreement between pixel-level and conceptual metrics. This is
somehow expected, since the concept extraction stage depends on pixel-level image quality, with
better generated objects or semantics being more easily identifiable. Nevertheless, conceptual
evaluation ofers more explainable insights: percentages of losses per concept (Material, Size,
Shape, Color) are provided, highlighting strengths and shortcomings of investigated models
over diferent semantics. For example, higher Shape loss for all models (&gt; 50%), indicates that
they synthesize objects of ambiguous shapes in most cases. On the other hand, relatively lower
Size losses reveal the models’ capability to generate objects having the right size.
Local explanations The transparency of the proposed SL/CL metrics is verified by obtaining
local explanations for [
        <xref ref-type="bibr" rid="ref16">47</xref>
        ]. Specifically, we examine edit paths for the sequences of Figure 2: the
4 leftmost images (Figure 2a) correspond to the ground truth sequence, while the 4 rightmost
images (Figure 2b) denote the generated frames. Consequently,  contains concepts of 2b and 
contains concepts of 2a. As presented in Table 3 (details in Appendix), a standard R operation
for all frames is observed, suggesting transforming the material of the small brown sphere
from ’rubber’ to ’metallic’ in order to match the ground truth. In the last frame, one more R
operation is added, suggesting also transforming the shape of the new object from ’sphere’ to
’cylinder’. The cost for each R operation equals to 2, equivalent for one step to remove the
wrong semantic and one more step to add the right semantic. However, this cost weight can
be tuned appropriately, if needed. SL for this story equals to 10, as a summary of all operation
costs per frame. By observing for CL, we realize that the correct number of objects is added in
every consequent frame, so that CL&gt;1 = || · ( − 1), || = 4 is maintained: starting from
CL1 = =1 = 0 for the k=1 frame, we verify that only one object is added, respecting that
frame number should be equal to the number of objects present in it. CL2=4 is expected since
the object added in the k=2 frame contains 4 semantics. Any number lower or greater than that
would indicate an abnormal behavior: CL&gt;1 &lt; || · ( − 1) marks one (or more) missing objects,
while CL&gt;1 &gt; || · ( − 1) indicates one (or more) extra object generated. The desired pattern
repeats for the 3rd and 4th frames. Through this analysis, the shortcomings of [
        <xref ref-type="bibr" rid="ref16">47</xref>
        ] concerning
this specific image are revealed, producing a local explanation: The semantic Material needs to
be examined more, as in all story frames of this example the small brown sphere is generated
with the attribute ’rubber’ instead of ’metallic’. In order to obtain insights regarding the model’s
synthesis capabilities of discrete semantics, global metrics and explanations need to be derived.
(a) Ground truth story frames
(b) Generated story frames of [
        <xref ref-type="bibr" rid="ref16">47</xref>
        ]
1st ’rubber’ →’metallic’
2nd ’rubber’ →’metallic’
3rd ’rubber’ →’metallic’
4th {’rubber’, ’sphere’} → {’metallic’, ’cylinder’}
Global explanations In order to assess our model’s shortcomings in total, we measure GSL
for all test images of CLEVR-SV. Therefore, we can obtain a measure of the model’s inability
to capture certain -discrete- semantics, either per frame or in total (Table 1). We observe that
in later frames, Material loss decreases, even though we would expect that the problem gets
’metallic’ →’rubber’
’rubber’ →’metallic’
’cylinder’ →’cube’
’cylinder’ →’sphere’
harder and harder as more objects are added, resulting in higher losses. This expected pattern
is followed by Size loss and Color loss, while no certain pattern can be extracted from Shape loss.
The high Shape loss imposes the need for attention mechanisms within the used GANs [28], so
that long-range relationships can be captured. We can also attribute the rapid rise of Size and
Color losses to consistency deficiencies within the story sequence.
      </p>
      <p>
        GSL can also reveal patterns in the form of rules for the whole test set. We leverage the
apriori algorithm [
        <xref ref-type="bibr" rid="ref43">74</xref>
        ] to extract frequent semantic combinations and rules. The 4 most common
semantic edits are provided in Table 4, together with each rule’s frequency (support). The concept
category (as occurring from equation 2), antecedent support (source semantic frequency), and
consequent support (target semantic frequency) are also provided.
      </p>
      <p>
        We observe that Material is the most common concept misconception, with both ’rubber’
and ’metallic’ semantics being frequently confused. Shape is the second most prominent
misconception, with ’cylinder’ appearing in the generated frames more often compared to the
’cylinder’ occurrence in the conditioning; ’cube’ and ’sphere’ shapes are sacrificed for ’cylinder’
to be generated. Since the rule support is not significantly high, with 26.77% being the maximum
value, we can safely assume that the SV model of Tsakas et al. [
        <xref ref-type="bibr" rid="ref16">47</xref>
        ] is not heavily biased towards
certain semantics. Nevertheless, we spot some tendency to generate the wrong material and
shape, an observation that can be valuable for architectural improvements of the model.
      </p>
      <sec id="sec-4-1">
        <title>5.2. Scene Generation</title>
        <p>We select the first 10K samples from COCO to reduce the inference time needed to extract
visual concepts using YOLO-v8 and YOLOS object detectors. COCO provides 5 descriptive
sentences per sample, which are paraphrases of each other. For this reason, we only regard the
1st out of the 5 sentences as the conditioning . We follow two separate processes for SG: actual
generation conditioned on  and retrieval of caption-image pairs based on captions similar to .
Conditional generation on COCO captions For the generation experiment, we employ
pre-trained difusion models without any further tuning, as mentioned in 4.1, which are all
tested on the same conditionings . Each of the four difusion models required about 15 hours
to synthesize 10K images using 2 T4 GPUs, therefore around 60 hours in total.
Retrieval of COCO-related captions In order to obtain considerably more images
conditioned on COCO-related queries without having to spend the time and resources to run many
more thousand iterations of the difusion model, we utilized a Stable Difusion search engine
(Lexica.art)3. The exact process we used was the following: we use  of the first 10K COCO
samples as the ’query’ caption. The search engine returned, for each of the 10k captions, 10 images
that have been already generated by online communities with the closest input queries to our
captions. This technique supplied us with 100.000 more Stable Difusion images, accompanied
by their input queries. We then compare results between web-retrieved and generated images.
Object detection We select a default threshold of  =0.6 for detection; objects detected
with confidence ≥ 0.6 are added in the generated concept set . This threshold is experimentally
defined to maintain a valid trade-of between false positive and false negative objects; in fact,
since no ground truth exists, even defining false predictions is untractable without human
inspection. However, our approach can provide relevant hints regarding the probability of false
detection, as a higher number of D operations may infer higher false positive rates (irrelevant
objects being detected, if  is too low), while more I operations can be correlated with higher
false negative rates (relevant objects not being detected, if  is too strict).</p>
        <p>Metric results For comparative reasons we present results for  =0.5, 0.6, 0.7 in Tables 5
(YOLO-v8) &amp; 6 (YOLOS) for generated images, and in Table 7 for web images, reporting object
extraction from both object detectors. Instances colored in blue denote the lowest scores, which
are more desirable, while the highest scores are highlighted with red. We present number of
edits (# I, # D, # R), as well as the total cost for each I, D, R operation for all images. Mean
CSED is reported as an overall metric regardless of which operation was performed more often.</p>
        <p>Regarding the selected threshold , our initial hypothesis is proven to be correct: more I
operations are realized for higher threshold =0.7, suggesting that objects from the conditioning
where not detected, while fewer I were performed for =0.5. Similarly, there are more D
operations for the lowest =0.5, as spurious objects can be detected more easily. Additionally,
stable difusion
0.5 stable difusion 2
protogen base
protogen 5.8
more R operations are needed for lower thresholds, which is also expected, since more objects
are extracted and added to the  set. As for object detectors, results using YOLO-v8 are
very homogeneous, indicating that the models under investigation follow a rather predictable
behavior irrespectively of . Protogen 5.8 consistently yields the lowest mean CSED score,
denoting cheaper transitions for all thresholds. This observation slightly changes for =0.7
and YOLOS object detector (Table 6), for which, surprisingly, protogen 5.8 produces the more
expensive transitions. By comparing Tables 5 &amp; 6, YOLOS results in higher mean CSED, less I
operations, significantly more expensive D operations (even though the number of D operations
is not substantially larger), as well as more and expensive R operations. Therefore, we can safely
assume that YOLOS is comparatively more sensitive in detecting more objects, which may induce
some noise in the detection process. All these results will become more interpretable should we
delve into the explanations accompanying the evaluation. The patterns arising from evaluating
generated images are also supported in Table 7 findings, verifying the threshold hypothesis, as
well as the increased sensitivity of YOLOS. Nevertheless, web-retrieved images seem to miss
objects mentioned in the query, as proven by the large number of I and R operations.
Local explanations provide edit paths based on the I, D, R operations realized for a specific
generated image. For this reason, we employ a scene depicted in Figure 3.</p>
        <p>According to YOLO-v8 with the default threshold =0.6, the generated concepts are ={’car’,
’car’, ’trafic light’, ’car’, ’stop sign’}, and ground truth concepts are  ={’light’, ’buildings’}. The
edit operations of total minimum cost 59.00 for this  →  transformation are:
I: { }
D: {’car’, ’car’, ’car’}</p>
        <sec id="sec-4-1-1">
          <title>R: {’trafic light’ →’light’, ’stop sign’→’buildings’}</title>
          <p>When using YOLOS, the generated concepts are ={’car’, ’trafic light’, ’car’, ’stop sign’, ’trafic
light’, ’car’, ’trafic light’, ’trafic light’, ’trafic light’, ’trafic light’, ’trafic light’, ’trafic light’, ’car’,
’trafic light’, ’trafic light’, ’trafic light’, ’trafic light’, ’trafic light’, ’car’, ’trafic light’, ’trafic
light’, ’trafic light’, ’trafic light’, ’car’, ’car’, ’trafic light’, ’trafic light’}, and the ground truth
ones are  ={’light’, ’buildings’}. By visually inspecting the image, YOLOS clearly overestimates
the actual objects present, inducing noise in the generated concept set . Nevertheless, our
evaluation strategy successfully captures this overestimation, by suggesting the deletion of
multiple concepts. Specifically, we obtain the following transformations of total cost 104.04:
I: { }</p>
          <p>D: {’car’, ’trafic light’, ’car’, ’trafic light’, ’car’, ’trafic light’, ’trafic light’, ’trafic light’, ’trafic
light’, ’trafic light’, ’trafic light’, ’car’, ’trafic light’, ’trafic light’, ’trafic light’, ’trafic light’,
’car’, ’trafic light’, ’trafic light’, ’trafic light’, ’trafic light’, ’car’, ’car’, ’trafic light’, ’trafic light’}</p>
        </sec>
        <sec id="sec-4-1-2">
          <title>R: {’stop sign’→’light’, ’trafic light’ →’buildings’}</title>
          <p>Global explanations for all images are presented in Table 8 for I, D edits and Table 9 for R
edits. Results only involve YOLO-v8 extracted concepts, as YOLOS results in an overwhelming
number of detected instances. Top-3 results are demonstrated, i.e. the 3 most frequent insertion,
deletions and replacements. I and D refers to concepts inserted or deleted respectively, while
Freq I, D denotes how many times a specific concepts was inserted or deleted within all images.
I, D support indicates the frequency a specific edit happens among all I, D edits respectively.
As for R, support denotes the frequency of a transformation rule among all produced rules.

0.5
0.6
0.7</p>
          <p>stable difusion
stable
difusion 2
protogen base
protogen 5.8
stable difusion
stable
difusion 2
protogen base
protogen 5.8
stable
difusion
stable
difusion 2
protogen base
protogen 5.8</p>
          <p>I
street
table
tennis
tennis
street
table
tennis
street
table
table
tennis
street
street
table
tennis
table
street
tennis
street
table
tennis
table
tennis
street
table
street
tennis
table
street
tennis
street
table
tennis
table
street
tennis</p>
          <p>We can observe an obvious agreement between models; I edits include ’street’, ’tennis’ and
’table’ concepts. It seems that the selected  cannot eficiently generate the I concepts, or
generated concepts are of low visual quality, so that their detection is not feasible with =0.5,
0.6, 0.7. D edits mainly contain ’person’, ’sheep’, ’car’, ’umbrella’, ’donut’ concepts, indicating
some bias towards generating spurious instances of those concept categories. Finally, R edits
D
refer to transforming ’person’ to ’people’, ’man’ or ’woman’. Since ’person’ is a YOLO category
incorporating both genders, such transformations are somehow expected.</p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>6. Conclusion</title>
      <p>Freq</p>
      <p>R
Conceptual approaches in generative evaluation is an underexplored field, which can provide
some novel insights regarding model quality and explainability of results. In our work, we
propose a knowledge-driven explainable evaluation framework that suggests which concepts
should be added, removed, or replaced for a generated image to approach its conditioning.
Results on competitive tasks such as Story Visualization and Scene Generation illustrate the
merits of such an approach, highlighting concepts that models cannot generate, or model biases
towards generating excessive numbers of specific concept categories. As future work, we plan
to expand our approach to other models and tasks and also incorporate alternative knowledge
sources to examine how the produced edit paths conceptually deviate from the current ones.</p>
    </sec>
    <sec id="sec-6">
      <title>Acknowledgments</title>
      <p>The research work was supported by the Hellenic Foundation for Research and Innovation
(HFRI) under the 3rd Call for HFRI PhD Fellowships (Fellowship Number 5537).
2021. URL: https://arxiv.org/abs/2103.11521. doi:10.48550/ARXIV.2103.11521.
[15] Y. Benny, T. Galanti, S. Benaim, L. Wolf, Evaluation metrics for conditional image
generation, International Journal of Computer Vision 129 (2021) 1712–1731. URL:
https://doi.org/10.1007%2Fs11263-020-01424-w. doi:10.1007/s11263-020-01424-w.
[16] K. Abhishek, D. Kamath, Attribution-based xai methods in computer vision: A review,
2022. URL: https://arxiv.org/abs/2211.14736. doi:10.48550/ARXIV.2211.14736.
[17] V. Buhrmester, D. MÃ¼nch, M. Arens, Analysis of explainers of black box deep neural
networks for computer vision: A survey, Machine Learning and Knowledge Extraction 3 (2021)
966–989. URL: https://www.mdpi.com/2504-4990/3/4/48. doi:10.3390/make3040048.
[18] V. Nagisetty, L. Graves, J. Scott, V. Ganesh, xai-gan: Enhancing generative adversarial
networks via explainable ai systems, 2020. URL: https://arxiv.org/abs/2002.10438. doi:10.
48550/ARXIV.2002.10438.
[19] A. Genovese, V. Piuri, F. Scotti, Towards explainable face aging with generative adversarial
networks, in: 2019 IEEE International Conference on Image Processing (ICIP), 2019, pp.
3806–3810. doi:10.1109/ICIP.2019.8803616.
[20] J. Kim, H. Park, Limited discriminator gan using explainable ai model for overfitting
problem, ICT Express (2022). URL: https://www.sciencedirect.com/science/article/pii/
S240595952100179X. doi:https://doi.org/10.1016/j.icte.2021.12.014.
[21] C. Leiter, P. Lertvittayakumjorn, M. Fomicheva, W. Zhao, Y. Gao, S. Eger, Towards
explainable evaluation metrics for natural language generation, 2022. URL: https://arxiv.org/abs/
2203.11131. doi:10.48550/ARXIV.2203.11131.
[22] J. Opitz, A. Frank, Towards a decomposable metric for explainable evaluation of text
generation from AMR, in: Proceedings of the 16th Conference of the European Chapter of the
Association for Computational Linguistics: Main Volume, Association for Computational
Linguistics, Online, 2021, pp. 1504–1518. URL: https://aclanthology.org/2021.eacl-main.129.
doi:10.18653/v1/2021.eacl-main.129.
[23] M. Lymperaiou, G. Manoliadis, O. Menis Mastromichalakis, E. G. Dervakos, G. Stamou,
Towards explainable evaluation of language models on the semantic similarity of visual
concepts, in: Proceedings of the 29th International Conference on Computational
Linguistics, International Committee on Computational Linguistics, Gyeongju, Republic of Korea,
2022, pp. 3639–3658. URL: https://aclanthology.org/2022.coling-1.321.
[24] G. Filandrianos, K. Thomas, E. Dervakos, G. Stamou, Conceptual edits as counterfactual
explanations, in: Proceedings of the AAAI 2022 Spring Symposium on Machine
Learning and Knowledge Engineering for Hybrid Intelligence (AAAI-MAKE 2022), Stanford
University, Palo Alto, California, USA, 2022.
[25] M. Mirza, S. Osindero, Conditional generative adversarial nets, CoRR abs/1411.1784 (2014).</p>
      <p>URL: http://arxiv.org/abs/1411.1784. arXiv:1411.1784.
[26] A. Odena, C. Olah, J. Shlens, Conditional image synthesis with auxiliary classifier gans,
2017. arXiv:1610.09585.
[27] T. Miyato, M. Koyama, cgans with projection discriminator, 2018. arXiv:1802.05637.
[28] H. Zhang, I. Goodfellow, D. Metaxas, A. Odena, Self-attention generative adversarial
networks, 2019. arXiv:1805.08318.
[29] T. Miyato, T. Kataoka, M. Koyama, Y. Yoshida, Spectral normalization for generative
adversarial networks, 2018. arXiv:1802.05957.
[30] M. Heusel, H. Ramsauer, T. Unterthiner, B. Nessler, S. Hochreiter, Gans trained by a two
time-scale update rule converge to a local nash equilibrium, 2018. arXiv:1706.08500.
[31] R. Rombach, A. Blattmann, D. Lorenz, P. Esser, B. Ommer, High-resolution image synthesis
with latent difusion models, 2021. arXiv:2112.10752.
[32] A. Radford, J. Kim, C. Hallacy, A. Ramesh, G. Goh, S. Agarwal, G. Sastry, A. Askell,
P. Mishkin, J. Clark, G. Krueger, I. Sutskever, Learning transferable visual models from
natural language supervision, 2021.
[33] C. Saharia, W. Chan, S. Saxena, L. Li, J. Whang, E. Denton, S. K. S. Ghasemipour, B. K.</p>
      <p>Ayan, S. S. Mahdavi, R. G. Lopes, T. Salimans, J. Ho, D. J. Fleet, M. Norouzi, Photorealistic
text-to-image difusion models with deep language understanding, 2022. URL: https://arxiv.
org/abs/2205.11487. doi:10.48550/ARXIV.2205.11487.
[34] C. Rafel, N. Shazeer, A. Roberts, K. Lee, S. Narang, M. Matena, Y. Zhou, W. Li, P. J. Liu,
Exploring the limits of transfer learning with a unified text-to-text transformer, Journal of
Machine Learning Research 21 (2020) 1–67. URL: http://jmlr.org/papers/v21/20-074.html.
[35] N. Ruiz, Y. Li, V. Jampani, Y. Pritch, M. Rubinstein, K. Aberman, Dreambooth: Fine tuning
text-to-image difusion models for subject-driven generation, 2022. URL: https://arxiv.org/
abs/2208.12242. doi:10.48550/ARXIV.2208.12242.
[36] S. E. Reed, Z. Akata, X. Yan, L. Logeswaran, B. Schiele, H. Lee, Generative adversarial
text to image synthesis, CoRR abs/1605.05396 (2016). URL: http://arxiv.org/abs/1605.05396.
arXiv:1605.05396.
[37] S. E. Reed, Z. Akata, S. Mohan, S. Tenka, B. Schiele, H. Lee, Learning what and
where to draw, CoRR abs/1610.02454 (2016). URL: http://arxiv.org/abs/1610.02454.
arXiv:1610.02454.
[38] H. Zhang, T. Xu, H. Li, Stackgan: Text to photo-realistic image synthesis with stacked
generative adversarial networks, 2017, pp. 5908–5916. doi:10.1109/ICCV.2017.629.
[39] H. Zhang, T. Xu, H. Li, S. Zhang, X. Wang, X. Huang, D. Metaxas, Stackgan++: Realistic
image synthesis with stacked generative adversarial networks, 2018. arXiv:1710.10916.
[40] T. Xu, P. Zhang, Q. Huang, H. Zhang, Z. Gan, X. Huang, X. He, Attngan: Fine-grained
text to image generation with attentional generative adversarial networks, in: CVPR 2018,
2018.
[41] H. Tan, X. Liu, X. Li, Y. Zhang, B. Yin, Semantics-enhanced adversarial nets for
text-toimage synthesis, in: 2019 IEEE/CVF International Conference on Computer Vision (ICCV),
2019, pp. 10500–10509. doi:10.1109/ICCV.2019.01060.
[42] M. Zhu, P. Pan, W. Chen, Y. Yang, DM-GAN: dynamic memory generative adversarial
networks for text-to-image synthesis, CoRR abs/1904.01310 (2019). URL: http://arxiv.org/
abs/1904.01310. arXiv:1904.01310.
[43] Y. Li, Z. Gan, Y. Shen, J. Liu, Y. Cheng, Y. Wu, L. Carin, D. E. Carlson, J. Gao, Storygan: A
sequential conditional gan for story visualization, 2019 IEEE/CVF Conference on Computer
Vision and Pattern Recognition (CVPR) (2019) 6322–6331.
[44] C. Li, L. Kong, Z. Zhou, Improved-storygan for sequential images visualization,
Journal of Visual Communication and Image Representation 73 (2020) 102956. URL: https:
//www.sciencedirect.com/science/article/pii/S1047320320301826. doi:https://doi.org/
10.1016/j.jvcir.2020.102956.
[45] A. Maharana, D. Hannan, M. Bansal, Improving generation and evaluation of visual stories</p>
    </sec>
    <sec id="sec-7">
      <title>A. Online Resources</title>
      <p>The following models were used for image generation:
• Huggingface text-to-image generation models.
• Stable difusion v1.4
• Stable difusion 2
• Protogen x3.4
• Protogen x5.8</p>
      <p>The following web-page was used for retrieving already generated images with
StableDifusion:
• https://lexica.art/
• Huggingface YOLOS-base
• Huggingface YOLO-v8</p>
      <p>The following models were used for object detection:</p>
    </sec>
    <sec id="sec-8">
      <title>B. Detailed local SV example</title>
      <p>
        In this section, we are going to provide a detailed analysis of the local properties of CSED per
frame for SV regarding the following sequence of Figure 2. This is an example of medium
dificulty, according to the analysis followed in [
        <xref ref-type="bibr" rid="ref16">47</xref>
        ], as in the 4th frame the blue cylinder
overlaps with the blue cube. We are going to compare the ground truth semantics of the
sequence, corresponding to the ground truth frames (Figure 2a) with the generated semantics,
corresponding to the generated frames (Figure 2b). We, therefore, obtain the following results:
Frame k=1
Ground truth semantics: {[small, brown, metallic, sphere]}
Generated semantics: {[small, brown, rubber, sphere]}
The two sequences difer by the highlighted semantic in the 3rd position: while the ground truth
semantic is ’metallic’, the generated is ’rubber’, therefore =1 proposes the replacement
operation ’rubber’ →’metallic’ with Edit cost = 2 = =1 in order for the generated
sequence to become identical to the ground truth one. Moreover, as the transformation is an
instance involving the Material semantic, one more generation failure is added to the Material
Loss counter, which is going to provide global explanations regarding semantic synthesis failures
for all test set frames.
      </p>
      <p>For the 1st frame, Consistency Loss (CL) for the generated sequence is =1 = 0, since
there are ||=4 semantics in total (Material, Size, Shape, Color), and 1 object containing  =4
semantics is placed in k=1 position in the sequence: =1 = =1 = | | − || · =4-4=0.
Frame k=2
Ground truth semantics: {[small, brown, metallic, sphere], [small, brown, metallic, sphere]}
Generated semantics: {[small, brown, rubber, sphere], [small, brown, metallic, sphere]}
There is a diference in the semantic of the 3rd position, highlighted in bold: while the ground
truth semantic is ’metallic’, the generated is ’rubber’, therefore =2 proposes the
replacement operation ’rubber’ →’metallic’ with Edit cost = 2 = =2. Moreover, as the
transformation is an instance involving the Material semantic, one more generation failure is
added to the Material Loss counter.</p>
      <p>In the same time, CL will inevitably increase just by adding one more object containing
|| =4 semantics. Therefore, the minimum increase of CL for CLEVR-SV when one object is
added can be 4. Other than that, if there are more inconsistencies between  = 1 and  = 2
generated frames, =2 will increase. Therefore, we compare  = 1 generated sequence
 = − 1={[small, brown, rubber, sphere]} with the  = 2 generated sequence  = ={[small,
brown, rubber, sphere], [small, brown, metallic, sphere]}, where no extra diferences are
spotted. By applying equation 5 for k=2 we obtain:</p>
      <p>=2 = =1 + (=2, =2) = 0 + I{, , , ℎ} = 0+4 = 4
Frame k=3
Ground truth semantics: {[small, brown, metallic, sphere], [small, brown, metallic, sphere],
[large, blue, rubber, cube] }
Generated semantics: {[small, brown, rubber, sphere], [small, brown, metallic, sphere], [large,
blue, rubber, cube]} The diference in the 3rd position semantic remains, therefore =3
proposes the replacement operation ’rubber’ →’metallic’ with Edit cost = 2 = =3.
Moreover, as the transformation is an instance involving the Material semantic, one more
generation failure is added to the Material Loss counter.</p>
      <p>CL will take into account the comparison between  = 2 generated sequence [small, brown,
rubber, sphere, small, brown, metallic, sphere] and  = 3 generated sequence {[small, brown,
rubber, sphere], [small, brown, metallic, sphere], [large, blue, rubber, cube]}, which only difer
by the addition of the large, blue, rubber, cube in the third frame, thus yielding:
=3 = =1 + (=2, =2) + (=3, =3) = 0 + 4 + I{, , , }
= 0+4+4 = 8
Frame k=4
Ground truth semantics: {[small, brown, metallic, sphere], [small, brown, metallic, sphere],
[large, blue, rubber, cube], [large, blue, metallic, cylinder]}
Generated semantics: {[small, brown, rubber, sphere], [small, brown, metallic, sphere], [large,
blue, rubber, cube], [large, blue, metallic, sphere]}
Apart from the diference in the 3rd position semantic, for which =4 proposes the
replacement operation ’rubber’ →’metallic’ with Edit cost = 2, there is also one diference in
the last position semantic, indicating the transformation ’sphere’ →’cylinder’ with Edit cost
= 2. By aggregating the two transformations together, we obtain the total transformation for
 = 4: {’rubber’, ’sphere’} → {’metallic’, ’cylinder’} with Edit cost = 4 = =4. Counters
for Material Loss and Shape Loss will increase by 1 each.</p>
      <p>For CL, the sequences corresponding to  = 3 generated sequence {[small, brown, rubber,
sphere], [small, brown, metallic, sphere], [large, blue, rubber, cube]} and  = 4 generated
sequence {[small, brown, rubber, sphere], [small, brown, metallic, sphere], [large, blue, rubber,
cube], [large, blue, metallic, sphere]}, which only difer by the addition of the large, blue,
metallic, sphere item. Therefore  =4= 4.</p>
      <p>=4 = =1 + (=2, =2) + (=3, =3) + (=4, =4) = 0 + 4 + 4 +
I{, , , ℎ} = 0+4+4+4 = 12 By aggregating results, Story Loss (SL) as
a sum of per frame CSED costs will be:
and by averaging SL on all  = 4 frames according to equation 7:</p>
      <p>= 2 + 2 + 2 + 4 = 10
  =
1</p>
      <p>= 10/4 = 2.5
For consistency, we follow equation 8:</p>
      <p>=
  = =1 + 1 ∑︁[&gt;1 ̸= || · ( − 1)] = 0 + 0 = 0</p>
      <p>=1
The generated story of Figure 2 is fully consistent as the Average CL equals to 0, which is
the ideal case. Therefore, no semantics are inserted, deleted, or altered within the generated
sequence. It is however interesting that CL cannot capture the faithfulness error between the
new item inserted in the 4th frame: while the ground truth item is a large, blue, metallic, cylinder,
the generated sequence inserts a large, blue, metallic, sphere, but CL does not penalize more the
diference in the semantic of the last position. On the contrary, SL is responsible to penalize for
this error. Of course, the opposite scenario could be applicable in a diferent example, where CL
would indicate an error that SL could not capture. This observation concludes that both metrics
can be important, with SL focusing on faithfulness between ground truth and generated stories,
while CL focuses on consistency between consequently generated frames. The better the model,
the lower both metrics should be on the global level.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>J.</given-names>
            <surname>Ho</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Jain</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Abbeel</surname>
          </string-name>
          , Denoising difusion probabilistic models,
          <year>2020</year>
          . URL: https://arxiv. org/abs/
          <year>2006</year>
          .11239. doi:
          <volume>10</volume>
          .48550/ARXIV.
          <year>2006</year>
          .
          <volume>11239</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>R.</given-names>
            <surname>Rombach</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Blattmann</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Lorenz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Esser</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Ommer</surname>
          </string-name>
          ,
          <article-title>High-resolution image synthesis with latent difusion models</article-title>
          ,
          <source>in: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)</source>
          ,
          <year>2022</year>
          , pp.
          <fpage>10684</fpage>
          -
          <lpage>10695</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>A.</given-names>
            <surname>Ramesh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Pavlov</surname>
          </string-name>
          , G. Goh,
          <string-name>
            <given-names>S.</given-names>
            <surname>Gray</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Voss</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Radford</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Sutskever</surname>
          </string-name>
          ,
          <article-title>Zero-shot text-to-image generation</article-title>
          ,
          <year>2021</year>
          . arXiv:
          <volume>2102</volume>
          .
          <fpage>12092</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>A.</given-names>
            <surname>Ramesh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Dhariwal</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Nichol</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Chu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <article-title>Hierarchical text-conditional image generation with clip latents</article-title>
          ,
          <year>2022</year>
          . URL: https://arxiv.org/abs/2204.06125. doi:
          <volume>10</volume>
          .48550/ ARXIV.2204.06125.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>C.</given-names>
            <surname>Saharia</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Chan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Saxena</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Whang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Denton</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S. K. S.</given-names>
            <surname>Ghasemipour</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B. K.</given-names>
            <surname>Ayan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S. S.</given-names>
            <surname>Mahdavi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R. G.</given-names>
            <surname>Lopes</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Salimans</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Ho</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D. J.</given-names>
            <surname>Fleet</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Norouzi</surname>
          </string-name>
          ,
          <article-title>Photorealistic text-toimage difusion models with deep language understanding</article-title>
          ,
          <year>2022</year>
          . arXiv:
          <volume>2205</volume>
          .
          <fpage>11487</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>A.</given-names>
            <surname>Blattmann</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Rombach</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Oktay</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Müller</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Ommer</surname>
          </string-name>
          , Semi-parametric
          <source>neural image synthesis</source>
          ,
          <year>2022</year>
          . URL: https://arxiv.org/abs/2204.11824. doi:
          <volume>10</volume>
          .48550/ARXIV.2204. 11824.
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>J.</given-names>
            <surname>Kim</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Lee</surname>
          </string-name>
          ,
          <article-title>Class-continuous conditional generative neural radiance field</article-title>
          ,
          <year>2023</year>
          . URL: https://arxiv.org/abs/2301.00950. doi:
          <volume>10</volume>
          .48550/ARXIV.2301.00950.
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>I.</given-names>
            <surname>Goodfellow</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Pouget-Abadie</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Mirza</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Xu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Warde-Farley</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Ozair</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Courville</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Bengio</surname>
          </string-name>
          ,
          <article-title>Generative adversarial nets</article-title>
          , in: Z.
          <string-name>
            <surname>Ghahramani</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          <string-name>
            <surname>Welling</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          <string-name>
            <surname>Cortes</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          <string-name>
            <surname>Lawrence</surname>
            ,
            <given-names>K. Q.</given-names>
          </string-name>
          <string-name>
            <surname>Weinberger</surname>
          </string-name>
          (Eds.),
          <source>Advances in Neural Information Processing Systems</source>
          , volume
          <volume>27</volume>
          ,
          <string-name>
            <surname>Curran</surname>
            <given-names>Associates</given-names>
          </string-name>
          , Inc.,
          <year>2014</year>
          . URL: https://proceedings.neurips.cc/paper/2014/ ifle/5ca3e9b122f61f8f06494c97b1afccf3-Paper.pdf.
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>T.</given-names>
            <surname>Salimans</surname>
          </string-name>
          , I. Goodfellow,
          <string-name>
            <given-names>W.</given-names>
            <surname>Zaremba</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Cheung</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Radford</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <article-title>Improved techniques for training gans</article-title>
          , in: D.
          <string-name>
            <surname>Lee</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          <string-name>
            <surname>Sugiyama</surname>
            ,
            <given-names>U.</given-names>
          </string-name>
          <string-name>
            <surname>Luxburg</surname>
            ,
            <given-names>I. Guyon</given-names>
          </string-name>
          , R. Garnett (Eds.),
          <source>Advances in Neural Information Processing Systems</source>
          , volume
          <volume>29</volume>
          ,
          <string-name>
            <surname>Curran</surname>
            <given-names>Associates</given-names>
          </string-name>
          , Inc.,
          <year>2016</year>
          . URL: https://proceedings.neurips.cc/paper/2016/file/ 8a3363abe792db2d8761d6403605aeb7-Paper.pdf.
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>M.</given-names>
            <surname>Heusel</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Ramsauer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Unterthiner</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Nessler</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Hochreiter</surname>
          </string-name>
          ,
          <article-title>Gans trained by a two time-scale update rule converge to a local nash equilibrium</article-title>
          , in: I. Guyon,
          <string-name>
            <given-names>U. V.</given-names>
            <surname>Luxburg</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Bengio</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Wallach</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Fergus</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Vishwanathan</surname>
          </string-name>
          , R. Garnett (Eds.),
          <source>Advances in Neural Information Processing Systems</source>
          , volume
          <volume>30</volume>
          ,
          <string-name>
            <surname>Curran</surname>
            <given-names>Associates</given-names>
          </string-name>
          , Inc.,
          <year>2017</year>
          . URL: https: //proceedings.neurips.cc/paper/2017/file/8a1d694707eb0fefe65871369074926d-Paper.pdf.
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>R.</given-names>
            <surname>Zhang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Isola</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. A.</given-names>
            <surname>Efros</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Shechtman</surname>
          </string-name>
          ,
          <string-name>
            <surname>O. Wang,</surname>
          </string-name>
          <article-title>The unreasonable efectiveness of deep features as a perceptual metric</article-title>
          ,
          <source>in: CVPR</source>
          ,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>G.</given-names>
            <surname>Parmar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Zhang</surname>
          </string-name>
          , J.-Y. Zhu,
          <article-title>On aliased resizing and surprising subtleties in gan evaluation</article-title>
          ,
          <source>in: CVPR</source>
          ,
          <year>2022</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>A.</given-names>
            <surname>Borji</surname>
          </string-name>
          ,
          <article-title>Pros and cons of gan evaluation measures: New developments</article-title>
          ,
          <source>Computer Vision and Image Understanding</source>
          <volume>215</volume>
          (
          <year>2022</year>
          )
          <article-title>103329</article-title>
          . URL: https://www.sciencedirect. com/science/article/pii/S1077314221001685. doi:https://doi.org/10.1016/j.cviu.
          <year>2021</year>
          .
          <volume>103329</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>M.</given-names>
            <surname>Soloveitchik</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Diskin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Morin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Wiesel</surname>
          </string-name>
          ,
          <article-title>Conditional frechet inception distance, via semantic consistency</article-title>
          ,
          <source>ArXiv abs/2105</source>
          .10026 (
          <year>2021</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [46]
          <string-name>
            <given-names>A.</given-names>
            <surname>Maharana</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Bansal</surname>
          </string-name>
          ,
          <article-title>Integrating visuospatial, linguistic, and commonsense structure into story visualization</article-title>
          ,
          <source>ArXiv abs/2110</source>
          .10834 (
          <year>2021</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [47]
          <string-name>
            <given-names>N.</given-names>
            <surname>Tsakas</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Lymperaiou</surname>
          </string-name>
          , G. Filandrianos,
          <string-name>
            <surname>G. Stamou,</surname>
          </string-name>
          <article-title>An impartial transformer for story visualization</article-title>
          ,
          <year>2023</year>
          . URL: https://arxiv.org/abs/2301.03563. doi:
          <volume>10</volume>
          .48550/ARXIV.2301. 03563.
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [48]
          <string-name>
            <given-names>A.</given-names>
            <surname>Horé</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Ziou</surname>
          </string-name>
          ,
          <article-title>Image quality metrics: Psnr vs</article-title>
          . ssim,
          <source>in: 2010 20th International Conference on Pattern Recognition</source>
          ,
          <year>2010</year>
          , pp.
          <fpage>2366</fpage>
          -
          <lpage>2369</lpage>
          . doi:
          <volume>10</volume>
          .1109/ICPR.
          <year>2010</year>
          .
          <volume>579</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [49]
          <string-name>
            <given-names>D.</given-names>
            <surname>Bau</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.-Y.</given-names>
            <surname>Zhu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Wulf</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Peebles</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Strobelt</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Zhou</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Torralba</surname>
          </string-name>
          ,
          <article-title>Seeing what a gan cannot generate</article-title>
          ,
          <year>2019</year>
          . URL: https://arxiv.org/abs/
          <year>1910</year>
          .11626. doi:
          <volume>10</volume>
          .48550/ARXIV.
          <year>1910</year>
          .
          <volume>11626</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [50]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Shen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Gu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Tang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Zhou</surname>
          </string-name>
          ,
          <article-title>Interpreting the latent space of gans for semantic face editing</article-title>
          ,
          <source>2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)</source>
          (
          <year>2019</year>
          )
          <fpage>9240</fpage>
          -
          <lpage>9249</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          [51]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Shen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Yang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Tang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Zhou</surname>
          </string-name>
          ,
          <article-title>Interfacegan: Interpreting the disentangled face representation learned by gans</article-title>
          ,
          <source>IEEE Transactions on Pattern Analysis and Machine Intelligence</source>
          <volume>44</volume>
          (
          <year>2020</year>
          )
          <fpage>2004</fpage>
          -
          <lpage>2018</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          [52]
          <string-name>
            <given-names>L.</given-names>
            <surname>Chai</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Wulf</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Isola</surname>
          </string-name>
          ,
          <article-title>Using latent space regression to analyze and leverage compositionality in gans</article-title>
          ,
          <source>ArXiv abs/2103</source>
          .10426 (
          <year>2021</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          [53]
          <string-name>
            <given-names>J.</given-names>
            <surname>Wen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Benitez-Quiroz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Q.</given-names>
            <surname>Feng</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. M.</given-names>
            <surname>Martinez</surname>
          </string-name>
          ,
          <article-title>Diamond in the rough: Improving image realism by traversing the gan latent space</article-title>
          ,
          <source>ArXiv abs/2104</source>
          .05518 (
          <year>2021</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          [54]
          <string-name>
            <given-names>M.</given-names>
            <surname>Nauta</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Trienes</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Pathak</surname>
          </string-name>
          , E. Nguyen,
          <string-name>
            <given-names>M.</given-names>
            <surname>Peters</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Schmitt</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Schlötterer</surname>
          </string-name>
          , M. van
          <string-name>
            <surname>Keulen</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          <string-name>
            <surname>Seifert</surname>
          </string-name>
          ,
          <article-title>From anecdotal evidence to quantitative evaluation methods: A systematic review on evaluating explainable ai</article-title>
          ,
          <year>2022</year>
          . URL: https://arxiv.org/abs/2201.08164. doi:
          <volume>10</volume>
          .48550/ARXIV.2201.08164.
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          [55]
          <string-name>
            <given-names>W.</given-names>
            <surname>Zhao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Oyama</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Kurihara</surname>
          </string-name>
          ,
          <article-title>Generating natural counterfactual visual explanations</article-title>
          , in: C.
          <string-name>
            <surname>Bessiere</surname>
          </string-name>
          (Ed.),
          <source>Proceedings of the Twenty-Ninth International Joint Conference on Artificial Intelligence, IJCAI-20, International Joint Conferences on Artificial Intelligence Organization</source>
          ,
          <year>2020</year>
          , pp.
          <fpage>5204</fpage>
          -
          <lpage>5205</lpage>
          . URL: https://doi.org/10.24963/ijcai.
          <year>2020</year>
          /742. doi:
          <volume>10</volume>
          . 24963/ijcai.
          <year>2020</year>
          /742, doctoral Consortium.
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          [56]
          <string-name>
            <given-names>R.</given-names>
            <surname>Poyiadzi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Sokol</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Santos-Rodríguez</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T. D.</given-names>
            <surname>Bie</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P. A.</given-names>
            <surname>Flach</surname>
          </string-name>
          ,
          <article-title>Face: Feasible and actionable counterfactual explanations</article-title>
          ,
          <source>Proceedings of the AAAI/ACM Conference on AI</source>
          ,
          <string-name>
            <surname>Ethics</surname>
          </string-name>
          , and
          <string-name>
            <surname>Society</surname>
          </string-name>
          (
          <year>2020</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          [57]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Goyal</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Wu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Ernst</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Batra</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Parikh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Lee</surname>
          </string-name>
          ,
          <article-title>Counterfactual visual explanations</article-title>
          , in: K. Chaudhuri, R. Salakhutdinov (Eds.),
          <source>Proceedings of the 36th International Conference on Machine Learning</source>
          , volume
          <volume>97</volume>
          <source>of Proceedings of Machine Learning Research, PMLR</source>
          ,
          <year>2019</year>
          , pp.
          <fpage>2376</fpage>
          -
          <lpage>2384</lpage>
          . URL: https://proceedings.mlr.press/v97/goyal19a.html.
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          [58]
          <string-name>
            <given-names>C.</given-names>
            <surname>Fellbaum</surname>
          </string-name>
          ,
          <string-name>
            <surname>Wordnet:</surname>
          </string-name>
          <article-title>An electronic lexical database (</article-title>
          <year>1998</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref28">
        <mixed-citation>
          [59]
          <string-name>
            <given-names>K.</given-names>
            <surname>Browne</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Swift</surname>
          </string-name>
          ,
          <article-title>Semantics and explanation: why counterfactual explanations produce adversarial examples in deep neural networks</article-title>
          , ArXiv abs/
          <year>2012</year>
          .10076 (
          <year>2020</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref29">
        <mixed-citation>
          [60]
          <string-name>
            <given-names>J.</given-names>
            <surname>Johnson</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Hariharan</surname>
          </string-name>
          , L. van der Maaten, L.
          <string-name>
            <surname>Fei-Fei</surname>
            ,
            <given-names>C. L.</given-names>
          </string-name>
          <string-name>
            <surname>Zitnick</surname>
            ,
            <given-names>R. B.</given-names>
          </string-name>
          <string-name>
            <surname>Girshick</surname>
          </string-name>
          ,
          <article-title>Clevr: A diagnostic dataset for compositional language and elementary visual reasoning</article-title>
          ,
          <source>2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR)</source>
          (
          <year>2017</year>
          )
          <fpage>1988</fpage>
          -
          <lpage>1997</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref30">
        <mixed-citation>
          [61]
          <string-name>
            <surname>T.-Y. Lin</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          <string-name>
            <surname>Maire</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          <string-name>
            <surname>Belongie</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          <string-name>
            <surname>Bourdev</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          <string-name>
            <surname>Girshick</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          <string-name>
            <surname>Hays</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          <string-name>
            <surname>Perona</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          <string-name>
            <surname>Ramanan</surname>
            ,
            <given-names>C. L.</given-names>
          </string-name>
          <string-name>
            <surname>Zitnick</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          <string-name>
            <surname>Dollár</surname>
          </string-name>
          , Microsoft coco: Common objects in context,
          <year>2015</year>
          . arXiv:
          <volume>1405</volume>
          .
          <fpage>0312</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref31">
        <mixed-citation>
          <source>[62] Stable difusion v1.4</source>
          ,
          <string-name>
            <surname>Huggingface</surname>
          </string-name>
          . URL: https://huggingface.co/CompVis/ stable-difusion
          <source>-v1-4.</source>
        </mixed-citation>
      </ref>
      <ref id="ref32">
        <mixed-citation>
          [63]
          <article-title>Stable difusion 2 base, Huggingface</article-title>
          . URL: https://huggingface.co/stabilityai/ stable-difusion-2-base.
        </mixed-citation>
      </ref>
      <ref id="ref33">
        <mixed-citation>
          <source>[64] Protogen x3.4</source>
          ,
          <string-name>
            <surname>Huggingface</surname>
          </string-name>
          . URL: https://huggingface.co/darkstorm2150/Protogen_x3.4_ Oficial_Release.
        </mixed-citation>
      </ref>
      <ref id="ref34">
        <mixed-citation>
          <source>[65] Protogen x5.8</source>
          ,
          <string-name>
            <surname>Huggingface</surname>
          </string-name>
          . URL: https://huggingface.co/darkstorm2150/Protogen_x5.8_ Oficial_Release.
        </mixed-citation>
      </ref>
      <ref id="ref35">
        <mixed-citation>
          [66]
          <string-name>
            <given-names>T.</given-names>
            <surname>Park</surname>
          </string-name>
          , M.-Y. Liu, T.-
          <string-name>
            <surname>C. Wang</surname>
          </string-name>
          , J.-Y. Zhu,
          <article-title>Semantic image synthesis with spatially-adaptive normalization</article-title>
          ,
          <year>2019</year>
          . arXiv:
          <year>1903</year>
          .07291.
        </mixed-citation>
      </ref>
      <ref id="ref36">
        <mixed-citation>
          [67]
          <string-name>
            <given-names>A.</given-names>
            <surname>Zareian</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>You</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.-F.</given-names>
            <surname>Chang</surname>
          </string-name>
          ,
          <article-title>Learning visual commonsense for robust scene graph generation</article-title>
          ,
          <year>2020</year>
          . arXiv:
          <year>2006</year>
          .09623.
        </mixed-citation>
      </ref>
      <ref id="ref37">
        <mixed-citation>
          [68]
          <string-name>
            <given-names>K.</given-names>
            <surname>Ma</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Zhao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Sigal</surname>
          </string-name>
          ,
          <article-title>Attribute-guided image generation from layout</article-title>
          ,
          <year>2020</year>
          . arXiv:
          <year>2008</year>
          .11932.
        </mixed-citation>
      </ref>
      <ref id="ref38">
        <mixed-citation>
          [69]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Li</surname>
          </string-name>
          , Y. Cheng,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Gan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Yu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Wang</surname>
          </string-name>
          , J. Liu,
          <article-title>Bachgan: High-resolution image synthesis from salient object layout</article-title>
          ,
          <year>2020</year>
          . arXiv:
          <year>2003</year>
          .11690.
        </mixed-citation>
      </ref>
      <ref id="ref39">
        <mixed-citation>
          [70]
          <string-name>
            <given-names>W.</given-names>
            <surname>Sun</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Wu</surname>
          </string-name>
          ,
          <article-title>Learning layout and style reconfigurable gans for controllable image synthesis</article-title>
          ,
          <year>2021</year>
          . arXiv:
          <year>2003</year>
          .11571.
        </mixed-citation>
      </ref>
      <ref id="ref40">
        <mixed-citation>
          [71]
          <string-name>
            <given-names>G.</given-names>
            <surname>Jocher</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Chaurasia</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Qiu</surname>
          </string-name>
          , Yolo by ultralytics,
          <year>2023</year>
          . URL: https://github.com/ultralytics/ ultralytics.
        </mixed-citation>
      </ref>
      <ref id="ref41">
        <mixed-citation>
          [72]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Fang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Liao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Fang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Qi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Wu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Niu</surname>
          </string-name>
          , W. Liu,
          <article-title>You only look at one sequence: Rethinking transformer in vision through object detection</article-title>
          ,
          <source>CoRR abs/2106</source>
          .00666 (
          <year>2021</year>
          ). URL: https://arxiv.org/abs/2106.00666. arXiv:
          <volume>2106</volume>
          .
          <fpage>00666</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref42">
        <mixed-citation>
          [73]
          <article-title>Industrial-strength natural language processing</article-title>
          , spaCy. URL: https://spacy.io/.
        </mixed-citation>
      </ref>
      <ref id="ref43">
        <mixed-citation>
          [74]
          <string-name>
            <given-names>R.</given-names>
            <surname>Agrawal</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Srikant</surname>
          </string-name>
          ,
          <article-title>Fast algorithms for mining association rules</article-title>
          ,
          <source>in: Proc. of 20th Intl. Conf. on VLDB</source>
          ,
          <year>1994</year>
          , pp.
          <fpage>487</fpage>
          -
          <lpage>499</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>