UBC: Cubes for English Semantic Textual Similarity and Supervised Approaches for Interpretable STS
Paper · 2015 · Eneko Agirre, Aitor Gonzalez-Agirre, Iñigo Lopez-Gazpio et al.
Summary
The paper reports UBC's two entries in SemEval 2015 Task 2. For English STS (scoring sentence pairs from 0 to 5), the authors build a "cube": an N×M matrix over the parse-tree nodes of both sentences, covering words and phrases, with one layer per similarity source. The layers are Collobert and Weston vectors composed with a Recursive Autoencoder, averaged Mikolov vectors, and PPDB paraphrase scores. The cube is collapsed by taking the maximum across layers, and the final score comes from the IDF-weighted formula of Mihalcea et al. This single run placed only 54th of 74.
For the Interpretable STS pilot, they built a pipeline:
- chunking, with rule-based fixes to the chunker output;
- token alignment with the Sultan et al. aligner;
- conversion of token links into chunk links;
- Hungarian-Munkres matching, extended to detect 1:N "context" alignments;
- an SVM for relation tags and cube-based regression for scores.
This supervised configuration achieved the top result on the images dataset. The work shows that a modular, explainable alignment pipeline can be competitive.
Key points
- The cube had three layers. The Collobert and Weston layer used RAE for phrase nodes. The Mikolov layer used word vectors summed and divided by phrase length. The PPDB XXXL layer was sparse, averaged both conditional directions, and added extra rows and columns for PPDB phrases that match no tree node.
- The layers were merged by taking the maximum per cell. The authors judged these resources more prone to false negatives than false positives, so a high score from any one layer was trusted.
- In the SYS scenario, the ixa-pipes-chunker (an OpenNLP maximum-entropy model) was post-processed with four regex rules. These rules merge chunks, for example a prepositional phrase with the noun phrase after it, or noun phrases split by punctuation or conjunctions.
- Training data was 750 pairs each for images and headlines; test data was 375 image pairs and 378 headline pairs. The SVM (LIBSVM in Weka) used 21 features, tuned with 5-fold cross-validation and grid search. The features covered Jaccard overlap, segment length, WordNet similarity and depth of chunk heads, and cube values.
- On images test data, run2 reached F1 Type+Score of 0.6159 (GS) and 0.5643 (SYS), beating the baseline by about 0.18–0.19. On headlines SYS, the naive run1 slightly beat run2 (0.5019 vs 0.4705).
Interesting ideas
- I1. Keeping several similarity sources as parallel layers over the same word/phrase grid lets new evidence be added without changing the scorer, and every cell stays traceable to its source.
- I2. Combining layers by maximum is justified by an explicit error assumption: the sources miss more true matches than they invent false ones. The proposed fix for the obvious weakness is to add separate dissimilarity layers for negation and antonymy.
- I3. Token links are summed inside chunk regions to form a chunk-to-chunk weight matrix. Optimal assignment then picks the 1:1 matches, and the runner-up links are kept as "context" alignments, which represents 1:N relations within a 1:1 format.
- I4. A cheap majority-style tagger acts as the baseline, and the learned model only refines the cases the baseline labels "equivalent". This keeps the learned part narrow and easy to check against the default.
- I5. A handful of regex rules that merge chunks (a PP with its NP, NPs joined by conjunctions or punctuation) noticeably improved the task metric. This shows that segment granularity should be tuned to the downstream task, not taken directly from a tagger.
For Mova
How these ideas could serve Mova, our small open language model — its files, stages and tests:
- I1 (world): Compiled knowledge (WordNet, FrameNet, Wikidata, measures) could fill separate layers of a mention-to-mention matrix, so any similarity judgment can report which resource supported it.
- I2 (answer): When readers compare an answer option with the text world, a match from any resource could count as support, while negation and antonymy are handled on a separate channel so they cannot be averaged away.
- I3 (frames): Frame arguments in two sentences (or a question and the text) could be aligned this way, with secondary links recorded instead of discarded, which gives an explainable account of paraphrase.
- I4 (learn): Self-induced repair rules or learned classifiers could be scoped to override a deterministic default only in one well-defined case, and evaluated by how much they gain over that default.
- I5 (tree): Phrase spans derived from UD trees could be regrouped by small, auditable rules before alignment or frame building, with each rule's effect measured downstream.
Institutions
Fields, topics and concepts
📚 Shelves 4The field of science this work belongs to (OpenAlex fields).Computer Science · 16,667 worksArtificial Intelligence · 16,194 worksArts and Humanities · 16,039 worksLanguage and Linguistics · 15,891 works
🧭 Topics 1Research subjects and languages the work is about.English · 2,263 works
Cite
Cite as Eneko Agirre, Aitor Gonzalez-Agirre, Iñigo Lopez-Gazpio, Montse Maritxalar, German Rigau and Larraitz Uria. 2015. UBC: Cubes for English Semantic Textual Similarity and Supervised Approaches for Interpretable STS. Proceedings of the 9th International Workshop on Semantic Evaluation (SemEval 2015).
@inproceedings{agirre2015ubc,
title = {{UBC: Cubes for English Semantic Textual Similarity and Supervised Approaches for Interpretable STS}},
author = {Eneko Agirre, Aitor Gonzalez-Agirre, Iñigo Lopez-Gazpio, Montse Maritxalar, German Rigau and Larraitz Uria},
booktitle = {Proceedings of the 9th International Workshop on Semantic Evaluation (SemEval 2015)},
year = {2015},
doi = {10.18653/v1/s15-2032},
url = {https://doi.org/10.18653/v1/s15-2032}
}References
- Rodrigo Agerri, Josu Bermudez, and German Rigau. 2014. Ixa pipeline: Efficient and ready to use multilingual nlp tools. In Proceedings of the 9th Language Resources and Evaluation Conference (LREC2014), Reykjavik, Iceland, May, pages 26–31. find
- Eneko Agirre, Carmen Banea, Claire Cardie, Daniel Cer, Mona Diab, Aitor Gonzalez-Agirre, Weiwei Guo, Iñigo Lopez-Gazpio, Montse Maritxalar, Rada Mihalcea, German Rigau, Larraitz Uria, and Janyce Wiebe. 2015. SemEval-2015 Task 2: Semantic Textual Similarity, English, Spanish and Pilot on Interpretability. In Proceedings of the 9th International Workshop on Semantic Evaluation (SemEval 2015), Denver, CO, June.
- Chih-Chung Chang and Chih-Jen Lin. 2011. Libsvm: a library for support vector machines. ACM Transactions on Intelligent Systems and Technology (TIST), 2(3):27. find
- BM Clapper. 2009. munkres: a python module implementing the “hungarian method” described by munkres (1957). version 1.0. 5.3. find
- Ronan Collobert and Jason Weston. 2008. A unified architecture for natural language processing: Deep neural networks with multitask learning. In Proceedings of the 25th International Conference on Machine Learning, ICML ’08, pages 160–167, New York, NY, USA. find
- Lorenzo Ferrone and Massimo Fabio Zanzotto. 2014. Towards syntax-aware compositional distributional semantic models. In Proceedings of COLING 2014, the 25th International Conference on Computational Linguistics: Technical Papers, pages 721–730. find
- Juri Ganitkevitch, Benjamin Van Durme, and Chris Callison-Burch. 2013. PPDB: The paraphrase database. In Proceedings of NAACL-HLT, pages 758– 764, Atlanta, Georgia, June.
- Mark Hall, Eibe Frank, Geoffrey Holmes, Bernhard Pfahringer, Peter Reutemann, and Ian H Witten. 2009. The weka data mining software: an update. ACM SIGKDD explorations newsletter, 11(1):10–18. ↗
- Dan Klein and Christopher D Manning. 2003. Accurate unlexicalized parsing. In Proceedings of the 41st Annual Meeting on Association for Computational Linguistics-Volume 1, pages 423–430. Association for Computational Linguistics. ↗
- Rada Mihalcea, Courtney Corley, and Carlo Strapparava. 2006. Corpus-based and knowledge-based measures of text semantic similarity. In Proceedings of the American Association for Artificial Intelligence (AAAI 2006), Boston, Massachusetts, July. find
- Tomas Mikolov, Kai Chen, Greg Corrado, and Jeffrey Dean. 2013a. Efficient estimation of word representations in vector space. CoRR, abs/1301.3781. ↗
- Tomas Mikolov, Ilya Sutskever, Kai Chen, Greg Corrado, and Jeffrey Dean. 2013b. Distributed representations of words and phrases and their compositionality. CoRR, abs/1310.4546. ↗
- Apache OpenNLP. 2011. Apache software foundation. URL http://opennlp.apache. org. ↗
- Richard Socher, Eric H. Huang, Jeffrey Pennington, Andrew Y. Ng, and Christopher D. Manning. 2011. Dynamic pooling and unfolding recursive autoencoders for paraphrase detection. In Advances in Neural Information Processing Systems 24. find
- Md Arafat Sultan, Steven Bethard, and Tamara Sumner. 2014. Back to basics for monolingual alignment: Exploiting word similarity and contextual evidence. Transactions of the Association for Computational Linguistics, pages 219–230. ↗
- Kristina Toutanova, Dan Klein, Christopher D. Manning, and Yoram Singer. 2003. Feature-rich part-of-speech tagging with a cyclic dependency network. In Proceedings of HLT-NAACL 2003, pages 252–259.
Updated
This page in Markdown → https://md.research.elamur.ai/free/en/papers/agirre-2015-ubc-cubes-english-semantic-textual/