---
title: "UniMelb at SemEval-2016 Task 3 — paper by Baldwin et al. (2016)"
description: "UniMelb combines string similarity and a convolutional network to rank related forum questions, with different winners on development and test data."
canonical: "https://research.elamur.ai/free/en/papers/baldwin-2016-unimelb-semeval-2016-task-3/"
---
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/baldwin-2016-unimelb-semeval-2016-task-3/)

[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/) / UniMelb at SemEval-2016 Task 3: Identifying Similar Questions by combining a CNN with String Similarity Measures

# UniMelb at SemEval-2016 Task 3: Identifying Similar Questions by combining a CNN with String Similarity Measures

Paper · 2016 · Timothy Baldwin, Huizhi Liang, Bahar Salehi et al.

**Authors:** [Timothy Baldwin](https://md.research.elamur.ai/free/en/authors/timothy-baldwin/), [Huizhi Liang](https://md.research.elamur.ai/free/en/authors/huizhi-liang/), [Bahar Salehi](https://md.research.elamur.ai/free/en/authors/bahar-salehi/), [Doris Hoogeveen](https://md.research.elamur.ai/free/en/authors/doris-hoogeveen/), [Yitong Li](https://md.research.elamur.ai/free/en/authors/yitong-li/) and [Long Duong](https://md.research.elamur.ai/free/en/authors/long-duong/) · **Year:** 2016 · **Venue:** Proceedings of the 10th International Workshop on Semantic Evaluation (SemEval-2016) · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

[Cited by **5** papers in our library of more than 163,000 papers whose bibliographies we read](https://md.research.elamur.ai/free/en/papers/baldwin-2016-unimelb-semeval-2016-task-3/cited-by/) · Proceedings of the 10th International Workshop on Semantic Evaluation (SemEval-2016) · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/S16-1131/)
- [PDF](https://aclanthology.org/S16-1131.pdf)
- [DOI 10.18653/v1/s16-1131](https://doi.org/10.18653/v1/s16-1131)

## Summary

A forum can already contain the answer to a new question, even when the person asking it uses different words. Finding the earlier discussion begins with deciding which archived questions address the same need. The University of Melbourne team studied that decision in the [community question-answering](https://md.research.elamur.ai/free/en/topics/question-answering/) task at SemEval 2016. For each new question, the organizers supplied a shortlist from the Qatar Living forum. The team had to put useful matches above irrelevant candidates. Each question had a title and a description, and the evaluation treated both perfect matches and other relevant questions as useful.

The submission combined three classifiers. A support vector machine compared lemmatized titles using measures that look for matching stretches of text. A naive Bayes classifier used a different set of lexical comparisons and drew on the descriptions as well as the titles. A convolutional neural network represented each question with fixed [word embeddings](https://md.research.elamur.ai/free/en/concepts/word-embeddings/), then built representations that combined information across words. It compared the questions at several levels and gave those comparisons, along with scores borrowed from translation evaluation, to a classifier. Each component voted on whether a candidate was relevant. The submission put candidates accepted by a majority ahead of the rest.

The vote gave the best development result among the systems reported in the paper, with mean average precision of 73.13%. This metric rewards a ranking that places relevant candidates early and averages performance across queries. On the test set, the submission scored 70.20% on that metric. The convolutional system alone reached 73.04%, the highest test result among the team's systems, and the organizers' Google-based retrieval baseline reached 74.75%. The vote did have the highest test accuracy among the team's systems, so it looked better when the evaluation counted correct relevance decisions across candidates than when it asked where relevant candidates appeared in the ranked lists.

The classifiers frequently made different decisions on development data, giving the authors a reason to try combining them. That diversity was compatible with a development gain and a test loss on the primary metric. The authors point to two possible reasons for the uneven results across splits. The test set contained a smaller proportion of relevant candidates than the training and development sets, and the amount of training data was limited. The experiment leaves both explanations open. It also lays out a concrete question for a follow-up: whether giving the lexical features directly to the neural classifier would make better use of their information than combining completed decisions by majority vote.

## Deep dive: UniMelb at SemEval-2016 Task 3: Identifying Similar Questions by combining a CNN with String Similarity Measures

UniMelb combines string similarity and a convolutional network to rank related forum questions, with different winners on development and test data. · about 33 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

#### Finding the old question behind a new one

The motivating resource is an archive of conversations in which people have already discussed questions that other users may ask again. The research task starts with the question side of those conversations. If a new query can be connected to a relevant archived question, the corresponding discussion becomes a place to look for existing answers. The paper concentrates on the quality of that connection. The material the system sees for comparison is the text of the questions, and the thing it returns is an ordering of candidate questions.

That ordering matters because the candidates can include plausible near misses. Two forum posts can discuss the same subject while asking for different information. Conversely, two people can need substantially the same information and use different vocabulary or put the important detail in different places. A resemblance in wording is evidence the system can use. To do well on the task, the system also needs to recognize when the resemblance bears on the request made by the query.

In the SemEval setup, each query arrived with up to ten archived candidates. This makes the problem one of reranking. The work of finding an initial pool of potentially related questions has already happened when the system receives its input. The system's job is to decide which items in that pool deserve the earliest positions. The [information retrieval](https://md.research.elamur.ai/free/en/topics/information-retrieval/) baseline is consequently meaningful in its own right. The pool comes with an existing way to order the items, and a new system can be assessed against that ordering as well as against an ordering generated at random.

A query and a candidate both consist of a title and a description. A title offers a compact statement that may contain much of what distinguishes the request. A description offers more opportunities to recover a detail that matters to the comparison. It can also supply words associated with the topic that do little to establish whether the requested information is the same. The paper uses both kinds of text, and the choice about which to use depends on the comparison being made. The title-based classifier and the classifier using both fields thus see different evidence before any learning or voting takes place.

The original annotation distinguishes a perfect match from other relevant questions and from irrelevant ones. The ranking task merges the first two labels. A system earns credit for promoting a useful archived question even when the original annotation stops short of calling it a perfect match. This is important when interpreting the title of the paper and its discussion of duplicate questions. The positive class in the experiment covers the full set of candidates judged relevant under the merged scheme. The archived question can therefore qualify by being a useful match without having to reproduce the query's request word for word.

The labels apply to query–candidate pairs. The same idea of relevance carries through to evaluation, where each ordered list is judged with respect to its own query. A often occurring term or a generally informative description has value only insofar as it helps connect the particular candidate to the question at hand. The feature calculations and the final vote operate on individual pairs, while the ranking metrics assess what those decisions accomplish across the candidate list.

#### Why the authors tried several kinds of comparison

The team's starting point was work on lexical and string similarity in related tasks. They had used such measures when studying how the meanings of multiword expressions relate to their parts, when estimating [semantic similarity](https://md.research.elamur.ai/free/en/concepts/semantic-similarity/) between texts, and when detecting entailment across languages. These applications gave them a practical reason to try measurements of resemblance that can be calculated directly from two strings. In the forum task, a shared phrase or a well-matching stretch of a title could provide a useful signal without requiring an elaborate representation of the whole question.

Their second lexical approach makes a different use of shared words. Sequence comparison can reward a close match between stretches of text. Measures over the terms found in each question can also register overlap when matching words are spread out or appear in another order. The difference is important even within a family of methods loosely described as string similarity. The title-based branch and the branch that uses both fields differ in what they compare, which properties they preserve and how they turn the resulting features into a decision.

The neural branch comes from research that uses convolution to build representations in stages. The authors point to applications of neural architectures in speech and vision and to their use for language. For the question comparison itself, the architecture they draw on most directly comes from work by Kalchbrenner and colleagues. It uses filters that act on local regions of a sentence, then combines and selects the responses so that later processing can work with information gathered across more than one local region. The authors were interested in whether this structure could help when questions with related meanings shared little surface wording. [A Convolutional Neural Network for Modelling Sentences](https://md.research.elamur.ai/free/en/papers/kalchbrenner-2014-convolutional-neural-network-modelling-sentences/)

The paper also draws on Yin and Schütze's approach to paraphrase identification. For the purposes of this system, the relevant connection is that there is no need to reduce each question to a single final vector before making comparisons. Similarity can be assessed at several stages, including the stage that still represents individual words. The resulting evidence can reflect local correspondences and matches between larger units. The forum task uses its own relevance criterion, with the original relevant and perfect-match labels pooled together. The paraphrase work is a source for comparison methods. [Convolutional Neural Network for Paraphrase Identification](https://md.research.elamur.ai/free/en/papers/yin-2015-convolutional-neural-network-paraphrase-identification/)

The other ingredient from paraphrase research is the use of [machine translation](https://md.research.elamur.ai/free/en/topics/machine-translation/) evaluation scores. A translation metric compares a text with a reference to estimate how closely the two correspond. Earlier work cited by the authors had already examined whether such scores help with paraphrase identification. Here the texts being compared are both questions. The scores give the classifier additional evidence about their correspondence, alongside the comparisons made from the convolutional representations. [Re-examining Machine Translation Metrics for Paraphrase Identification](https://md.research.elamur.ai/free/en/papers/madnani-2012-re-examining-machine-translation-metrics/)

These lines of work suggest different ways a relevant pair might be recognizable. A title may contain a useful shared sequence. Terms across the full question may provide corroborating evidence. Learned representations may help connect passages that express related material in different words, and translation evaluation scores may supply further pairwise signals. The architecture keeps several of those judgments separate until late in the process. The experiment then asks whether their votes yield a better ordering of the archived candidates.

### The method, step by step

#### From a pair of questions to a place in the list

The system starts with a query and an archived candidate. For each such pair, the first branch looks only at titles after reducing words to their lemmas. The second branch uses titles and descriptions in their original word forms and produces features based on lexical overlap and term comparisons. The third branch builds representations of both texts through convolution. It adds translation evaluation scores to the pairwise comparisons it gathers from those representations. Each branch makes a relevance decision, and the system repeats this process for the query's remaining candidates.

How UniMelb reranks archived questions The steps in order.

The combination happens after classification. Under the paper’s definition, a candidate qualifies as relevant when two or more of the three classifiers assign it that label. A confident assessment by one branch has the same voting weight as any other assessment in favor of relevance. A candidate accepted by the majority goes in the upper group, and the remaining candidates go in the lower group. This makes the decision boundary easy to understand. A single dissenting branch can be outvoted, while agreement between any two branches suffices.

The vote itself determines group membership. The paper's approach description treats order within a group as unrestricted for the submission and gives no secondary scoring rule to distinguish candidates there. The architecture as described therefore gives the team a way to promote a set of candidates, with less ranking detail than a system that assigns a separate graded score to every item. That distinction becomes important when interpreting the ranking results.

#### SS1 compares stretches of lemmatized titles

The first branch, SS1, uses [lemmatization](https://md.research.elamur.ai/free/en/concepts/lemmatization/) before comparing text. Lemmatization maps an inflected form to a base form so that a difference in inflection need not prevent a match. The authors used NLTK for the preprocessing. They initially considered comparisons on titles and descriptions, and for the final SS1 run they retained the title comparisons. The preprocessing and the choice of field together define the strings this branch sees. [NLTK: The Natural Language Toolkit](https://md.research.elamur.ai/free/en/papers/bird-2006-nltk-natural-language-toolkit/)

SS1 uses the longest common substring and Smith–Waterman. The longest common substring identifies a stretch shared by the two input strings. The requirement of continuity distinguishes it from a comparison that can gather matching elements from separated positions. It gives the classifier evidence about how much of one title is reproduced in an uninterrupted segment of the other. A short shared segment and a long shared segment can lead to different scores even when both titles contain some of the same terms.

Smith–Waterman looks for a local alignment. An alignment puts sections of the inputs into correspondence, with a scoring scheme that can account for matching elements and departures from an exact match. Local alignment searches for the portion in which the correspondence works best. This can be useful when a promising stretch is surrounded by text specific to each question. The paper uses the output of the alignment as a feature and refers readers to earlier work for the normalization details.

Both scores are normalized to the following interval.

```
[0, 1]
```

The brackets include both endpoints. The paper interprets 0 as the endpoint for complete dissimilarity and 1 as the endpoint for identity. Values inside the interval express intermediate resemblance under the measure in use. The scaling puts the two inputs on a common numerical range, while each retains its own definition of what makes a pair resemble one another.

A support vector machine, or SVM, learns the relevance decision from these features. In this application a linear kernel means that the classifier can learn how to weight the feature values and separate pairs on the basis of their combined evidence. It has examples of relevant and irrelevant candidates from the training split. The implementation is from scikit-learn, with its default parameters. The result of this branch is one relevance judgment for the pair.

The authors also tried Levenshtein and modified Levenshtein features. These bring edit-based evidence to the comparison by scoring how text can be changed to match other text. The additional features did not improve the authors' trials, and they retained the longest common substring and Smith–Waterman for SS1. The paper gives the outcome of the trial in words, with the exact scoring and normalization for the retained comparisons described in the earlier work it cites.

#### SS2 compares terms across titles and descriptions

The second branch, SS2, takes lexical evidence from both fields. Where SS1 is sensitive to how stretches of text line up, several of the SS2 features summarize which terms are shared and how extensive the shared material is relative to the terms available for comparison. The authors use Jaccard similarity, cosine similarity on binary term vectors, the overlap coefficient, and the Sørensen–Dice coefficient. A further feature is Kullback–Leibler divergence. Together these give the classifier several descriptions of lexical agreement and difference rather than forcing it to make the decision from a single overlap score.

Jaccard similarity compares the terms present in both questions with the pool of terms present in either. It gives the rest of the vocabulary in the pair a role in interpreting a match. The overlap coefficient relates shared material to the smaller set. This makes it responsive to cases in which a short question's vocabulary is mostly contained in a longer one. The Sørensen–Dice coefficient also normalizes the shared material using the sizes of the input sets, with a different weighting of the overlap. These measures can make different distinctions among pairs even when there are equally many terms in common.

Cosine similarity supplies a geometric comparison. In the binary term vectors used here, an entry indicates whether the corresponding term is present. A question containing the same term several times therefore gives this feature the same presence information for that term as a question containing it once. The direction of each vector represents its pattern of occupied entries, and cosine similarity assesses how closely those patterns align. This is different from the cosine comparison used later in the neural branch, where the entries are coordinates of dense representations and can encode relationships beyond term identity.

Kullback–Leibler divergence compares distributions. Its place in SS2 gives the classifier a feature that expresses discrepancy rather than another way of counting shared terms. The paper names the measure but leaves the construction and smoothing of the distributions unspecified. Similarly, the descriptions of the overlap features identify what was used and which question fields supplied evidence, with the details of field combination left open. These omissions matter when trying to reproduce the exact input values, even though the purpose of each family of features is clear.

The authors kept the word forms without applying stemming or lemmatization to SS2. Their experiments found that those transformations made no difference for this branch. This choice is local to SS2. SS1 still uses lemmatization, and its features treat matching sequences differently. The two preprocessing decisions sit inside different complete classification pipelines, so the result for SS2 addresses the usefulness of normalization in that particular setting.

SS2 passes the features to naive Bayes. The classifier uses patterns observed for each class to assess which label the features support. Its simplifying treatment of the features allows evidence from the different lexical scores to contribute to the same decision. The paper used the implementation in Weka with the default settings. The output, as in SS1, is a relevance judgment for the query and candidate under comparison.

#### The convolutional branch builds several views of each question

The neural branch first turns each tokenized input into a sequence of vectors. A vector represents a word by a list of numerical coordinates. The coordinates belong to a representation learned before the task, and the vectors stay fixed during task training. The authors take them directly from the pretrained embeddings associated with Mikolov and colleagues. Their dimensionality is specified as follows. [Distributed Representations of Words and Phrases and their Compositionality](https://md.research.elamur.ai/free/en/papers/mikolov-2013-distributed-representations-words-phrases-their/)

```
d = 300
```

The symbol d is the number of coordinates in each word vector. The value 300 is the dimension of the pretrained embeddings used in the experiments. The word vectors form the input from which the trainable layers build representations of the question.

```
S = (w₁, w₂, …, wₙ)
```

Here S is the tokenized input sequence. A symbol w denotes a word token, and its subscript gives its position in the sequence. The subscripts begin with the first token and run to n, the length of the sequence. The ellipsis stands for the intervening positions. The parentheses group the tokens into an ordered sequence.

```
eᵢ ∈ ℝᵈ
```

The vector eᵢ represents the token at position i. The membership symbol ∈ says that this vector belongs to the space on the right. The symbol ℝ denotes the real numbers, and the superscript d indicates that the vector has d real-valued coordinates. The same pretrained representation supplies the coordinates whenever the corresponding word is looked up.

```
E ∈ ℝᵈˣⁿ
```

The symbol E denotes the input matrix for the text. Its columns are the word vectors in sequence order. The superscripts specify a matrix with d rows and n columns, and the superscript x indicates the two dimensions of the matrix. The number of rows is set by the choice of embeddings. The number of columns varies with the length of the input. The use of a matrix lets a filter operate over successive positions while keeping the word-vector coordinates available.

A convolutional filter moves along the sequence and responds to local patterns. The paper specifies a wide one-dimensional convolution. The dimension it moves along is the sequence axis. A wide convolution includes positions in which the filter extends past a boundary of the input, which gives a longer output than the immediate input sequence. The paper sets the width and describes the resulting matrix size.

```
m = 3
```

The symbol m is the filter width measured along the sequence. The 3 specifies the width used for the reported architecture. A filter response can therefore bring information from nearby columns together at each position where the filter is applied.

```
C ∈ ℝᵈˣ⁽ⁿ⁺ᵐ⁻¹⁾
```

Here C is the matrix produced by the convolution. The rows correspond to the d coordinates in the paper's description of the layer. The expression in parentheses gives the number of columns. It starts from n, the length of the sequence entering the illustrated convolution, adds the filter width m and subtracts 1 for the size of the wide convolution output. The membership symbol again specifies the space to which the matrix belongs. When a deeper layer receives a pooled matrix, the relevant input length is the length of that matrix along the sequence axis.

The authors apply a rectified linear unit, abbreviated ReLU, to the convolution responses. This operation keeps a positive response at its original value and sends a negative one to zero. By placing it after the convolution, the architecture makes the response available to the following pooling step through a nonlinear transformation.

```
C₀ = ReLU(C)
```

The symbol C₀ denotes the convolution matrix after the activation. The subscript 0 here names the activated version of C and is distinct from the level index on the question embeddings described below. ReLU is the function applied to the entries of C, and the parentheses identify its input. The paper's diagram represents convolution and activation together in the same stage.

Next comes dynamic k-max pooling. Pooling selects responses from the activated matrix. For each row, this operation retains the strongest responses up to a quota determined for the layer. Selecting several positions can preserve evidence from more than one part of the question. The term dynamic refers to the fact that the number retained can vary with the stage and input. The paper invokes the pooling approach from Kalchbrenner and colleagues and expresses its contribution through the size of the matrix it passes on.

```
Eₗ ∈ ℝᵈˣᵏₗ
```

The symbol Eₗ denotes the question representation at layer l, where l indexes the convolutional stage. The symbol kₗ is the number of positions retained at that stage. The matrix has d rows and kₗ columns, with real-valued entries. It is both a view of the question available for comparison and the input to the next convolutional stage, if there is one.

```
l + 1
```

The expression denotes the stage immediately after l. The plus sign adds 1 to the layer index. The next layer receives a representation made from the selected responses of the previous layer and can combine evidence that already reflects more than an individual word.

The network used in the experiments contains three convolutional layers. Its initial representation still consists of separate word vectors. The following stages build progressively more convolved views, where a column can incorporate information that has already been combined and pooled. The authors describe the top representation as capturing the question at document level. That describes its intended granularity within the architecture. The pairwise classifier still receives evidence from the lower levels, which lets word-level and higher-level comparisons contribute together.

#### Turn the comparisons into a fixed-size input

Producing a representation for each question is only part of the neural approach. The classifier also needs a way to compare the two questions and accommodate their different lengths. The paper denotes the pair and its two sequences of representations as follows.

```
(S₁, S₂)
```

The parentheses group the inputs into a pair. The symbol S₁ stands for the first question, and S₂ stands for the second. In the ranking task those are the query and the candidate being evaluated. The subscripts 1 and 2 identify the inputs throughout the comparison.

```
(E₁₀, E₁₁, …, E₁ₗ)
```

Here E with first subscript 1 denotes a matrix for the first question. The second subscript gives the stage. The 0 denotes the original matrix of word embeddings, the following subscript denotes the first convolutional representation after pooling, and l denotes the last stage when referring to the complete sequence. The ellipsis represents any intervening stage.

```
(E₂₀, E₂₁, …, E₂ₗ)
```

Here the first subscript 2 identifies the second question. The second subscript has the same meaning as for the first question. The representations run from the input embeddings to the output of the final convolution and pooling stage. The aligned stage indices let the system compare the two questions at corresponding levels of processing.

At each level the system compares every column vector from the first question with every column vector from the second. At the input level this means that any word in the query can be compared with any word in the candidate. The paper calls the operation at that level a cross-unigram comparison. It can record a possible correspondence wherever the two words occur, without requiring that both have the same position in their respective questions. At a later stage the same procedure operates on the columns produced by convolution and pooling.

There are two measurements for each pair of vectors. Cosine similarity assesses how closely the vectors point in the same direction. Euclidean distance measures the distance between their coordinates. As a consequence, a stage supplies two matrices of pairwise scores, with positions from one question along one axis and positions from the other question along the other axis. The authors concatenate these comparison matrices. The comparison is then a structured collection of local scores for the pair, rather than just a single similarity calculation at the end of the encoding process.

The sizes of the score matrices depend on the lengths of the representations being compared. The system applies a two-dimensional maxout filter to reduce the matrices, adjusting its height and width to account for the input lengths. This is a different use of selection from the dynamic pooling inside the convolutional layers. Dynamic pooling acts on one question's responses. Maxout here acts on a grid of relations between the two questions. It produces an output whose length is fixed for the classifier. The authors then flatten the reduced matrix, turning its entries into a vector of comparison features.

This design gives the classifier access to several kinds of correspondence. Close lexical matches can appear directly in the input-level comparisons. The higher-level comparisons can supply evidence from combinations built by the network. Because the calculation forms a grid before reducing it, the classifier receives more structure than a single best word match. How precisely that structure is retained depends on the maxout operation. The paper explains its role in controlling length while leaving the exact dimensions and layout of the output unspecified.

#### Add translation scores and train the neural decision

The authors append six translation evaluation features to the comparisons from the embeddings. They use BLEU and NIST, as well as METEOR and MaxSim. The remaining measures are Ter and Ter-Plus. The point of drawing on this family is that the metrics offer established ways to compare a text with a reference. They provide separate comparison scores for the question pair alongside the features obtained from the neural representations. Their contribution in this experiment is as classifier inputs, with the task's annotations determining the learning target. [BLEU score](https://md.research.elamur.ai/free/en/concepts/bleu/) · METEOR

The combined feature vector goes to a multilayer perceptron, or MLP. This is a classifier made from successive fully connected layers, so the representation at a layer can draw on the outputs across the previous layer. The implementation uses three fully connected hidden layers, each with 512 nodes and ReLU activation. A softmax output layer at the top gives scores for the classes on a common scale. The choice of a nonlinear classifier lets the contribution of a translation score or an embedding comparison depend on the rest of the evidence. Features that have limited value alone can in principle help when they occur alongside other signs of relevance.

For training, the authors use AdaDelta to update the network weights. The method adjusts the sizes of training updates. The paper reports this initial learning rate. [ADADELTA](https://md.research.elamur.ai/free/en/papers/zeiler-2012-adadelta-adaptive-learning-rate-method/)

```
α = 10⁻⁴
```

The Greek letter α denotes the initial learning rate. The right-hand side gives its value as a power of ten, with the superscript −4 as the exponent. The setting applies to training the network, while the word embeddings remain constant.

The authors use dropout on the input layer of the MLP, with a rate of 0.5. Dropout temporarily suppresses inputs during training, so the classifier learns under varying access to its features. The paper also specifies L₂ regularization, a penalty that discourages large weights. The subscript 2 denotes the squared-weight form of the penalty. Both settings concern how the classifier learns from the available training pairs, instead of adding another comparison to the candidate's feature vector. [Dropout: A Simple Way to Prevent Neural Networks from Overfitting](https://md.research.elamur.ai/free/en/papers/srivastava-2014-dropout-simple-way-prevent/)

The individual classifiers learn their relevance decisions from the task data. The paper reports the settings for the two lexical implementations and the main details of neural training. The parameters of the majority rule itself are fixed by the choice to give each classifier an equal vote. When comparing the submission with its constituent classifiers, the experiment is therefore comparing this rule with the judgments from the branches that supply its votes.

### Experiments and results

#### What was evaluated

The experiments use the organizers' SemEval-2016 Task 3-B data from Qatar Living. The paper's dataset table gives 267 queries and 2,669 archived-question entries in training, 50 queries and 500 archived-question entries in development, and 70 queries and 700 archived-question entries in test. These are counts for the splits as reported. The entries are arranged in candidate lists for their respective queries, with up to ten archived questions per query. The ranking evaluation preserves that grouping.

Training examples provide the relevance labels used by the classifiers. The development results give a view of how the approaches behave outside training, while the test set supplies the official held-out assessment. The test and development tables include the same candidate-ranking baselines and the same team systems. This lets a reader compare the submitted vote both with its constituent classifiers and with existing ways of ordering the candidates.

The organizers' first baseline is an information retrieval ordering produced using Google. Their second baseline ranks randomly. The random baseline establishes what the ranking metrics look like without a deliberate choice of order. The Google-based baseline is the stronger practical comparison. Since the experiment begins with candidates already assembled, an approach that promotes relevant items must improve on a meaningful existing ordering to establish a gain in reranking.

Mean average precision, or MAP, is the primary metric and determines the official ranking of participants. To understand it, consider following a ranked list from the top. Each time a relevant item is found, precision at that position reflects how many of the items visited so far are relevant. Average precision summarizes those values for the query, and mean average precision averages across queries. An early irrelevant item can therefore lower the credit for a relevant item that follows. This is why an improvement in binary accuracy can coexist with a worse MAP result.

The paper also reports average recall, abbreviated AvgRec, and mean reciprocal rank, or MRR. MRR concentrates on the position of the first relevant result in each list, giving greater credit to an earlier first match. AvgRec gives another view of the recovery of relevant items through the ordering. Alongside the ranking metrics, the paper reports accuracy, precision, recall and F1 for the relevance decisions. Accuracy counts correct decisions over candidates. Precision describes the relevance of the items the classifier accepts, recall describes how much of the relevant class it accepts, and F1 combines precision and recall. These questions about the decisions matter separately from where the decisions put items in the final ranking.

#### Development results favored the vote

Mean average precision on the SemEval-2016 Task 3-B development set Majority voting leads the development comparison, with the convolutional classifier its closest competitor.

**The numbers**

| System or setting | MAP % |
| --- | --- |
| Google-based retrieval baseline | 71.35 |
| Random ranking baseline | 55.95 |
| SS1 support vector machine | 70.06 |
| SS2 naive Bayes | 68.96 |
| Convolutional classifier | 72.71 |
| Majority voting (this paper) | 73.13 |

On the development set the vote had the highest MAP in the reported comparison. The convolutional classifier was the strongest of the individual branches on this metric. Both the vote and the convolutional classifier were above the Google-based baseline, while the two lexical classifiers were below that baseline. The development ranking was the favorable case for using the branches together, since their combined decisions improved the score over the strongest branch by itself.

The other development ranking metrics favor the vote as well. Its AvgRec was 88.93%, compared with 87.86% for the convolutional classifier and 86.11% for Google-based retrieval. The vote's development MRR was 80.00 on the table's scale, compared with 79.33 for the convolutional classifier and 76.67 for Google-based retrieval. The direction of the MAP result also holds for these views of how relevant questions appear in the list.

Binary classification provides a more qualified picture. The vote reached 72.20% accuracy on development, while the convolutional classifier had 75.20%. The vote's precision and recall were 64.48% and 78.04%, respectively. The convolutional classifier's precision was 76.47% and its recall was 60.75%. The vote's development F1 was 70.61%, against 67.71% for the convolutional classifier. The vote therefore found more of the relevant class in the development decisions, while the convolutional classifier's accepted candidates were more often relevant. The different measures show which aspects of development performance supported the choice to combine the branches.

#### The test set favored the convolutional classifier among the team systems

Mean average precision on the SemEval-2016 Task 3-B test set The convolutional classifier leads the team’s systems, while Google-based retrieval has the highest test score.

**The numbers**

| System or setting | MAP % |
| --- | --- |
| Google-based retrieval baseline | 74.75 |
| Random ranking baseline | 46.98 |
| SS1 support vector machine | 71.11 |
| SS2 naive Bayes | 72.95 |
| Convolutional classifier | 73.04 |
| Majority voting (this paper) | 70.20 |

The test results reverse the development ordering between the vote and each of its constituents. The submitted system remained above random ranking on MAP, while all three separate classifiers and Google-based retrieval placed above the vote. The convolutional branch had the highest test MAP among the team's systems. SS2 was close on that metric and SS1 also finished above majority voting. The Google-based ranking, at 74.75% test MAP, is the strongest result in the table on the primary metric. The submission's 70.20% is the same test MAP reported in the abstract in the form 70.2%.

Each individual classifier reached a higher MAP on test than it had on development. The vote's MAP moved in the other direction. This Split-specific comparison is informative because the vote's weaker test result cannot be summarized as a drop in MAP shared by all the team's methods. The relative performance of the combination changed while the constituent scores each improved on the primary metric.

The convolutional branch's test lead among the team's methods applies specifically to MAP. SS2 reached 88.51% AvgRec on test, ahead of Google-based retrieval at 88.30% and the convolutional classifier at 87.72%. The vote's test AvgRec was 86.21%. SS2 also had the highest MRR of the team's systems, with 82.26 against 82.21 for the convolutional classifier. Google-based retrieval had a test MRR of 83.79, and the vote had 78.58. Thus the lexical branch using titles and descriptions stayed competitive on several ranking measures despite using a different representation and classifier from the neural branch.

Test accuracy gives the vote a favorable result. It reached 74.57%, compared with 73.43% for the convolutional classifier, 70.29% for SS2 and 70.00% for SS1. The vote also had 63.96% test precision, alongside 54.08% recall and 58.60% F1. The convolutional classifier had 60.09% in each of those three columns on test. In the relevance decisions, then, the vote's accepted candidates were more often relevant, while the convolutional classifier recovered more of the relevant class. On the primary ranking metric the convolutional classifier's ordering was stronger. This is a case in which the score for correct decisions and the score for usefulness of an ordering favor different systems on the same split.

### What the ablations show

#### The lexical trials show that the text field matters

The paper offers preliminary feature trials and comparisons of whole classifiers. A component-by-component ablation of the neural branch is absent. The most direct feature trials concern the lexical branches. For SS1, comparing titles gave higher accuracy than comparing descriptions in the team's preliminary experiments, so the final version used titles. The paper reports the direction of the comparison and leaves the scores and conditions of the trial unspecified. The result supports the authors' decision about the input to that branch, whose principal measurements look for shared strings and alignable stretches of text.

For SS2, the authors report their best results from using both titles and descriptions. They also report that applying stemming or lemmatization made no difference for that branch. Taken together, the field choices show why it is useful to read the two systems separately. Descriptions supplied favorable evidence for the implementation that used lexical overlap and term comparisons. Titles alone worked better in the SS1 title-versus-description trial. The contrasts involve different measures and classifiers, so the experiment leaves open how much of that difference comes from the input field itself and how much comes from its interaction with the features.

The edit-distance trial is another local result. Adding Levenshtein and modified Levenshtein features yielded no observed improvement. The retained SS1 features already give it ways to register uninterrupted matches and useful local alignments. The comparison establishes that the additional measurements failed to improve the configuration the authors tried. It leaves their usefulness under another preprocessing choice, another classifier or a different corpus open. The paper provides no numerical margin for this trial.

These results explain some of the routes by which the authors chose the final features. They cannot rank the contribution of each retained similarity measure, since there are no reported runs removing those measures individually. Likewise, a comparison of SS1 with SS2 changes the text fields, preprocessing, measures and learner simultaneously. Differences between the two branches are evidence about the behavior of the whole systems. Using them to identify the effect of an individual change would require a comparison that held the other choices fixed.

#### Classifier disagreement motivated the vote

The authors compared the branches' classification output on the development queries. They report differences between SS1 and SS2 for 60.2% of the development queries in their disagreement analysis. The reported disagreement between SS1 and the convolutional branch was 54.8%. SS2 and the convolutional branch differed in 72.6%. Thus even the two classifiers that take lexical similarity as their starting point produced distinct judgments, and the pair involving SS2 and the convolutional classifier differed most frequently in the reported comparisons.

Disagreement gives a combination room to change the result. If the branches always make the same decisions, a simple vote merely repeats those decisions. With the differences observed here, any pair of classifiers can potentially overturn the third. That can help when a dissenting classifier has made a mistake and the other branches have found better evidence. It can hurt when the most informative clue is available to just one branch and the others agree against it. The disagreement figures describe how often the outputs diverge. They leave open which of these cases occurred on the queries that mattered most to the rankings.

The most direct test of the vote compares it with the same constituent systems used individually. On development the vote improved MAP over all its constituents, which is consistent with the authors' expectation that the judgments could complement one another. Test provided the opposite result. In that split each constituent achieved better MAP than the vote. The value of the combination therefore depended on the split. The disagreement analysis concerns development and does not track whether the same pairs of branches had comparable disagreements or error patterns on test.

A related distinction is the difference between having diverse features and making effective use of them. The output of each branch is reduced to a relevance judgment for voting. A close call and a very strong judgment carry equal weight once they receive the same label. The results show what this particular equal-vote procedure did with the branch decisions. They leave open whether another combination could extract better ranking evidence from the classifiers or from the features used to train them.

#### The class balance offers a possible explanation

The authors observe that 43% of candidates in development were relevant and 57% were irrelevant. Training had 45% relevant candidates and 55% irrelevant ones. Test had 33% relevant and 67% irrelevant. In terms of the overall distribution of labels, training is closer to development than to test. A shift in the proportion of relevant candidates can matter when classifiers use decisions learned on examples from one split and then promote candidates on another.

The class proportions establish a real difference between the splits. The explanation for the vote's change in performance remains a hypothesis. The paper does not run the vote under matched class proportions while holding other properties fixed. The nature of the queries, the candidates selected for them and the relations among the branches' errors could also matter. The paper relates the observed class balance to the result as one possible explanation and also raises the limited size of the training set as a reason the findings might be unstable.

The authors propose giving the string similarity features directly to the neural classifier as a follow-up. In their existing convolutional branch, the translation metrics are separate inputs to the MLP alongside the embedding comparisons. The proposed change would use the lexical similarity features in a similar way. It would give a trainable classifier access to the underlying values before the final decision. The paper reports no run of that configuration. The result on the vote is therefore evidence about late combination by majority rule, while the proposed feature combination remains an open experiment.

### Limitations

#### Limits the authors identify

The authors emphasize the small amount of training data and suspect that more examples would help produce consistent results across splits. Their reason for raising the issue is visible in the rankings. The submitted vote looks strongest on development and weaker than every component on test when evaluated by MAP. The training size is documented, but the paper gives no training-size study that would show how performance changes with more data. Improving consistency through additional training remains a hypothesis.

They also identify the change in class balance as a possible explanation. The aggregate proportions show that the test data contained relatively fewer positives than training and development. Those proportions alone leave the cause of the test outcome unresolved. A query's ranking depends on the mix of candidates in its own list and on how the decisions order them. Aggregate label proportions give only part of that picture. The authors report them alongside the observed change in results, leaving the hypothesis open for further testing.

The authors explicitly leave direct integration of the string similarity measures with the convolutional branch for future work. As a result, the comparison between decision-level voting and feature-level combination is a question raised by the paper. The paper establishes the behavior of the vote and of the classifiers that feed it. Its results provide no measured performance for a single classifier with access to all of their features.

#### Limits visible in the design and reporting

The evaluation concerns a fixed reranking task on the Qatar Living forum. A system that works from an existing shortlist needs a useful archived question to be present in that shortlist. In an end-to-end service, the earlier search stage would also have to find it. This experiment evaluates the candidate ordering and uses relevance of the archived question as its target. The quality of any archived answers, and the ability to recover a useful answer from the resulting discussion, are outside that evaluation. Generalization to other archives also remains open.

The merged relevance label defines what can be concluded about duplicate detection. A perfect match and another relevant candidate earn credit under the same positive class. The reported MAP figures establish how the systems order candidates under that definition. They leave the ability to distinguish perfect matches from other relevant questions unmeasured. That distinction could matter if an archive presented a single question as a substitute for the user's exact request.

The results also give only limited evidence about which architectural contributions helped. The convolutional branch includes pretrained embeddings, several stages of convolution and pooling, pairwise cosine and distance comparisons, translation evaluation features and a nonlinear classifier. The reported test MAP belongs to the package as a whole. The paper does not quantify how much comes from the pretrained vectors, the higher-level comparisons, either similarity measure, or the translation scores. A result for the complete branch can motivate each line of inquiry while leaving the individual effects undetermined.

The vote reduces candidates to two relevance groups. The paper leaves the secondary ordering within each group unspecified in its system description. This matters to interpreting MAP and MRR, which are sensitive to where relevant items occur in a list. The results document how the submission scored under the official evaluation. The account of the vote on its own supplies insufficient information to reconstruct the precise ordering of all candidates with the same judgment.

Several choices needed for close replication are only partly specified. The paper identifies the lexical software packages and says that it used default settings. It gives the convolution width, the embedding dimension and the main settings for the MLP and optimizer. It leaves details open about how question fields are presented to the neural branch, how unseen words are handled, and the precise schedule and output dimensions of the pooling and maxout operations. Those choices can affect the features reaching the classifier. The architecture and rationale can be followed more fully than the exact numerical experiment can be reconstructed from the description.

Finally, the comparisons give scores for the reported splits without an estimate of variability. This is particularly relevant when reading the nearby results for the convolutional branch and SS2 on held-out MAP. The test table establishes their ordering for this evaluation. It leaves confidence in that ordering across other samples or repeated training runs unresolved. The strongest baseline remains central to the conclusion. In spite of the development gain from voting and the competitive test performance of the convolutional branch, the Google-based ranking had the highest test MAP in the reported comparison.

### What came after

The SemEval-2016 task overview places the UniMelb submission within the shared evaluation that defined its problem. The UniMelb paper cites the overview for the task formulation, and the overview in turn cites the system paper. Its relationship to the work is therefore that of a companion account of the benchmark. The system paper describes how one entrant chose features, trained its classifiers and combined their decisions. The task overview covers the evaluation in which that system was an entrant, giving the baselines and the test result their comparative context. [SemEval-2016 Task 3: Community Question Answering](https://md.research.elamur.ai/free/en/papers/nakov-2016-semeval-2016-task-3-community/)

The SemEval-2017 task paper carries the community question-answering evaluation into a subsequent edition and cites the UniMelb work. This shows that the system paper remained part of the record of approaches to the task. The documented connection is at the level of the benchmark and its prior submissions. Whether the later evaluation directly reused the lexical features, the comparisons between convolutional representations, or the decision rule is unspecified. [SemEval-2017 Task 3: Community Question Answering](https://md.research.elamur.ai/free/en/papers/nakov-2017-semeval-2017-task-3-community/)

## Cite

Cite as Timothy Baldwin, Huizhi Liang, Bahar Salehi, Doris Hoogeveen, Yitong Li and Long Duong. 2016. UniMelb at SemEval-2016 Task 3: Identifying Similar Questions by combining a CNN with String Similarity Measures. Proceedings of the 10th International Workshop on Semantic Evaluation (SemEval-2016).

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.18653/v1/s16-1131](https://doi.org/10.18653/v1/s16-1131)

```bibtex
@inproceedings{baldwin2016unimelb,
  title = {{UniMelb at SemEval-2016 Task 3: Identifying Similar Questions by combining a CNN with String Similarity Measures}},
  author = {Timothy Baldwin, Huizhi Liang, Bahar Salehi, Doris Hoogeveen, Yitong Li and Long Duong},
  booktitle = {Proceedings of the 10th International Workshop on Semantic Evaluation (SemEval-2016)},
  year = {2016},
  doi = {10.18653/v1/s16-1131},
  url = {https://doi.org/10.18653/v1/s16-1131}
}
```

> 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)
