Boosting Summarization with Normalizing Flows and Aggressive Training

Yu Yang
University of Minnesota
yang6367@umn.edu
Xiaotong Shen
University of Minnesota
xshen@umn.edu


Abstract

This paper presents FlowSUM, a normalizing flows-based variational encoder-decoder framework for Transformer-based summarization. Our approach tackles two primary challenges in variational summarization: insufficient semantic information in latent representations and posterior collapse during training. To address these challenges, we employ normalizing flows to enable flexible latent posterior modeling, and we propose a controlled alternate aggressive training (CAAT) strategy with an improved gate mechanism. Experimental results show that FlowSUM significantly enhances the quality of generated summaries and unleashes the potential for knowledge distillation with minimal impact on inference time. Furthermore, we investigate the issue of posterior collapse in normalizing flows and analyze how the summary quality is affected by the training strategy, gate initialization, and the type and number of normalizing flows used, offering valuable insights for future research.

1 Introduction↩︎

Abstractive summarization [1][3] aims to generate summaries by rephrasing or introducing novel words to capture the most salient information in the source text. Many abstractive summarization models [4][7] are based on the Transformers architecture [8] and have consistently produced state-of-the-art summarization quality. However, issues such as exposure bias [9], [10], lack of text generation diversity [11], and insufficient capturing of semantic information [12], [13] remain.

Variational models have gained increasing research interest [14][17] as they address these issues by introducing uncertainty in predictions through learning a probability distribution over latent variables. A variational model enables diverse text generation [18], smoother output spaces, and semantically meaningful latent codes [16] that guide the generation of coherent and informative summaries.

Nonetheless, existing variational models have not fully achieved the aforementioned desirable properties due to two main challenges. Firstly, the semantic information in the source text may possess a complex structure. However, since introducing latent variables complicates parameter estimation, many current models [17], [19] represent latent codes using a Gaussian distribution, which is insufficient for capturing the intricacies of the latent space and could potentially reduce model performance. To enrich latent distributions, researchers suggest replacing the highly restricted isotropic Gaussian with normalizing flows [20]. Normalizing flows can generate complex distributions while preserving density in an analytical form, and they have been integrated into variational autoencoder (VAE) [21], [22] and variational encoder-decoder (VED) [23], [24] frameworks to better approximate the latent posterior. This approach has found application in various domains, including text generation [16], neural machine translation [25], and dialogue generation [26]. Despite this progress, the operating characteristics of normalizing flows on summarization tasks have yet to be investigated.

Secondly, as reported by previous studies [27][29], variational models tend to experience posterior collapse during training, which occurs when the KL term vanishes to zero, indicating that the model fails to learn meaningful latent codes. This problem becomes more severe when modeling discrete data with a strong auto-regressive decoder [30], which is the case for Transformer-based summarization models. To resolve this issue, several solutions have been proposed, such as employing a less auto-regressive decoder network [31][33], modifying the training objective [34][36], and proposing new training strategies [30], [37]. However, most existing work focuses on the VAE framework with Gaussian latent distribution, yet limited work considers the VED framework with normalizing flows. In particular, two questions remain unclear: (1) when the latent distribution is modeled by normalizing flows, does the posterior collapse problem still exist? (2) when posterior collapse exists, what are the appropriate strategies to achieve good summarization quality within the VED framework?

This paper introduces FlowSUM1, a normalizing flows-based VED framework for Transformer-based summarization, along with a controlled alternate aggressive training (CAAT) strategy and a refined gate mechanism to resolve the two challenging issues. Our contributions include:

  1. We employ normalizing flows to enrich the latent posterior distribution and integrate the latent code into Transformer-based models in a plug-and-play manner, demonstrating its effectiveness through extensive experiments.

  2. We propose a controlled alternate aggressive training strategy and a refined gate mechanism to mitigate the posterior collapse problem and improve training efficacy.

  3. Our findings suggest that FlowSUM facilitates knowledge distillation while having a negligible effect on inference time, implying normalizing flows’ potential for transferring knowledge from advanced large language models.

  4. We investigate the posterior collapse problem for different normalizing flows and examine how the quality of a summary is impacted by the training strategy, gate initialization, and the type and depth of normalizing flows.

This article consists of five sections. Section 2 provides an overview of normalizing flows, VED, and a summary of related studies. Section 3 describes the proposed model architecture and the training strategies employed. Section 4 presents the experimental setup and results, and Section 5 concludes the paper with some discussions.

2 Backgrounds↩︎

2.1 Normalizing Flows↩︎

Normalizing flows (NF) [20] is a type of generative model that has gained popularity in recent years. The fundamental idea involves mapping a simple probability density (e.g., Gaussian) to a more complex one through a series of invertible transformations. One of the key advantages of NF is that it allows for exact likelihood evaluations, which is crucial for many applications such as density estimation [38], data generation [39], and variational inference [28]. A flow-based model consists of two components: a base distribution \(p_{\mathrm{u}}(\mathbf{u})\) and a transformation \(f(\cdot): \mathbb{R}^D \rightarrow \mathbb{R}^D\), where \(f\) must be invertible and both \(f\) and \(f^{-1}\) must be differentiable. Let \(\mathbf{x} = f(\mathbf{u})\) where \(\mathbf{u} \sim p_{\mathrm{u}}(\mathbf{u})\), then the density of \(\mathbf{x}\) can be obtained via a change of variables [40]: \[\label{eq:32nf-px} \begin{align} p_{\mathrm{x}}(\mathbf{x}) & = p_{\mathrm{u}}(\mathbf{u})\left|\operatorname{det} J_f(\mathbf{u})\right|^{-1} \\ & = p_{\mathrm{u}}(f^{-1}(\mathbf{x}))\left|\operatorname{det} J_{f^{-1}}(\mathbf{x})\right|. \end{align}\tag{1}\] In this paper, we examine several NFs, including planar flows [20], radial flows [20], Sylvester flows [41], real-valued non-volume preserving (RealNVP) transformation [42], inverse autoregressive flow (IAF) [28], rational-quadratic neural spline flows (RQNSF) [43], and rational-linear neural spline flows (RLNSF) [44]. We delegate the detailed discussion of transformation and invertibility to Appendix 15. Throughout the paper, for each type, we compose \(K\) layers of transformation \(f_K \circ \cdots \circ f_1 (\cdot)\), which remains invertible and differentiable.

2.2 Variational Encoder-Decoders↩︎

Variational encoder-decoders (VEDs) [14], [23], [24], [45], which can be seen as an extension of variational autoencoders (VAEs) [21], [22], have been widely used to understand the conditional data generation process. Given an input \(x\), the framework posits the existence of a latent variable \(z \sim p(z \mid x; \phi)\), and the generation of \(y\) relies on \(p(y | x, z; \theta)\). With this premise, the conditional data generation can be formulated as in Eq. 2 . \[\label{eq:32conditional-dg} p(y \mid x; \phi, \theta) = \int p(z \mid x; \phi) p(y \mid x, z; \theta) dz\tag{2}\] Since the marginal \(p(y \mid x; \phi, \theta)\) is intractable, we employ variational inference to estimate the parameters. This involves maximizing the evidence lower bound (ELBO), a surrogate of the log-likelihood, as defined in Eq. 3 . The underlying idea is to propose a parameterized distribution \(q(z \mid x, y; \psi)\), known as the variational posterior, to approximate the true posterior distribution \(p(z \mid x, y; \phi, \theta)\). The greater the flexibility in \(q(z \mid x, y; \psi)\), the better the approximation, and the more effective the surrogate ELBO becomes. See more details in Appendix 7. \[\label{eq:32elbo-ved} \begin{align} & \text{ELBO}_{\text{VED}} \\ = & {!}{\displaystyle\underset{q(z \mid x, y; \psi)}{\mathbb{E}}[\log p(y \mid x, z; \theta)]-\text{KL}(q(z \mid x, y; \psi) \| p(z \mid x; \phi))} \end{align}\tag{3}\] For summarization, we parameterize \(p(y \mid x, z; \theta)\) as an encoder-decoder model that generates summaries conditioned on the input text and latent code.

2.3 Related Work↩︎

2.3.1 Transformer-based Summarization Models↩︎

Transformer-based models equipped with pre-training and fine-tuning techniques have enjoyed significant success in many NLP tasks, including text summarization. [4] proposed BertSUM for extractive and abstractive tasks, utilizing the pre-trained BERT encoder [46]. To better align the pre-trained encoder for document understanding with the decoder trained from scratch for text generation, [6] demonstrated the effectiveness of leveraging pre-trained BERT [46], GPT-2 [47], and RoBERTa [48] checkpoints to build sequence-to-sequence (S2S) models for tasks including summarization. Another approach is to address both document understanding and generation in a unified framework by first pre-training some general-purpose S2S models and then fine-tuning on downstream tasks, for instance, BART [49], MASS [50], UniLM [51], ProphetNet [10], and T5 [7]. In addition, [5] proposed PEGASUS with a pre-training objective tailored for abstractive summarization, achieving significant improvements across multiple datasets.

2.3.2 Variational Summarization↩︎

Variational summarization models come in two different flavors: unsupervised and supervised. In the unsupervised domain, researchers commonly utilize variational autoencoders in conjunction with specific control mechanisms for summary generation, as exemplified by prior work such as [52][54]. In the supervised realm, there are generally two primary approaches. The first approach models the conditional probability of the target sentences \(p(y \mid x)\) as in Eq. 2 , whereas the second approach models the joint probability of the source and target sentences \(p(x, y)\) with \(\int p(z) p(x \mid z) p(y \mid z, x) dz\). Our model belongs to the first category, akin to prior studies like [17], [25]. In contrast, other works, including [19], [55], [56], adopt the second type by jointly modeling topics and sequence-to-sequence generation. Most of them assume a simple Gaussian latent prior, except for [55], which employs normalizing flows to model neural topic models and enrich global semantics. However, they did not specify the choice of normalizing flows and how they addressed posterior collapse. To the best of our knowledge, there remains limited research on the application of normalizing flows in variational summarization models and their operating characteristics.

3 Normalizing Flows Enhanced Summarization Model↩︎

3.1 FlowSUM Model Architecture↩︎

Figure 1: FlowSUM Model Architecture, including an NF latent module (in purple), a Transformer-based encoder-decoder (in green), and a refined gate mechanism (in orange)

As illustrated in Fig. 1, FlowSUM consists of three components: an NF latent module, a Transformer-based encoder-decoder, and a refined gate mechanism. The NF latent module focuses on modeling the variational posterior \(q(z \mid x, y; \psi)\), whereas the encoder-decoder, combined with the refined gate, models the conditional generation \(p(y | x, z; \theta)\) with latent code. As a simplification, we assume the conditional prior \(p(z \mid x; \phi)\) is a standard Gaussian as in [25]. Throughout this section, let \(e\) be the embedding size, \(m, n\) be the length of the input source and target summary respectively, \(\ell\) be the latent dimension of the NF latent module, \(d\) be the dimension of the decoder’s hidden states, \(\{x_i\}_{i=1}^{m}\) be the input source text, \(\{y_j\}_{j=1}^{n}\) be the target summary text, and \(\overline{x} \in \mathbb{R}^e\) be the average embedding of the untruncated input source text2.

