ACL 2022findings553 citations

Sentence-T5: Scalable Sentence Encoders from Pre-trained Text-to-Text Models

Jianmo Ni, Gustavo Hernandez Abrego, Noah Constant, Ji Ma, Keith Hall, Daniel Cer, Yinfei Yang

Abstract

We provide the first exploration of sentence embeddings from text-to-text transformers (T5) including the effects of scaling up sentence encoders to 11B parameters. Sentence embeddings are broadly useful for language processing tasks. While T5 achieves impressive performance on language tasks, it is unclear how to produce sentence embeddings from encoder-decoder models. We investigate three methods to construct Sentence-T5 (ST5) models: two utilize only the T5 encoder and one using the full T5 encoder-decoder. We establish a new sentence representation transfer benchmark, SentGLUE, which extends the SentEval toolkit to nine tasks from the GLUE benchmark. Our encoder-only models outperform the previous best models on both SentEval and SentGLUE transfer tasks, including semantic textual similarity (STS). Scaling up ST5 from millions to billions of parameters shown to consistently improve performance. Finally, our encoder-decoder method achieves a new state-of-the-art on STS when using sentence embeddings.

BibTeX
@inproceedings{ni-etal-2022-sentence,
    title = "Sentence-T5: Scalable Sentence Encoders from Pre-trained Text-to-Text Models",
    author = "Ni, Jianmo  and
      Hernandez Abrego, Gustavo  and
      Constant, Noah  and
      Ma, Ji  and
      Hall, Keith  and
      Cer, Daniel  and
      Yang, Yinfei",
    editor = "Muresan, Smaranda  and
      Nakov, Preslav  and
      Villavicencio, Aline",
    booktitle = "Findings of the Association for Computational Linguistics: ACL 2022",
    month = may,
    year = "2022",
    address = "Dublin, Ireland",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2022.findings-acl.146/",
    doi = "10.18653/v1/2022.findings-acl.146",
    pages = "1864--1874"
}
Sentence-T5: Scalable Sentence Encoders from Pre-trained Text-to-Text Models · ACL 2022