News for hackers. Stuff that matters.
Re:Stable Diffusion Textual Inversion by staticautomatic on Monday August 29, 2022 @08:19PM (#32645226)
Do latent variables “look like” anything at all? Like In a PCA, for example, a factor is some latent heuristic but does it even have an actual value?
Re:Stable Diffusion Textual Inversion by kazinator on Monday August 29, 2022 @08:40PM (#32645369)
Looking at this some more, I may have a slightly less flawed high level understanding. There is never actually a concrete word. There is an "embeddding" represented as an abstract vector, and that is forcibly associated with a pseudo-word like *. That * just recalls the vector; there is no intermediate gibberish that has a word representation: that vector is the gibberish.
Re:Stable Diffusion Textual Inversion by galangalalgol on Monday August 29, 2022 @09:23PM (#32645653)
I have seen images at openart with promots that considted entirely of different types of whitespace. They were haunting images of humanlike shapes. The prompt found some odd vocabulary that had trained to some concepts was my assumption. Is that impossible?
Re:Stable Diffusion Textual Inversion by throwaway1851 on Tuesday August 30, 2022 @01:57AM (#32647078)
I think that’s a pretty apt comparison. A latent variable (or latent factor in PCA terms) is (basically) a direction in a n-dimensional space, where n is the length of the vector. The direction is correlated with some type of variance in the input data. Oftentimes this represents something that has some useful meaning (“dogness” vs “catness”, for example), but it could also just represent a correlation that has no interpretable meaning.
Re:Stable Diffusion Textual Inversion by staticautomatic on Friday September 09, 2022 @03:52AM (#32776530)
This is probably a dumb question but if we’re talking about language embeddings, are the latent vectors deterministically out of vocabulary? Is there any possibility of collision with an in-vocab n-gram’s vector?