B1-I4 · Inline explainer · preview in article context

Pair training supplied relationships between texts directly. It taught the encoder to bring matching texts together in its representation space and distinguish them from alternatives. This changed the objective from recovering missing tokens to producing vectors useful for comparison.

What pair training teachesThree authored texts: a query, a matching passage and an alternative passage. In a schematic representation space the query and matching passage move closer while the alternative ends farther away. Conceptual training illustration; positions are authored.querymatching passagealternative passagepair being learnedConceptual training illustration; positions are authored.What pair training teachesMatching texts are pulled together; texts that only look related are kept apart.queryquery:How can I find a note by its meaning?matching passagepassage:Semantic search retrieves notes usingtheir learned text representations.alternative passagepassage:Change the notebook's font in appearance settings.schematic spacealternativematching passagequeryIllustrative training objectiveLearn which texts belong together What pair training teachesThree authored texts: a query, a matching passage and an alternative passage. In a schematic representation space the query and matching passage move closer while the alternative ends farther away. Conceptual training illustration; positions are authored.querymatching passagealternative passagepair being learnedConceptual training illustration;positions are authored.What pair training teachesMatching texts are pulled together;look-alikes are kept apart.queryquery:How can I find a noteby its meaning?matching passagepassage:Semantic search retrievesnotes using their learnedtext representations.alternative passagepassage:Change the notebook's fontin appearance settings.schematic spacealternativematching passagequeryIllustrative training objectiveLearn which texts belong together

Figure

Pair training teaches relationships between matching texts and alternatives. The movement illustrates the learning objective, not a measured training trajectory.