Tip Of AI
Discover what you can do with AI
GLTR (Generated Language Test Room) is a tool developed by Hendrik Strobelt, Sebastian Gehrmann, and Alexander Rush from the MIT-IBM Watson AI Lab and HarvardNLP. It is designed to detect automatically generated text by inspecting the visual footprint of the text. The tool aims to address the growing concern of language models being used to generate fake reviews, comments, or news articles that can influence public opinion. GLTR utilizes the GPT-2 117M language model from OpenAI, which is one of the largest publicly available models. It analyzes the predicted words at each position and overlays a colored mask over the text based on the ranking of the words. Green represents the top 10 likely words, yellow the top 100, red the top 1,000, and purple the rest. By visually indicating the likelihood of each word, GLTR provides an indication of whether the text was automatically generated. GLTR also provides additional features such as hovering over a word to see the top 5 predicted words, their probabilities, and the position of the following word. The tool also displays histograms that show the distribution of words, the probabilities of the top predicted word compared to the following word, and the entropies of the predictions. While GLTR has limitations in terms of scale and the assumption of a simple sampling scheme, it has shown promising results in detecting generated text. It is important to note that GLTR is a tool to assist in detecting individual cases of generated text and requires advanced language knowledge to assess the sense of uncommon words.