NF Latent Module. To model the variational posterior \(q(z \mid x, y; \psi)\), we follow [24] and assume all the information in \(y\) is contained in \(x\)3. Therefore, we have \(q(z \mid x, y; \psi) = q(z \mid x; \psi)\), which allows us to parameterize \(q(z \mid x; \psi)\) with neural networks (NNs) and normalizing flows using the amortization and reparameterization tricks [21]. The NF latent module comprises of an inference network \(q_0(\cdot)\) and a normalizing flows model. The inference network takes \(\overline{x}\) as input and produces two output vectors, \(\mu_0 \in \mathbb{R}^{\ell}\) and \(\log (\sigma_0) \in \mathbb{R}^{\ell}\). Using the reparameterization trick, a random sample \(z_0 \in \mathbb{R}^{\ell}\) is drawn from \(N(\mu_0, \text{diag}(\sigma_0^2))\). Afterward, the normalizing flows model applies a sequence of \(K\) invertible transformations to \(z_0\) to obtain the latent code \(z = z_K = f_K \circ \cdots \circ f_1(z_0) \in \mathbb{R}^{\ell}\).4 Note that when \(K = 0\), the model reverts to the traditional VED framework, and we refer to this degenerated version as VEDSUM.

Gated Transformer-based Encoder-Decoder. Our model adopts the Transformer-based encoder-decoder. The encoder processes the input text and learns a sequence of hidden representations, and the decoder generates a summary based on the encoder’s hidden states and the previously generated tokens. We incorporate the latent information into the decoder with a gate mechanism, which mixes the latent vector \(z_K\) with the decoder’s last layer of hidden states \(\{h_j\}_{j=1}^n\). As pointed out in [57], the saturation property of traditional gating mechanisms hinders gradient-based optimization. Therefore, following their proposal, we use a refined gate mechanism designed to allow for better gradient flow. Let \(\sigma(\cdot)\) be the sigmoid function. We generate the gated fused hidden states \(\{h_j^\prime\}_{j=1}^n\) as in Eq. 4 . \[\label{eq:32refined-gate} \begin{align} & z_K^{\prime}=W^{z} z_K \in \mathbb{R}^d, \text{ where } W^z \in \mathbb{R}^{d \times \ell} \\ & f_j=\delta\left(W^f\left[h_j ; z_K^{\prime}\right]\right) \in \mathbb{R}^d, \text{ where } W^f \in \mathbb{R}^{d \times 2 d} \\ & r_j=\delta\left(W^r\left[h_j ; z_K^{\prime}\right]\right) \in \mathbb{R}^d, \text{ where } W^r \in \mathbb{R}^{d \times 2 d} \\ & g_j=\left(1-r_j\right) \cdot f_j^2+r_j\left(1-\left(1-f_j\right)^2\right) \in \mathbb{R}^d \\ & h_j^{\prime}=\left(1-g_j\right) \cdot h_j+g_j \cdot z_K^{\prime} \in \mathbb{R}^d \end{align}\tag{4}\] Afterward, the fused hidden states are passed to a language model (LM) Head layer, where they are transformed into vectors modeling the probabilities of each word in the vocabulary.

3.2 Training Objective↩︎

Traditional VEDs usually assume \(q(z \mid x; \psi)\) to be a Gaussian, allowing analytical computation of the KL term in ELBO. However, in our normalizing flows-based VED, the variational posterior \(q(z \mid x) = q_K (z_K \mid x)\) can be complex and hence the KL term in Eq. 3 lacks an analytical form. Therefore, we rewrite the ELBO via a change of variables to enable analytical evaluation5: \[\label{eq:32elbo-nf} \begin{align} & \text{ELBO}_{\text{NF-VED}} \\ = & \mathbb{E}_{q_0\left(z_0\right)}\left[\log p\left(y \mid x, z_K\right) + \log p\left(z_K \mid x\right)\right] \\ - & {!}{\mathbb{E}_{q_0\left(z_0\right)}\left[\log q_0\left(z_0\right)-\sum_{k=1}^K \log \left|\operatorname{det} J_{f_k}\left(z_{k-1}\right)\right| \right]}, \end{align}\tag{5}\] where \(q_0\) is \(z_0\)’s probability density function, a Gaussian distribution modeled by NNs, and \(\operatorname{det} J_{f_k}(\cdot)\) is the determinant of \(f_k\)’s Jacobian.

Let \(\mathcal{L}_{\text{CE}}\) denote the cross-entropy loss and \(\mathcal{L}_{\text{VI}}\) denote the loss introduced by the variational latent module. Applying the idea of Monte Carlo to Eq. 5 , we obtain the training objective as below. Note that \(\mathcal{L}_{\text{VI}}\) is a Monte Carlo estimate of the KL divergence between the variational posterior \(q_K\) and the conditional prior distribution \(p(z_K \mid x)\). \[\label{eq:32loss} \begin{align} \mathcal{L} & = \mathcal{L}_{\text{CE}} + \mathcal{L}_{\text{VI}} \\ & = -{\textstyle\sum}_{j=1}^n \log p\left(y_j \mid\left\{x_i\right\}_{i=1}^m, z_K, y_{<j}\right) \\ & + \log q_0\left(z_0\right)-{\textstyle\sum}_{k=1}^K \log \left|\operatorname{det} J_{f_k}\left(z_{k-1}\right)\right| \\ & - \log p\left(z_K \mid x\right) \end{align}\tag{6}\]

3.3 Mitigating Posterior Collapse↩︎

To remedy posterior collapse, we consider two strategies, aiming to preserve the expressiveness of the latent variable and improve the overall summary quality. The first approach, called \(\beta_C\)-VAE [36], replaces the KL term with \(\beta|KL-C|\), where \(\beta\) is a scaling factor, and \(C \geq 0\) is a threshold that regulates the magnitude of the KL term. When \(C > 0\), the KL term is expected to be discouraged from getting close to \(0\).

We propose the second approach, Controlled Alternate Aggressive Training (CAAT), inspired by the lagging inference strategy [30]. This strategy uses the observation that the inference network cannot accurately approximate the true posterior in the initial stages of training. As outlined in Alg. 2 in Appendix 6, CAAT comprises two stages. In the first stage, we alternately update the variational parameters and the entire parameters6 for a specified number of steps. In the second stage, we train all parameters jointly, as in basic VAE training, for the remainder of the training.

3.4 NF-enhanced Knowledge Distillation↩︎

Normalizing flows can learn complex and multi-modal distributions [38], which makes them a promising approach for knowledge distillation tasks that involve integrating information from multiple sources [58]. To investigate the impact of normalizing flows on knowledge distillation, we adopt two knowledge distillation methods by [59]: Shrink and Fine-Tune (SFT) and Pseudo-labels (PL). SFT shrinks the teacher model and re-finetunes the shrunk model. In contrast, the PL method initializes the student model with the compressed version produced by SFT and then fine-tunes using the pseudo-labeled data generated by the teacher model. In this study, we fine-tune the model on the augmented data with both original and pseudo-labeled data, enabling it to more effectively switch between generated summaries and ground truth, thereby mitigating exposure bias.

4 Experiments↩︎

4.1 Datasets↩︎

We evaluate the effectiveness of FlowSUM on six public benchmark datasets7, including CNN/Daily Mail (CNN/DM) [60], XSum [61], Multi-News [62], arXiv, PubMed [63], and SAMSum [64]. These datasets exhibit various summary styles and lengths, and their corresponding statistics are shown in Table 1. Refer to Appendix 10 for more details.

Table 1: Statistics of Summarization Datasets.
Datasets
(train/val/test)
length
length
CNN/DM 287113/13368/11490 781 56
Multi-News 44972/5622/5622 2103 264
arXiv 203037/6436/6440 4938 220
PubMed 119924/6633/6658 3016 203
XSum 204045/11332/11334 431 23
SAMSum 14732/818/819 94 20

4.2 Implementation Details↩︎

We configure the inference net \(q_0(z_0|\overline{x})\) to be a feedforward neural network and set the latent dimension \(\ell\) to 300 and the number of NF layers \(K \in \{2, 4, 6, 8\}\). For models that use \(\beta_C\)-VAE, we set \(\beta=1\) and \(C = 0.1\), and for those using CAAT, we conduct one epoch of aggressive training with \(n_{alt} = 15\) and two epochs of non-aggressive training. See more details in Appendix 12.

4.3 Baselines↩︎

We use BART [49] and BERT2BERT [6] as two backbone models. We refer to the PL knowledge distilled FlowSUM as FlowSUM-PLKD. Our comparison involves the following baselines: PG+Cov [1], BERT2BERT [6], BERTSUM [4], BART [49], PEGASUS [5], VHTM [17], TAS [19], and PEGASUS+Flow-NTM [55]. See Appendix 11 for more detailed descriptions.

4.4 Results↩︎

4.4.1 Automatic Evaluation↩︎

We evaluate the generated summary quality using ROUGE scores [65] and BERTScore [66]8. Specifically, we utilize the overlap of unigrams and bigrams (ROUGE-1 and ROUGE-2) to evaluate the informativeness, and the longest common subsequence (ROUGE-L) for fluency. Moreover, we report BERTScore, which gauges semantic similarity based on contextual embeddings. Furthermore, we present rep-w [67]9 and the average length of summaries to gain a better understanding of the quality.

We compare the proposed model against baseline models in ROUGE scores in Tables 2 and 3. On CNN/DM, FlowSUM (BERT2BERT) greatly outperforms BERT2BERT, whereas VEDSUM adds noise to the model and leads to a decrease in performance. With the BART backbone, FlowSUM achieves an absolute improvement over the BART model with +0.48, +0.08, and +0.75 in R-1, 2, and L scores, respectively. However, on XSum, the variational models do not perform well when the gold summaries involve only one sentence. VEDSUM leads to a significant decrease in performance, whereas with FlowSUM, the decrease in ROUGE scores is less severe, leading to +0.12, -0.15, and -0.25 in R-1, 2, and L scores, respectively.

Table 4 uses BART as the backbone and compares BART, VEDSUM, and FlowSUM across all datasets. Overall, variational models produce summaries of superior quality for datasets with long summaries, such as CNN/DM, Multi-News, arXiv, and PubMed, and FlowSUM further enhances the performance beyond VEDSUM. However, when it comes to datasets featuring short summaries such as XSum and SAMSum, the variational component markedly diminishes the model performance. We hypothesize that brief summaries may be more susceptible to disturbances and are more prone to being affected by noise. Nevertheless, incorporating NF modules alleviates these reductions and accomplishes comparable outcomes. Furthermore, we observe that both variational models tend to generate lengthier summaries, while FlowSUM exhibits fewer issues with repetition compared to VEDSUM.

