BACKGROUND
classification of unlabeled data is one of the main tasks in bioinformatics.
for dna sequence analysis, this classification task is synonymous to the computational recognition of short signal sequences in genomic dna.
examples include the recognition of transcription factor binding sites   <cit> , transcription start sites  <cit> , donor or acceptor splice sites  <cit> , nucleosome binding sites  <cit> , mirna binding sites  <cit> , or binding sites of insulators like ctcf  <cit> .
many of the employed algorithms use statistical models for representing the distribution of sequences.
these models range from simple models like the position weight matrix  model  <cit> , the weight array matrix  model  <cit> , or markov models of higher order  <cit>  to complex models like bayesian networks  <cit>  or markov random fields  <cit> .
a wealth of different models has been proposed for different data sets and different biological questions, and it is advisable to carefully choose an appropriate model for each data set and each biological question separately  <cit> .
however, the performance of a model highly depends on the model parameters learned from training data.
in comparison to the effort spent for developing and choosing appropriate models, developing and choosing appropriate learning principles has been neglected, even though this choice is of fundamental importance  <cit>  and equally non-trivial.
in the last decades, several learning principles have been proposed for estimating model parameters.
the maximum likelihood  learning principle  <cit>  is one of the first and most popular learning principles used in bioinformatics.
an alternative is the maximum a posteriori  learning principle  <cit>  that applies a prior density to the parameters of the models.
the ml and the map learning principles are commonly referred to as generative.
recently, discriminative learning principles have been shown to be promising in several bioinformatics applications  <cit> .
the discriminative analogue to the ml learning principle is the maximum conditional likelihood  learning principle  <cit> , and the maximum supervised posterior  learning principle  <cit>  has been proposed as discriminative analogue to the map learning principle.
in addition to these four learning principles, hybrid learning principles have been proposed to combine the advantages of generative and discriminative learning principles  <cit> .
specifically, the generative-discriminative trade-off  learning principle that interpolates between the ml and the mcl learning principle has been proposed in  <cit> , and the penalized generative-discriminative trade-off  learning principle that interpolates between the map and the msp learning principle has been proposed in  <cit> .
here, we introduce a unified generative-discriminative learning principle containing the ml, the map, the mcl, the msp, the gdt, and the pgdt learning principle as limiting cases.
we discuss the interpretation of this learning principle, and we investigate its utility using four data sets of tfbss.
RESULTS
in this section, we present six established learning principles, then introduce the unified generative-discriminative learning principle containing the six established learning principles as special cases, and finally present some discussion and interpretation of the learning principle introduced.
we start with considering classifiers that are based on probabilistic models defined by the likelihood p  for sequence x given class label c and parameter vector λ. based on such models the decision criterion  <cit>  of the classifier is defined as
where p  is the conditional likelihood of class label c given sequence x and parameter vector λ, p is the likelihood of sequence x and class label c given parameter vector λ, p  is the probability of class c given parameter vector λ, and p is the conditional probability of sequence x given class label c and parameter vector λ.
the decision and classification performance depend on the parameter vector λ. hence, one needs to infer appropriate parameter vectors λ from a data set d: =  of n statistically independent and identically distributed  sequences and the corresponding class labels c:= .
in the first subsection, we present six learning principles that have been proposed in the machine-learning community and that are nowadays also used in bioinformatics.
in the second subsection, we propose a unified learning principle containing all of these six learning principles as special cases.
in the third subsection, we provide a mathematical interpretation of this learning principle, and in the fourth subsection we present four case studies illustrating the utility of this learning principle.
we present some implementation details in the methods section.
established learning principles
learning principles can be categorized by two criteria.
on the one hand, they can be divided by their objective into generative, discriminative, and hybrid learning principles.
generative learning principles aim at an accurate representation of the distribution of the training data in each of the classes, discriminative learning principles aim at an accurate classification of the training data into the classes, and hybrid learning principles are an interpolation between generative and discriminative learning principles.
on the other hand, learning principles can be divided by their utilization of prior knowledge into bayesian and non bayesian.
we call learning principles that incorporate a prior density q  on the parameter vector λ bayesian, where α denotes a vector of hyper parameters, while we call learning principles that only use the data - without any prior - to estimate the parameter vector non bayesian.
in table  <dig> we present six established learning principles and their categorization by the above-mentioned criteria, and we describe these learning principles in more detail in the remainder of this subsection.
the table shows six established learning principles that can be grouped by their objective as being generative, hybrid, or discriminative and utilization of prior knowledge with the two possibilities non bayesian and bayesian.
the four elementary learning principles are the generative, non bayesian maximum likelihood  learning principle, the generative, bayesian maximum a posteriori  learning principle, the discriminative, non bayesian maximum conditional likelihood  learning principle, and the discriminative, bayesian maximum supervised posterior  learning principle.
the hybrid learning principles which interpolate between generative and discriminative learning principles are the non bayesian generative-discriminative trade-off  learning principle and the penalized generative-discriminative trade-off  learning principle.
generative learning principles
the maximum likelihood  learning principle is one of the first learning principles used in bioinformatics.
originally, it was proposed by r. a. fisher at the beginning of the 20th century  <cit> .
the ml learning principle aims at finding the parameter vector  that maximizes the likelihood of the labeled data set  given the parameter vector λ,
however, for many applications, the amount of sequence data available for training is very limited.
for this reason, the ml learning principle often leads to suboptimal classification performance e.g.
due to zero-occurrences of some nucleotides or oligonucleotides in the training data sets.
the maximum a posteriori  learning principle, which applies a prior q  to the parameter vector, establishes a theoretical foundation to alleviate this problem and at the same time allows the inclusion of prior knowledge aside from the training data  <cit> .
the map learning principle aims at finding the parameter vector  that maximizes the posterior density,
if for a given family of likelihood functions p the posterior p is in the same family of distributions as the prior q , i.e., if
,
the prior is said to be conjugate to this family of likelihood functions, for hyper parameter vector  incorporates both prior knowledge and training data.
conjugate priors often allow an interpretation of the hyper parameter vector as stemming from an a priorily observed set of "pseudo data."
in addition, it allows finding the optimal parameter vector  analytically provided one can determine the maximum of the prior analytically.
discriminative learning principles
discriminative learning principles have been shown to be promising in the field of bioinformatics  <cit> .
the discriminative analogue to the ml learning principle is the maximum conditional likelihood  learning principle  <cit>  that aims at finding the parameter vector  that maximizes the conditional likelihood of the labels c given the data d and parameter vector λ,
the effects of limited data may be even more severe when using the mcl learning principle compared to generative learning principles  <cit> .
to overcome this problem, the maximum supervised posterior  learning principle  <cit>  has been proposed as discriminative analogue to the map learning principle.
in analogy to equation , the msp learning principle aims at finding the parameter vector  that maximizes the product of the conditional likelihood and the prior density,
generative-discriminative trade-offs
different hybrid learning principles have been proposed in the machine learning community  <cit> .
hybrid learning principles aim at combining the strengths of generative and discriminative learning principles.
here, we follow the ideas of bouchard and co-workers who propose an interpolation between the generative ml learning principle and the discriminative mcl learning principle  <cit>  as well as the generative map learning principle and the discriminative msp learning principle  <cit> .
the generative-discriminative trade-off  learning principle proposed in  <cit>  aims at finding the parameter vector λ that maximizes the weighted product of the conditional likelihood and likelihood, i.e.,
,
for given weight γ ∈  <cit> .
as special cases of the pgdt learning principle, we obtain the ml learning principle for γ =  <dig> and the mcl learning principle for γ =  <dig>  by varying γ between  <dig> and  <dig>  different beneficial   trade-offs can be obtained for classification.
in close analogy to the map and the msp learning principle, which are obtained by multiplying a prior to the likelihood and conditional likelihood, respectively, the penalized generative-discriminative trade-off  learning principle aims at finding the parameter vector λ that maximizes the objective function
for given weight γ ∈  <cit> .
as special cases of the pgdt learning principle, we obtain the map learning principle for γ =  <dig> and the msp learning principle for γ =  <dig>
we summarize the six established learning principles in table  <dig>
unified generative-discriminative learning principle
comparing equations , , , , , and , we find that the following three terms are sufficient for defining these six learning principles:
<dig>  the conditional likelihood p ,
<dig>  the likelihood p , and
<dig>  the prior q .
with the goal of unifying and generalizing all six learning principles, we propose a unified generative-discriminative learning principle that aims at finding the parameter vector λ that maximizes the weighted product of the conditional likelihood, likelihood, and prior, i.e.,
,
with the weighting factors β:= , β <dig>  β <dig>  β <dig> ∈ , and β <dig>  + β <dig> + β <dig> =  <dig>
the six established learning principles can be obtained as limiting cases of equation  as follows
• ml if β = ,
• map if β = ,
• mcl if β = ,
• msp if β = ,
• gdt if β <dig> =  <dig>  and
• pgdt if β <dig> =  <dig> .
in figure  <dig>  we illustrate the simplex β by a projection onto the -plane showing the established learning principles as well as the unified generative-discriminative learning principle.
however, there are several other hybrid learning principles that are not covered by this unification.
interpretation of the unified generative-discriminative learning principle
in this subsection, we investigate the simplex β and its relation to six established learning principles.
first, we consider the axes of the simplex β. we can write the learning principle that corresponds to the β0-axis  using the constraint β <dig> =  <dig> - β <dig> for this axis as
similarly, we can write the learning principle that corresponds to the β1-axis  as
these equations state that each point on the abscissa  and on the ordinate  corresponds to the msp and the map learning principle, respectively, with a weighted prior.
if the prior fulfills the condition
for any ξ ∈ ℝ+, each point  and  on the axes corresponds to either the msp or the map learning principle using the prior , respectively.
the generalized dirichlet prior for markov random fields  <cit> , which has been proposed to allow a direct comparison of the map and the msp learning principle, fulfills the condition of equation  .
second, we consider the lines β <dig> = ν - β <dig> with ν ∈  <cit> .
as visualized in figure  <dig>  the unified generative-discriminative learning principle results in the gdt and the pgdt learning principle for ν =  <dig> and ν =  <dig> , respectively.
using β <dig> ∈  and the condition of equation  with , we find that equation  can be written as
this equation is equivalent to equation , stating that - for each β <dig> - each point on the line β <dig> =  - β <dig> corresponds to a specific instance of the pgdt learning principle with prior .
using this result, the unified generative-discriminative learning principle allows an in-depth analysis of the pgdt learning principle using different priors.
finally, we consider a second interpretation of the unified generative-discriminative learning principle.
the last two terms of the equation  consisting of the weighted likelihood and the weighted prior might be interpreted as a weighted posterior.
using the assumption of conjugacy ), the condition of equation , and β <dig>  β <dig>  β <dig> ∈ ℝ+, we obtain
stating that each point on the simplex can be interpreted as msp learning principle with an informative prior  composed of the likelihood and the original prior.
interestingly, the interpretation of each point of the simplex as instance of the msp learning principle using the weighted posterior as prior remains valid even for priors that do not fulfill the conditions.
figure  <dig> visualizes these results.
testing
in this subsection, we present four case studies illustrating the utility of the unified generative-discriminative learning principle.
in specific practical applications, the choice of appropriate training and test data sets is a highly non-trivial task.
since the final results strongly depend on the chosen data sets, we recommend this choice to be made with great care and in a problem-specific manner.
this choice is typically influenced by a-priori knowledge on both the expected binding sites  and the targeted genome regions.
examples of features that are often considered when choosing appropriate data sets are the gc content of the target region, their association with cpg islands, or their size and proximity to transcription start sites.
carefully choosing appropriate training and test data sets is of additional advantage if the set of targeted genome regions is not homogeneous, e.g., comprising both gc-rich and gc-poor regions, cpg islands and cpg deserts, tata-containing and tata-less promoters, upstream regions with and without bss of another tf, etc.
in this case, one often finds that different learning principles work well for different subgroups, even if the same combination of models is chosen, providing the possibility of choosing subgroup-specific learning principles by choosing different values of β.
these considerations are vital for a successful prediction of tfbss, but beyond the scope of this paper, so we choose some traditional data sets in the following case study.
specifically, we choose the following four data sets of experimentally verified tfbss of length l =  <dig> bp from transfac  <cit> .
the data set ar/gr/pr contains  <dig> bss from three specific steroid hormone receptors from the same class of tfs.
the data sets gata and thyroid contain  <dig> and  <dig> bss, respectively, of tfs with zinc-coordinating dna-binding domains.
finally, the data set nf-κb contains  <dig> bss of the rapid-acting family of primary tfs nfκb.
as background data set we choose the standard background data set of transfac consisting of  <dig> second exons of human genes with  <dig>  bp in total, which we chunk into sequences of length of at most  <dig> bp.
we build classifiers with the goal of classifying, for each family of tfs separately, a given 16-mer as bs or as subsequence of a background sequence.
we choose a naïve bayes classifier consisting of two pwm models and the generalized dirichlet prior  <cit>  using an equivalent sample size   of  <dig> and  <dig> for the foreground and the background class, respectively.
we choose the sensitivity for a specificity of  <dig> %  <cit>  as performance measure.
we present the results for three additional performance measures in appendix b of additional file  <dig>  we perform a  <dig> -fold stratified hold-out sampling with 90% of the data for training and 10% of the data for assessing the performance measures for the evaluation of the unified generative-discriminative learning principle.
in figure 2a, we illustrate the results for bss of the tfs ar/gr/pr.
considering the ml learning principle located at  =  and the mcl learning principle located at  = , we find a sensitivity of  <dig> % and  <dig> %, respectively.
interestingly, the mcl learning principle achieves a higher sensitivity for a given specificity of  <dig> % than the ml learning principle for this small data set.
using the generalized dirichlet prior with hyper parameters corresponding to uniform pseudo data, the sensitivities can be increased.
considering the map learning principle located at  =  and the msp learning principle located at  = , we obtain a sensitivity of  <dig> % and  <dig> %, respectively.
this shows that the msp learning principle yields an increase of sensitivity of  <dig> % compared to the map learning principle, consistent with the general observation that discriminatively learned classifiers often outperform their generatively learned counterparts.
this increase of sensitivity is achieved using the same prior and the same hyper parameters for both learning principles, but it is possible that the particular choice of the hyper parameters may favour one of the learning principles.
following equations  and , each point on the β0- and β1-axis corresponds to the msp and the map learning principle, respectively, with specific hyper parameters α. the location on the axis indicates the strength of the prior reflected by the virtual ess .
next, we investigate for both learning principles the influence of the strength of the prior on the sensitivity.
for the map learning principle, the sensitivity ranges from  <dig> % for β =  to  <dig> % for β = , achieving a maximum of  <dig> % for β = .
for the msp learning principle, the sensitivity ranges from the maximum value  <dig> % for β =  to  <dig> % for β = .
comparing the maximum sensitivities for both learning principles and different virtual esss, we find that the msp learning principle with a maximum sensitivity of  <dig> % clearly outperforms the map learning principle by  <dig> %, whereas the difference of sensitivities is only  <dig> % for the original ess.
investigating this increase in the difference of sensitivities between the results for the map and the msp learning principle, we find that the sensitivity increases for decreasing β <dig> on the β0-axis, which corresponds to the msp learning principle with an increasing virtual ess of the prior.
in contrast to this observation, the sensitivity for the map learning principle increases less strongly with an increasing virtual ess.
this finding gives a first hint that a prior with a large ess might be beneficial for the msp learning principle, while we cannot observe a similar effect for the map learning principle in this case.
next, we consider the lines β <dig> = ν - β <dig>  which correspond to the hybrid learning principles gdt and pgdt for ν =  <dig> and ν =  <dig> , respectively.
for the gdt learning principle, the sensitivity ranges from  <dig> % for β =  to  <dig> % for β = , reaching a maximum of  <dig> % for β = .
for the pgdt learning principle, the sensitivity ranges from  <dig> % for β =  to  <dig> % for β = , reaching a maximum of  <dig> % for β = .
for both learning principles, we find that the sensitivity is initially increasing and finally decreasing.
this observation indicates that neither the map nor the msp learning principle with a generalized dirichlet prior representing uniform pseudo data is optimal for estimating the parameter vector λ.
next, we investigate the interior of the simplex.
we vary both β <dig> and β <dig> along a grid with step width  <dig> , and we find the highest sensitivity of  <dig> % for β = .
we find the region of highest sensitivity clearly inside the simplex near the angle bisector.
this region corresponds to the msp learning principle with an informative prior based on weighted likelihood and weighted original prior.
comparing the highest sensitivity for the gdt, the pgdt, and the unified generative-discriminative learning principle, we find that it increases from  <dig> % over  <dig> % to  <dig> %, confirming that the prior can have a positive influence on the performance.
turning to the results of the other three tfs gata, nf-κb, and thyroid, we find qualitatively similar results.
the highest sensitivities are located inside the simplex, while the lowest sensitivities are located on the axes.
for bss of the tf gata, we obtain a sensitivity of  <dig> % for β = , for the bss of the tf nf-κb, we obtain a sensitivity of  <dig> % for β = , and for the bss of the tf thyroid, we obtain  <dig> % for β = .
similar to the data set of ar/gr/pr, we find a small region with high sensitivity for the bss of the tfs nf-κb and thyroid, while we find a broad region with high sensitivity for the bss of the tf gata.
we summarize the sensitivities for the ml, the mcl, the map, the msp, and the unified generative-discriminative learning principle in table  <dig>  we find that for all four tfs the unified generative-discriminative learning principle yields the highest sensitivities.
regarding the β1-axis, which corresponds to the map learning principle using the generalized dirichlet prior representing uniform pseudo data with different esss, we find that increasing the prior weight β <dig>  which is equivalent to decreasing the generative weight β <dig>  often reduces the sensitivity.
we obtain the lowest sensitivity for the map learning principle for the largest prior weights β <dig> in almost all cases.
in contrast to this observation, we find on the β0-axis, which correspond to the msp learning principle with the generalized dirichlet prior representing uniform pseudo data with different esss, that increasing the prior weight β <dig> improves the sensitivity at least initially.
summary the results of figure  <dig> for the  <dig> data sets containing the highest sensitivity for the ml, the mcl, the map, the msp, and the unified generative-discriminative learning principle.
for the map, the msp, and the unified generative-discriminative learning principle, we present the best results form the simplex β which correspond to one of these learning principles .
for each data set, the highest sensitivity is displayed in bold.
interestingly, we obtain qualitatively similar results when using other performance measures .
these observations suggest that the same classifier trained either by generative or by discriminative learning principles may prefer different esss even if one uses a prior that corresponds to uniform pseudo data.
hence, the strength of the prior has a decisive influence on comparisons of the results from generative and discriminative learning principles as well as the results of bayesian hybrid learning principles as for instance pgdt learning principle.
most importantly, we find that the unified generative-discriminative learning principle leads to an improvement for almost all of the studied data sets and performance measures.
CONCLUSIONS
a plethora of algorithms for the recognition of short dna sequence motifs has been proposed in the last decades.
these algorithms differ by their underlying statistical models and the employed learning principles.
in bioinformatics, generative learning principles have a long tradition, but recently it was shown that discriminative learning principles can lead to an improvement of the recognition of short signal sequences.
we introduce a unified generative-discriminative learning principle that contains the ml, the map, the mcl, the msp, the gdt, and the pgdt learning principle as limiting cases.
this learning principle interpolates between the likelihood, the conditional likelihood, and the prior, spanning a three-dimensional simplex, which allows a more detailed comparison of different learning principles.
furthermore, we find that under mild assumptions each point on the simplex can be interpreted as msp learning principle using an informative prior composed of a weighted likelihood and a weighted original prior.
we find that the unified generative-discriminative learning principle improves the performance of classifiers for the recognition of vertebrate tfbss over any of the six established learning principles it contains as special case.
we make all implementations available for the scientific community as part of the open-source java library jstacs  <cit> , which allows using this learning principle easily for other bioinformatics problems.
although we demonstrate the utility of the unified generative-discriminative learning principle only for four data sets of tfbss and four performance measures, it is conceivable that it can be successfully applied to other multinomial data such as data of transcription start sites, donor and acceptor splice sites, splicing enhancers and silencers, as well as binding sites of insulators, nucleosomes, and mirnas, as well as continuous data.

 classification of unlabeled data is one of the main tasks in bioinformatics. for dna sequence analysis, this classification task is synonymous to the computational recognition of short signal sequences in genomic dna. examples include the recognition of transcription factor binding sites, transcription start sites, donor or acceptor splice sites, nucleosome binding sites, mirna binding sites, or binding sites of insulators like ctcf. many of the employed algorithms use statistical models for representing the distribution of sequences. these models range from simple models like the position weight matrix model, the weight array matrix model, or markov models of higher order to complex models like bayesian networks or markov random fields. a wealth of different models has been proposed for different data sets and different biological questions, and it is advisable to carefully choose an appropriate model for each data set and each biological question separately. however, the performance of a model highly depends on the model parameters learned from training data. in comparison to the effort spent for developing and choosing appropriate models, developing and choosing appropriate learning principles has been neglected, even though this choice is of fundamental importance and equally non-trivial. in the last decades, several learning principles have been proposed for estimating model parameters. the maximum likelihood learning principle is one of the first and most popular learning principles used in bioinformatics. an alternative is the maximum a posteriori learning principle that applies a prior density to the parameters of the models. the ml and the map learning principles are commonly referred to as generative. recently, discriminative learning principles have been shown to be promising in several bioinformatics applications. the discriminative analogue to the ml learning principle is the maximum conditional likelihood learning principle, and the maximum supervised posterior learning principle has been proposed as discriminative analogue to the map learning principle. in addition to these four learning principles, hybrid learning principles have been proposed to combine the advantages of generative and discriminative learning principles. specifically, the generative-discriminative trade-off learning principle that interpolates between the ml and the mcl learning principle has been proposed in, and the penalized generative-discriminative trade-off learning principle that interpolates between the map and the msp learning principle has been proposed in. here, we introduce a unified generative-discriminative learning principle containing the ml, the map, the mcl, the msp, the gdt, and the pgdt learning principle as limiting cases. we discuss the interpretation of this learning principle, and we investigate its utility using four data sets of tfbss.  in this section, we present six established learning principles, then introduce the unified generative-discriminative learning principle containing the six established learning principles as special cases, and finally present some discussion and interpretation of the learning principle introduced. we start with considering classifiers that are based on probabilistic models defined by the likelihood p for sequence x given class label c and parameter vector λ. based on such models the decision criterion of the classifier is defined as where p is the conditional likelihood of class label c given sequence x and parameter vector λ, p is the likelihood of sequence x and class label c given parameter vector λ, p is the probability of class c given parameter vector λ, and p is the conditional probability of sequence x given class label c and parameter vector λ. the decision and classification performance depend on the parameter vector λ. hence, one needs to infer appropriate parameter vectors λ from a data set d: = of n statistically independent and identically distributed sequences and the corresponding class labels c:=. in the first subsection, we present six learning principles that have been proposed in the machine-learning community and that are nowadays also used in bioinformatics. in the second subsection, we propose a unified learning principle containing all of these six learning principles as special cases. in the third subsection, we provide a mathematical interpretation of this learning principle, and in the fourth subsection we present four case studies illustrating the utility of this learning principle. we present some implementation details in the methods section. established learning principles learning principles can be categorized by two criteria. on the one hand, they can be divided by their objective into generative, discriminative, and hybrid learning principles. generative learning principles aim at an accurate representation of the distribution of the training data in each of the classes, discriminative learning principles aim at an accurate classification of the training data into the classes, and hybrid learning principles are an interpolation between generative and discriminative learning principles. on the other hand, learning principles can be divided by their utilization of prior knowledge into bayesian and non bayesian. we call learning principles that incorporate a prior density q on the parameter vector λ bayesian, where α denotes a vector of hyper parameters, while we call learning principles that only use the data - without any prior - to estimate the parameter vector non bayesian. in table we present six established learning principles and their categorization by the above-mentioned criteria, and we describe these learning principles in more detail in the remainder of this subsection. the table shows six established learning principles that can be grouped by their objective as being generative, hybrid, or discriminative and utilization of prior knowledge with the two possibilities non bayesian and bayesian. the four elementary learning principles are the generative, non bayesian maximum likelihood learning principle, the generative, bayesian maximum a posteriori learning principle, the discriminative, non bayesian maximum conditional likelihood learning principle, and the discriminative, bayesian maximum supervised posterior learning principle. the hybrid learning principles which interpolate between generative and discriminative learning principles are the non bayesian generative-discriminative trade-off learning principle and the penalized generative-discriminative trade-off learning principle. generative learning principles the maximum likelihood learning principle is one of the first learning principles used in bioinformatics. originally, it was proposed by r. a. fisher at the beginning of the 20th century. the ml learning principle aims at finding the parameter vector that maximizes the likelihood of the labeled data set given the parameter vector λ, however, for many applications, the amount of sequence data available for training is very limited. for this reason, the ml learning principle often leads to suboptimal classification performance e.g. due to zero-occurrences of some nucleotides or oligonucleotides in the training data sets. the maximum a posteriori learning principle, which applies a prior q to the parameter vector, establishes a theoretical foundation to alleviate this problem and at the same time allows the inclusion of prior knowledge aside from the training data. the map learning principle aims at finding the parameter vector that maximizes the posterior density, if for a given family of likelihood functions p the posterior p is in the same family of distributions as the prior q, i.e., if, the prior is said to be conjugate to this family of likelihood functions, for hyper parameter vector incorporates both prior knowledge and training data. conjugate priors often allow an interpretation of the hyper parameter vector as stemming from an a priorily observed set of "pseudo data." in addition, it allows finding the optimal parameter vector analytically provided one can determine the maximum of the prior analytically. discriminative learning principles discriminative learning principles have been shown to be promising in the field of bioinformatics. the discriminative analogue to the ml learning principle is the maximum conditional likelihood learning principle that aims at finding the parameter vector that maximizes the conditional likelihood of the labels c given the data d and parameter vector λ, the effects of limited data may be even more severe when using the mcl learning principle compared to generative learning principles. to overcome this problem, the maximum supervised posterior learning principle has been proposed as discriminative analogue to the map learning principle. in analogy to equation, the msp learning principle aims at finding the parameter vector that maximizes the product of the conditional likelihood and the prior density, generative-discriminative trade-offs different hybrid learning principles have been proposed in the machine learning community. hybrid learning principles aim at combining the strengths of generative and discriminative learning principles. here, we follow the ideas of bouchard and co-workers who propose an interpolation between the generative ml learning principle and the discriminative mcl learning principle as well as the generative map learning principle and the discriminative msp learning principle. the generative-discriminative trade-off learning principle proposed in aims at finding the parameter vector λ that maximizes the weighted product of the conditional likelihood and likelihood, i.e.,, for given weight γ ∈. as special cases of the pgdt learning principle, we obtain the ml learning principle for γ = and the mcl learning principle for γ = by varying γ between and different beneficial trade-offs can be obtained for classification. in close analogy to the map and the msp learning principle, which are obtained by multiplying a prior to the likelihood and conditional likelihood, respectively, the penalized generative-discriminative trade-off learning principle aims at finding the parameter vector λ that maximizes the objective function for given weight γ ∈. as special cases of the pgdt learning principle, we obtain the map learning principle for γ = and the msp learning principle for γ = we summarize the six established learning principles in table unified generative-discriminative learning principle comparing equations,,,,, and, we find that the following three terms are sufficient for defining these six learning principles: the conditional likelihood p, the likelihood p, and the prior q. with the goal of unifying and generalizing all six learning principles, we propose a unified generative-discriminative learning principle that aims at finding the parameter vector λ that maximizes the weighted product of the conditional likelihood, likelihood, and prior, i.e.,, with the weighting factors β:=, β β β ∈, and β + β + β = the six established learning principles can be obtained as limiting cases of equation as follows • ml if β =, • map if β =, • mcl if β =, • msp if β =, • gdt if β = and • pgdt if β =. in figure we illustrate the simplex β by a projection onto the -plane showing the established learning principles as well as the unified generative-discriminative learning principle. however, there are several other hybrid learning principles that are not covered by this unification. interpretation of the unified generative-discriminative learning principle in this subsection, we investigate the simplex β and its relation to six established learning principles. first, we consider the axes of the simplex β. we can write the learning principle that corresponds to the β0-axis using the constraint β = - β for this axis as similarly, we can write the learning principle that corresponds to the β1-axis as these equations state that each point on the abscissa and on the ordinate corresponds to the msp and the map learning principle, respectively, with a weighted prior. if the prior fulfills the condition for any ξ ∈ ℝ+, each point and on the axes corresponds to either the msp or the map learning principle using the prior, respectively. the generalized dirichlet prior for markov random fields, which has been proposed to allow a direct comparison of the map and the msp learning principle, fulfills the condition of equation. second, we consider the lines β = ν - β with ν ∈. as visualized in figure the unified generative-discriminative learning principle results in the gdt and the pgdt learning principle for ν = and ν =, respectively. using β ∈ and the condition of equation with, we find that equation can be written as this equation is equivalent to equation, stating that - for each β - each point on the line β = - β corresponds to a specific instance of the pgdt learning principle with prior. using this result, the unified generative-discriminative learning principle allows an in-depth analysis of the pgdt learning principle using different priors. finally, we consider a second interpretation of the unified generative-discriminative learning principle. the last two terms of the equation consisting of the weighted likelihood and the weighted prior might be interpreted as a weighted posterior. using the assumption of conjugacy ), the condition of equation, and β β β ∈ ℝ+, we obtain stating that each point on the simplex can be interpreted as msp learning principle with an informative prior composed of the likelihood and the original prior. interestingly, the interpretation of each point of the simplex as instance of the msp learning principle using the weighted posterior as prior remains valid even for priors that do not fulfill the conditions. figure visualizes these results. testing in this subsection, we present four case studies illustrating the utility of the unified generative-discriminative learning principle. in specific practical applications, the choice of appropriate training and test data sets is a highly non-trivial task. since the final results strongly depend on the chosen data sets, we recommend this choice to be made with great care and in a problem-specific manner. this choice is typically influenced by a-priori knowledge on both the expected binding sites and the targeted genome regions. examples of features that are often considered when choosing appropriate data sets are the gc content of the target region, their association with cpg islands, or their size and proximity to transcription start sites. carefully choosing appropriate training and test data sets is of additional advantage if the set of targeted genome regions is not homogeneous, e.g., comprising both gc-rich and gc-poor regions, cpg islands and cpg deserts, tata-containing and tata-less promoters, upstream regions with and without bss of another tf, etc. in this case, one often finds that different learning principles work well for different subgroups, even if the same combination of models is chosen, providing the possibility of choosing subgroup-specific learning principles by choosing different values of β. these considerations are vital for a successful prediction of tfbss, but beyond the scope of this paper, so we choose some traditional data sets in the following case study. specifically, we choose the following four data sets of experimentally verified tfbss of length l = bp from transfac. the data set ar/gr/pr contains bss from three specific steroid hormone receptors from the same class of tfs. the data sets gata and thyroid contain and bss, respectively, of tfs with zinc-coordinating dna-binding domains. finally, the data set nf-κb contains bss of the rapid-acting family of primary tfs nfκb. as background data set we choose the standard background data set of transfac consisting of second exons of human genes with bp in total, which we chunk into sequences of length of at most bp. we build classifiers with the goal of classifying, for each family of tfs separately, a given 16-mer as bs or as subsequence of a background sequence. we choose a naïve bayes classifier consisting of two pwm models and the generalized dirichlet prior using an equivalent sample size of and for the foreground and the background class, respectively. we choose the sensitivity for a specificity of % as performance measure. we present the results for three additional performance measures in appendix b of additional file we perform a -fold stratified hold-out sampling with 90% of the data for training and 10% of the data for assessing the performance measures for the evaluation of the unified generative-discriminative learning principle. in figure 2a, we illustrate the results for bss of the tfs ar/gr/pr. considering the ml learning principle located at = and the mcl learning principle located at =, we find a sensitivity of % and %, respectively. interestingly, the mcl learning principle achieves a higher sensitivity for a given specificity of % than the ml learning principle for this small data set. using the generalized dirichlet prior with hyper parameters corresponding to uniform pseudo data, the sensitivities can be increased. considering the map learning principle located at = and the msp learning principle located at =, we obtain a sensitivity of % and %, respectively. this shows that the msp learning principle yields an increase of sensitivity of % compared to the map learning principle, consistent with the general observation that discriminatively learned classifiers often outperform their generatively learned counterparts. this increase of sensitivity is achieved using the same prior and the same hyper parameters for both learning principles, but it is possible that the particular choice of the hyper parameters may favour one of the learning principles. following equations and, each point on the β0- and β1-axis corresponds to the msp and the map learning principle, respectively, with specific hyper parameters α. the location on the axis indicates the strength of the prior reflected by the virtual ess. next, we investigate for both learning principles the influence of the strength of the prior on the sensitivity. for the map learning principle, the sensitivity ranges from % for β = to % for β =, achieving a maximum of % for β =. for the msp learning principle, the sensitivity ranges from the maximum value % for β = to % for β =. comparing the maximum sensitivities for both learning principles and different virtual esss, we find that the msp learning principle with a maximum sensitivity of % clearly outperforms the map learning principle by %, whereas the difference of sensitivities is only % for the original ess. investigating this increase in the difference of sensitivities between the results for the map and the msp learning principle, we find that the sensitivity increases for decreasing β on the β0-axis, which corresponds to the msp learning principle with an increasing virtual ess of the prior. in contrast to this observation, the sensitivity for the map learning principle increases less strongly with an increasing virtual ess. this finding gives a first hint that a prior with a large ess might be beneficial for the msp learning principle, while we cannot observe a similar effect for the map learning principle in this case. next, we consider the lines β = ν - β which correspond to the hybrid learning principles gdt and pgdt for ν = and ν =, respectively. for the gdt learning principle, the sensitivity ranges from % for β = to % for β =, reaching a maximum of % for β =. for the pgdt learning principle, the sensitivity ranges from % for β = to % for β =, reaching a maximum of % for β =. for both learning principles, we find that the sensitivity is initially increasing and finally decreasing. this observation indicates that neither the map nor the msp learning principle with a generalized dirichlet prior representing uniform pseudo data is optimal for estimating the parameter vector λ. next, we investigate the interior of the simplex. we vary both β and β along a grid with step width, and we find the highest sensitivity of % for β =. we find the region of highest sensitivity clearly inside the simplex near the angle bisector. this region corresponds to the msp learning principle with an informative prior based on weighted likelihood and weighted original prior. comparing the highest sensitivity for the gdt, the pgdt, and the unified generative-discriminative learning principle, we find that it increases from % over % to %, confirming that the prior can have a positive influence on the performance. turning to the results of the other three tfs gata, nf-κb, and thyroid, we find qualitatively similar results. the highest sensitivities are located inside the simplex, while the lowest sensitivities are located on the axes. for bss of the tf gata, we obtain a sensitivity of % for β =, for the bss of the tf nf-κb, we obtain a sensitivity of % for β =, and for the bss of the tf thyroid, we obtain % for β =. similar to the data set of ar/gr/pr, we find a small region with high sensitivity for the bss of the tfs nf-κb and thyroid, while we find a broad region with high sensitivity for the bss of the tf gata. we summarize the sensitivities for the ml, the mcl, the map, the msp, and the unified generative-discriminative learning principle in table we find that for all four tfs the unified generative-discriminative learning principle yields the highest sensitivities. regarding the β1-axis, which corresponds to the map learning principle using the generalized dirichlet prior representing uniform pseudo data with different esss, we find that increasing the prior weight β which is equivalent to decreasing the generative weight β often reduces the sensitivity. we obtain the lowest sensitivity for the map learning principle for the largest prior weights β in almost all cases. in contrast to this observation, we find on the β0-axis, which correspond to the msp learning principle with the generalized dirichlet prior representing uniform pseudo data with different esss, that increasing the prior weight β improves the sensitivity at least initially. summary the results of figure for the data sets containing the highest sensitivity for the ml, the mcl, the map, the msp, and the unified generative-discriminative learning principle. for the map, the msp, and the unified generative-discriminative learning principle, we present the best results form the simplex β which correspond to one of these learning principles. for each data set, the highest sensitivity is displayed in bold. interestingly, we obtain qualitatively similar results when using other performance measures. these observations suggest that the same classifier trained either by generative or by discriminative learning principles may prefer different esss even if one uses a prior that corresponds to uniform pseudo data. hence, the strength of the prior has a decisive influence on comparisons of the results from generative and discriminative learning principles as well as the results of bayesian hybrid learning principles as for instance pgdt learning principle. most importantly, we find that the unified generative-discriminative learning principle leads to an improvement for almost all of the studied data sets and performance measures.  a plethora of algorithms for the recognition of short dna sequence motifs has been proposed in the last decades. these algorithms differ by their underlying statistical models and the employed learning principles. in bioinformatics, generative learning principles have a long tradition, but recently it was shown that discriminative learning principles can lead to an improvement of the recognition of short signal sequences. we introduce a unified generative-discriminative learning principle that contains the ml, the map, the mcl, the msp, the gdt, and the pgdt learning principle as limiting cases. this learning principle interpolates between the likelihood, the conditional likelihood, and the prior, spanning a three-dimensional simplex, which allows a more detailed comparison of different learning principles. furthermore, we find that under mild assumptions each point on the simplex can be interpreted as msp learning principle using an informative prior composed of a weighted likelihood and a weighted original prior. we find that the unified generative-discriminative learning principle improves the performance of classifiers for the recognition of vertebrate tfbss over any of the six established learning principles it contains as special case. we make all implementations available for the scientific community as part of the open-source java library jstacs, which allows using this learning principle easily for other bioinformatics problems. although we demonstrate the utility of the unified generative-discriminative learning principle only for four data sets of tfbss and four performance measures, it is conceivable that it can be successfully applied to other multinomial data such as data of transcription start sites, donor and acceptor splice sites, splicing enhancers and silencers, as well as binding sites of insulators, nucleosomes, and mirnas, as well as continuous data. 
