From Dating to Vector Search – “Stable Marriages” on a Global Scale
ashvardanian.com
ashvardanian.com
This is not to detract from the utility of the algorithm per se; rather, its relevance in pairing up partners in a dating app. I'd have to guess that factors like physical proximity, speaking the same language, being in roughly the same age range, having the same political views, etc. can be used to straightforwardly narrow down the eligible pool for each user to about a thousand or so, at which point the algorithm the author describes as trivial is sufficient.
Also:
> With 1 Billion candidates for every person, you’d need 8 Million Terabytes of RAM to start with the classic algorithm. Multiply that by $10'000 per Terabyte of RAM, and you get a jaw-dropping $80 Billion. Practically infeasible and exorbitantly expensive.
Maybe I'm just missing something, and if so I'd love to be corrected, but I feel like if you had 2 billion users on your app, operating costs of $80 billion would not be out of the question.
Coding it and experimenting with metrics, however, was much harder then. There was no Numba and I had to implement every experiment in C++, without JIT-ing: https://github.com/unum-cloud/usearch/releases/tag/v0.19.0
PS Can't figure out stirkethrough so I'm just nuking the comment.
There’s an argument to be made that perhaps it does. But I don’t think its as clear cut. Western societies are generally more liberal and give more importance to individual happiness over group stability and I don’t think that’s a bad tradeoff.
One simple explanation could just be western societies are much richer and lot of material things and experiences can be had at an individual level whereas in other parts of the world, the best one can dream is group affordability.
Not sure if it's related to the topic of the post. Even though I've originally used the algorithm for dating, its primary purpose is basic 1-to-1 matching of two sets.
economics is part of this, but we have plenty of economic activity and yet alot of dismal outcomes.. so economics does not explain all of it
I disagree; easily dissolved marriages just changes the manifestation of the downsides of easily entered marriages from deep and serious problems within marriages to overt failure of marriages.
Both problems are significantly reduced by premarital compatibility counseling.
Individualism gives you the freedom to fail along with the freedom to succeed. It's a trade-off with being able to make your decisions.
I'd be more interested in not comparing the fail cases of western dating with arranged marriages but comparing the success cases against arranged marriages. Finding someone who truly feels like your missing half has got to be one of life's greatest pleasures. And the freedom to look for it and the freedom to fail sounds about 1000x better to me than "hanging in there" with a spouse my dad chose.
Every time I hear someone talk about it, the upsides of arranged marriage always kinda sound like "Sweetie, wouldn't it be much nicer to just stay inside where it's safe instead of going out into that dangerous world?"
I believe Duty and Obligation are in deep decline in the west.
Exhibit 1: Doctors being told that they can take time off from hospitals "to cope with the attack on X (x = current police brutality victim, unfortunate bystander, or neighbor dispute gone wrong)" , instead of doctors treating dying patients in ER, helping patients cope with pain in ICU, etc.
Exhibit 2: Cops failing to actively protect citizens and prevent crime (during protests, for example) because authorities have made it clear they will get sued/fired/lynched/prosecuted for doing so, and they are afraid to go against the system that pays them.
Exhibit 3: Same as (2) , but teachers in public school doing nothing to protect bullied kids
Exhibit 4: US military in forever conflicts causing an all-time low in voluntary army recruit numbers.
This is the west today. We reap what we sow.
See: shortages of everyone you mentioned. They owe us nothing, we owe them if we want the system to work.
> I believe Duty and Obligation are in deep decline in the west.
This sounds like collective entitlement. You don’t sacrifice when you’re not valued. That’s just exploitation.
I didnt build this. Neither did you.
But here is a certainty, if you individually play out this line of thinking in the aggregate, it sums up to "i dont care if it is not to my benefit" as a society.
This line of thinking is THE problem. This decadence is new and its accelerating.
Duty is doing the right thing regardless of how hard it is or whether it benefits oneself. Thats a basic show of respect.
How much you would propose to pay doctors on top of what they are already paid since they are 'underpaid'.
?
How much do you think the founding fathers were paid ? What amount you think it made them feel "valued" so much so that they were ok to potentially, lose their houses, farms, and get their family killed for their work
?
These also happen to be countries where women have terrible economic prospects and divorcees are treated as social outcasts. I happen to live in such a country and from what I can tell, people in miserable marriages stay married because of external pressures.
I can only imagine people glorifying such an arrangement are either ignorant of the ground reality or are outright deranged.
The obvious conclusion is just ban all divorces and now we have perfectly stable marriages.
It's like seeing a link to a paper on the Travelling Salesman problem and having it derailed to discussing dodgy car dealers instead.
> Yes there are exceptions, yes abuse and infidelity are justification often, no being pedantic in order to do a "gotcha" are not helpful.
Whether this is pedantry depends entirely on the proportions. Some studies suggest around a quarter of wives are abused. If that's the case then maybe divorce isn't high enough, and it's certainly a key consideration here and not a pedantic tangent. I don't know the area well enough to argue that either way, but I know enough to say you're being too dismissive of the question.