Table 2: Comparison with baselines on CNN/DM.
Model ROUGE \(\uparrow\)
1 2 L
PG+Cov [1] 39.53 17.28 36.38
BERT2BERT [6] 41.28 18.69 38.09
BERTSUM [4] 42.13 19.60 39.18
BART [49] 44.16 21.28 40.90
PEGASUS [5] 44.17 21.47 41.11
VHTM [17] 40.57 18.05 37.18
TAS [19] 44.38 21.19 41.33
PEGASUS+NTM [55] 44.52 21.95 41.39
VEDSUM (BERT2BERT) 40.89 18.28 37.95
FlowSUM (BERT2BERT) 41.51 18.81 38.56
VEDSUM (BART) 44.36 21.09 41.37
FlowSUM (BART) 44.64 21.36 41.65
FlowSUM-PLKD (BART) 44.59 21.49 41.59
Table 3: Comparison with baselines on XSum.
Model ROUGE \(\uparrow\)
1 2 L
PG+Cov [1] 28.10 8.02 21.72
BERTSUM [4] 38.81 16.50 31.27
BART [49] 45.14 22.27 37.25
PEGASUS [5] 47.21 24.56 39.25
TAS [19] 44.63 21.62 36.77
PEGASUS+NTM [55] 49.57 25.08 41.81
VEDSUM (BART) 43.62 20.27 35.06
FlowSUM (BART) 45.26 22.12 37.00
FlowSUM-PLKD (BART) 45.54 22.67 37.38
Table 4: Comparison of BART, VEDSUM (BART), and FlowSUM (BART) on all six benchmarks.
Model
1/2/L
Score \(\downarrow\) Length
CNN/DM
BART 44.16/21.28/40.90 89.40 8.31 84.11
VEDSUM 44.34/21.09/41.37 89.20 8.43 88.63
FlowSUM 44.64/21.36/41.65 89.46 8.43 92.24
Multi-News
BART 42.56/15.34/36.67 86.69 9.76 133.42
VEDSUM 43.91/16.68/38.10 87.04 9.95 128.79
FlowSUM 44.42/17.01/38.36 87.09 9.91 128.87
arXiv
BART 42.55/15.92/37.89 85.35 17.23 130.68
VEDSUM 43.05/16.34/38.26 85.44 16.63 130.92
FlowSUM 43.11/16.26/38.31 85.45 16.55 132.88
PubMed
BART 41.57/16.72/36.94 84.65 13.26 136.10
VEDSUM 44.21/19.20/39.32 85.07 12.76 138.70
FlowSUM 44.55/19.50/39.59 85.16 12.59 138.09
XSum
BART 45.14/22.27/37.25 92.16 4.63 25.54
VEDSUM 43.62/20.27/35.06 91.75 5.96 31.22
FlowSUM 45.26/22.12/37.00 92.13 4.95 28.71
SAMSum
BART 53.16/28.19/49.03 92.68 6.71 30.00
VEDSUM 51.91/26.74/47.41 92.40 7.53 30.92
FlowSUM 53.13/28.49/49.00 92.67 6.59 29.77

4.4.2 On NF-enhanced Knowledge Distillation↩︎

We use PEGASUS as the teacher model to generate pseudo-labels on the CNN/DM training set. In this study, we explore the effects of knowledge distillation on BART and DistilBART, a shrunken version of BART. We examine two variations of DistilBART: dBART-6-6, which replicates 6 layers10 of the BART encoder and decoder, and dBART-12-3, which duplicates all layers of the BART encoder and 3 layers11 of the decoder.

Table ¿tbl:table:32kd95on95bart95cnndm? presents the impact of the PL approach on the original BART model. Training the BART model on augmented data worsens the performance compared to training on the original data. In contrast, VEDSUM-PLKD achieves improvements in all three ROUGE scores, and FlowSUM-PLKD with RQNSF achieves the highest R-2 score, albeit with some sacrifice in R-1 and R-L12. However, planar flows appear to be unsuitable for knowledge distillation via PL. To better understand FlowSUM-PLKD, we visualize the latent distribution (see Appendix 14) and demonstrate how the NF’s ability to capture multi-modality could account for its impressive performance.

lccccccc & & &
& 1 & 2 & L
BART & 44.16 & 21.28 & 40.90 & 89.40 & 84.11
VEDSUM & 44.34 & 21.09 & 41.37 & 89.20 & 88.63
FlowSUM (Planar) & 44.62 & 21.32 & 41.64 & 89.20 & 90.78
FlowSUM (RQNSF) & 44.64 & 21.36 & 41.65 & 89.46 & 92.24
PEGASUS & 44.17 & 21.47 & 41.11 & 89.52 & 77.84
BART-PLKD & 42.83 & 20.16 & 39.98 & 89.04 & 100.52
VEDSUM-PLKD & 44.45 & 21.25 & 41.45 & 89.41 & 93.42
FlowSUM-PLKD (Planar) & 44.19 & 21.03 & 41.15 & 89.34 & 92.38
FlowSUM-PLKD (RQNSF) & 44.59 & 21.48 & 41.59 & 89.47 & 84.75

Table 5 investigates the two DistilBART variants with RQNSF. With FlowSUM, both variants achieve improvements, suggesting that NF is beneficial for the SFT approach. Previous experiments from [59] showed that PL performed worse than SFT on CNN/DM. However, our experiments reveal that the NF latent module unleashes the potential of PL. When trained on augmented data, FlowSUM-PLKD (dBART-6-6) achieves R-1/2/L improvements of 0.92/0.47/1.01 over dBART-6-6, and FlowSUM-PLKD (dBART-12-3) achieves improvements of 0.66/0.49/0.63 over dBART-12-3, much more than the SFT approach. Furthermore, FlowSUM does not introduce additional computational burden at inference, and the time cost is primarily related to the length of the generated summaries.

Table 5: Knowledge Distillation on DistilBART on CNN/DM.
Model
1/2/L
Score Length
(MM)
Time (MS)
dBART-6-6
dBART-6-6 42.78/20.24/39.72 88.98 67.42 230 170.5
FlowSUM 43.41/20.33/40.41 89.18 91.25 238 234.9
FlowSUM-PLKD 43.70/20.71/40.73 89.24 91.10 238 239.7
dBART-12-3
dBART-12-3 43.39/20.57/40.44 89.20 85.48 255 199.6
FlowSUM 43.53/20.61/40.59 89.28 83.74 263 190.7
FlowSUM-PLKD 44.05/21.06/41.07 89.37 84.48 263 200.4

4.4.3 Analysis on NF Types and Depth↩︎

We investigate the effect of NF types and the number of NF layers on the Multi-News dataset13. Table 6 explores the effect of NF types. Simple flows like Planar and Radial yield inferior performance compared to the VAE counterpart, whereas more complex flows tend to achieve greater improvements. Overall, IAF and RQNSF emerge as the best-performing NF types.

Table 7 delves further into IAF and RQNSF, investigating the effect of NF depth. The findings indicate that adding more layers does not always lead to improved performance. We hypothesize that when the encoder-decoder model is well-trained, the increased complexity of the NF module may introduce more noise, outweighing the benefits of better latent modeling and subsequently worsening the summary quality.

Table 6: Effect of NF Types on Multi-News.
Model
1/2/L
Score \(\downarrow\) Length
BART 42.56/15.35/36.67 86.69 9.76 133.42
VEDSUM 43.91/16.68/38.10 87.04 9.95 128.79
FlowSUM (Planar) 43.85/16.61/37.97 87.03 10.04 128.84
FlowSUM (Radial) 43.84/16.68/37.98 87.04 9.92 128.72
FlowSUM (Sylvester) 44.18/16.71/38.15 87.08 9.80 128.76
FlowSUM (RealNVP) 44.19/16.64/38.15 87.05 9.81 128.76
FlowSUM (IAF) 44.42/17.01/38.36 87.09 9.91 128.87
FlowSUM (RLNSF) 44.25/16.86/38.14 87.06 9.80 128.80
FlowSUM (RQNSF) 44.31/16.98/38.27 87.07 9.91 128.81
Table 7: Effect of Number of NF Layers on Multi-News.
Model
1/2/L
Score \(\downarrow\) Length
FlowSUM (IAF-4) 44.30/17.03/38.22 87.05 9.82 128.81
FlowSUM (IAF-6) 44.42/17.01/38.36 87.09 9.91 128.87
FlowSUM (IAF-8) 44.18/16.90/38.16 87.04 9.88 128.84
FlowSUM (RQNSF-2) 44.15/16.88/38.20 87.04 9.94 128.83
FlowSUM (RQNSF-4) 44.31/16.98/38.27 87.07 9.91 128.81
FlowSUM (RQNSF-6) 44.15/16.88/38.18 87.06 9.87 128.92

4.4.4 Analysis on Training Strategies↩︎

We implement standard VAE training, \(\beta_C\)-VAE, and CAAT on VEDSUM and FlowSUM models, and we evaluate their effectiveness with different types of normalizing flows. Table ¿tbl:table:32effect-of-training-strategies? shows that VEDSUM and FlowSUM models with residual flows, including planar, radial, and Sylvester flows, suffer from posterior collapse, whereas those with more complex flows do not. Moreover, applying \(\beta_C\)-VAE to VEDSUM and FlowSUM models with residual flows does not effectively mitigate posterior collapse but even exacerbates the issue. Furthermore, for models with planar, RealNVP, and IAF flows, training with \(\beta_C\)-VAE worsens ROUGE scores, while for radial and Sylvester flows, it improves performance. Notably, the two neural spline flows are not impacted by \(\beta_C\)-VAE training.

Concerning CAAT, we note that applying it to treat severe posterior collapses such as VEDSUM and FlowSUM with residual flows can cause instability in training while producing NaN values. Hence, it is only effective for models with KL divergence that is not close to zero. Nonetheless, when applicable, CAAT enhances the quality of summaries, particularly when utilized with the top-performing NFs, namely IAF and RQNSF.

llcccccccc & & &
& & 1 & 2 & L
VEDSUM & standard & 43.91 & 16.68 & 38.10 & 0.0117
VEDSUM & \(\beta_C\)-VAE & 43.78 & 16.54 & 37.96 & 0.0082
FlowSUM (Planar) & standard & 43.85 & 16.61 & 37.97 & 0.2719
FlowSUM (Planar) &\(\beta_C\)-VAE & 43.68 & 16.47 & 37.85 & 0.1815
FlowSUM (Radial) & standard & 43.63 & 16.37 & 37.82 & 0.0121
FlowSUM (Radial) & \(\beta_C\)-VAE & 43.84 & 16.68 & 37.98 & 0.0096
FlowSUM (Sylvester) & standard & 43.68 & 16.51 & 37.87 & 0.0841
FlowSUM (Sylvester) & \(\beta_C\)-VAE & 44.18 & 16.71 & 38.15 & 0.0348
FlowSUM (RealNVP) & standard & 44.19 & 16.64 & 38.15 & 4.7986
FlowSUM (RealNVP) & \(\beta_C\)-VAE & 43.71 & 16.54 & 37.85 & 7.8938
FlowSUM (RealNVP) & CAAT & 44.12 & 16.82 & 38.11 & 5.2107
FlowSUM (IAF) & standard & 43.87 & 16.62 & 37.97 & 3.9146
FlowSUM (IAF) & \(\beta_C\)-VAE & 43.81 & 16.58 & 37.91 & 3.9128
FlowSUM (IAF) & CAAT & 44.30 & 17.03 & 38.22 & 2.1108
FlowSUM (RLNSF) & standard & 44.25 & 16.86 & 38.14 & 104.9667
FlowSUM (RLNSF) & \(\beta_C\)-VAE & 44.25 & 16.86 & 38.14 & 104.9667
FlowSUM (RLNSF) & CAAT & 44.14 & 16.82 & 38.05 & 95.3774
FlowSUM (RQNSF) & standard & 44.18 & 16.76 & 38.18 & 127.8106
FlowSUM (RQNSF) & \(\beta_C\)-VAE & 44.18 & 16.76 & 38.18 & 127.8106
FlowSUM (RQNSF) & CAAT & 44.31 & 16.98 & 38.27 & 107.0794

