Goodtriever steers a Large language modelA model trained on large amounts of data to process and generate language.Full definition → away from toxic text by consulting examples while it generates an answer. The research listed by Cohere addresses a problem with fixed safeguards: harmful language and its Context and context windowContext is the information available for a generation; the context window is the capacity available to hold it.Full definition → can change. The publisher abstract presents RetrievalSelecting evidence relevant to the current request.Full definition → during generation as a way to make mitigation more adaptable.
The paper's method uses separate stores of toxic and non-toxic examples. For each next-TokenA piece of text, such as a word, part of a word or a punctuation mark, that a language model represents as numbers and handles as a unit.Full definition → decision, it retrieves similar contexts and adjusts the model's preferences toward non-toxic continuations and away from toxic ones. This makes the example collections part of the control mechanism. The researchers also test adaptation across different toxicity domains, making the work relevant to safeguards that must evolve with their deployment context.
Terms in this piece · Glossary
Large language model — A model trained on large amounts of data to process and generate language.
Context and context window — Context is the information available for a generation; the context window is the capacity available to hold it.
Retrieval — Selecting evidence relevant to the current request.
Token — A piece of text, such as a word, part of a word or a punctuation mark, that a language model represents as numbers and handles as a unit.