Rendered at 06:52:37 GMT+0000 (Coordinated Universal Time) with Cloudflare Workers.
vunderba 2 days ago [-]
Nice job. Given that this is kind of a "trivia" game I think there might be cases where it breaks down since there's been some recent research showing that many of the vector analogies used about a decade ago with Word2Vec - specifically the classic “king minus man plus woman equals queen” were somewhat cherry-picked and don't necessarily prove that cosine similarity always reflects real semantic structure.
Gooblebrai 1 days ago [-]
Thanks! When developing this made sure that the "math" works out, by doing the operations on actual embeddings, so it actually holds!
riedel 24 hours ago [-]
I already was surprised how small the difference were. Actually it felt also a bit too easy. Would actually like to see more complex examples. Would actually also be neat to have a mode were one could try out themselves more freely.
Affric 1 days ago [-]
Do you have a link? Is it really just a concept we don't have a word for?
vunderba 1 days ago [-]
So there have been a couple of papers on this that I think are pretty popular: “Issues in Evaluating Semantic Spaces Using Word Analogies” [1] and “The Problems of Analogical Reasoning with Word Vectors.” [2]
I think they’re both worth a look into how word embeddings aren't always a straight-forward 1:1 correspondence between semantic relationships and cosine similarity.
Vector space of a few hundred dimensions is just too limiting.
It assumes that any difference vector, for example, (woman - man) can be applied to any word to yield a meaningful word. This is not true for language.
What would for instance be
Woman - man + thirsty ?
There are other problems: do you want to make (sister - brother) parallel to (woman - man) or do you want to make (sister-in-law - brother) parallel to (woman - man). I Euclidean geometry, there is only one line through a point along a parallel. This is restrictive for language.
There are many approaches one can take to try to handle this problem. One computer science'y way would be to define 'typed' additions that disallows addition when the result is non-sensical. Distinguish between affine points and displacements.
Another way which is closer to my taste is to consider the set of words not to be embedded in a vector space but in a non-Euclidean manifold. Here in order to execute an addition you have to ensure that you stay on the manifold -- use a manifold compliant motion.
There are many ways to model this, parallel transport is just one option. In any case, some words would be at the boundary of the manifold such that displacements in certain directions are illegal.
There is another problem with using vector spaces of a few hundred dimensions -- in this model, directions are relations. For example (woman - man) is analogous to the relation FEMALEOF.
In a k dimensional vector space there can be only k independent relationships between any pair of words. In k we have to capture all sorts of relationships that can occur between any two names or words. CAPITALOF, FATHEROF, MOTHEROF, SPOUSEOF, GREENOF, YOUNGOF, OLDOF, EMPLOYEEOF.
The total number of independent relationships possible between words of a language with finitely many words is necessarily finite, but can definitely be larger than a few thousand.
RobotCaleb 14 hours ago [-]
The post game results screen is unreadable for many colorblind individuals.
Osato28 23 hours ago [-]
Note that top cosine similarity is shown here to be around 0.5 and shares a lot of vaguely equally plausible-ish answers - which is to say, it's not even close to a precise match, it's just the best guess.
philbo 22 hours ago [-]
Welcome to vector search!
ktnaneri 23 hours ago [-]
I scored 9/10, even though I could not describe exactly what way the puzzles are constructed )))
blackswordninja 12 hours ago [-]
Fun to play but can you explain how you get the data for questions, options, answer etc?
gsoff 1 days ago [-]
it's cool. but i think you should add a restart button. i understand the game has 10 rounds a day, but after you finish them, it only shows the result. since it remembers your progress with a cookie, you keep seeing the result when you visit the site again that day. that can feel a bit weird to most people.
nsvd2 15 hours ago [-]
Isn't this how most daily games work?
nyxtom 24 hours ago [-]
I love these daily puzzle games
agumonkey 1 days ago [-]
after 3 it starts to tickle your brain, good for neuroplasticity
kiranjohns 22 hours ago [-]
This was fun
bigstrat2003 24 hours ago [-]
It's cool, but I think it winds up testing your trivia knowledge more than semantic changes. Most of the questions, I had never even heard of most of the terms involved. Some of the questions, I had never heard of any of the terms involved.
blargey 19 hours ago [-]
Yeah all of today's daily 10 was swapping "language/country-of-origin" around, not sure if deliberate or just too much proper nouns in the pool that are connected like that.
I think they’re both worth a look into how word embeddings aren't always a straight-forward 1:1 correspondence between semantic relationships and cosine similarity.
[1] - https://aclanthology.org/W16-2503.pdf
[2] - https://aclanthology.org/S17-1017.pdf
It assumes that any difference vector, for example, (woman - man) can be applied to any word to yield a meaningful word. This is not true for language.
What would for instance be
Woman - man + thirsty ?
There are other problems: do you want to make (sister - brother) parallel to (woman - man) or do you want to make (sister-in-law - brother) parallel to (woman - man). I Euclidean geometry, there is only one line through a point along a parallel. This is restrictive for language.
There are many approaches one can take to try to handle this problem. One computer science'y way would be to define 'typed' additions that disallows addition when the result is non-sensical. Distinguish between affine points and displacements.
Another way which is closer to my taste is to consider the set of words not to be embedded in a vector space but in a non-Euclidean manifold. Here in order to execute an addition you have to ensure that you stay on the manifold -- use a manifold compliant motion.
There are many ways to model this, parallel transport is just one option. In any case, some words would be at the boundary of the manifold such that displacements in certain directions are illegal.
There is another problem with using vector spaces of a few hundred dimensions -- in this model, directions are relations. For example (woman - man) is analogous to the relation FEMALEOF.
In a k dimensional vector space there can be only k independent relationships between any pair of words. In k we have to capture all sorts of relationships that can occur between any two names or words. CAPITALOF, FATHEROF, MOTHEROF, SPOUSEOF, GREENOF, YOUNGOF, OLDOF, EMPLOYEEOF.
The total number of independent relationships possible between words of a language with finitely many words is necessarily finite, but can definitely be larger than a few thousand.