VEDSUM and FlowSUM with radial flows have no CAAT results as
the training is unstable and generates NaN values.

In addition, we explore the impact of gate score initialization. The standard method initializes gating weights with small deviations from zero, resulting in an initial gate score close to 0.5. In contrast, the near-zero initialization method initializes gating weights such that the resulting gate score is approximately 0.05. Our experiments using FlowSUM (BERT2BERT) with RQNSF as the base model reveal that CAAT + Standard Gate Score Initialization yields the best results and the most stable training process, as illustrated in Table 8 and Figures 3 to 4 in Appendix 13. This suggests that by setting a large initial gate score and forcing the model to learn from the NF latent module, we can better capture latent code information.

Table 8: Effect of CAAT and Gate Initialization.
Training Gate Initialization ROUGE \(\uparrow\)
1 2 L
standard standard 40.82 18.29 37.92
standard near-zero 40.98 18.36 38.09
CAAT standard 41.51 18.81 38.56
CAAT near-zero 41.13 18.57 38.21

5 Conclusions and Discussions↩︎

This paper introduces FlowSUM, a normalizing flows-based Variational Encoder-Decoder (VED) framework for text summarization. It outperforms a leading non-latent model across multiple datasets. This enhanced performance is attributed to the flexible posterior distributions provided by normalizing flows. We also analyze the operating characteristics and the posterior collapse problem of normalizing flows and propose an effective training strategy for complex flows. Moreover, we demonstrate that incorporating normalizing flows is highly effective for knowledge distillation with minimal impact on inference time.

FlowSUM illustrates the advantages of incorporating flexible latent modeling. Considering the remarkable achievements of Latent Diffusion Models (LDMs) in generating images [68], adopting LDMs for capturing latent representation may produce comparable or even superior outcomes in text summarization. In this scenario, the gating mechanism may not be an appropriate choice. A direct correlation between the latent vector and the target text may be more suitable for executing the diffusion process. Enhancing the architecture to leverage diffusion models could be a potential avenue for future research.

Limitations↩︎

FlowSUM has demonstrated excellent results on datasets with long summaries. However, its performance on short-summary datasets like XSum and SAMSum has been unsatisfactory. The underlying cause could be attributed to suboptimal hyperparameter tuning or the incompatibility of FlowSUM with short summaries. Additional investigations are needed to identify the root cause.

Furthermore, we did not fine-tune the hyper-parameters of the normalizing flows model, such as the latent dimension, the number of bins in spline coupling layers, and the neural network in IAF, RealNVP, RLNSF, and RQNSF. Moreover, we opted for a small batch size due to memory limitations. Adjusting these hyperparameters could potentially enhance the model’s performance.

Due to limited computational resources, we utilized BART and BERT2BERT as the backbone models instead of newer architectures. Further research may focus on verifying the effectiveness of FlowSUM on more advanced structures.

Ethics Statement↩︎

Our research entailed developing a new text summarization framework. Although no private data were utilized, we acknowledge the potential societal impacts of our work. Therefore, we adhered to pertinent ethical guidelines and implemented rigorous procedures to guarantee the accuracy of our results.

Acknowledgements↩︎

This work was supported in part by NSF grant DMS-1952539 and NIH grants R01AG069895, R01AG065636, R01AG074858, U01AG073079.

6 Controlled Alternate Aggressive Training (CAAT)↩︎

Figure 2: Controlled Alternate Aggressive Training (CAAT)

Another advantage of the controlled alternate aggressive training (CAAT) strategy is that it provides us with more control. It is commonly assumed that allowing the model more freedom to learn, even if the NF latent module is not helpful, will not harm performance. However, our experiments suggest that this assumption does not hold, particularly for short-summary datasets where the model will not learn on its own to avoid hurting the original performance. The CAAT strategy allows us to effectively freeze the encoder-decoder parameters by setting \(n_{agg}\) and \(n_{alt}\) to large values, ensuring that when the nf module is unhelpful, it will not significantly harm performance.

7 Deeper Dive into the Evidence Lower Bound (ELBO)↩︎

Within the VED framework, the conditional data generation process can be expressed as follows: \[p(y \mid x; \phi, \theta) = \int p(z \mid x; \phi) p(y \mid x, z; \theta) dz.\] The subsequent challenge revolves around parameter estimation. Typically, the conditional latent prior is assumed as \(p(z \mid x; \phi) = N(0, I)\) for simplification (hence eliminating the \(\phi\) parameter). Despite this, the likelihood \(p(y \mid x; \theta)\) remains computationally intractable to evaluate. Variational inference tackles this issue by introducing a variational distribution \(q(z \mid x, y; \psi)\) from a specific parametric family, aiming to approximate the actual posterior \(p(z \mid x, y)\). Here, \(\theta\) denotes the model parameters, and \(\psi\) refers to the variational parameters. Instead of attempting to estimate \(\theta\) solely through maximizing the challenging log-likelihood, the approach involves joint estimation of both \(\theta\) and \(\psi\) by optimizing the ELBO.

Examining Eq. 7 and 8 , it’s evident that the ELBO represents a lower bound of the log-likelihood. Moreover, a smaller value of \(\mathrm{KL}(q(z \mid x, y) \| p(z \mid x, y))\) indicates a closer alignment between the variational posterior and the true posterior, thereby bringing the ELBO closer to the log-likelihood. This insight propels the adoption of normalizing flows to model a flexible family of variational posterior.

\[\label{eq:32elbo-ved-derivation} \begin{align} & \mathrm{KL}(q(z \mid x, y) \| p(z \mid x, y)) \\ = & \mathbb{E}_{q(z \mid x, y)}[\log q(z \mid x, y)]-\mathbb{E}_{q(z \mid x, y)}\left[\log \frac{p(z, x, y)}{p(x, y)}\right] \\ = & \mathbb{E}_{q(z \mid x, y)}[\log q(z \mid x, y)] \\ & -\mathbb{E}_{q(z \mid x, y)}\left[\log \frac{p(z, x, y)}{p(x, z)} \cdot \frac{p(x, z)}{p(x)} \cdot \frac{p(x)}{p(x, y)}\right] \\ = & \mathbb{E}_{q(z \mid x, y)}[\log q(z \mid x, y)]-\mathbb{E}_{q(z \mid x, y)}[\log p(y \mid x, z)] \\ & - \mathbb{E}_{q(z \mid x, y)}[\log p(z \mid x)] + \mathbb{E}_{q(z \mid x, y)}[\log p(y \mid x)] \\ = & K L(q(z \mid x, y) \| p(z \mid x)) - \mathbb{E}_{q(z \mid x, y)}[\log p(y \mid x, z)] \\ & + \mathbb{E}_{q(z \mid x, y)}[\log p(y \mid x)] \\ \geqslant & 0 \\ \\ \end{align}\tag{7}\]

\[\label{eq:32elbo-ved-derivation952} \begin{align} & \text{ELBO}_{\text{VED}} \\ = & \mathbb{E}_{q(z \mid x, y)}[\log p(y \mid x, z)] - K L(q(z \mid x, y) \| p(z \mid x)) \\ = & \log p(y \mid x) - \mathrm{KL}(q(z \mid x, y) \| p(z \mid x, y)) \\ \leq & \log p(y \mid x) \end{align}\tag{8}\]

\[\label{eq:32elbo-nf-ved-derivation} \begin{align} & \text{ELBO}_{\text{NF-VED}} \\ = & \mathbb{E}_{q(z \mid x)}[\log p(y \mid x, z)]+\mathbb{E}_{q(z \mid x)} \log p(z \mid x) \\ & -\mathbb{E}_{q(z \mid x)}[\log q(z \mid x)]\\ = & \mathbb{E}_{q_0\left(z_0\right)}\left[\log p\left(y \mid x, z_K\right)+\log p\left(z_K \mid x\right)\right] \\ & - \mathbb{E}_{q_0\left(z_0\right)}\left[\log q_K\left(z_K\right) \right] \\ = & \mathbb{E}_{q_0\left(z_0\right)}\left[\log p\left(y \mid x, z_K\right) + \log p\left(z_K \mid x\right)\right] \\ & - \mathbb{E}_{q_0\left(z_0\right)}\left[\log q_0\left(z_0\right)-\sum_{k=1}^K \log \left|\operatorname{det} J_{f_k}\left(z_{k-1}\right)\right| \right], \end{align}\tag{9}\]

where \(q_0\) and \(q_K\) are the probability density function for \(z_0\) and \(z_K\) respectively.

8 Discussion on \(q(z \mid x, y) = q(z \mid x)\)↩︎

we choose to assume \(q(z \mid x, y) = q(z \mid x)\) for the following reasons. Firstly, this assumption is grounded in the nature of summarization, where \(y\) can be viewed as a condensed form of \(x\) and hence it is sensible to assume all the information in \(y\) is contained in \(x\). Secondly, as evidenced by [14], it is plausible to condition the posterior on both \(x\) and \(y\). However, their approach suffers from difficulties during prediction. In prediction, the target text \(y\) is not accessible, making it hard to sample from \(q(z \mid x, y)\). [14] suggests taking the prior’s mean as the latent code, but in our paper, the prior is a Gaussian whereas the posterior is a complex distribution modeled by normalizing flows, and taking such a strategy would diminish the benefit of using normalizing flows. Thirdly, it has been shown empirically by [69] that by restricting the conditioning of the posterior to \(x\) alone, their model achieves higher accuracy. Therefore, we consider \(q(z \mid x, y) = q(z \mid x)\) as our modeling strategy.

9 Repetition Measures↩︎

Let \(s\) represent the sentences in a result set \(\mathcal{D}\), \(|s|\) be the number of tokens in \(s\), \(s_t\) be the \(t\)th token, and \(s_{i:j}\) be the sub-sequence of \(s\) from the \(i\)th token to the \(j\)th token. The rep-w [67] is then defined by Equation 10 . \[\label{eq:32repw} \textrm{rep-w} = \frac{1}{|\mathcal{D}|} \sum_{s \in \mathcal{D}} \frac{1}{|s|} \sum_{t=2}^{|s|} \mathbb{1}\left[s_{t} \in s_{\max\left(t-w, 1\right): t-1}\right]\tag{10}\]

10 Datasets↩︎

CNN/Daily Mail [60] consists of 312,085 online news articles, with one article paired with a multi-sentence summary. We use the non-anonymized version as in [1] and follow the text processing14 in [49].

XSum [61] contains 227k BBC articles, each summarized in a single sentence.

Multi-News [62] is a multi-document dataset comprising 56k pairs of news articles and multi-sentence summaries.

arXiv, PubMed [63] are two scientific paper document datasets from arXiv.org (113k) and PubMed (215k). Each pair consists of a scientific article’s body document and its abstract.

