Skip to main content
nlml's user avatar
nlml's user avatar
nlml's user avatar
nlml
  • Member for 8 years, 8 months
  • Last seen more than 1 year ago
awarded
comment
Stochastic gradient descent for neural networks with tied weights
The stochastic part is that you will pick data points at random. Unless you only have one [$x_1, x_2, x_3$] vector, then you'll just 'stochastically' pick that one over and over again. Have never heard of stochastically updating weights (although it could be useful it would probably just be inefficient) - all weights are always updated at every training step.
Loading…
awarded
comment
How to Use LSA Create Topics?
I mean, that's a pretty difficult one. You could perhaps give a topic the most frequent word in documents of that topic? Or maybe better still, give it the most 'discriminative' word, which you could define as perhaps the word with the highest (occurrence rate in that topic's documents) / (average occurrence rate over all documents)
awarded
answered
Loading…
revised
Loading…
comment
Cluster non-vector data based on similarity rating
Edit: works better if you normalise the latent vectors pastebin.com/VRLRjTFL
comment
Cluster non-vector data based on similarity rating
No worries. And I think you might still be able to take the approach I suggested. I created a toy example with Tensorflow here pastebin.com/s9TWB68p . Basically I made synthetic pairing probabilities like the data you have, and then learned an arbitrary latent space based on just these pairings, which ends up separating the 'true' classes fairly well. I don't know if the approach is that robust but it might be worth a try - let me know if it helps!
comment
Cluster non-vector data based on similarity rating
Ah yep good point. Didn't look at the link in enough detail, sorry. There must be approaches out there for optimising the cliques as you say I would have thought. A quick google turned up this sciencedirect.com/science/article/pii/S1877050914004256 ? Another thought: maybe you could do something similar to the siamese network but without neural nets. Just have a latent vector z for each sentence, then perform stochastic gradient descent on these z's where the cost is cross-entropy between their cosine similarity and the target probability. Might work?
comment
Cluster non-vector data based on similarity rating
I think I'm a bit clearer on what you mean now. If the words are really completely meaningless, then maybe you could look for some sort of graph-based clustering method? Nodes are sentences, edges would be the pairing probabilities, and you can treat unknown edges as latent. Maybe even this? tkipf.github.io/graph-convolutional-networks
comment
Cluster non-vector data based on similarity rating
Well if your sentences are meaningless then you can't really expect to extract any representation from them I suppose... Isn't the N-hot approach still feasible here? Edit:
Loading…
Loading…
Loading…
awarded
comment
Why would the sampled softmax work? [word2vec]
Not really. This won't make the network any more (or less) robust as per dropout. It's closer in principle to subsampling an over-represented class when dealing with class-imbalanced data.
answered
Loading…