---
title: "Cancer Hallmark Text Classification Using Convolutional Neural"
description: "A convolutional network classifies biomedical abstracts by cancer hallmark and outperforms a support vector machine built with…"
canonical: "https://research.elamur.ai/free/en/papers/baker-2016-cancer-hallmark-text-classification-convolutional/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Constitution](https://md.constitution.elamur.ai/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/baker-2016-cancer-hallmark-text-classification-convolutional/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2016](https://md.research.elamur.ai/free/en/papers/2016/) / Cancer Hallmark Text Classification Using Convolutional Neural Networks

# Cancer Hallmark Text Classification Using Convolutional Neural Networks

Paper · 2016 · Simon Baker, Anna Korhonen and Sampo Pyysalo

**Authors:** [Simon Baker](https://md.research.elamur.ai/free/en/authors/simon-baker/), [Anna Korhonen](https://md.research.elamur.ai/free/en/authors/anna-korhonen/) and [Sampo Pyysalo](https://md.research.elamur.ai/free/en/authors/sampo-pyysalo/) · **Year:** 2016 · **Venue:** Proceedings of the Fifth Workshop on Building and Evaluating Resources for Biomedical Text Mining (BioTxtM2016) · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

Cited by **4** papers in our library of more than 163,000 papers whose bibliographies we read · Proceedings of the Fifth Workshop on Building and Evaluating Resources for Biomedical Text Mining (BioTxtM2016) · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/W16-5101/)
- [PDF](https://aclanthology.org/W16-5101.pdf)

## Summary

A cancer research abstract can discuss how a tumor grows, how it escapes controls that ordinarily stop cell division, or how it spreads. It can discuss several of these behaviors at once without using the standard names for them. Simon Baker, Anna Korhonen and Sampo Pyysalo ask whether a computer can recognize which of the ten hallmarks of cancer an abstract discusses by learning patterns in the text. They compare a convolutional neural network with a support vector machine that relies on a detailed linguistic and biomedical analysis of each abstract. Both approaches make a separate decision for each hallmark, so a document can receive several labels or none. The study uses 1852 annotated biomedical abstracts for this task in [text classification](https://md.research.elamur.ai/free/en/concepts/text-classification/).

The convolutional network starts with a vector for each word. It scans neighboring words for patterns and retains the strongest response to each pattern anywhere in the abstract. It learns which combinations of these responses help identify a hallmark. The authors evaluate a generic configuration and a version adapted on a development set. For the adapted version, they sample additional copies of positive training examples to balance the classes, initialize the network with vectors learned from PubMed text, and change how many adjacent words the filters examine. Even the generic configuration can take advantage of similarities between words through [word embeddings](https://md.research.elamur.ai/free/en/concepts/word-embeddings/).

On the held-out test set, the generic network reaches an average F-score of 76.6%, close to the 76.8% of the feature-rich support vector machine. Measuring performance across decision thresholds, the area under the ROC curve indicates that it does a better job of ranking abstracts on average. The adapted network gives the best average result by both measures. Its test F-score is 81.0% and its test AUC is 97.6%. Individual hallmarks still differ in which system handles them best.

The result shows that a classifier using abstract text and vectors learned from unannotated text can outperform a system that depends on specialized parsing, entity tagging and publication indexing. The comparison also brings out two different costs. The network simplifies preparation of the input, while the search for settings and the repetitions needed to account for variation in training make experimentation more expensive. The authors made their resources and tools available under open licenses.

## Deep dive: Cancer Hallmark Text Classification Using Convolutional Neural Networks

A convolutional network classifies biomedical abstracts by cancer hallmark and outperforms a support vector machine built with hand-engineered features. · about 34 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### What a hallmark label tells a reader

Cancer research deals with many processes that contribute to the start, persistence and spread of tumors. The hallmarks organize those processes by what they allow cancer cells or tumors to do. A paper about a signal that keeps cells dividing and a paper about how cancer cells survive damage address different aspects of the disease, even if both concern the same kind of cancer. Conversely, papers with different immediate subjects may belong under the same hallmark because they investigate related biological behavior. The categories provide a way to navigate research by the mechanisms it discusses.

The framework began with six hallmarks introduced by Hanahan and Weinberg in 2000. Their follow-up in 2011 brought the set used in this study to ten. Some categories describe how cancer cells keep proliferating. Sustaining proliferative signaling concerns continued signals for growth and division, while evading growth suppressors concerns failures of processes that would ordinarily restrain division. Resisting cell death concerns escaping processes such as programmed cell death. Enabling replicative immortality concerns the ability to keep dividing beyond the limits that apply to other cells. These distinctions matter in reading an abstract. A general reference to growth gives little indication by itself of whether the research addresses a persistent signal, a disabled restraint or an extended capacity to divide.

Other hallmarks concern the tumor's surroundings, its spread or changes within its cells. Inducing angiogenesis describes initiating the formation of blood vessels that supply the growing tumor. Activation of invasion and metastasis concerns movement into nearby tissue or spread to distant sites. The genome instability and mutation category concerns abnormalities in genetic material. Tumor-promoting inflammation captures ways in which inflammation around a tumor helps it grow, survive or spread. Deregulated cellular energetics concerns altered pathways for obtaining energy, and avoidance of immune destruction concerns escape from immune defenses. A single investigation can touch several of these processes. Giving each abstract one exclusive category would discard part of what the annotation is meant to capture.

The input to the classifier is a publication abstract. The target is the set of hallmark annotations attached to it. This distinction sets the scale of the study. An abstract can offer information relevant to a hallmark without devoting all of its sentences to that subject. The classifier needs to recognize the relevant evidence amid background, descriptions of procedures and accounts of results. It returns a label for the abstract as a whole. It does not have to recover the particular sentence that supports the label or specify which biological entity participates in a process.

The length of the input makes a difference to the design. These abstracts typically contain hundreds of words. There is room for an abstract to introduce a question in one passage, describe the investigation in another and mention its connection to a hallmark near the end. Evidence for a category may occupy only a small part of the document. A method that keeps track of every word equally has to contend with vocabulary from all of these passages. A method that can respond selectively to local patterns can look for relevant wording wherever it appears.

#### How earlier systems represented the literature

The authors trace earlier uses of the hallmark framework in biomedical text mining. The Cancer Genetics task at the BioNLP Shared Task 2013 used the original hallmarks as an organizing principle while asking systems to extract events from cancer texts. An event in this setting represents a biological process described in language. The earlier task therefore sought a different kind of output from an abstract label. A label gives readers a way to find material about a mechanism. An extracted event gives a more specific account of something the text describes. The paper also points to OncoSearch and OncoCL as efforts inspired by the hallmarks in [information extraction](https://md.research.elamur.ai/free/en/concepts/information-extraction/).

The immediate predecessor was a study by Baker and colleagues that assembled abstracts with hallmark annotations and developed a supervised classifier for them. Supervised learning uses examples with known answers to fit a rule for predicting answers on other examples. In that predecessor, the learning algorithm received features prepared by a series of processing tools. A feature records something about a document that can serve as evidence, such as a word, a compound noun, a grammatical relation or a category assigned in biomedical indexing. The support vector machine learns how to use those features to separate abstracts with the hallmark from abstracts without it.

That pipeline brought several kinds of expertise to the task before training began. Reducing inflected words to common forms lets related spellings provide the same feature. An entity tagger can flag a word sequence as referring to a protein or a cell type. Parsing can represent a relation between words that do not appear next to each other. Subject headings can carry information added during publication indexing. These choices can give a classifier useful distinctions even when the labeled corpus is small. They also require practitioners to select features, prepare specialized tools and make the resulting outputs work together. The paper treats those dependencies as part of what a comparison between approaches should account for.

Convolutional neural networks gave the authors another way to build the representation. They describe convolutions as originating in image processing and point to earlier applications in general-domain text classification. Their closer biomedical precedent was a study that used convolutions to detect adverse drug reactions in social media messages. The cancer study shifts the source of the language to research publications, changes the target categories and uses considerably longer inputs. Results from short messages could motivate the choice of architecture, while leaving open whether the same sort of architecture would work for abstracts. The paper places that question within the broader move toward learning features in [natural language processing](https://md.research.elamur.ai/free/en/concepts/natural-language-processing/).

A particularly informative comparison is with the earlier hallmark classifier because the methods can be applied to the same task. The feature-rich support vector machine shows what the task looks like when substantial information about the documents has been prepared in advance. A support vector machine using just word presence shows how much a simpler representation can offer. A generic convolutional network tests what transfers from an architecture developed for other text, while the adapted network tests the benefit of selecting settings for cancer abstracts. Together these comparisons address both the choice of classifier and the choice of information it receives.

### The method, step by step

#### Turning an abstract into training examples

The authors begin with abstracts that already have hallmark annotations. They use the same abstracts for each hallmark, changing the definition of a positive example each time. In the classifier for inducing angiogenesis, every abstract annotated for angiogenesis is positive, and all remaining abstracts are negative for that decision. An abstract that is negative for angiogenesis can still be positive for resisting cell death or for another hallmark. Negative means that the relevant label is absent from the annotation.

This arrangement converts a multi-label task into ten binary classification tasks. A binary decision distinguishes two possibilities, here whether a particular category applies. At prediction time, the separate decisions can be gathered into a set of labels for the document. There is no requirement for a winning category, and positive decisions for different hallmarks can coexist. Training the decisions separately also means that each hallmark has its own distribution of positive and negative examples. Balancing the data for one decision therefore differs from balancing it for another.

The paper adopts the original corpus but changes the evaluation design. The earlier study used cross-validation, repeatedly changing which portions serve for fitting and evaluation. Baker, Korhonen and Pyysalo wanted room to use experimental feedback when choosing settings, with an independent set available for final testing. They create a training, development and test partition in 70/10/20% proportions. Random sampling is guided by the aim of keeping class distributions roughly comparable across the subsets. The development partition provides feedback while settings are chosen. The test partition is reserved for the final comparison.

These roles remain distinct even when the classifier is trained more than once. The training partition supplies examples from which the classifier learns. The development partition tells the authors which settings or training checkpoints give the desired behavior on examples outside that fitting set. Once the comparison moves to the test partition, the chosen configurations face the same held-out evaluation. The support vector machines also use the development partition to choose their regularization setting, so this separation is part of the experimental design for both families of classifier.

#### From words to local patterns

The convolutional procedure can be understood as a sequence of choices about what information to retain. First, each input word is replaced by a vector, which is an ordered sequence of numerical values. The vectors make it possible for different words to have related representations. The network then looks at small groups of neighboring words. A detector can respond to a local pattern even if the exact wording changes, because the inputs to the detector are vectors. Next, the network keeps the strongest response to that detector anywhere in the abstract. Finally, it combines the responses of different detectors to score the presence or absence of a hallmark.

How the convolutional network scores an abstract The steps in order.

The authors implement the network in Keras and start with the setup used by Kim for sentence classification. The embedding layer gives the document a matrix representation. Each position in that matrix corresponds to a word in the abstract, and each word has the same number of vector coordinates. Word order is still represented at this point because the vectors appear in sequence. This is important for the next operation. A window that moves over the matrix can examine adjacent words together rather than treating them as unrelated entries in an inventory.

A convolutional filter is a learned detector that operates on a window of a specified width. Width counts how many consecutive word positions the detector sees at a time. The detector uses the same learned weights as it moves between positions. A pattern that activates it early in an abstract can activate it when it appears later. Filters with the same width have different weights and can respond to different patterns. The number of filters is therefore the number of learned detectors. The number of filter sizes is the number of window widths available to those detectors.

The base setup uses widths 3, 4, and 5. It has 300 filters, with 100 of each size. This offers a collection of views over nearby words. A filter can react to a particular arrangement of word vectors within its window, and another can react to a different arrangement even if it sees the same number of positions. A longer window gives a filter access to more adjacent context. A shorter one can focus on a smaller expression that may recur in otherwise different passages. The filters are learned using the hallmark labels, so the authors do not specify a phrase list for them.

Each filter produces a sequence of responses, one for each position where it is applied. The operation called 1-max pooling reduces that sequence to its strongest response. The pooled vector has a place for each filter, regardless of how many positions a filter could inspect in the original document. That turns a varying-length abstract into a representation of fixed size for the final fully connected layer. The output layer can use evidence from filters that fired in different parts of the same abstract. For instance, a response in the introduction and one in the results can both contribute to the score without requiring that they fall within a common convolution window.

Pooling also explains what the representation leaves behind. The final layer sees how strongly each detector responded, while the pooled values alone do not identify where the responses occurred. Multiple strong occurrences of the same learned pattern do not add up simply by being repeated, since the largest is the one passed forward. Local order matters to the filter. Order between distant pieces of evidence is unavailable once each response sequence has been reduced to its maximum. This design fits a task where a passage anywhere in the abstract can be enough to suggest a label, while imposing a clear constraint on how information from several passages can be combined.

The paper describes these operations by specifying the layers and their settings. The training objective is categorical cross-entropy, which compares the predicted probabilities for the classes with the known class of a training example. Assigning a low probability to the observed answer incurs a larger loss. The aim during fitting is to reduce this loss over training examples. At evaluation, the authors use measures that answer different questions, including how accurately the classifier identifies positive documents and how well its scores separate positive and negative documents.

#### Initializing the word representations

The base network takes its initial vectors from Google News. These are general-domain embeddings, learned from a source that is different from the target abstracts. An alternative mentioned in the paper is random initialization, in which the vectors begin without information learned from other text. Initialization with existing embeddings instead brings information from unannotated collections into a supervised classification task. The annotations on the cancer abstracts still provide the training signal for the hallmark decision. The larger collections supply the starting representations for words. The authors connect this approach to earlier work including [Natural Language Processing (almost) from Scratch](https://md.research.elamur.ai/free/en/papers/collobert-2011-natural-language-processing-almost-scratch/).

The paper's argument for trying biomedical vectors starts from the fact that the company a word keeps depends on the source of the text. Usage in scientific abstracts can differ from usage in news. Biomedical sources also contain specialized terms that general text sees less often. These are two distinct reasons a different vector collection might help. It can improve coverage, meaning more of the training vocabulary has an existing vector. It can also change the relationships encoded in the vectors for words that appear in both collections. The comparison in the paper tests complete vector collections, so those possible sources of improvement travel together.

The authors consider word2vec embeddings from different combinations of biomedical and general material. PubMed is abbreviated PM in the paper's table, and PMC denotes the other biomedical source used in the Pyysalo collections. There are vectors from each source separately, from their combination, and from the combination with Wikipedia. The Chiu collections come from PubMed and differ in the window used during embedding induction. This window describes how much neighboring text is considered while learning the word vectors from the large corpus. It is a different setting from a convolutional filter width, which controls the spans examined by the hallmark classifier.

The Google News vectors have 300 coordinates per word, while the Pyysalo and Chiu vectors have 200. Changing the source of the initialization can therefore change the size of the representation as well. The out-of-vocabulary rate compares each collection to the training data for the task. A large vocabulary in a vector collection does not necessarily translate into high coverage of the abstracts. The question is whether the words that occur in those abstracts are represented, an issue the paper returns to in the development experiments.

For the adapted configuration, the authors select the Chiu PubMed vectors learned with window size 2. That is a choice among the collections they compared on the development partition. Both of the Chiu collections originate from biomedical text, so their comparison also shows how two initializations from the same source can differ for this task. It leaves room for the way the vectors were induced, alongside the source of the words, to affect the result.

#### Fitting and selecting the network

The initial training setup uses minibatches of 50. A minibatch is a group of examples whose losses provide an update to the network's parameters. An epoch is a pass through the training data used for fitting. The authors train for 20 epochs using Adam, the method they use to turn gradients of the loss into updates to the network. The embeddings and convolutional layers supply the representation on which the output depends, and the classification loss gives the fitting procedure a way to evaluate changes to its parameters.

The network applies dropout before the output layer with a probability of 0.5 in the starting setup. During training, dropout masks some of the input to that layer so it cannot rely on the same entire set of pooled responses for every update. The aim is to regularize the network, meaning to reduce its tendency to fit peculiarities of the training examples that fail to generalize. The authors considered L₂ regularization, which discourages large weights. They report that it gave no consistent improvement in preliminary trials and use dropout as the regularization method in the reported configuration.

For the adapted network, class balancing changes which examples reach training. For each hallmark, the authors sample positive examples with replacement until their number matches that of the negatives. Sampling with replacement allows an existing abstract to appear repeatedly. It supplies more training presentations of those positives. It does not add new wording, annotations or biological cases. The development and test partitions retain their original class distributions, so the balancing operation changes training while evaluation still reflects the prevalence of the labels in the held-out abstracts.

The authors also modify the set of convolution widths after comparing alternatives on the development data. The tuned widths are 2, 3, and 4. That shift lets the network examine shorter spans than the base configuration. During the width search the total number of filters stays at 300. Keeping that count fixed means that the comparison varies the allocation of detectors to window sizes while retaining the same count of pooled responses. A change in performance under this design can be linked more closely to the widths than it could be if every added width simply came with more detectors.

Checkpoint selection uses a form of early stopping. The authors inspect performance on the development set during training and test the network state selected for its development result. For the development experiments, they report the best F-score and AUC reached over epochs. This matters because the same training run can reach its best ranking at one point and its best classification at another. The reported maxima describe the best values reached for their respective metrics during development. The method description does not require readers to interpret both maxima as performance at a single common epoch.

The initialization and training procedures contain random elements, so repeating a run can give a different result even when its settings and data split are held fixed. The authors repeat each convolutional experiment 10 times and report mean evaluation results. This gives the comparison a basis beyond a single training trajectory. They do not make the same repetitions for the support vector machines, whose fitting problem has convex optimization. The contrast is part of the practical setup because the number of settings examined and the number of repeats both contribute to the total work.

#### What the comparison systems see

The simpler support vector machine represents a document by word presence. It treats the words as a set, dropping order and counts. If a word occurs more than once, its feature still says only that it is present. A linear classifier fits weights on the features to distinguish positives from negatives. The input gives it a way to use a word as evidence for a hallmark. It has no separate feature for the positional relationship between two words unless that relationship has already been encoded in the representation. The experiment uses the linear-kernel implementation in Scikit-learn as the simpler comparison.

The feature-rich support vector machine receives multiple views of an abstract. One is a set of lemmatized words after common stop words have been excluded. A lemma is a form used to group grammatical variants of the same word. The authors use BioLemmatizer for this purpose. They also add compound noun pairs in their original forms, so that a noun combination can carry evidence of its own. A pair like gene mutation has a more specific meaning than the separate presence of the words gene and mutation. This lexical portion of the pipeline combines [lemmatization](https://md.research.elamur.ai/free/en/concepts/lemmatization/) with features based on adjacent nouns.

The C&C Parser supplies a different kind of relationship. The authors use a biomedical version of the parser and record selected grammatical relations together with the words they connect. The features cover direct objects, non-clausal subjects and indirect objects. Each such feature identifies the relationship and its head and dependent. This gives the classifier evidence about which words participate together in a grammatical construction, including cases where merely recording their occurrence would lose that association. It is an example of using [parsing](https://md.research.elamur.ai/free/en/concepts/parsing/) to decide in advance which structure to preserve.

The pipeline has a further way to generalize across verbs. It draws on a classification of 399 verbs with three levels of abstraction. A verb can contribute a feature at each level of its class hierarchy. The more specific grouping preserves a fine distinction, while a broader grouping lets related verbs provide common evidence. This is a structured choice about when to handle different words alike. In the convolutional network, relationships between words are instead made available by their vector representations, and the filters learn which aspects of those representations are useful for a hallmark.

The richer system uses ABNER to identify cell types, cell lines, proteins, DNA and RNA. Each feature derived from a recognized entity combines the entity's type with its words. The classifier can then use an expression in the context of the biomedical category assigned to it by the tagger. The assigned Medical Subject Headings and chemical identifiers supply other information that had already been attached to publications during indexing. Those identifiers enter as presence features, so the comparison with the text-only network includes a difference in available input as well as a difference in classifier. The biomedical tagging step is an instance of [named entity recognition](https://md.research.elamur.ai/free/en/concepts/named-entity-recognition/).

The authors extract the rich features from training data and filter them by frequency to remove especially common and especially rare entries. Both support vector machines use a linear kernel. Their regularization parameter, written as lower-case *c* in the paper, is chosen on development data over a logarithmic search from 10⁻² to 10². This parameter governs the strength of the penalty for training errors relative to regularization. The rich system also uses inverse class weighting, giving the less frequent class more influence during fitting. That addresses the same imbalance as positive oversampling in the network through a different mechanism. It changes the influence of examples already in the fit instead of drawing repeated copies for training batches.

### Experiments and results

#### What the test set contains

The authors evaluate on the held-out portion of the corpus of 1852 abstracts. They report positive and negative counts by hallmark because the same document contributes to several binary evaluations. The counts give the result a scale that a headline average alone cannot convey. In the test partition, sustaining proliferative signaling has 91 positive and 275 negative abstracts. Resisting cell death has 84 positive and 282 negative abstracts. Deregulated cellular energetics and avoiding immune destruction each have 21 positives and 345 negatives. These are examples of how differently the classes are represented even though the experiments use the same partition of documents.

The imbalance is already visible in the fit and development data. For replicative immortality, the training partition has 81 positive abstracts and 1222 negatives. The development partition has 11 positives and 172 negatives for that label. For cellular energetics, there are 74 positives and 1229 negatives in training and 10 positives and 173 negatives in development. For proliferative signaling, the development set contains 43 positives and 140 negatives. As a consequence, a development result for a less common label can depend heavily on how a classifier handles a small group of abstracts. Training repetitions help account for different runs on those abstracts, while the same examples contribute every time to development evaluation.

The distribution also explains why the paper compares metrics that treat a decision threshold differently. If a system made very few positive predictions, a large share of all its decisions might agree with the annotations simply because negatives are so common. That behavior could still be poor at finding the relevant papers. The evaluation instead asks how frequently positive predictions are right, how much of the relevant material they recover and how the ordering of scores behaves when the cutoff for including an abstract changes.

#### Reading the two headline measures

Precision is the share of positive predictions that correspond to abstracts annotated with the hallmark. Recall is the share of annotated positives that the classifier retrieves. A system can make a conservative set of predictions that gives good precision while missing many annotated cases. Conversely, a system can retrieve more of the relevant abstracts and bring more negatives along with them. F-score combines precision and recall in a harmonic mean. It measures the quality of the positive decisions at the criterion used to turn scores into labels.

Across possible thresholds, separation is assessed by AUC, the area beneath the receiver operating characteristic curve. The curve tracks the rate of detecting positives against the rate of mistakenly including negatives as the threshold moves. AUC summarizes that curve. It therefore compares the ranking behavior of classifiers without depending on a particular cutoff. The authors emphasize its usefulness when positive and negative counts are very different. For a given ranking behavior within the classes, the relative prevalence of the classes does not have the same direct effect on AUC as it has on precision and F-score.

These measures capture complementary aspects of the task. F-score is closer to the quality of a concrete set of attached labels. AUC considers what the system's scores could offer at different choices of decision boundary. A system can rank most positive abstracts above negatives and still do less well on F-score if the rule used to convert those scores into decisions retrieves too few positives or includes too many negatives. This is one reason the generic convolutional network looks different depending on the measure used.

The headline averages summarize results across the hallmark decisions. Each hallmark has its own score and contributes to the comparison of systems at this level. That lets a result for a scarce label remain visible in the headline average, even though it involves fewer positive examples. The category-level results are still essential for understanding the average. A system can perform well overall while having a weakness for a particular hallmark, and a competing representation can be valuable for that hallmark even when it loses on the overall measure.

#### The held-out comparison

Average F-score across hallmarks on the held-out abstract test set The tuned network leads the comparison, while the base network and rich SVM are close.

**The numbers**

| System or setting | F-score % |
| --- | --- |
| Bag-of-words SVM | 69.2 |
| Rich-feature SVM | 76.8 |
| Base CNN | 76.6 |
| Tuned CNN (this paper) | 81.0 |

The bag-of-words support vector machine has the lowest average test F-score, at 69.2%. The rich version reaches 76.8%, showing that the combined text processing and indexing features make a difference for the linear classifier. The base convolutional network achieves 76.6%, using the generic architecture settings and Google News initialization. Its proximity to the rich baseline is a central result of the paper. The differences in how the systems prepare their input are substantial, while their mean F-scores at the reported decision criteria are close. The tuned network leads at 81.0%.

Average ROC AUC across hallmarks on the held-out abstract test set Both convolutional configurations lead the support vector machines in average ranking performance.

**The numbers**

| System or setting | ROC AUC % |
| --- | --- |
| Bag-of-words SVM | 93.1 |
| Rich-feature SVM | 94.9 |
| Base CNN | 97.1 |
| Tuned CNN (this paper) | 97.6 |

On average test AUC, the bag-of-words and rich support vector machines score 93.1 and 94.9 on the paper's percentage scale. The base and tuned networks score 97.1% and 97.6%. The generic network thus comes out ahead of the rich baseline in ranking while finishing slightly behind it in F-score. The authors suggest that the location of the decision boundary could explain part of that pattern. AUC and F-score are compatible with this interpretation, although the experiment leaves the cause open. The tuned network's lead on both measures shows an improvement in the ordering of scores as well as in the quality of the resulting positive decisions.

The adapted convolutional network attains the highest result in 7/10 hallmark tasks for F-score and in 7/10 for AUC, as the authors report. The individual comparisons show why it is important to keep the two measures separate. For inducing angiogenesis, the rich support vector machine attains a test F-score of 85.7%, ahead of the tuned network at 79.4%. Yet the tuned network has an AUC of 99.1% for angiogenesis, above the rich classifier's 98.4. The scores can be useful for ranking abstracts even when the reported label decisions favor the competing classifier.

Genomic instability and mutation provides a different example. The tuned network has an F-score of 81.7%, compared with 72.2% for the base network and 69.2% for the rich support vector machine. The corresponding test AUC values are 97.0% for the tuned network, 95.8% for the base and 91.7 for the rich baseline. Here the advantage for the adapted system is visible at the reported decision criterion and across thresholds. In such a case, the aggregate result is consistent with the evidence from both category-level measures.

For resisting cell death, the base network's F-score of 86.9% is higher than the tuned network's 86.7%, even though the tuned network has the higher AUC, 97.7% against 97.1%. The comparison for enabling replicative immortality goes in the other direction across the two metrics. The tuned network's F-score is 91.5%, against 91.2% for the base, while the base has an AUC of 99.8% against 99.5% for the tuned variant. These results show that the changes selected for average performance can shift a hallmark's standing differently depending on the objective.

For activating invasion and metastasis, the tuned network gives an F-score of 82.6%, against 82.0% for the base network and 72.7% for the rich support vector machine. The tuned and base networks also lead the rich system on AUC for that hallmark, with 98.2% and 97.8% against 94.0. For tumor-promoting inflammation, tuning raises the convolutional F-score from 81.6% to 84.2%, while the corresponding AUC values are 98.3% for the base and 98.1% for the tuned variant. Again, the two measures respond to different properties of the predictions.

The improvement is visible for some of the least frequent categories. For cellular energetics, the tuned network reaches 88.3% F-score, with 76.6% for the base network and 85.7% for the rich support vector machine. At 99.6% AUC, the tuned version matches the value printed for the rich SVM on the same scale. For avoiding immune destruction, the tuned network scores 75.8% in F-score and 99.1% in AUC. The corresponding base results are 67.7% and 97.8%. These are outcomes on the particular test split, where each of those categories has 21 positive examples.

The categories with more annotated positives also illustrate why prevalence alone cannot account for the results. Sustaining proliferative signaling has a test F-score of 70.0% for the bag-of-words classifier, compared with 67.9% for the tuned network and 67.4% for the rich baseline. On AUC for that label, the base network reaches 92.1% and the tuned one 91.0%. Evading growth suppressors, meanwhile, favors the tuned network on both measures. Its test F-score is 71.5%, compared with 66.7% for the base network and 65.3% for the rich baseline, and its AUC is 96.4%. The category results include easy and difficult cases for each system family. A ranking of the methods across the corpus consequently describes a broader outcome than the choice of a classifier for any particular label.

### What the ablations show

#### Balancing the positive and negative examples

The development experiments investigate changes to training, initialization and filter sizes. They show how the authors chose the tuned configuration, with more detail than the final comparison between the base and tuned networks can supply on its own. The oversampling experiment is the most direct test of a change to the distribution of training examples. It changes the balance by making existing positives recur during fitting, while the evaluation partition still contains the original mixture.

With oversampling, average development F-score rises from 85.3% to 86.1%. The change in AUC is smaller, from 97.3% to 97.5%. This pattern is compatible with a training adjustment that improves the balance of precision and recall at the decision criterion more than it changes the general ordering of abstracts. The authors motivate the adjustment by pointing out that training on strongly imbalanced data can produce conservative decisions, with high precision and low recall. The reported comparison gives F-score and AUC, so the separate contributions of precision and recall to the improvement remain unspecified.

The treatment also makes clear what class balancing can accomplish with limited annotations. Giving each class similar representation during training increases opportunities to learn from the positive abstracts. It still starts from the same material. A rare hallmark can have repeated presentations of each available example without the broader range of positive language that a larger labeled corpus could provide. The experiment shows that changing exposure to the available examples helped under the development setup, which is the evidence the authors use for carrying oversampling into the adapted system.

#### Biomedical vocabulary and classification quality

The embedding comparison evaluates the vector collections with oversampling already in use. The authors report the maximum development F-score and AUC over epochs, macro-averaged across the hallmark categories. Several of the collections have much better vocabulary coverage than the Google News vectors. The training-data out-of-vocabulary rate for Google News is 31.0%. The rate is 0.52% for Pyysalo PM, 0.51% for Pyysalo PMC and 0.49% for Pyysalo PM+PMC. The collection that adds Wikipedia has an out-of-vocabulary rate of 0.53%, and the two Chiu collections each have 0.49%.

These rates measure overlap with the task training data. They cannot be read as general coverage rates for the source collections in isolation. The authors attribute much of the gap for Google News to missing stop words, punctuation and numbers. Some of the missing items can therefore contribute substantially to the coverage statistic while offering relatively little direct evidence of a hallmark. The comparison illustrates the difference between counting missing entries and evaluating the consequences of those omissions for a supervised decision.

Google News remains competitive on the development measures. According to the authors, it outperforms the in-domain options except for the Chiu PubMed vectors learned with window size 2. The latter give the best overall development result, with only a modest advantage over Google News on AUC. The authors use those PubMed vectors in the remaining development experiments and in the tuned test configuration. The evidence supports that specific choice among the collections compared. It also demonstrates that broad biomedical vocabulary coverage does not by itself order the alternatives by classification performance.

The two Chiu collections give a particularly useful reading of that distinction. The table reports the same training-data coverage for the collection learned with window size 2 and the one learned with window size 30. They share a reported source size of 2.7B, vocabulary size of 2.2M and vector dimensionality of 200. The fact that the authors choose the smaller window in the development comparison indicates that matching these characteristics is insufficient to guarantee matching classification behavior. The way context contributes to the representation can matter even when the vector inventory is equally well matched to the abstracts.

Other comparisons in the same experiment do not isolate a single source of change as closely. Google News is general-domain, larger by the paper's source-size measure at 100B, and has vectors with 300 dimensions. Its vocabulary contains 3M entries. The Pyysalo combination of PubMed and PMC uses a source size of 5.5B and has 4M vector entries with 200 dimensions. The most directly supported conclusion is about how the complete initializations behave when used in this classifier. The experiment is less suited to attributing the result to domain, corpus size or dimensionality individually.

#### The length of the convolution window

The filter experiments vary both the widths and the number of widths. The authors consider sizes in the range 1–10 and sets containing 1–5 sizes. Each set uses consecutive widths, so the plotted maximum width identifies the largest of a group of neighboring spans. The number of filters overall is fixed at 300. The sweep therefore compares how the same number of detectors performs when it is distributed across different local windows.

Development macro-average AUC generally falls as the filter sizes increase. The best point uses widths 2, 3, and 4. The authors also describe the variation across choices as modest. Both observations belong together. Shorter spans supplied the best setting among those evaluated, while nearby or alternative settings frequently gave similar performance. The figure is evidence for a preference within a relatively robust range of choices. It does not show that headline test performance hinges on an exact width or that a particular phrase length defines the language of a hallmark.

The study asks what happens when local detectors look at different numbers of adjacent words. It leaves the rest of the broad architecture in place, including the pooling rule that retains each detector's strongest response. The result is consistent with an abstract containing local clues that need only a short span to be useful. An abstract is long enough to contain many such spans, and pooling allows a useful response to occur anywhere. The width experiment does not identify which phrases activated the detectors, or whether the decisive features were biomedical terms, combinations of words or some other regularity in the corpus.

The three development comparisons play different roles in the argument. Balancing demonstrates a gain from changing exposure to positives under the reported setup. Trying different vectors shows that the domain of the source and vocabulary coverage cannot explain performance by themselves. The width sweep shows a modest gain from adapting the size of the local windows. The final test comparison evaluates these decisions together. It establishes how the resulting configuration performs on held-out abstracts, while the development experiments provide the evidence for why the authors selected its components.

### Limitations

#### Limits the authors identify

The authors draw attention to the size of the labeled corpus and to the particularly small positive classes for several hallmarks. A stochastic training procedure can respond differently to initialization and to the random choices made during fitting. Averaging 10 repetitions per convolutional experiment reduces dependence on a single run. It still describes results on the same data partition. The authors' comparison with the support vector machine accordingly includes a difference in experimental burden. With convex optimization for the latter, they regard repetition of the fit as unnecessary.

The computational cost becomes much more visible when the search is considered as a whole. The paper reports that an individual training epoch averaged 5 seconds on the NVIDIA K20 hardware used in the experiments. With the parameter grid and repetitions, the study trained over 5000 networks. The reported experiments took approximately 150 GPU-hours of training, with preliminary and discarded runs outside that figure. The contrast matters for interpreting the paper's claim of simplicity. Fewer text-analysis dependencies make the route from input to classifier shorter. Deciding which network to use can still require substantial computation.

The authors also note that the network carries many choices, even in this relatively simple architecture. Among them are the embedding source, the convolution widths and the training procedure. Choices that suit one task can have different optima on another. The development experiments help bound that uncertainty for this corpus. They provide limited grounds for predicting how much tuning will be needed for another collection of publications. The authors present adaptability and the possibility of extension as reasons to investigate further biomedical uses of the architecture.

A further distinction in the discussion concerns [interpretability](https://md.research.elamur.ai/free/en/topics/interpretability/). A discrete feature in the SVM can correspond to an identifiable word, grammatical relation, entity or heading. The network learns continuous representations and responds to combinations of numerical features. A high response in a pooled unit signals that a pattern fired somewhere, while explaining the linguistic or biomedical significance of that pattern is a separate job. The study reports classification behavior. It does not present an account of the detector patterns that led to particular decisions. The choice between the two approaches can therefore depend on how much an application needs readable features as well as on how well the systems score.

#### Limits that follow from the design

The benchmark covers annotated biomedical publication abstracts and the hallmark definitions used in that corpus. The held-out test set is evidence about prediction on other abstracts within that evaluation design. The experiment provides no direct results for complete articles, text from another biomedical specialty or a collection annotated under different rules. The earlier social media work helps motivate the study and puts its document lengths in context. It cannot serve as evidence of transfer by the cancer hallmark classifier.

The predictions concern how a publication is categorized. A correct label agrees with the assigned annotation about the abstract. It does not establish that the publication proved a biological mechanism, indicate whether the authors supported or disputed a particular claim, or identify which sentence is responsible for the label. The output is too coarse for those uses. A network can improve abstract-level assignment without improving extraction of relations or events, and the study does not test those tasks.

Independent binary decisions also define what the system can learn explicitly. They allow co-occurrence of hallmark labels without fitting a joint account of how labels depend on each other. The classifiers may respond to related evidence in the same document, but the experimental comparison does not measure how much a joint treatment of the categories would help. This is a relevant distinction because the hallmark framework itself describes interrelated biological properties. The practical conversion to binary tasks makes the benchmark easier to compare category by category, while leaving the value of those relationships unevaluated.

The earlier corpus study used cross-validation, and this paper uses a dedicated train, development and test split. The strongest comparison is therefore the one with the replicated feature-rich system on the same held-out data as the neural configurations. A number reported under the earlier study's evaluation design has a different relationship to training and testing. The paper's state-of-the-art claim concerns the dataset and the comparison it performs. It can be understood without treating scores from distinct evaluation splits as interchangeable.

The average of repeated runs addresses randomness in fitting, but the main results are reported without uncertainty intervals. They give no direct account of variation across different possible data partitions. In addition, some test labels have few positives, so the ordering of systems by a close per-label F-score may depend on a few decisions. The small differences for specific hallmarks are best read as the rankings observed in this experiment. The larger question of their stability requires evidence beyond the reported means.

The development set also serves several purposes. Its results guide the selection of embeddings, widths and training checkpoints, and it supplies the reported comparisons of those settings. The held-out test set gives an independent check on the final configurations. It does not independently retest every choice made during development. In particular, there is no full held-out comparison of the tuned system with each individual change removed. The final gains can be attributed to the tuned configuration as a whole. The development results indicate the direction of the individual changes under the conditions where they were tried.

The comparison between the rich support vector machine and the network changes both the learning procedure and the inputs. The rich system receives selected linguistic features and indexing information. The network receives text and embeddings acquired from much larger collections of unannotated material. It would take other comparisons to isolate the influence of each rich feature family or to separate the effect of the architecture from the effect of access to pretrained vectors. The paper does establish a practical result for the complete approaches it evaluates. It does not assign a separate share of that result to parsing, publication indexing, embedding pretraining or any other single ingredient.

Finally, the ranking advantage measured by AUC leaves an operational question about converting scores into labels. The paper's suggestion about the base network's decision boundary is plausible on its metrics, but no direct experiment shows how much of the F-score ordering could be changed by moving the threshold. An application that uses scores to sort papers and one that automatically attaches labels are making different use of the classifier. The paper measures aspects of both through AUC and F-score. It provides no evidence about which decision criterion readers would prefer in actual literature searches.

### What came after

The authors made their tools and resources available under open licenses and proposed extending this approach to other biomedical classification tasks. There is no documented follow-up here that establishes how later researchers used the classifier, reused the annotated abstracts or tested the findings on another collection. Those remain possible lines of follow-up rather than observed extensions of the study.

## Cite

Cite as Simon Baker, Anna Korhonen and Sampo Pyysalo. 2016. Cancer Hallmark Text Classification Using Convolutional Neural Networks. Proceedings of the Fifth Workshop on Building and Evaluating Resources for Biomedical Text Mining (BioTxtM2016).

The paper itself, not this page. BibTeX from the library's record of the work.

```bibtex
@inproceedings{baker2016cancer,
  title = {{Cancer Hallmark Text Classification Using Convolutional Neural Networks}},
  author = {Simon Baker, Anna Korhonen and Sampo Pyysalo},
  booktitle = {Proceedings of the Fifth Workshop on Building and Evaluating Resources for Biomedical Text Mining (BioTxtM2016)},
  year = {2016},
  url = {https://aclanthology.org/W16-5101/}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