SAMSum [64] includes 16k conversations annotated with summaries by linguists. Unlike structured texts, the information in dialogues is scattered across different speakers’ utterances, increasing the summarization difficulty.

11 Baseline Models↩︎

PG+Cov [1] is a pointer-generator (PG) network supplemented with a coverage mechanism that addresses the Out-Of-Vocabulary problem and minimizes word repetition.

BERT2BERT [6] initializes both the encoder and the decoder with the pre-trained BERT checkpoints and adds cross-attention layers.

BERTSUM [4] builds on top of BERT and applies a fine-tuning scheduler to better align the encoder and the decoder.

BART [49] is a pretrained denoising autoencoder with the standard sequence-to-sequence Transformer architecture. In this paper, we use BART as the encoder-decoder backbone.

PEGASUS [5] is a large Transformer-based S2S model, pre-trained on massive text data using a self-supervised objective called gap sentence generation, designed for abstractive summarization.

VHTM [17] is a variational hierarchical model built on the PG network. It models the topic proportion vector with isotropic Gaussian and fuses in topic information at diverse granularity levels.

TAS [19] is a topic-guided Transformer-based S2S model that injects the topic-word matrix into the LMHead layer and jointly trains the NTM and encoder-decoder model.

PEGASUS+Flow-NTM [55] is a topic-aware model built on PEGASUS. It utilizes a Flow-based NTM and a contextualized gating mechanism to integrate topic information into the encoder and the decoder.

12 Implementation Details↩︎

12.1 NF Latent Module↩︎

We configure the inference net \(q(z_0|\overline{x})\) to be a feedforward neural network with three hidden layers of dimension \(\in \{300, 600\}\), Tanh activations, and a 0.1 dropout rate. We set the latent dimension \(\ell\) to 300 and the number of NF layers \(\in \{2, 4, 6, 8\}\). For spline coupling layers (RLNSF and RQNSF), we set the number of bins to 4, the bound to 3.0, the split dimension to \(\ell/2\), and the neural network to have two hidden layers with the dimension \(\ell\). For RealNVP, the split dimension is \(\ell/2\), and the neural network has one hidden layer with a dimension of \(10\ell\). For IAF, the neural network features one hidden layer of the dimension \(3\ell + 1\). Moreover, we set \(\beta=1\) and \(C = 0.1\) for models that use \(\beta_C\)-VAE, and for models that use CAAT, we conduct one epoch of aggressive training with \(n_{alt} = 15\), followed by two epochs of non-aggressive training.

12.2 Optimization↩︎

We train the models using the Adam optimizer [70] with \(\beta_1 = 0.9, \beta_2 = 0.999\), and \(\epsilon = 10^{-8}\). The initial learning rate is \(5\times 10^{-5}\). We employ a linear learning rate scheduler that increases the learning rate from 0 to the initial learning rate during the warmup stage and decreases it from the initial learning rate to 0 after the warmup stage. We also apply the gradient clipping technique with a maximum gradient norm of 1.0. Furthermore, we terminate the training early when the perplexity fails to improve for eight or sixteen consecutive evaluation calls.

12.3 Model Hyper Parameters↩︎

Table ¿tbl:table:32model95hyper-params? provides the hyper-parameters for the models discussed in Table 4 - 6, for the sake of reproducibility. To ensure fair comparisons, unless otherwise specified, the VEDSUM models typically employ the same set of hyper-parameters as their FlowSUM counterparts, except with standard training and no NF layers applied. Additionally, the models in Table 7 have the same hyper-parameters as those in Table 6, except for the number of NF layers used. Lastly, in Table ¿tbl:table:32effect-of-training-strategies?, all FlowSUM models use 4 NF layers and the same set of hyper-parameters as those in Table 6 but vary in their training strategies.

Model Hyper-parameters.
FlowSUM in Table [tbl:table:32comp95with95baselines95all95datasets]
Dataset
epochs
aggressive epochs
size
hidden dim
NF layers
size
penalty
tokens
tokens
CNN/Daily Mail 3 1 8 300 RQNSF 4 4 2.0 1024 128
Multi-News 3 1 8 600 IAF 6 4 2.0 1024 128
arXiv 4 1 16 600 RQNSF 4 4 2.0 1024 142
PubMed 4 1 16 600 RQNSF 6 4 2.0 1024 142
XSum 3 1 8 600 RQNSF 4 6 0.5 1024 62
SAMSum 12 12 8 600 RQNSF 4 6 1.0 1024 62
Models in Table [tbl:table:32kd95on95bart95cnndm]
Model
epochs
aggressive epochs
size
hidden dim
NF layers
size
penalty
tokens
tokens
VEDSUM 3 0 8 600 - - 4 2.0 1024 128
FlowSUM (Planar) 3 0 8 600 Planar 4 4 2.0 1024 128
FlowSUM (RQNSF) 3 1 8 300 RQNSF 4 4 2.0 1024 128
BART-PLKD 3 0 8 - - - 4 2.0 1024 128
VEDSUM-PLKD 3 0 8 600 - - 4 2.0 1024 128
FlowSUM-PLKD (Planar) 3 0 8 600 Planar 4 4 2.0 1024 128
FlowSUM-PLKD (RQNSF) 3 1 8 300 RQNSF 4 4 2.0 1024 128
Models in Table [tbl:table:32kd95on95distilbart95cnndm]
Model
epochs
aggressive epochs
size
hidden dim
NF layers
size
penalty
tokens
tokens
dBART-6-6
FlowSUM 3 1 8 300 RQNSF 4 4 2.0 1024 128
FlowSUM-PLKD 3 1 8 300 RQNSF 4 4 2.0 1024 128
dBART-12-3
FlowSUM 3 1 8 300 RQNSF 4 4 2.0 1024 128
FlowSUM-PLKD 3 1 8 300 RQNSF 4 4 2.0 1024 128
Models in Table [tbl:table:32effect95nf95types95multinews]
Model
epochs
strategy
size
hidden dim
NF layers
size
penalty
tokens
tokens
FlowSUM (Planar) 3 standard 8 600 Planar 4 4 2.0 1024 128
FlowSUM (Radial) 3 \(\beta_C\)-VAE 8 600 Radial 4 4 2.0 1024 128
FlowSUM (Sylvester) 3 \(\beta_C\)-VAE 8 600 Sylvester 4 4 2.0 1024 128
FlowSUM (RealNVP) 3 standard 8 600 RealNVP 4 4 2.0 1024 128
FlowSUM (IAF) 3 1/3 CAAT 8 600 IAF 6 4 2.0 1024 128
FlowSUM (RLNSF) 3 \(\beta_C\)-VAE 8 600 RLNSF 4 4 2.0 1024 128
FlowSUM (RQNSF) 3 1/3 CAAT 8 600 RQNSF 4 4 2.0 1024 128

"-" means not applicable.

1/3 CAAT: aggressive training for 1 epoch and non-aggressive training for 2 epochs.

13 Experiments on Training Strategies and Gate Initialization↩︎

The training curves for the methods in Table 8 are illustrated in Figure 3. The plot demonstrates that the gate score decreases gradually and remains high during aggressive training when CAAT is combined with standard initialization. This combination compels the model to utilize the latent code information effectively. Moreover, as presented in Figure 3 (c), even though CAAT combined with standard initialization starts with a high perplexity, it achieves a lower perplexity level than other approaches by the end. By examining the training procedure in detail, Figure 4 further indicates that CAAT contributes to greater training stability than standard training.

a
b
c

Figure 3: Comparison of training strategies and gate initialization.. a — Gate Score, b — Training Perplexity, c — Evaluation Perplexity

a
b

Figure 4: A closer look at the training process: CAAT vs. Standard Training.. a — CAAT, b — Standard Training

14 Visualization of Latent Distribution↩︎

To gain a better understanding of how normalizing flows contribute to knowledge distillation, we selected several examples from the CNN/Daily Mail and XSum datasets and visualized the resulting latent distribution generated by the FlowSUM-PLKD model, as shown in Figure 5 and 6. For both cases, the transformed latent code \(z_K\) exhibited a highly flexible distribution. Notably, in the CNN/Daily Mail example, the first dimension of the second example demonstrated a clear bi-modal distribution, indicating the model’s ability to capture information from multiple sources. Similarly, in the XSum dataset examples, we observed distinct multi-modal patterns.

Figure 5: Visualization of the first two dimensions of z_0, z_K, and N(0, I) by FlowSUM-PLKD on CNN/DM. The right sub-figure demonstrates a clear bi-modality.
Figure 6: Visualization of the first two dimensions of z_0, z_K, and N(0, I) by FlowSUM-PLKD on XSum. Both sub-figures demonstrate distinct multi-modal patterns.

15 Normalizing Flows↩︎

Planar flow Proposed by [20], the planar flow can be expressed as in Eq. 11 . It applies contractions or expansions in the direction perpendicular to the hyperplane \(\mathbf{w}^{\top} \mathbf{z}+b=0\). Its Jacobian determinant can be computed in time \(\mathcal{O}(D)\) as in Eq. 12 , using the matrix determinant lemma. In addition, we need to note that this flow is not invertible for all values of \(\mathbf{u}\) and \(\mathbf{w}\). When the derivative of the activation function \(h^{\prime}(\cdot)\) is positive and bounded from above, \(\mathbf{w}^{\top} \mathbf{u}>-\frac{1}{\sup _x h^{\prime}(x)}\) is sufficient to ensure invertibility15.

\[\label{eq:32planar-appendix} f(\mathbf{z})=\mathbf{z}+\mathbf{u} h\left(\mathbf{w}^{\top} \mathbf{z}+b\right),\tag{11}\] \[\label{eq:32planar-jacobian-det-appendix} \operatorname{det} J = 1 + h^{\prime}\left(\mathbf{w}^{\top} \mathbf{z}+b\right) \mathbf{w}^{\top} \mathbf{u}\tag{12}\] where \(\{\mathbf{u}, \mathbf{w} \in \mathbb{R}^D, b \in \mathbb{R} \}\) are free parameters and \(h(\cdot)\) is a smooth element-wise non-linear activation function with derivative \(h^{\prime}(\cdot)\).

Radial flow The radial flow [20], [71] takes the form of Eq. 13 . It applies radial contractions and expansions around a reference point. Similar to the planar flow, we can apply the matrix determinant lemma to calculate the Jacobian determinant in \(\mathcal{O}(D)\) time, as in Eq. 14 . To guarantee invertibility, we usually require \(\beta>-\alpha\)16.

\[\label{eq:32radial-appendix} f(\mathbf{z})=\mathbf{z}+\beta h(\alpha, r)\left(\mathbf{z}-\mathbf{z}_0\right),\tag{13}\] \[\label{eq:32radial-jacobian-det-appendix} \operatorname{det} J = \left(1+\frac{\alpha \beta}{h^2}\right)\left(1 + \beta h\right)^{D-1}\tag{14}\] where \(\mathbf{z}_0 \in \mathbb{R}^D\) is the reference point, \(\beta \in \mathbb{R}, \alpha \in \mathbb{R}^{+}\) are free parameters, \(r=\left\|z-z_0\right\|\) is the norm of \(z-z_0\), and \(h(\alpha, r)=\frac{1}{\alpha+r}\).

