Alignment Based Semantic Similarity for Short Texts

This direction is no longer present in the current build. Its last version stays readable and citable here.

Version 1 of 125 papers31 conceptsfrozen 2026-10-04

In the early days of Natural Language Processing, determining if two sentences meant the same thing was a game of "count the matching words." If two sentences shared a high percentage of their vocabulary, they were deemed similar. But as Courtney D. Corley and Rada Mihalcea pointed out in Measuring the Semantic Similarity of Texts, a sentence like "I own a dog" and "I have an animal" share almost no vocabulary but are semantically nearly identical.

To solve this, researchers moved toward Alignment-Based Similarity. Instead of looking at a sentence as a single "bag of words" or a single averaged vector, this approach treats text similarity as a matching problem: for every word in sentence A, what is its "best friend" in sentence B?

The Failure of Global Averaging

The intuitive way to compare two sentences using modern AI is to turn each sentence into a vector (a list of numbers) and calculate the distance between them. However, this often fails for short texts. When you average the vectors of all words in a sentence, you "blur" the specific meaning.

Yiping Song and colleagues argued in Dialogue Session Segmentation by Embedding-Enhanced TextTiling that this averaging causes signal dilution. If a user says "I'm writing an essay" and then "It's exhausting," the word "it" specifically refers to "essay." A global average might lose that specific link, whereas an alignment-based approach looks for the strongest semantic link between individual word pairs.

The Greedy Alignment Strategy

The core mechanism across this research direction—from early work by Mihalcea to recent LLM evaluation frameworks like Semantic-Eval—is a max-similarity matching process.

  1. Word-to-Word Scoring: For every word in Sentence 1, calculate its similarity to every word in Sentence 2 using a resource like WordNet or word embeddings (e.g., Word2Vec).
  2. Best-Match Selection: For each word in Sentence 1, identify only the maximum similarity score found in Sentence 2.
  3. Aggregation: Sum or average these maximum scores.
  4. Directionality: Because Sentence 1 might be longer than Sentence 2, researchers like Corley and Mihalcea calculate this score in both directions and average them to ensure a symmetric result.

This "greedy" alignment ensures that we capture the most important "information nuggets"—a term coined by Long Qiu and Min-Yen Kan in Paraphrase Recognition via Dissimilarity Significance Classification. By pairing corresponding semantic units, the system can isolate what is shared and, more importantly, what is different.

Why Local Correspondence Matters

Why is picking the "best" match better than looking at the whole?

In A New Aligned Simple German Corpus, Vanessa Toborek and her team found that when comparing a complex sentence to a simplified one, the simplified version often omits secondary details. If you use a global average, the "extra" information in the complex sentence acts as noise, dragging down the similarity score. Alignment-based methods ignore that noise; they only care that the core terms in the simple sentence find their counterparts in the complex one.

This concept of local semantic correspondence was further refined by Jiaju Du and Maosong Sun in SCorP. They demonstrated that the specific meaning of a word (a "sememe") often aligns with just one or two words in its dictionary definition. By using max-pooling to find those specific alignments, they could predict the meaning of rare words more accurately than models that looked at the definition as a whole.

From Thesauri to Embeddings

The "engine" that powers these alignments has evolved over two decades:

  • Knowledge-Based: Early systems like Omiotis, developed by George Tsatsaronis and Iraklis Varlamis, relied on massive pre-computed tables of WordNet relationships (Text Relatedness Based on a Word Thesaurus).
  • Corpus-Based: Systems like UNT (Carmen Banea et al., naacl 2012) began combining WordNet with distributional statistics from Wikipedia.
  • Embedding-Based: Modern approaches, such as those used by the EICA Team (Yufei Xie et al., 2017), use dense vector spaces (Word2Vec, GloVe) to find alignments even when words are not synonyms but are contextually related.

Applications in the Real World

This research isn't just theoretical; it solves the "lexical gap" in practical tasks. In FAQ Retrieval for Croatian, Jan Šnajder used greedy semantic alignment to match messy user questions to formal expert answers. Similarly, Goran Glavaš applied these word-level alignments to Unsupervised Cross-Lingual Scaling of Political Texts, allowing researchers to compare the ideologies of politicians across different languages by matching the specific policy terms they use.

By focusing on the strongest local connections rather than the global average, alignment-based similarity mimics how humans read: we look for the key points of contact that bridge two different ways of saying the same thing.

Papers in this version

History & citationVersion 1 · 2026-10-04

No longer present in the current build · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_alignment_based_semantic_similarity_for__e9e75a18,
  title = {Alignment Based Semantic Similarity for Short Texts},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/alignment-based-semantic-similarity-for-short-texts/rdr_e9e75a18f98d4783822c03afbec59e2c},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-12-06},
}

This exact version (version 1, frozen text):

@misc{lacuna_alignment_based_semantic_similarity_for__e9e75a18_v1,
  title = {Alignment Based Semantic Similarity for Short Texts},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/alignment-based-semantic-similarity-for-short-texts/rdr_e9e75a18f98d4783822c03afbec59e2c/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-12-06},
}