TF-IDF cosine similarity is a powerful means of determining the similarity of two text documents . Can it be used as a loss function in a machine translation model training? For example, when measuring the goodness of possible translations, cosine TF-IDF similarity ("distance") could be computed between the pairs, using some intermediate "language of thought" / TF-IDF "space" (e.g., based on Stanza 's morphological analysis or POS tagging ): 🇬🇧...
Originally asked by Geremia on Stack Exchange (ai) (CC BY-SA 4.0).