[Paper Review] Mark my Word: A Sequence-to-Sequence Approach to Definition Modeling
This paper proposes a sequence-to-sequence Transformer model that treats definition modeling as a context-aware generation task, inputting a sentence with a target word and generating its contextually appropriate definition. It achieves state-of-the-art performance in both contextual and non-contextual definition modeling by jointly training contextual encoding and definition generation end-to-end.
Defining words in a textual context is a useful task both for practical purposes and for gaining insight into distributed word representations. Building on the distributional hypothesis, we argue here that the most natural formalization of definition modeling is to treat it as a sequence-to-sequence task, rather than a word-to-sequence task: given an input sequence with a highlighted word, generate a contextually appropriate definition for it. We implement this approach in a Transformer-based sequence-to-sequence model. Our proposal allows to train contextualization and definition generation in an end-to-end fashion, which is a conceptual improvement over earlier works. We achieve state-of-the-art results both in contextual and non-contextual definition modeling.
Motivation & Objective
- To address the limitations of prior definition modeling approaches that treat the task as word-to-sequence rather than sequence-to-sequence.
- To improve contextual disambiguation of polysemous words by incorporating their full usage context into the definition generation process.
- To enable end-to-end training of contextualized word encoding and definition generation, improving model coherence and performance.
- To provide a unified benchmarking framework for evaluating both contextual and non-contextual word embeddings via definition modeling.
- To explore the feasibility of extending the model to low-resource languages and multiword expressions using only pre-trained embeddings and definition datasets.
Proposed method
- Treats definition modeling as a sequence-to-sequence task: given an input sequence containing a highlighted target word, generate a contextually appropriate definition.
- Uses a Transformer-based encoder-decoder architecture to model the input sequence and generate the output definition sequence.
- Employs the pre-trained word embedding of the definiendum as input, preserving the embedding-based meaning representation without retraining.
- End-to-end training jointly optimizes contextual encoding and definition generation, allowing the model to learn contextual dependencies directly.
- Applies standard sequence-to-sequence training with cross-entropy loss and beam search decoding during inference.
- Integrates contextual cues by encoding the full sentence containing the definiendum, rather than relying on isolated context fragments.
Experimental results
Research questions
- RQ1Can treating definition modeling as a sequence-to-sequence task improve performance over word-to-sequence baselines?
- RQ2How does end-to-end training of contextual encoding and definition generation affect model performance compared to pipeline approaches?
- RQ3To what extent can a sequence-to-sequence model capture contextually appropriate definitions for polysemous words?
- RQ4How does the model perform on both contextual and non-contextual definition modeling benchmarks?
- RQ5What are the main failure modes, such as hallucinations or biased definitions, and how can they be mitigated?
Key findings
- The proposed sequence-to-sequence model achieves state-of-the-art results in both contextual and non-contextual definition modeling benchmarks.
- The model outperforms prior approaches, including the contextualized model by Gadetsky et al. (2018) and a pipeline-based Select variation of the same architecture.
- The model demonstrates strong performance on ambiguous words by leveraging full sentence context for disambiguation.
- Despite strong results, the model exhibits hallucinations—such as incorrectly stating 'beta' is the twentieth Greek letter—highlighting a key challenge in grounding distributional representations.
- The model generates biased or incomplete definitions, such as describing 'blackface' only as 'relating to or characteristic of the theatre,' omitting its offensive connotations.
- The authors identify the need for better tools and metrics to detect and filter hallucinatory or biased outputs, especially when relying solely on distributional word embeddings.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.