here, we propose a generalization of generative and discriminative learning principles containing the maximum likelihood, maximum a posteriori, maximum conditional likelihood, maximum supervised posterior, generative-discriminative trade-off, and penalized generative-discriminative trade-off learning principles as special cases, and we illustrate its efficacy for the recognition of vertebrate transcription factor binding sites. we find that the proposed learning principle helps to improve the recognition of transcription factor binding sites, enabling better computational approaches for extracting as much information as possible from valuable wet-lab data. only recently it was noticed that discriminative learning principles can be superior over generative ones in diverse bioinformatics applications, too. during the last decades, a plethora of different and well-adapted models has been developed, but only little attention has been payed to the development of different and similarly well-adapted learning principles. we make all implementations available in the open-source library jstacs so that this learning principle can be easily applied to other classification problems in the field of genome and epigenome analysis. the recognition of functional binding sites in genomic dna remains one of the fundamental challenges of genome research.
 the recognition of functional binding sites in genomic dna remains one of the fundamental challenges of genome research. during the last decades, a plethora of different and well-adapted models has been developed, but only little attention has been payed to the development of different and similarly well-adapted learning principles. only recently it was noticed that discriminative learning principles can be superior over generative ones in diverse bioinformatics applications, too.  here, we propose a generalization of generative and discriminative learning principles containing the maximum likelihood, maximum a posteriori, maximum conditional likelihood, maximum supervised posterior, generative-discriminative trade-off, and penalized generative-discriminative trade-off learning principles as special cases, and we illustrate its efficacy for the recognition of vertebrate transcription factor binding sites.  we find that the proposed learning principle helps to improve the recognition of transcription factor binding sites, enabling better computational approaches for extracting as much information as possible from valuable wet-lab data. we make all implementations available in the open-source library jstacs so that this learning principle can be easily applied to other classification problems in the field of genome and epigenome analysis. 