Skip to main content
QUICK REVIEW

[Paper Review] Less is More: Pre-training a Strong Siamese Encoder Using a Weak Decoder.

Shuqi Lu, Chenyan Xiong|arXiv (Cornell University)|Feb 18, 2021
Topic ModelingComputer Science39 references10 citations
TL;DR

This paper proposes SEED-Encoder, a Siamese encoder pre-trained via a weak decoder that reconstructs sequences solely from the [CLS] token, forcing the encoder to learn robust, matching-optimized representations. The method significantly improves zero-shot and few-shot performance in sequence matching tasks across web search and recommendation benchmarks.

ABSTRACT

Many real-world applications use Siamese networks to efficiently match text sequences at scale, which require high-quality sequence encodings. This paper pre-trains language models dedicated to sequence matching in Siamese architectures. We first hypothesize that a representation is better for sequence matching if the entire sequence can be reconstructed from it, which, however, is unlikely to be achieved in standard autoencoders: A strong decoder can rely on its capacity and natural language patterns to reconstruct and bypass the needs of better sequence encodings. Therefore we propose a new self-learning method that pretrains the encoder with a weak which reconstructs the original sequence from the encoder's [CLS] representations but is restricted in both capacity and attention span. In our experiments on web search and recommendation, the pre-trained SEED-Encoder, SiamEsE oriented encoder by reconstructing from weak decoder, shows significantly better generalization ability when fine-tuned in Siamese networks, improving overall accuracy and few-shot performances. Our code and models will be released.

Motivation & Objective

  • To improve sequence encoding quality for Siamese networks in real-world applications like web search and recommendation.
  • To address the limitation of standard autoencoders, where strong decoders can bypass the need for high-quality encodings.
  • To investigate whether a weak decoder can enforce better representation learning in sequence matching by restricting reconstruction capacity and attention span.
  • To develop a self-supervised pre-training method that enhances generalization in fine-tuned Siamese networks.
  • To demonstrate improved few-shot and zero-shot performance through a more robust encoder architecture.

Proposed method

  • Pre-train a Siamese encoder using a self-supervised reconstruction objective based on the [CLS] representation.
  • Use a weak decoder with limited capacity and restricted attention span to reconstruct the full input sequence from the [CLS] token.
  • Restrict the decoder’s ability to rely on linguistic patterns or long-range dependencies, forcing the encoder to learn more informative representations.
  • Train the encoder to produce [CLS] representations that are sufficient for accurate sequence reconstruction under decoder constraints.
  • Apply the pre-trained encoder to downstream Siamese networks for sequence matching, fine-tuning only the classifier head.
  • Use the reconstruction loss as a proxy objective to improve the quality of sequence encodings for matching tasks.

Experimental results

Research questions

  • RQ1Can a weak decoder that reconstructs sequences from the [CLS] token improve the quality of sequence encodings for Siamese networks?
  • RQ2Does constraining the decoder’s capacity and attention span lead to better generalization in sequence matching?
  • RQ3How does pre-training with a weak decoder compare to standard autoencoding or contrastive pre-training in few-shot and zero-shot settings?
  • RQ4Can the proposed method improve performance on real-world web search and recommendation tasks?
  • RQ5To what extent does the encoder’s representation quality improve when reconstruction is forced through a weak decoder?

Key findings

  • The SEED-Encoder outperforms standard pre-training baselines in both zero-shot and few-shot sequence matching scenarios.
  • The model achieves significantly improved accuracy on downstream Siamese networks after fine-tuning, especially in low-data regimes.
  • The weak decoder constraint effectively prevents the decoder from bypassing the need for high-quality encoder representations.
  • The pre-trained encoder generalizes better across diverse sequence matching tasks, including web search and recommendation.
  • The method demonstrates strong transfer performance, indicating that the [CLS] representation learns more robust and discriminative features.
  • The authors confirm that the weak decoder's limitations are essential to the method’s success, as stronger decoders fail to enforce better encoding.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.