Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
41 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
41 tokens/sec
o3 Pro
7 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Investigating semantic subspaces of Transformer sentence embeddings through linear structural probing (2310.11923v1)

Published 18 Oct 2023 in cs.CL

Abstract: The question of what kinds of linguistic information are encoded in different layers of Transformer-based LLMs is of considerable interest for the NLP community. Existing work, however, has overwhelmingly focused on word-level representations and encoder-only LLMs with the masked-token training objective. In this paper, we present experiments with semantic structural probing, a method for studying sentence-level representations via finding a subspace of the embedding space that provides suitable task-specific pairwise distances between data-points. We apply our method to LLMs from different families (encoder-only, decoder-only, encoder-decoder) and of different sizes in the context of two tasks, semantic textual similarity and natural-language inference. We find that model families differ substantially in their performance and layer dynamics, but that the results are largely model-size invariant.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (2)
  1. Dmitry Nikolaev (33 papers)
  2. Sebastian Padó (39 papers)
Citations (3)