Sylvester flow The Sylvester flows [41] generalize the planar flows to have \(M\) hidden units, as in Eq. 15 . To achieve better computational efficiency, [41] proposes the parameterization as in Eq. 16 , with which the Jacobian determinnant reduces to Eq. 17 and can be computed in \(\mathcal{O}(M)\). Similar to the planar flows, when \(h^{\prime}(\cdot)\) is positive and bounded from above, \(\tilde{\mathbf{R}}_{ii} \mathbf{R}_{ii} > -\frac{1}{\sup _x h^{\prime}(x)}\) for all \(i \in\{1, \ldots, D\}\) is sufficient to ensure invertibility.

\[\label{eq:32Sylvester-appendix} f(\mathbf{z}) = \mathbf{z}+\mathbf{U} h\left(\mathbf{W}^{\top} \mathbf{z}+\mathbf{b}\right),\tag{15}\] where \(\{\mathbf{U} \in \mathbb{R}^{D \times M}, \mathbf{W} \in \mathbb{R}^{D \times M}, \mathbf{b} \in \mathbb{R}^M \}\) are the free parameters and \(h(\cdot)\) is an element-wise activation function.

\[\label{eq:32Sylvester-2-appendix} f(\mathbf{z}) = \mathbf{z}+\mathbf{Q} \mathbf{R} h\left(\tilde{\mathbf{R}} \mathbf{Q}^T \mathbf{z}+\mathbf{b}\right),\tag{16}\] \[\label{eq:32Sylvester-jacobian-det-appendix} {!}{\operatorname{det} J = \operatorname{det} \left( \mathbf{I}_M + \operatorname{diag} \left( h^{\prime} \left( \tilde{\mathbf{R}} \mathbf{Q}^T \mathbf{z}+\mathbf{b}\right)\right) \tilde{\mathbf{R}} \mathbf{R}\right)}\tag{17}\] where \(\mathbf{R}\) and \(\tilde{\mathbf{R}}\) are upper triangular \(M \times M\) matrices, and \(\mathbf{Q}=\left(\mathrm{q}_1 \ldots \mathrm{q}_M\right)\) consists of an orthonormal set of vectors.

Autoregressive Flows The masked autoregressive flow (MAF) [38] was motivated by MADE [72], which is an autoregressive model for density estimation. MAF generalizes the conditional distribution to be Gaussian and generates data in a recursive way as in Eq. 18 . Given a data point \(\mathbf{x}\), the inverse transformation can be performed in parallel as in Eq. 19 . The Jacobian of the inverse transformation is lower-triangular by design due to the autoregressive structure, hence its absolute determinant can be expressed as in Eq. 20 . The set of functions \(\left\{f_{\mu_i}, f_{\alpha_i}\right\}\) are autoregressive neural networks following the approaches in MADE.

\[\label{eq:32maf-appendix} x_i=u_i \exp \alpha_i+\mu_i,\tag{18}\] where \(\mu_i=f_{\mu_i}\left(\mathbf{x}_{1: i-1}\right), \alpha_i=f_{\alpha_i}\left(\mathbf{x}_{1: i-1}\right)\) and \(u_i \sim \mathcal{N}(0,1)\).

\[\label{eq:32maf-inverse-appendix} u_i=\left(x_i-\mu_i\right) \exp \left(-\alpha_i\right)\tag{19}\]

\[\label{eq:32maf-jacobian-appendix} \left|\operatorname{det}J^{-1}\right|=\exp \left(-\sum_i \alpha_i\right)\tag{20}\]

Likewise, the inverse autoregressive flow (IAF) [28] uses MADE with Gaussian conditionals and generates data as in Eq. 21 . Its Jacobian determinant has a simple form as in Eq. 22 . The main difference between IAF and MAF lies in the history variables. MAF uses previous data variables \(\mathbf{x}_{1: i-1}\) to compute \(\mu_i\) and \(\alpha_i\), whereas IAF uses previous random variables \(\mathbf{u}_{1: i-1}\) for the computation. In terms of sampling and density evaluation, IAF can sample in parallel and need to evaluate sequentially, whereas MAF has to sample sequentially and can evaluate in parallel. Since we care more about the sampling efficiency in variational inference, we choose IAF in the paper.

\[\label{eq:32IAF-appendix} x_i=u_i \exp \alpha_i+\mu_i,\tag{21}\] where \(\mu_i=f_{\mu_i}\left(\mathbf{u}_{1: i-1}\right)\) and \(\alpha_i=f_{\alpha_i}\left(\mathbf{u}_{1: i-1}\right)\).

\[\label{eq:32IAF-jacobian-appendix} \left|\operatorname{det}J\right|=\exp \left(\sum_i \alpha_i\right)\tag{22}\]

Affine Coupling The affine coupling layer, proposed in NICE [73] and later generalized in RealNVP [42] takes the following form.

\[\label{eq:32affine-coupling-appendix} \begin{cases}y_{1: d} & =x_{1: d} \\ y_{d+1: D} & =x_{d+1: D} \odot \exp \left(s\left(x_{1: d}\right)\right)+t\left(x_{1: d}\right)\end{cases}\tag{23}\] where \(s: R^d \mapsto R^{D-d}\) and \(t: R^d \mapsto R^{D-d}\) are scale and translation transformation function respectively, and \(\odot\) is the element-wise product.

Its Jacobian determinant can be efficiently computed as \(\operatorname{det} J = \exp \left[\sum_j s\left(x_{1: d}\right)_j\right]\). Since the computation does not involve the Jacobian of \(s\) or \(t\), we can make these two functions arbitrarily complex and use neural networks to model them. The coupling layers are usually composed of permutation layers to ensure every component gets modified, and since the Jacobian determinant of permutation is 1, the Jacobian determinant remains tractable.

Spline Coupling Neural spline flows [43], [44] use monotonic rational-quadratic splines or monotonic rational-linear splines as the coupling transformation to achieve more flexibility and yet remain differentiable and invertible. The monotonic rational-quadratic spline uses \(K+1\) monotonically increasing knots \(\left\{\left(x^{(k)}, y^{(k)}\right)\right\}_{k=0}^K\) to set up \(K\) bins, each of which is defined as a rational-quadratic function17 that is monotonically increasing. It maps \([-B, B]\) to \([-B, B]\) and defines the transformation outside the range to be identity transformation. Let \(s_k = \left(y^{k+1}-y^k\right) /\left(x^{k+1}-x^k\right)\) and \(\xi(x)=\left(x-x^k\right) /\left(x^{k+1}-x^k\right)\), the rational-quadratic function in the \(k\)th bin takes the form of Eq. 24 and the Jacobian determinant of the rational-quadratic neural spline flows (RQNSF) can be written as in Eq. 25 . \[\label{eq:32rational-quadratic-appendix} {!}{\frac{\alpha^{(k)}(\xi)}{\beta^{(k)}(\xi)} = y^{(k)}+\frac{\left(y^{(k+1)}-y^{(k)}\right)\left[s^{(k)} \xi^2+\delta^{(k)} \xi(1-\xi)\right]}{s^{(k)}+\left[\delta^{(k+1)}+\delta^{(k)}-2 s^{(k)}\right] \xi(1-\xi)}}\tag{24}\] \[\label{eq:32rqs-jacobian-appendix} \begin{align} & \operatorname{det} J = \prod_{k} \frac{\mathrm{d}}{\mathrm{d} x}\left[\frac{\alpha^{(k)}(\xi)}{\beta^{(k)}(\xi)}\right] \\ = & {!}{\prod_{k} \frac{\left(s^{(k)}\right)^2\left[\delta^{(k+1)} \xi^2+2 s^{(k)} \xi(1-\xi)+\delta^{(k)}(1-\xi)^2\right]}{\left[s^{(k)}+\left[\delta^{(k+1)}+\delta^{(k)}-2 s^{(k)}\right] \xi(1-\xi)\right]^2}} \end{align}\tag{25}\]

The rational-linear neural spline flows (RLNSF) work similarly, except with monotonically increasing linear rational functions in each bin. Neural splines combine the best of autoregressive flows and coupling layers (such as NICE and RealNVP) in that it has both an analytic single-pass inverse and sufficient flexibility, as demonstrated in [43].

16 Example Analysis↩︎

In this section, we analyze several instances from CNN/Daily Mail and XSum, showcasing diverse outcomes generated by different summarization models.18

References↩︎

