Learn Before
Discriminator Performance Analysis
A language model is being trained using a two-part system. A 'generator' component alters an input sentence by replacing some words, and a 'discriminator' component then tries to identify which words were replaced. Based on the provided scenario, analyze the discriminator's classification for the words 'fast' and 'dog'. Explain why each classification is correct according to the discriminator's specific objective.
0
1
Tags
Ch.1 Pre-training - Foundations of Large Language Models
Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Analysis in Bloom's Taxonomy
Cognitive Psychology
Psychology
Social Science
Empirical Science
Science
Related
Visual Example of Discriminator Operation in Replaced Token Detection
In a particular self-supervised learning setup, a 'generator' model first processes an input sentence and replaces some of its words with plausible alternatives. A second, more powerful 'discriminator' model then receives this altered sentence. The discriminator's task is to examine each word and determine if it is identical to the word in the original, unaltered sentence.
Consider this example:
- Original Sentence: "The scientist discovered the new element."
- Altered Sentence from Generator: "The scientist found the new element."
Given the discriminator's task, how should it classify the words 'found' and 'element' from the altered sentence?
In a replaced token detection task, a generator model is given the sentence 'The chef cooked the meal' with the word 'cooked' masked. The generator predicts the word 'cooked' to fill the mask. The discriminator then receives the sentence 'The chef cooked the meal'. According to the discriminator's objective, it should classify the word 'cooked' as 'replaced'.
Discriminator Performance Analysis