Previous work indicates that discourse information benefits summarization. In this paper, we explore whether this synergy between discourse and summarization is bidirectional, by inferring document-level discourse trees from pre-trained neural summarizers. In particular, we generate unlabeled RST-style discourse trees from the self-attention matrices of the transformer model. Experiments across models and datasets reveal that the summarizer learns both, dependencyand constituency-style discourse information, which is typically encoded in a single head, covering longand short-distance discourse dependencies. Overall, the experimental results suggest that the learned discourse information is general and transferable inter-domain 1 . Extractive summarization is a common and important task within the area of Natural Language Processing (NLP) , which can be useful in a multitude of diverse real-life scenarios. Current extractive summarizers typically use exclusively neural approaches, in which the importance of extracted units (i.e., sentences or clauses) and relationship between them are learned by the model from a large amount of data (e.g., Liu and Lapata (2019b)). Inspired by previous work in pre-neural times, indicating that discourse information, especially discourse trees according to the Rhetorical Structure Theory (RST) (Mann and Thompson, 1988), can benefit the summarization task (Marcu, 1999), several very recent neural summarizers have tried to explicitly encode discourse information to support summarization. Overall, it seems that adding these encodings, consistent with pre-neural results, is beneficial. In particular, injecting discourse has been shown to either improve performance 1 The code can be found in https://github.com/ Wendy-Xiao/summ_guided_disco_parser on the extractive summarization task itself (Xu et al., 2020), or allow for a substantial reduction in the number of the summarizer's parameters, while keeping competitive performance (Xiao et al., 2020). The central hypothesis we are exploring in this paper is whether the synergy between discourse parsing and summarization is bidirectional. In other words, we examine if summarization is a useful auxiliary task to infer discourse structures. Liu et al. (2019b) performed a preliminary investigation of this conjecture, showing that structural information can be inferred from attention mechanisms while training a neural model on auxiliary tasks. However, they did not perform any comparison against ground-truth discourse trees. Further, recent work showed that discourse trees implicitly induced during training are oftentimes trivial and shallow, not representing valid discourse structures (Ferracane et al., 2019). In this paper, we address these limitations by explicitly exploring the relationship between summarization and discourse parsing through the inference of document-level discourse trees from pretrained summarization models, comparing the results against ground-truth RST discourse trees. Besides Liu et al. (2019b), our idea and approach are inspired by recent works on extracting syntactic trees from pre-trained language models (Wu et al., 2020) or machine translation approaches (Raganato and Tiedemann, 2018), as well as previous work on knowledge graph construction from pre-trained language models (Wang et al., 2020). Specifically, we generate full RST-style discourse trees from self-attention matrices of a pre-trained transformer-based summarization model. We use three different tree-aggregation approaches (CKY (Jurafsky and Martin, 2014), Eisner (Eisner, 1996) and CLE (Chu and Liu, 1965; Edmonds, 1967)), generating a set of constituency and dependency trees representing diverse discourse-related attributes. Our proposal is thereby addressing one of the key limitations in discourse parsing, namely the lack of large training corpora. We aim to overcome this limitation by generating a large number of reasonable quality discourse trees from a pre-trained summarization model, similar in spirit to what Huber and Carenini (2020) did with sentiment. Admittedly, the discourse information captured with our approach is summarization task-specific, however, our generated discourse treebank can be combined with further task-dependent treebanks (e.g. from sentiment) to train more powerful discourse parsers in a multitask framework. Generally speaking, the ability to infer discourse trees as a by-product" of the summarization task can also be seen as a form of unsupervised discourse parsing, where instead of leveraging pretrained language models like in Kobayashi et al. (2019), we exploit a pre-trained neural summarizer. We empirically evaluate our method on three datasets with human RST-style annotations, covering different text genres. Multiple experiments show that the summarization model learns discourse information implicitly, and that more dependency information are captured, compared to structural (i.e., constituency) signals. Interestingly, an additional exploration of the attention matrices of individual heads suggests that, for all models, most of the discourse information is concentrated in a single head, and the best performing head is consistent across all datasets. We further find that the dependency information learned in the attention matrix covers long distance discourse dependencies. Overall, the results are consistent across datasets and models, indicating that the discourse information learned by the summarizer is general and transferable inter-domain. 2 Related Work Rhetorical Structure Theory (RST) (Mann and Thompson, 1988) is one of the most popular theories of discourse, postulating that a document can be represented as a constituency tree, where leaves are clause-like Elementary Discourse Units (EDUs), and internal nodes combine their respective children by aggregating them into a single, joint constituent. Each internal node also has a nuclearity attribute 2 , representing the local importance of their direct child-nodes in the par-ent context from the set of {Nucleus-Nucleus, 2 In this paper we do not consider rhetorical relations. Nucleus-Satellite, Satellite-Nucleus}. Nucleus" child-nodes thereby generally play a more important role when compared to a Satellite" child-node. Although standard RST discourse trees are encoded as constituency trees, they can be converted into dependency trees with near isomorphic transformations. In this work, we infer both, constituency and dependency trees. Over the past decades, RST discourse parsing has been mainly focusing on supervised models, typically trained and tested within the same domain using human annotated discourse treebanks, such as RST-DT (Carlson et al., 2002), Instruction-DT (Subba and Di Eugenio, 2009) or GUM (Zeldes, 2017). The intra-domain performance of these supervised models has consistently improved, with a mix of traditional models by Joty et al. (2015) and Wang et al. (2017), and neural models (Yu et al., 2018) reaching state-of-the-art (SOTA) results. Yet, these approaches do not generalize well inter-domain (Huber and Carenini, 2020), likely due to the limited amount of available training data. Huber and Carenini (2019) recently tackled this data-sparsity issue through automatically generated discourse structures from distant supervision, showing that sentiment information can be used to infer discourse trees. Improving on their initial results, Huber and Carenini (2020) published a large-scale, distantly supervised discourse corpus (MEGA-DT), showing that a parser trained on such treebank delivers SOTA performance on the more general inter-domain discourse parsing task. In this paper, we also tackle the data sparsity problem in discourse parsing, however, using a significantly different approach. First, instead of relying on sentiment, we leverage the task of extractive summarization. Second, instead of a method for distant supervision, we propose an unsupervised approach. The area of unsupervised RST-style discourse parsing has been mostly underlooked in the past, with recent neural approaches either taking advantage of pre-trained language models to predict discourse (Kobayashi et al., 2019) or using pre-trained syntactic parsers and linguistic knowledge (Nishida and Nakayama, 2020) to infer discourse trees in an unsupervsied manner. Similarly. our proposal only relies on a pre-trained neural summarization model to generate discourse trees. Recent neural summarization models are typically based on transformers (Liu and Lapata, 2019a; Zhang et al., 2019). One advantage of these models is that they learn the relationship between input units explicitly using the dot-product self-attention, which allows for some degree of exploration of the inner working of these complex and distributed models. Here, we investigate if the attention matrices of a transformer-based summarizer effectively capture discourse information (i.e., how strongly EDUs are related) and therefore can be used to derive discourse trees for arbitrary documents. Marcu (1999) pioneered the idea to directly apply RST-style discourse parsing to extractive summarization , and empirically showed that RST discourse information can benefit the summarization task, by simply extracting EDUs along the nucleus path. This initial success was followed by further work on leveraging discourse parsing in summarization, including McDonald (2007), Hirao et al. (2013), and Kikuchi et al. (2014). More recently, the benefits of discourse for summarization have also been confirmed for neural summarizers, e.g. in Xiao and Carenini (2019) and Cohan et al. (2018), using the structure of scientific papers (i.e. sections), and in Xu et al. (2020), successfully incorporating RST-style discourse and co-reference information in the BERTSUM summarizer (Liu and Lapata, 2019b). In contrast to previous approaches demonstrating how discourse can enhance summarization performance, we have recently shown that discourse enables the specification of simpler neural summarizers, without affecting their performance (Xiao et al., 2020). In particular, by using a fixed discourse-based attention they achieve competitive results compared to learnable dot-product self-attention mechanisms, as used in the original transformer model. Inspired by these findings, suggesting that transformer-based summarization models learn effective discourse representations, we explore if useful discourse structures can be inferred from learnt transformer self-attention weights. Admittedly, Liu and Lapata (2018) and Liu et al. (2019b) presented preliminary work on inferring discourse structures from attention mechanisms, while training a neural model on auxiliary tasks, like text classification and summarization. However, they did not perform any comparison against ground-truth discourse trees as we do here. More importantly, we employ a more explicit approach to infer discourse structures, not as part of the learning process, but extracting the structures after the summarization model is completely trained and applied to new documents. While our focus is on discourse, extracting syntactic constituency and dependency trees from transformer-based models has been recently attempted in both, machine translation and language modelling. In machine translation, Marecek and Rosa (2019) and Raganato and Tiedemann (2018) show that trained translation models can capture syntactic information within their attention heads, using the CKY and CLE algorithms, respectively. In pre-trained language models, Wu et al. (2020) propose a parameter-free probing method to construct syntactic dependency trees based on a pretrained BERT model, only briefly elaborating on possible applications to discourse. In contrast to our work, they do not directly use attention heads, but instead build an impact matrix based on the distance between token representations. Furthermore, while their BERT-based model cannot deal with long sequences, our two-level encoder can effectively deal with sequences of any length, which is critical in discourse. 3 Our Model 3.1 Framework Overview Our main goal is to show the ability of a previously trained summarization model to be directly applied to the task of RST-style discourse parsing. Along this line, we explore the relationship between information learned by the transformer-based sumarizer and the task of discourse parsing. We leverage the synergies between units learned in the transformer model by following Xiao et al. (2020), previously proposing the use of a transformer document-encoder on top of a pretrained BERT EDU encoder. This standard summarization model is presented in Figure 1 (left). In the transformer-based document encoder, each head internally contains a self-attention matrix, learned during the training of the summarization model, representing the relationship between EDUs (Figure 1 (center)). In this paper, we analyze these learned self-attention matrices, not only to confirm our intuition that they contain relevant discourse information, but also to computationally exploit such information for discourse parsing. We therefore generate a set of different (constituency/dependency) discourse trees from the self-attention matrices, focusing on different attributes of discourse, as shown in Figure 1 (right). Our generated constituency trees only reveal the discourse tree structure without additional nucle-Figure 1: The pipeline of our whole method. arity and relation attributes. More interestingly, we complement the constituency interpretation of the self-attention by additionally inferring a dependency tree, also partially guided by discourse structures, but mostly driven by the RST nuclearity attribute, which is shown to be more related to the summarization task where the importance of the different text spans is critical (Hirao et al., 2013). We present and discuss the different parsing algorithms to extract discourse information from the self-attention matrix next. 3.2 Parsing Algorithms Formally, for an input document D = { u 1 , .., u n } with n EDUs, each attention head returns an attention matrix A  R n  n where entry A ij contains a score measuring how much the i -th EDU relies on the j -th EDU. Given those bidirectional scores defining the relationship between every two EDUs in a document, we build a tree such that EDU pairs with higher reciprocal attention scores are more closely associated in the resulting tree. In the constituency case, this means that EDUs with higher mutual attention should belong to sub-trees on lower levels of the tree, while in the dependency case this implies that the path between such EDUs should contain less intermediate nodes. In essence, these requirements can be formalized as searching for the tree within the set of possible trees, which maximizes a combined score. 3.2.1 Constituency Tree (C-Tree) Parsing To generate a constituency tree from the attention matrix, we follow a large body of previous work in discourse parsing (e.g., Joty et al. (2015)), where constituency discourse trees are generated using the CKY algorithm (Jurafsky and Martin, 2014). Specifically, we fill a n  n matrix P  R n  n generating the optimal tree in bottom-up fashion using the dynamic programming approach according to: P ij =     0 , i > j (cid:80) nk =1 ( A ki ) , i = j max j  1 k = i ( P ik + P ( k +1) j + avg( A i : k, ( k +1): j ) + avg( A ( k +1): j,i : k )) / 2 , i < j where P ij with i = j contains the overall importance of EDU i , computed as the attention paid by others to unit i . P ij with i < j represents the score of the optimal sub-tree spanning from EDU i to EDU j . We select the best combination of sub-trees k , such that the sum of the left subtree spanning [ i : k ] and the right one spanning [( k + 1) : j ] , along with the average score of connections between the two sub-trees is maximized. Figure 2: Example of CKY constituency parsing. For example, to pick the structure of the sub-tree spanning EDUs [3 : 5] (see Fig. 2), we need to decide between the potential sub-tree aggregation of ((34)5) and (3(45)) . The respective scores are computed based on the scores in green and blue blocks in both the CKY and the Attention Matrices. Following this algorithm, two sub-trees with a high attention score between them tend to be combined on lower levels of the tree, indicating they are more related in the discourse tree. Besides the standard CKY algorithm described Figure 3: Chu-Liu-Edmonds Algorithm with sentence constraints above, we also explore a hierarchical CKY approach with sentence and paragraph constraints. Specifically, we do not aggregate P ij if the span [ i : j ] crosses a sentences boundary where either sentence is incomplete. In the previous example, if EDU 3 and EDU 4 were in the same sentence, even if the score of the blue aggregation candidate was higher, we would choose the green sub-tree aggregation. Plausibly, this hierarchical approach will perform better, since the ground-truth treebanks mostly contain sentences and paragraphs that are covered by a complete discourse sub-trees. 3.2.2 Dependency Tree (D-Tree) Parsing For the dependency tree generation, we use the Eisner (Eisner, 1996) and Chu-Liu-Edmonds algorithm (Chu and Liu, 1965; Edmonds, 1967) to generate projective and non-projective dependency trees, respectively 3 . First, we convert the attention matrix A into a fully connected graph G = ( N, E ) , where N contains all the EDUs, and e ij , indicating how much the i -th EDU influences the j -th EDU, corresponds to A ji , which is the attention that the j th EDU pays to the i -th EDU. Based on this graph, we apply the following algorithms: Eisner Algorithm: We apply this dynamic programming algorithm to generate projective dependency trees. Thereby, we build a matrix P  R n  n  2  2 , in which the first and second dimen-3 Mixed" approaches, dealing with mildly non-projective trees (Kuhlmann and Nivre, 2006), are left for future work. sions contain the start and end indexes of sub-trees, similar to the CKY algorithm; while the third and fourth dimensions indicate whether the head is the start or the end unit, and whether the sub-tree is completed. As done for constituency parsing, we also use a hierarchical version of Eisner's algorithm, in which we restrict inter-sentence connections for incomplete sentence trees. Since the Eisner algorithm can only generate projective dependency trees, it will be inaccurate for documents with a non-projective discourse structure. Chu-Liu-Edmonds (CLE) Algorithm: Originally proposed as a recursive approach to find the maximum spanning tree of a graph given its root, CLE can generate non-projective trees. In the unconstrained case, we simply follow the standard CLE algorithm, selecting the EDU with the highest importance score, computed similar to Sec. 3.2.1, i.e. root = argmax i (cid:80) nk =1 ( A ki ) , as the root. From there, the algorithm selects the optimal edges", i.e. the maximum in-edges for each node except the root, breaking the cycles recursively. Again, as we did for CKY and Eisner, we also apply the additional sentence constraint. Unlike for the dynamic programming approaches, which build the trees in a bottom-up fashion and can directly be constrained to avoid cross-sentence aggregations of incomplete sentences, we need to substantially modify CLE to allow for sentence constraints. (b)), in which e sSD = avg s  S,d  D e sd , and record the maximum edge corresponding to the edge between sentences, i.e. argmax s  S,d  D e sd . After that, we use the CLE algorithm within the sentence containing the root EDU as the root sentence to find the maximum spanning tree in G s (Figure 3 (c)). We then add the corresponding EDU edges to the final tree (Figure 3 (d)). For example, the edge ( s 0 , s 1 ) in G s corresponds to the EDU edge ( e 0 , e 2 ) in G . Next, we treat nodes with incoming edges from other sentences as the root of the sentence itself and run the CLE algorithm within each sentence (Figure 3 (e)). The final tree (Figure 3 (f)) is eventually formed as the combination of inter-sentence edges derived in sentence graph G s and intra-sentence edges found within each sentence. In order to show the generality of the discourse structures learned in the summarization model, we train our summarizer across a variety of datasets and hyper-parameter settings. More specifically, we train on two separate, widely-used news corpora  CNN Daily Mail (CNNDM) (Nallapati et al., 2016) and NYT (Sandhaus, 2008) , as well as under three hyper-parameter settings with different numbers of layers and attention heads: (a) A simple model with 2 layers and a single head. (b) 6 layers with 8 heads each, proposed in the original transformer model(Vaswani et al., 2017). (c) 2 layers with 8 heads each, constituting a middle ground between the previous two settings. By considering two corpora (CNNDM and NYT) and the three settings, we train six models, which we call: CNNDM-2-1, CNNDM-6-8, CNNDM-2-8, NYT-2-1, NYT-6-8, NYT-2-8 4 . assessed on three discourse datasets (see Table 1). RST-DT is the largest and most frequently used RST-style discourse treebank (Carlson et al., 2002), containing news articles from the Wall Street Journal. Since this is the genre of both our summarization training corpora, the experiments testing on this dataset are intra-domain. Instruction-DT contains documents in the home-repair instructions domain (Subba and Di Eugenio, 2009). We categorize the experiments on 4 Complete evaluation results for all six models are presented in Appendix A. this dataset as cross-domain. GUM contains documents from eight domains including news, interviews, academic papers and more (Zeldes, 2017). Since the GUM corpus is multi-domain, the performance on this dataset will reveal the generalizability of generated trees in a broader sense. All three discourse datasets contain ground-truth RST-style consituency trees. While all corpora contain potential non-binary sub-trees, Instruction-DT also includes multi-root documents. To account for these cases, we apply the right-branching bi-narization following Huber and Carenini (2019). Furthermore, we convert constituency trees with nuclearity into ground truth dependency trees using the algorithm proposed in Li et al. (2014) . To evaluate how well the generated trees align with ground-truth trees, we use RST Parseval Scores for constituency trees and Unlabeled Attachment Score for dependency trees, measuring the ratio of matched spans and the ratio of matched dependency relations, respectively. For each model configuration, we run a set of experiments using the average attention matrix across all heads in a layer, i.e. A avg = (cid:80) h A h /H , with H as the number of heads. This initial setup is intended to provide insights into the discourse information learned in each layer. The results of the three tree-generation algorithms are shown in Table 2, 3 and 4 along with the performance of a random baseline obtained by running the algorithms on 10 random matrices. Here, we present the results of three selected models, limited to the performance of the first two layers for the 6-layer models, to allow for a direct comparison to the 2-layer models 5 . Across evaluations, the layer-wise performance within the same models are rather distinct, indicating that different properties are learned in the layers. This finding is in line with previous work (Liu et al., 2019a), especially 5 Results for all six models can be found in Appendix B. Model No Cons. given that the performance of each layer is consistent across constituency and dependency parsing outputs for all datasets. Furthermore, the more layers the summarization model contains, the smaller the performance gap between layers becomes. We believe that this could be caused by the discourse information being further spread across different layers. Generally, we observe that models trained on the CNNDM dataset perform better than models trained on the NYT corpus, despite the larger size of the NYT dataset. Plausibly, the superior performance of our models trained on CNNDM potentially reflects a higher diversity within documents in the CNNDM dataset. Comparing the constituency tree performance in Table 2 against the dependency tree results in Tables 3 and 4, we can clearly see that the improvement of the constituency parsing approach over the random baseline is much smaller than the improvements for the generated dependency parse-trees. Presumably, this larger improvement for the dependency trees is due to the fact that dependency relationships (strongly encoding the nuclearity attribute) are more directly related to the summarization task than the plain structure information. This is in line with previous work on applying dependency trees to the summarization task (Hirao et al., 2013; Xu et al., 2020) and indicates that the learned attention matrices contain valid discourse information. As for the two approaches to dependency parsing, although Eisner generally outperforms CLE, the improvement over random trees is larger for CLE. We believe that this effect is due to the reduced constraints imposed on the CLE algorithm, which is not limited to generate projective trees. Considering all three methods, the results of the CLE-generated dependency tree seem most promising. A possible explanation is that both CKY and Eisner build the discourse tree in a bottom-up fashion with dynamic programming. This way, only local information is used on lower levels of the tree. On the other hand, the CLE algorithm uses global information, potentially more aligned with the summarization task, where all EDUs are considered to predict importance scores. While all previous results rely on the average attention matrices, we now analyze whether discourse information is evenly distributed across attention heads, or if a subset of the heads contains the majority of discourse related information. We describe this analysis only for CLE for two reasons: (a) the summarization model seemingly captures more dependency-related discourse information than structure information; (b) compared with Eisner, the CLE approach is more flexible, by also covering non-projective dependency trees. Since the results across all summarization models are consistent, we only show the accuracy heatmap for the CNNDM-6-8 model on the three RST-style discourse datasets in Figure 4. Remarkably, for all three datasets, there is one head in the model capturing the vast majority of discourse information, especially in the unconstrained case. Furthermore, the performance of the best single attention head is much better than the one of the average attention matrix shown in section 4.4 (e.g. 34 . 53 compared to 19 . 51 on the GUM dataset without sentence constraints). These intriguing findings will be further explored in future work. Localness of Trees: To further verify that the generated trees are non-trivial, for instance simply connecting adjacent EDUs, we analyze the quality of the trees produced with the second attention head on the second layer, which is the top performer among all the heads shown in Figure 4. First, we separate all dependency relationships into two classes: local , holding between two adjacent EDUs, and distant , including all other relations between non-adjacent EDUs. Then we compute the ratio of the correctly predicted dependencies which are local (Local Ratio Corr.), as well as the Measurement(%) No Cons. ratio of local dependencies in the generated trees (Local Ratio Ours), and in the ground-truth trees (Local Ratio GT). The results of this analysis are shown in Table 5. For all datasets, the ratio of correctly predicted local dependencies (Local Ratio Corr.) (being > 50 ) is larger than the ratio for distant relations, which appears reasonable, since local dependency predictions are easier to predict than distant ones. Further, comparing (Local Ratio GT) and (Local Ratio Ours) without the sentence constraint (first column) shows that the number of local dependency relations in the ground-truth discourse trees is consistently larger than the predicted number. This indicates that the discourse information learned in the attention matrices goes beyond the oftentimes predominant local positional information. However, even without the sentence constraint (first column), when the CLE algorithm can predict trees of any form, more than 40% of the relations are predicted as local, suggesting that the standard CLE approach can already capture local information well. Branch Height Leaf Arc vac. (%) RST-DT Ours(Sent Cons) 1.50 27.06 0.37 0.10 3% Ours(No Cons) 1.74 25.76 0.49 0.12 3% GT Tree 2.10 8.19 0.51 0.13 2% Instruction Ours(Sent Cons) 1.56 15.74 0.39 0.13 3% Ours(No Cons) 1.80 14.35 0.50 0.14 3% GT Tree 1.59 8.49 0.41 0.15 1% GUM Ours(Sent Cons) 1.61 44.94 0.40 0.05 0% Ours(No Cons) 2.14 43.08 0.54 0.08 0% GT Tree 2.02 12.17 0.51 0.04 0% Table 6: Statistics of our generated trees and the gold standard trees in terms of the average branch width , average height , average leaf ratio (micro) , average normalized arc length of the trees and percentage of the Vacuous trees . we find that the local dependency ratio of the generated trees (Local Ratio Ours) further increases by more than 10% across all three datasets. This makes intuitive sense, since the sentence constraint forces the generated trees to purely focus on local aspects within each sentence. To sum up, we find that the learned attention matrices contains both local and distant dependency information, although local dependency predictions perform better. Properties of Trees: Following Ferracane et al. (2019), we structurally inspect the generated dependency trees, and compare them with the gold trees on all three datasets. This comparison is presented in Table 6, showing the average branch width , average height , average leaf ratio (micro) and average normalized arc length of the trees as well as the percentage of vacuous trees in each dataset 6 . Looking at Table 6, it appears that our tree structure properties are similar to the ground-truth properties in regards to all measures except the height of the tree, which indicates that our trees tend to be generally deeper than gold standard trees, despite having a similar branch width and leaf ratio. Furthermore, our trees are even deeper when using the sentence constraint. Plausibly, by forcing each sentence to have its own sub-tree can make shallower inter-sentential structures less likely. Exploring potential causes for the difference in tree-height, possibly due to the summarization task itself, are left as future work. To investigate whether the performance is consistent cross different random initializations, and to explore the influence of the results with respect to the quality of the summarizer, we perform additional experiments with the 'CNNDM-6-8' model 7 . Overall, we find that the performance is rather similar across random initializations. Interestingly, a single head consistently shows better performance than all other heads across different initialization as well as datasets; however, while the position of the top-performing head is not always the same, it is often located in the second layer of the model. Regarding the second experiment exploring sensitivity to the summarizer quality, we create summarizers of increasing quality by providing more and more training. As expected, we find that as the summarization model is trained for additional steps, more accurate discourse information is learnt, concentrated in a single head. We present a novel framework to infer discourse trees from the attention matrices learned in a transformer-based summarization model. Experiment across models and datsets indicates that both dependency and structural discourse information are learned, that such information is typically concentrated in a single head, and that the attention matrix also covers long distance discourse dependencies. Overall, consistent results across datasets and models suggest that the learned discourse information is general and transferable inter-domain. In the future, we want to explore if simpler summarizers like BERTSUM (Liu and Lapata, 2019b) can also capture discourse info; specifically studying if the importance of the heads corresponds to the captured discourse info, which may help pruning summarization model by incorporating discourse info, in spirit of Xiao et al. (2020). With respect to dependency tree generation possible improvements could come by looking for additional strategies balancing between guidance and flexibility, as Kuhlmann and Nivre (2006) explore for syntactic dependency parsing. To address the problem of data sparsity in discourse parsing, we want to synergistically leverage other discourse-related tasks, in addition to sentiment and summarization, like topic modeling. 7 More details can be found in Appendix C. Acknowledgments We thank the anonymous reviewers and the UBC-NLP group for their insightful comments. This research was supported by the Language & Speech Innovation Lab of Cloud BU, Huawei Technologies Co., Ltd. We further acknowledge the support of the Natural Sciences and Engineering Research Council of Canada (NSERC). Nous remercions le Conseil de recherches en sciences naturelles et en gnie du Canada (CRSNG) de son soutien.
abstain objective method abstain abstain abstain abstain abstain abstain other objective abstain abstain abstain abstain objective method method method abstain abstain method other abstain method abstain abstain method abstain method method abstain result abstain method abstain abstain abstain abstain abstain abstain result abstain abstain abstain abstain abstain abstain abstain abstain abstain abstain abstain abstain abstain abstain abstain abstain abstain abstain abstain abstain abstain abstain abstain abstain abstain abstain result abstain result abstain abstain abstain abstain abstain abstain abstain abstain result abstain abstain abstain result abstain abstain abstain result abstain abstain abstain abstain abstain abstain abstain abstain abstain other result abstain result abstain abstain abstain abstain abstain abstain abstain result abstain abstain result objective abstain abstain abstain abstain abstain result abstain abstain abstain