[1]
Abigail See, Peter J. Liu, and Christopher D. Manning. 2017. https://doi.org/10.18653/v1/P17-1099. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 1073–1083, Vancouver, Canada. Association for Computational Linguistics.
[2]
Romain Paulus, Caiming Xiong, and Richard Socher. 2018. https://openreview.net/forum?id=HkAClQgA-. In 6th International Conference on Learning Representations, ICLR 2018, Vancouver, BC, Canada, April 30 - May 3, 2018, Conference Track Proceedings. OpenReview.net.
[3]
Li Wang, Junlin Yao, Yunzhe Tao, Li Zhong, Wei Liu, and Qiang Du. 2018. https://arxiv.org/abs/1805.03616. arXiv preprint arXiv:1805.03616.
[4]
Yang Liu and Mirella Lapata. 2019. https://doi.org/10.18653/v1/D19-1387. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 3730–3740, Hong Kong, China. Association for Computational Linguistics.
[5]
Jingqing Zhang, Yao Zhao, Mohammad Saleh, and Peter J. Liu. 2020. http://proceedings.mlr.press/v119/zhang20ae.html. In Proceedings of the 37th International Conference on Machine Learning, ICML 2020, 13-18 July 2020, Virtual Event, volume 119 of Proceedings of Machine Learning Research, pages 11328–11339. PMLR.
[6]
Sascha Rothe, Shashi Narayan, and Aliaksei Severyn. 2020. https://doi.org/10.1162/tacl_a_00313. Transactions of the Association for Computational Linguistics, 8:264–280.
[7]
Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J Liu. 2020. http://jmlr.org/papers/v21/20-074.html. The Journal of Machine Learning Research, 21(1):5485–5551.
[8]
Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser, and Illia Polosukhin. 2017. https://proceedings.neurips.cc/paper/2017/hash/3f5ee243547dee91fbd053c1c4a845aa-Abstract.html. In Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, December 4-9, 2017, Long Beach, CA, USA, pages 5998–6008.
[9]
Marc’Aurelio Ranzato, Sumit Chopra, Michael Auli, and Wojciech Zaremba. 2016. http://arxiv.org/abs/1511.06732. In 4th International Conference on Learning Representations, ICLR 2016, San Juan, Puerto Rico, May 2-4, 2016, Conference Track Proceedings.
[10]
Weizhen Qi, Yu Yan, Yeyun Gong, Dayiheng Liu, Nan Duan, Jiusheng Chen, Ruofei Zhang, and Ming Zhou. 2020. https://doi.org/10.18653/v1/2020.findings-emnlp.217. In Findings of the Association for Computational Linguistics: EMNLP 2020, pages 2401–2410, Online. Association for Computational Linguistics.
[11]
Ari Holtzman, Jan Buys, Li Du, Maxwell Forbes, and Yejin Choi. 2020. https://openreview.net/forum?id=rygGQyrFvH. In 8th International Conference on Learning Representations, ICLR 2020, Addis Ababa, Ethiopia, April 26-30, 2020. OpenReview.net.
[12]
Nils Reimers and Iryna Gurevych. 2019. https://doi.org/10.18653/v1/D19-1410. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 3982–3992, Hong Kong, China. Association for Computational Linguistics.
[13]
Zhengjue Wang, Zhibin Duan, Hao Zhang, Chaojie Wang, Long Tian, Bo Chen, and Mingyuan Zhou. 2020. https://doi.org/10.18653/v1/2020.emnlp-main.35. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 485–497, Online. Association for Computational Linguistics.
[14]
Biao Zhang, Deyi Xiong, Jinsong Su, Hong Duan, and Min Zhang. 2016. https://doi.org/10.18653/v1/D16-1050. In Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing, pages 521–530, Austin, Texas. Association for Computational Linguistics.
[15]
Jinsong Su, Shan Wu, Deyi Xiong, Yaojie Lu, Xianpei Han, and Biao Zhang. 2018. https://www.aaai.org/ocs/index.php/AAAI/AAAI18/paper/view/16791. In Proceedings of the Thirty-Second AAAI Conference on Artificial Intelligence, (AAAI-18), the 30th innovative Applications of Artificial Intelligence (IAAI-18), and the 8th AAAI Symposium on Educational Advances in Artificial Intelligence (EAAI-18), New Orleans, Louisiana, USA, February 2-7, 2018, pages 5488–5495. AAAI Press.
[16]
Wenlin Wang, Zhe Gan, Hongteng Xu, Ruiyi Zhang, Guoyin Wang, Dinghan Shen, Changyou Chen, and Lawrence Carin. 2019. https://doi.org/10.18653/v1/N19-1015. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pages 166–177, Minneapolis, Minnesota. Association for Computational Linguistics.
[17]
Xiyan Fu, Jun Wang, Jinghan Zhang, Jinmao Wei, and Zhenglu Yang. 2020. https://ojs.aaai.org/index.php/AAAI/article/view/6277. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 34, pages 7740–7747.
[18]
Wanyu Du, Jianqiao Zhao, Liwei Wang, and Yangfeng Ji. 2022. https://doi.org/10.48550/arXiv.2204.01227. arXiv preprint arXiv:2204.01227.
[19]
Chujie Zheng, Kunpeng Zhang, Harry Jiannan Wang, Ling Fan, and Zhe Wang. 2020. https://arxiv.org/abs/2010.10323. arXiv preprint arXiv:2010.10323.
[20]
Danilo Jimenez Rezende and Shakir Mohamed. 2015. http://proceedings.mlr.press/v37/rezende15.html. In Proceedings of the 32nd International Conference on Machine Learning, ICML 2015, Lille, France, 6-11 July 2015, volume 37 of JMLR Workshop and Conference Proceedings, pages 1530–1538. JMLR.org.
[21]
Diederik P. Kingma and Max Welling. 2014. http://arxiv.org/abs/1312.6114. In 2nd International Conference on Learning Representations, ICLR 2014, Banff, AB, Canada, April 14-16, 2014, Conference Track Proceedings.
[22]
Danilo Jimenez Rezende, Shakir Mohamed, and Daan Wierstra. 2014. https://proceedings.mlr.press/v32/rezende14.html. In Proceedings of the 31st International Conference on Machine Learning, volume 32 of Proceedings of Machine Learning Research, pages 1278–1286, Bejing, China. PMLR.
[23]
Iulian Vlad Serban, Alessandro Sordoni, Ryan Lowe, Laurent Charlin, Joelle Pineau, Aaron C. Courville, and Yoshua Bengio. 2017. https://doi.org/10.1609/aaai.v31i1.10983. In Proceedings of the Thirty-First AAAI Conference on Artificial Intelligence, February 4-9, 2017, San Francisco, California, USA, pages 3295–3301. AAAI Press.
[24]
Chunting Zhou and Graham Neubig. 2017. https://doi.org/10.18653/v1/K17-2005. In Proceedings of the CoNLL SIGMORPHON 2017 Shared Task: Universal Morphological Reinflection, pages 58–65, Vancouver. Association for Computational Linguistics.
[25]
Hendra Setiawan, Matthias Sperber, Udhyakumar Nallasamy, and Matthias Paulik. 2020. https://doi.org/10.18653/v1/2020.acl-main.694. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 7771–7777, Online. Association for Computational Linguistics.
[26]
Tien-Ching Luo and Jen-Tzung Chien. 2021. https://doi.org/10.1109/ICASSP39728.2021.9414586. In IEEE International Conference on Acoustics, Speech and Signal Processing, ICASSP 2021, Toronto, ON, Canada, June 6-11, 2021, pages 7778–7782. IEEE.
[27]
Samuel R. Bowman, Luke Vilnis, Oriol Vinyals, Andrew Dai, Rafal Jozefowicz, and Samy Bengio. 2016. https://doi.org/10.18653/v1/K16-1002. In Proceedings of the 20th SIGNLL Conference on Computational Natural Language Learning, pages 10–21, Berlin, Germany. Association for Computational Linguistics.
[28]
Durk P Kingma, Tim Salimans, Rafal Jozefowicz, Xi Chen, Ilya Sutskever, and Max Welling. 2016. https://proceedings.neurips.cc/paper_files/paper/2016/file/ddeebdeefdb7e7e7a697e1c3e3d8ef54-Paper.pdf. In Advances in Neural Information Processing Systems, volume 29. Curran Associates, Inc.
[29]
Xi Chen, Diederik P. Kingma, Tim Salimans, Yan Duan, Prafulla Dhariwal, John Schulman, Ilya Sutskever, and Pieter Abbeel. 2017. https://openreview.net/forum?id=BysvGP5ee. In 5th International Conference on Learning Representations, ICLR 2017, Toulon, France, April 24-26, 2017, Conference Track Proceedings. OpenReview.net.
[30]
Junxian He, Daniel Spokoyny, Graham Neubig, and Taylor Berg-Kirkpatrick. 2019. https://openreview.net/forum?id=rylDfnCqF7. In 7th International Conference on Learning Representations, ICLR 2019, New Orleans, LA, USA, May 6-9, 2019. OpenReview.net.
[31]
Zichao Yang, Zhiting Hu, Ruslan Salakhutdinov, and Taylor Berg-Kirkpatrick. 2017. http://proceedings.mlr.press/v70/yang17d.html. In Proceedings of the 34th International Conference on Machine Learning, ICML 2017, Sydney, NSW, Australia, 6-11 August 2017, volume 70 of Proceedings of Machine Learning Research, pages 3881–3890. PMLR.
[32]
Stanislau Semeniuta, Aliaksei Severyn, and Erhardt Barth. 2017. https://doi.org/10.18653/v1/D17-1066. In Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing, pages 627–637, Copenhagen, Denmark. Association for Computational Linguistics.
[33]
Dinghan Shen, Yizhe Zhang, Ricardo Henao, Qinliang Su, and Lawrence Carin. 2018. https://www.aaai.org/ocs/index.php/AAAI/AAAI18/paper/view/16921. In Proceedings of the Thirty-Second AAAI Conference on Artificial Intelligence, (AAAI-18), the 30th innovative Applications of Artificial Intelligence (IAAI-18), and the 8th AAAI Symposium on Educational Advances in Artificial Intelligence (EAAI-18), New Orleans, Louisiana, USA, February 2-7, 2018, pages 5438–5445. AAAI Press.
[34]
Shengjia Zhao, Jiaming Song, and Stefano Ermon. 2017. http://arxiv.org/abs/1706.02262. arXiv preprint arXiv:1706.02262.
[35]
Ilya O. Tolstikhin, Olivier Bousquet, Sylvain Gelly, and Bernhard Schölkopf. 2018. https://openreview.net/forum?id=HkL7n1-0b. In 6th International Conference on Learning Representations, ICLR 2018, Vancouver, BC, Canada, April 30 - May 3, 2018, Conference Track Proceedings. OpenReview.net.
[36]
Victor Prokhorov, Ehsan Shareghi, Yingzhen Li, Mohammad Taher Pilehvar, and Nigel Collier. 2019. https://doi.org/10.18653/v1/D19-5612. In Proceedings of the 3rd Workshop on Neural Generation and Translation, pages 118–127, Hong Kong. Association for Computational Linguistics.
[37]
Yoon Kim, Sam Wiseman, Andrew C. Miller, David A. Sontag, and Alexander M. Rush. 2018. http://proceedings.mlr.press/v80/kim18e.html. In Proceedings of the 35th International Conference on Machine Learning, ICML 2018, Stockholmsmässan, Stockholm, Sweden, July 10-15, 2018, volume 80 of Proceedings of Machine Learning Research, pages 2683–2692. PMLR.
[38]
George Papamakarios, Iain Murray, and Theo Pavlakou. 2017. https://proceedings.neurips.cc/paper/2017/hash/6c1da886822c67822bcf3679d04369fa-Abstract.html. In Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, December 4-9, 2017, Long Beach, CA, USA, pages 2338–2347.
[39]
Dustin Tran, Keyon Vafa, Kumar Krishna Agrawal, Laurent Dinh, and Ben Poole. 2019. https://proceedings.neurips.cc/paper/2019/hash/e046ede63264b10130007afca077877f-Abstract.html. In Advances in Neural Information Processing Systems 32: Annual Conference on Neural Information Processing Systems 2019, NeurIPS 2019, December 8-14, 2019, Vancouver, BC, Canada, pages 14692–14701.
[40]
Vladimir I Bogachev. 2007. Measure Theory. Springer.
[41]
Rianne van den Berg, Leonard Hasenclever, Jakub M. Tomczak, and Max Welling. 2018. http://auai.org/uai2018/proceedings/papers/156.pdf. In Proceedings of the Thirty-Fourth Conference on Uncertainty in Artificial Intelligence, UAI 2018, Monterey, California, USA, August 6-10, 2018, pages 393–402. AUAI Press.
[42]
Laurent Dinh, Jascha Sohl-Dickstein, and Samy Bengio. 2017. https://openreview.net/forum?id=HkpbnH9lx. In 5th International Conference on Learning Representations, ICLR 2017, Toulon, France, April 24-26, 2017, Conference Track Proceedings. OpenReview.net.
[43]
Conor Durkan, Artur Bekasov, Iain Murray, and George Papamakarios. 2019. https://proceedings.neurips.cc/paper/2019/hash/7ac71d433f282034e088473244df8c02-Abstract.html. In Advances in Neural Information Processing Systems 32: Annual Conference on Neural Information Processing Systems 2019, NeurIPS 2019, December 8-14, 2019, Vancouver, BC, Canada, pages 7509–7520.
[44]
Hadi Mohaghegh Dolatabadi, Sarah M. Erfani, and Christopher Leckie. 2020. http://proceedings.mlr.press/v108/dolatabadi20a.html. In The 23rd International Conference on Artificial Intelligence and Statistics, AISTATS 2020, 26-28 August 2020, Online [Palermo, Sicily, Italy], volume 108 of Proceedings of Machine Learning Research, pages 4236–4246. PMLR.
[45]
Xiaoyu Shen, Hui Su, Shuzi Niu, and Vera Demberg. 2018. https://www.aaai.org/ocs/index.php/AAAI/AAAI18/paper/view/16402. In Proceedings of the Thirty-Second AAAI Conference on Artificial Intelligence, (AAAI-18), the 30th innovative Applications of Artificial Intelligence (IAAI-18), and the 8th AAAI Symposium on Educational Advances in Artificial Intelligence (EAAI-18), New Orleans, Louisiana, USA, February 2-7, 2018, pages 5456–5463. AAAI Press.
[46]
Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. https://doi.org/10.18653/v1/N19-1423. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pages 4171–4186, Minneapolis, Minnesota. Association for Computational Linguistics.
[47]
Alec Radford, Jeff Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. 2019. https://d4mucfpksywv.cloudfront.net/better-language-models/language-models.pdf. OpenAI Blog, 1(8):9.
[48]
Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. 2019. http://arxiv.org/abs/1907.11692. arXiv preprint arXiv:1907.11692.
[49]
Mike Lewis, Yinhan Liu, Naman Goyal, Marjan Ghazvininejad, Abdelrahman Mohamed, Omer Levy, Veselin Stoyanov, and Luke Zettlemoyer. 2020. https://doi.org/10.18653/v1/2020.acl-main.703. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 7871–7880, Online. Association for Computational Linguistics.
[50]
Kaitao Song, Xu Tan, Tao Qin, Jianfeng Lu, and Tie-Yan Liu. 2019. http://proceedings.mlr.press/v97/song19d.html. In Proceedings of the 36th International Conference on Machine Learning, ICML 2019, 9-15 June 2019, Long Beach, California, USA, volume 97 of Proceedings of Machine Learning Research, pages 5926–5936. PMLR.
[51]
Li Dong, Nan Yang, Wenhui Wang, Furu Wei, Xiaodong Liu, Yu Wang, Jianfeng Gao, Ming Zhou, and Hsiao-Wuen Hon. 2019. https://proceedings.neurips.cc/paper/2019/hash/c20bb2d9a50d5ac1f713f8b34d9aac5a-Abstract.html. In Advances in Neural Information Processing Systems 32: Annual Conference on Neural Information Processing Systems 2019, NeurIPS 2019, December 8-14, 2019, Vancouver, BC, Canada, pages 13042–13054.
[52]
Raphael Schumann. 2018. http://arxiv.org/abs/1809.05233. CoRR, abs/1809.05233.
[53]
Eric Chu and Peter J. Liu. 2019. http://proceedings.mlr.press/v97/chu19b.html. In Proceedings of the 36th International Conference on Machine Learning, ICML 2019, 9-15 June 2019, Long Beach, California, USA, volume 97 of Proceedings of Machine Learning Research, pages 1223–1232. PMLR.
[54]
Arthur Brazinskas, Mirella Lapata, and Ivan Titov. 2020. https://doi.org/10.18653/v1/2020.acl-main.461. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, ACL 2020, Online, July 5-10, 2020, pages 5151–5169. Association for Computational Linguistics.
[55]
Thong Nguyen, Anh Tuan Luu, Truc Lu, and Tho Quan. 2021. https://doi.org/10.18653/v1/2021.emnlp-main.744. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 9443–9456, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics.
[56]
Yicheng Zou, Lujun Zhao, Yangyang Kang, Jun Lin, Minlong Peng, Zhuoren Jiang, Changlong Sun, Qi Zhang, Xuanjing Huang, and Xiaozhong Liu. 2021. https://ojs.aaai.org/index.php/AAAI/article/view/17723. In Thirty-Fifth AAAI Conference on Artificial Intelligence, AAAI 2021, Thirty-Third Conference on Innovative Applications of Artificial Intelligence, IAAI 2021, The Eleventh Symposium on Educational Advances in Artificial Intelligence, EAAI 2021, Virtual Event, February 2-9, 2021, pages 14665–14673. AAAI Press.
[57]
Albert Gu, Çaglar Gülçehre, Thomas Paine, Matt Hoffman, and Razvan Pascanu. 2020. http://proceedings.mlr.press/v119/gu20a.html. In Proceedings of the 37th International Conference on Machine Learning, ICML 2020, 13-18 July 2020, Virtual Event, volume 119 of Proceedings of Machine Learning Research, pages 3800–3809. PMLR.
[58]
Geoffrey Hinton, Oriol Vinyals, and Jeff Dean. 2015. http://arxiv.org/abs/1503.02531. arXiv preprint arXiv:1503.02531.
[59]
Sam Shleifer and Alexander M Rush. 2020. https://arxiv.org/abs/2010.13002. arXiv preprint arXiv:2010.13002.
[60]
Karl Moritz Hermann, Tomás Kociský, Edward Grefenstette, Lasse Espeholt, Will Kay, Mustafa Suleyman, and Phil Blunsom. 2015. https://proceedings.neurips.cc/paper/2015/hash/afdec7005cc9f14302cd0474fd0f3c96-Abstract.html. In Advances in Neural Information Processing Systems 28: Annual Conference on Neural Information Processing Systems 2015, December 7-12, 2015, Montreal, Quebec, Canada, pages 1693–1701.
[61]
Shashi Narayan, Shay B. Cohen, and Mirella Lapata. 2018. https://doi.org/10.18653/v1/D18-1206. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pages 1797–1807, Brussels, Belgium. Association for Computational Linguistics.
[62]
Alexander Fabbri, Irene Li, Tianwei She, Suyi Li, and Dragomir Radev. 2019. https://doi.org/10.18653/v1/P19-1102. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 1074–1084, Florence, Italy. Association for Computational Linguistics.
[63]
Arman Cohan, Franck Dernoncourt, Doo Soon Kim, Trung Bui, Seokhwan Kim, Walter Chang, and Nazli Goharian. 2018. https://doi.org/10.18653/v1/N18-2097. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 2 (Short Papers), pages 615–621, New Orleans, Louisiana. Association for Computational Linguistics.
[64]
Bogdan Gliwa, Iwona Mochol, Maciej Biesek, and Aleksander Wawer. 2019. https://doi.org/10.18653/v1/D19-5409. In Proceedings of the 2nd Workshop on New Frontiers in Summarization, pages 70–79, Hong Kong, China. Association for Computational Linguistics.
[65]
Chin-Yew Lin. 2004. https://aclanthology.org/W04-1013. In Text Summarization Branches Out, pages 74–81, Barcelona, Spain. Association for Computational Linguistics.
[66]
Tianyi Zhang, Varsha Kishore, Felix Wu, Kilian Q. Weinberger, and Yoav Artzi. 2020. https://openreview.net/forum?id=SkeHuCVFDr. In 8th International Conference on Learning Representations, ICLR 2020, Addis Ababa, Ethiopia, April 26-30, 2020. OpenReview.net.
[67]
Zihao Fu, Wai Lam, Anthony Man-Cho So, and Bei Shi. 2021. https://arxiv.org/abs/2012.14660. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 35, pages 12848–12856.
[68]
Robin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser, and Björn Ommer. 2022. https://doi.org/10.1109/CVPR52688.2022.01042. In IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2022, New Orleans, LA, USA, June 18-24, 2022, pages 10674–10685. IEEE.
[69]
Bryan Eikema and Wilker Aziz. 2019. https://doi.org/10.18653/v1/w19-4315. In Proceedings of the 4th Workshop on Representation Learning for NLP, RepL4NLP@ACL 2019, Florence, Italy, August 2, 2019, pages 124–141. Association for Computational Linguistics.
[70]
Diederik P. Kingma and Jimmy Ba. 2015. http://arxiv.org/abs/1412.6980. In 3rd International Conference on Learning Representations, ICLR 2015, San Diego, CA, USA, May 7-9, 2015, Conference Track Proceedings.
[71]
Esteban G Tabak and Cristina V Turner. 2013. https://doi.org/10.1002/cpa.21423. Communications on Pure and Applied Mathematics, 66(2):145–164.
[72]
Mathieu Germain, Karol Gregor, Iain Murray, and Hugo Larochelle. 2015. http://proceedings.mlr.press/v37/germain15.html. In Proceedings of the 32nd International Conference on Machine Learning, ICML 2015, Lille, France, 6-11 July 2015, volume 37 of JMLR Workshop and Conference Proceedings, pages 881–889. JMLR.org.
[73]
Laurent Dinh, David Krueger, and Yoshua Bengio. 2015. http://arxiv.org/abs/1410.8516. In 3rd International Conference on Learning Representations, ICLR 2015, San Diego, CA, USA, May 7-9, 2015, Workshop Track Proceedings.

  1. Code is available at https://github.com/yuyangstat/flowsum.↩︎

  2. Let \(V\) be the vocabulary size, \(\{E_v\}_{v=1}^{V}\) be the input embeddings, and \(\{b_v\}_{v=1}^V\) be the Bag-of-Words (BoW) of the input source text, then \(\overline{x} = (\sum_{v=1}^V b_v E_v) / (\sum_{v=1}^V b_v ) \in \mathbb{R}^e\). In addition, when we don’t truncate the input text, \(b^T \mathbb{1} = m\) holds. However, if we truncate the input due to encoder constraints, then \(b^T \mathbb{1} > m\), and the BoW vector will contain information that would otherwise have been lost.↩︎

  3. See detailed discussion in Appendix 8.↩︎

  4. The log-determinant of the Jacobian at each layer is recorded along the forward call for loss computation.↩︎

  5. See derivation in Appendix 7 Eq. 9 .↩︎

  6. In our preliminary experiments, we find that if we alternate between variational and encoder-decoder parameters, the training becomes unstable and generates NaN values. Therefore, we alternate between variational and all parameters.↩︎

  7. We access them through Hugging Face Datasets, which provides reproducible code for processing texts and generating train/validation/test splits.↩︎

  8. We obtain both metrics using Hugging Face Evaluate and report the \(F_1\) scores.↩︎

  9. rep-w is calculated as the proportion of the current token that appears in the previous \(w\) tokens. Refer to Appendix 9 for the detailed definition.↩︎

  10. The 0, 2, 4, 7, 9, and 11th layer.↩︎

  11. The 0, 6, and 11th layer.↩︎

  12. This can be explained by the teacher model’s worse performance in these two metrics.↩︎

  13. We choose Multi-News due to its smaller size, enabling us to conduct experiments with reduced computational cost.↩︎

  14. We update the data loading script following https://github.com/facebookresearch/fairseq/issues/1401.↩︎

  15. In our code, we perform a transformation on \(\mathbf{u}: \mathbf{u} \leftarrow \mathbf{u} + \left[\log \left(1+\exp \left(\mathbf{w}^{\top} \mathbf{u}\right)\right)-1-\mathbf{w}^{\top} \mathbf{u}\right] \cdot \frac{\mathbf{w}}{\mathbf{w}^{\top} \mathbf{w}}\) and restrict the activation \(h(\cdot)\) to be one of leakyrelu, relu, and tanh to meet this condition.↩︎

  16. In our code, we perform a transformation on \(\beta: \beta \leftarrow-\alpha+\log \left(1+e^\beta\right)\) to guarantee invertibility.↩︎

  17. A rational-quadratic function is defined as the quotient of two quadratic polynomial functions.↩︎

  18. It is worth mentioning that a few of the grammatical errors in the summaries can be attributed to the source text itself.↩︎