user: text: Write a concise one-sentence TLDR summary of the scientific paper content below.

Title: RNA Secondary Structure Prediction By Learning Unrolled Algorithms

Paper content:
In this paper, we propose an end-to-end deep learning model, called E2Efold, for RNA secondary structure prediction which can effectively take into account the inherent constraints in the problem.
The key idea of E2Efold is to directly predict the RNA base-pairing matrix, and use an unrolled constrained programming algorithm as a building block in the architecture to enforce constraints.
With comprehensive experiments on benchmark datasets, we demonstrate the superior performance of E2Efold: it predicts significantly better structures compared to previous SOTA (29.7% improvement in some cases in F1 scores and even larger improvement for pseudoknotted structures) and runs as efficient as the fastest algorithms in terms of inference time.
Ribonucleic acid (RNA) is a molecule playing essential roles in numerous cellular processes and regulating expression of genes (Crick, 1970) .
It consists of an ordered sequence of nucleotides, with each nucleotide containing one of four bases: Adenine (A), Guanine (G), Cytosine (C) and Uracile (U).
This sequence of bases can be represented as
x := (x 1 , . . . , x L ) where x i ∈ {A, G, C, U }, which is known as the primary structure of RNA.
The bases can bond with one another to form a set of base-pairs, which defines the secondary structure.
A secondary structure can be represented by a binary matrix A * where A * ij = 1 if the i, j-th bases are paired (Fig 1) .
Discovering the secondary structure of RNA is important for understanding functions of RNA since the structure essentially affects the interaction and reaction between RNA and other cellular components.
Although secondary structure can be determined by experimental assays (e.g. X-ray diffraction), it is slow, expensive and technically challenging.
Therefore, computational prediction of RNA secondary structure becomes an important task in RNA research and is useful in many applications such as drug design (Iorns et al., 2007) .
(ii) Pseudo-knot
(i) Nested Structure Research on computational prediction of RNA secondary structure from knowledge of primary structure has been carried out for decades.
Most existing methods assume the secondary structure is a result of energy minimization, i.e., A * = arg min A E x (A).
The energy function is either estimated by physics-based thermodynamic experiments (Lorenz et al., 2011; Markham & Zuker, 2008) or learned from data (Do et al., 2006) .
These approaches are faced with a common problem that the search space of all valid secondary structures is exponentially-large with respect to the length L of the sequence.
To make the minimization tractable, it is often assumed the base-pairing has a nested structure (Fig 2 left) , and the energy function factorizes pairwisely.
With this assumption, dynamic programming (DP) based algorithms can iteratively find the optimal structure for subsequences and thus consider an enormous number of structures in time O(L 3 ).
Although DP-based algorithms have dominated RNA structure prediction, it is notable that they restrict the search space to nested structures, which excludes some valid yet biologically important RNA secondary structures that contain 'pseudoknots', i.e., elements with at least two non-nested base-pairs (Fig 2 right) .
Pseudoknots make up roughly 1.4% of base-pairs (Mathews & Turner, 2006) , and are overrepresented in functionally important regions (Hajdin et al., 2013; Staple & Butcher, 2005) .
Furthermore, pseudoknots are present in around 40% of the RNAs.
They also assist folding into 3D structures (Fechter et al., 2001 ) and thus should not be ignored.
To predict RNA structures with pseudoknots, energy-based methods need to run more computationally intensive algorithms to decode the structures.
In summary, in the presence of more complex structured output (i.e., pseudoknots), it is challenging for energy-based approaches to simultaneously take into account the complex constraints while being efficient.
In this paper, we adopt a different viewpoint by assuming that the secondary structure is the output of a feed-forward function, i.e., A * = F θ (x), and propose to learn θ from data in an end-to-end fashion.
It avoids the second minimization step needed in energy function based approach, and does not require the output structure to be nested.
Furthermore, the feed-forward model can be fitted by directly optimizing the loss that one is interested in.
Despite the above advantages of using a feed-forward model, the architecture design is challenging.
To be more concrete, in the RNA case, F θ is difficult to design for the following reasons:
(i) RNA secondary structure needs to obey certain hard constraints (see details in Section 3), which means certain kinds of pairings cannot occur at all (Steeg, 1993) .
Ideally, the output of F θ needs to satisfy these constraints.
(ii) The number of RNA data points is limited, so we cannot expect that a naive fully connected network can learn the predictive information and constraints directly from data.
Thus, inductive biases need to be encoded into the network architecture.
(iii) One may take a two-step approach, where a post-processing step can be carried out to enforce the constraints when F θ predicts an invalid structure.
However, in this design, the deep network trained in the first stage is unaware of the post-processing stage, making less effective use of the potential prior knowledge encoded in the constraints.
In this paper, we present an end-to-end deep learning solution which integrates the two stages.
The first part of the architecture is a transformer-based deep model called Deep Score Network which represents sequence information useful for structure prediction.
The second part is a multilayer network called Post-Processing Network which gradually enforces the constraints and restrict the output space.
It is designed based on an unrolled algorithm for solving a constrained optimization.
These two networks are coupled together and learned jointly in an end-to-end fashion.
Therefore, we call our model E2Efold.
By using an unrolled algorithm as the inductive bias to design Post-Processing Network, the output space of E2Efold is constrained (see Fig 3 for an illustration), which makes it easier to learn a good model in the case of limited data and also reduces the overfitting issue.
Yet, the constraints encoded in E2Efold are flexible enough such that pseudoknots are included in the output space.
In summary, E2Efold strikes a nice balance between model biases for learning and expressiveness for valid RNA structures.
We conduct extensive experiments to compare E2Efold with state-of-the-art (SOTA) methods on several RNA benchmark datasets, showing superior performance of E2Efold including:
• being able to predict valid RNA secondary structures including pseudoknots;
• running as efficient as the fastest algorithm in terms of inference time;
• producing structures that are visually close to the true structure;
• better than previous SOTA in terms of F1 score, precision and recall.
Although in this paper we focus on RNA secondary structure prediction, which presents an important and concrete problem where E2Efold leads to significant improvements, our method is generic and can be applied to other problems where constraints need to be enforced or prior knowledge is provided.
We imagine that our design idea of learning unrolled algorithm to enforce constraints can also be transferred to problems such as protein folding and natural language understanding problems (e.g., building correspondence structure between different parts in a document).
We propose a novel DL model, E2Efold, for RNA secondary structure prediction, which incorporates hard constraints in its architecture design.
Comprehensive experiments are conducted to show the superior performance of E2Efold, no matter on quantitative criteria, running time, or visualization.
Further studies need to be conducted to deal with the RNA types with less samples.
Finally, we believe the idea of unrolling constrained programming and pushing gradient through post-processing can be generic and useful for other constrained structured prediction problems.
Here we explain the difference between our approach and other works on unrolling optimization problems.
First, our view of incorporating constraints to reduce output space and to reduce sample complexity is novel.
Previous works (Hershey et al., 2014; Belanger et al., 2017; Ingraham et al., 2018) did not discuss these aspects.
The most related work which also integrates constraints is OptNet (Amos & Kolter, 2017) , but its very expensive and can not scale to the RNA problem.
Therefore, our proposed approach is a simple and effective one.
Second, compared to (Chen et al., 2018; Shrivastava et al., 2019) , our approach has a different purpose of using the algorithm.
Their goal is to learn a better algorithm, so they commonly make their architecture more flexible than the original algorithm for the room of improvement.
However, we aim at enforcing constraints.
To ensure that constraints are nicely incorporated, we keep the original structure of the algorithm and only make the hyperparameters learnable.
Finally, although all works consider end-to-end training, none of them can directly optimize the F1 score.
We proposed a differentiable loss function to mimic the F1 score/precision/recall, which is effective and also very useful when negative samples are much fewer than positive samples (or the inverse).

assistant: text: A DL model for RNA secondary structure prediction, which uses an unrolled algorithm in the architecture to enforce constraints.