UdL at SemEval-2017 Task 1: Semantic Textual Similarity Estimation of English Sentence Pairs Using Regression Model over Pairwise Features
Paper · 2017 · Hussein T. Al-Natsheh, Lucie Martinet, Fabrice Muhlenbach et al.
Summary
The paper describes UdL, a system for Track 5 of SemEval-2017 Task 1. The track asks for a 0–5 semantic similarity score for each English sentence pair, and systems are scored by Pearson correlation against hidden human ratings on 250 test pairs. The authors trained on the STS datasets released since 2012, plus aggregated data shared by an earlier team. The pipeline has two stages. A pairwise transformer first turns each sentence pair into a small set of comparison features: word-vector alignment of tokens sharing the same PoS or NE tag, cosine similarity of tf–idf vectors built from character n-grams, a numeric-content difference, a length difference, and an optional domain label. A random forest regressor then maps these features to a score. The best run reached 0.8004, above the track baseline (0.7278) and median (0.7775). The authors present the comparator-style setup as a first step toward learning sentence representations from pairs. They also report that the shallow character n-gram feature carried most of the model's predictive weight.
Key points
- Features and their importance in the random forest:
- Aligned PoS tags (17 tags): 0.113
- Aligned NE tags (10 tags): 0.003
- tf–idf char 2–3-gram BoW cosine: 0.847
- Number-sum difference: 0.006
- Character-length difference: 0.032
- Regressor choice: Random forest (1024 trees, max depth 8) beat Lasso CV (512 iterations) in development, with a mean of 0.81 versus 0.79 on images, answers-students and headlines 2016.
- Official runs:
- Run1 (all features except domain class): 0.8004
- Run2 (with the domain feature, all test pairs labeled "Image-captions"): 0.7805
- Run3 (hashtags removed from tweet-news training pairs): 0.7901
- Best system in the track: 0.8547
- Tooling: polyglot and spaCy for tagging, 300-dimensional GloVe and spaCy vectors, a scikit-learn pipeline, and code released at github.com/natsheh/sensim.
- Data cleaning: Tab separators that also appeared inside sentences required manual repair. A spell-correction step with Enchant was tested but not used in the submissions.
Interesting ideas
- I1. Tokens are aligned only when they carry the same PoS or NE tag and their vector similarity passes a threshold, with competing matches settled by the higher score; restricting matches by category keeps the comparison structured rather than a loose overlap of words.
- I2. Spelled-out numbers are first converted to numeric values (e.g. "sixty-five" to 65), and the pair is then compared on numeric content as its own signal.
- I3. The feature-importance analysis revealed that a shallow character n-gram cosine dominated the more linguistic features, which shows how easily surface overlap can explain most of a benchmark score.
- I4. Learning a comparator over pairs is proposed as a route to good single-item representations, much as face verification is trained on same/different pairs, because pairs are far more plentiful than labeled examples.
- I5. Adding a domain feature whose test value had to be guessed by hand lowered the score (0.7805 vs 0.8004), a reminder that metadata unavailable or unreliable at test time can hurt more than help.
For Mova
How these ideas could serve Mova, our small open language model — its files, stages and tests:
- I1 (frames): Two frames could be compared by aligning their arguments only within matching semantic roles, with conflicts resolved greedily by similarity, to give an explainable paraphrase check.
- I2 (world): Quantities in the world of a text could be normalized to values before comparison, which helps consistency checks in maths word problems and fable QA.
- I3 (learn): A char n-gram similarity baseline could serve as a negative control, so that structured tree/frame comparisons must show gains beyond what surface overlap already predicts.
- I4 (learn): Self-play could generate many sentence pairs (paraphrase versus perturbed variant) to tune which tree and frame features matter for meaning equivalence.
- I5 (answer): Readers should not depend on genre or source tags that will be missing or guessed at inference, or should be evaluated with those tags withheld.
Institutions
Fields, topics and concepts
📚 Shelves 4The field of science this work belongs to (OpenAlex fields).Computer Science · 18,614 worksArtificial Intelligence · 17,965 worksArts and Humanities · 17,450 worksLanguage and Linguistics · 17,296 works
🧭 Topics 1Research subjects and languages the work is about.English · 2,379 works
Cite
Cite as Hussein T. Al-Natsheh, Lucie Martinet, Fabrice Muhlenbach and Djamel Abdelkader Zighed. 2017. UdL at SemEval-2017 Task 1: Semantic Textual Similarity Estimation of English Sentence Pairs Using Regression Model over Pairwise Features. Proceedings of the 11th International Workshop on Semantic Evaluation (SemEval-2017).
@inproceedings{alnatsheh2017udl,
title = {{UdL at SemEval-2017 Task 1: Semantic Textual Similarity Estimation of English Sentence Pairs Using Regression Model over Pairwise Features}},
author = {Hussein T. Al-Natsheh, Lucie Martinet, Fabrice Muhlenbach and Djamel Abdelkader Zighed},
booktitle = {Proceedings of the 11th International Workshop on Semantic Evaluation (SemEval-2017)},
year = {2017},
doi = {10.18653/v1/s17-2013},
url = {https://doi.org/10.18653/v1/s17-2013}
}References
- Eneko Agirre, Carmen Banea, Daniel Cer, Mona Diab, Aitor Gonzalez-Agirre, Rada Mihalcea, German Rigau, and Janyce Wiebe. 2016. Semeval-2016 task 1: Semantic textual similarity, monolingual and cross-lingual evaluation. In Steven Bethard, Daniel Cer, Marine Carpuat, David Jurgens, Preslav Nakov, and Torsten Zesch, editors, Proceedings of the 10th International Workshop on Semantic Evaluation (SemEval-2016). Association for Computational Linguistics, San Diego, California, pages 497–511.
- Jeffrey Pennington, Richard Socher, and Christopher D. Manning. 2014. Glove: Global vectors for word representation. In Alessandro Moschitti, Bo Pang, and Walter Daelemans, editors, Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing, EMNLP 2014, October 25-29, 2014, Doha, Qatar, A meeting of SIG-DAT, a Special Interest Group of the ACL. ACL, pages 1532–1543.
- Rami Al-Rfou, Bryan Perozzi, and Steven Skiena. 2013. Polyglot: Distributed word representations for multilingual NLP. In Julia Hockenmaier and Sebastian Riedel, editors, Proceedings of the Seventeenth Conference on Computational Natural Language Learning, CoNLL 2013, Sofia, Bulgaria, August 8-9, 2013. ACL, pages 183–192. ↗
- Yelong Shen, Xiaodong He, Jianfeng Gao, Li Deng, and Grégoire Mesnil. 2014. A latent semantic model with convolutional-pooling structure for information retrieval. In Jianzhong Li, Xiaoyang Sean Wang, Minos N. Garofalakis, Ian Soboroff, Torsten Suel, and Min Wang, editors, Proceedings of the 23rd ACM International Conference on Conference on Information and Knowledge Management, CIKM 2014, Shanghai, China, November 3-7, 2014. ACM, pages 101–110. find
- Léon Bottou. 2014. From machine learning to machine reasoning - an essay. Machine Learning 94(2):133– 149. ↗
- Liling Tan, Carolina Scarton, Lucia Specia, and Josef van Genabith. 2015. USAAR-SHEFFIELD: semantic textual similarity with deep regression and machine translation evaluation metrics. In Proceedings of the 9th International Workshop on Semantic Evaluation, SemEval@NAACL-HLT 2015, Denver, Colorado, USA, June 4-5, 2015. The Association for Computer Linguistics, pages 85–89. find
- Daniel Cer, Mona Diab, Eneko Agirre, Inigo Lopez-Gazpio, and Lucia Specia. 2017. Semeval-2017 task 1: Semantic textual similarity multilingual and crosslingual focused evaluation. In Proceedings of the 11th International Workshop on Semantic Evaluation (SemEval-2017). Association for Computational Linguistics, Vancouver, Canada, pages 1–14. http://www.aclweb.org/anthology/S17-2001. ↗
Updated
This page in Markdown → https://md.research.elamur.ai/free/en/papers/natsheh-2017-udl-semeval-2017-task-1/