News for hackers. Stuff that matters.
Re:Show HN: Basilica – word2vec for anything by aaaaaaaaaab on Wednesday October 31, 2018 @01:58PM (#18347895)
>Job Candidate Clustering

>Basilica lets you easily cluster job candidates by the text of their resumes. A number of additional features for this category are on our roadmap, including a source code embedding that will let you cluster candidates by what kind of code they write.

Wonderful! We were in dire need for yet another black-box criteria based on which employers can reject candidates.

“We’re sorry to inform you that we choose not to go on with your application. You see, for this position we’re looking for someone with a different embedding.”

Re:Show HN: Basilica – word2vec for anything by mlucy on Wednesday October 31, 2018 @02:15PM (#18348035)
:P

For what it's worth, people are doing job candidate clustering anyway right now. It's just that most people are doing it with keyword search or something.

Doing it with embeddings instead would probably increase the quality of the clustering at the cost of some interpretability. (i.e. you wouldn't be able to say "We didn't show your resume to this employer because it didn't contain both the word "Java" and the word "Agile", but maybe that's a good thing).

It's sort of a hard philosophical question how much you care about transparency/interpretability vs. quality, especially for socially important tasks like hiring.

Re:Show HN: Basilica – word2vec for anything by wutbrodo on Wednesday October 31, 2018 @02:35PM (#18348175)
Right, it's a little absurd to complain about flaws in a potential hiring filter without realizing how incredibly flawed current hiring is, relative to some unrealized ideal.
Re:Show HN: Basilica – word2vec for anything by sgt101 on Wednesday October 31, 2018 @03:48PM (#18348720)
Respectfully I disagree, if something is bad then the fact that the other thing might be bad doesn't make it ok. Either be demonstrably better (this isn't) or stop.
Re:Show HN: Basilica – word2vec for anything by wutbrodo on Thursday November 01, 2018 @01:39PM (#18356426)
The solution does claim to be better along some axes; your statement would seem to imply that you can't work towards a solution to any problem until all of them are solved. That seems like a recipe for never improving anything, no?

It would be like complaining about an agricultural innovation that's projected to reduce starvation, because it doesn't also cure diabetes. I wouldn't want such progress to "just stop" because they're leaving a given problem unsolved.

Re:Show HN: Basilica – word2vec for anything by dantheman on Wednesday October 31, 2018 @06:53PM (#18349871)
If something doesn't work, sometimes it's better to try something else. Especially when the only way to see if something is better is to try it.
Re:Show HN: Basilica – word2vec for anything by panarky on Wednesday October 31, 2018 @02:44PM (#18348236)
word2vec:

    king
  - man
  + woman
  --------
  = queen
Basilica:

    resumes of candidates
  - resumes of employees you fired
  + resumes of employees you promoted
  ---------------------------------------
  = resumes of candidates you should hire
Re:Show HN: Basilica – word2vec for anything by yongjik on Wednesday October 31, 2018 @04:55PM (#18349224)
Unless you have thousands of fired and promoted employees, it may easily end up "Sorry, most of our promoted employees are Indians, because they were our founder's close friends and joined earlier, and that one guy fired for flirting with a customer was the only one from UIUC. Your name doesn't sound sufficiently Indian and you graduated from UIUC. Bye."

Worse, the person who looks at the rejection decision may have no idea that it boils down to this.

Re:Show HN: Basilica – word2vec for anything by kvb on Wednesday October 31, 2018 @02:53PM (#18348308)
word2vec[0]:

      computer programmer
    - man
    + woman
    ---------------------
    = homemaker
Basilica?

[0] - https://arxiv.org/pdf/1607.06520.pdf

Re:Show HN: Basilica – word2vec for anything by gojomo on Wednesday October 31, 2018 @06:47PM (#18349845)
Note that some of this research, especially early, overstated the 'bias' here because they didn't realize that the default 'analogy' routines specifically rule-out returning any word that was also in the prompt words. So, even if closest word-vector after the `man->woman` translation was the same role (as is often the case), you wouldn't see it in the answer.

Further, they cherry-picked the most-potentially-offensive examples, in some cases dependent on the increased 'fuzziness' of more-outlier tokens (like `computer_programmer`).

You can test analogies against the popular GoogleNews word-vector set here – http://bionlp-www.utu.fi/wv_demo/ – but it has this same repeated-word-suppression.

So yes, when you try "man : computer_programmer :: woman : _?_" you indeed get back `homemaker` as #1 (and `programmer` a bit further down, and `computer_programmer` nowhere, since it's filtered, thus unclear where it would have ranked).

But if you use the word `programmer` (which I believe is more frequent in the corpus than the `computer_programmer` bigram, and thus a stronger vector), you get back words closely-related to 'programmer' as the top-3, and 23 other related words before any strongly-woman-gendered professions (`costume_designer` and `seamstress`).

You can try lots of other roles you might have expected to be somewhat gendered in the corpus – `firefighter`, `architect`, `mechanical_engineer`, `lawyer`, `doctor` – but continue to get back mostly ungendered analogy-solutions above gendered ones.

So: while word-vectors can encode such stereotypes, some of the headline examples are not representative.

Re:Show HN: Basilica – word2vec for anything by ben_w on Wednesday October 31, 2018 @03:19PM (#18348526)
One thing I’ve been tempted to research but never had time for myself: can one use that aspect of wording embeddings to automatically detect and quantify prejudice?

For example, if you trained only on the corpus of circia 1950 newspapers, would «“man” - “homosexual” ~= “pervert”» or something similar? I remember from my teenage years (as late as the 90s!) that some UK politicians spoke as if they thought like that.

I also wonder what biases it could reveal in me which I am currently unaware of… and how hard it may be to accept the error exists or to improve myself once I do. There’s no way I’m flawless, after all.

Re:Show HN: Basilica – word2vec for anything by teraflop on Wednesday October 31, 2018 @03:35PM (#18348633)
> For example, if you trained only on the corpus of circia 1950 newspapers, would «“man” - “homosexual” ~= “pervert”» or something similar?

If it did, what conclusion would you be able to draw?

As far as I know, there's no theoretical justification for thinking that word vectors are guaranteed to capture meaningful semantic content. Empirically, sometimes they do; other times, the relationships are noise or garbage.

I am wholeheartedly in favor of trying to examine one's own biases, but you shouldn't trust an ad-hoc algorithm to be the arbiter of what those biases are.

Re:Show HN: Basilica – word2vec for anything by pasabagi on Wednesday October 31, 2018 @04:33PM (#18349067)
I think there's a further problem that there's never been a shortage of evidence, about things like this. The point is, prejudice and discrimination are not evidence-based in the first place. People who support existing unjust structures are generally strongly motivated to turn a blind eye. Even people who don't support them are - it's simply far easier and more socially advantageous to stop worrying and love the bomb.
Re:Show HN: Basilica – word2vec for anything by pasabagi on Wednesday October 31, 2018 @04:35PM (#18349081)
I think this is a large part of what goes on in the digital humanities - to varying degrees of success. The problem, as usual, is not that there isn't an abundance of evidence. It's simply that nobody reads sociology papers except sociologists.
Re:Show HN: Basilica – word2vec for anything by panarky on Wednesday October 31, 2018 @04:23PM (#18348978)
In this formulation wouldn't Basilica reflect the existing biases of the organization?

    resumes of candidates
  - resumes of employees you fired
  + resumes of employees you promoted
  ---------------------------------------
  = resumes of candidates you should hire
It's a lot of hard work to reduce bias in promotions and terminations.

Basilica might reinforce that hard work when evaluating candidates.

Or you could use the techniques described in your citation to allow Basilica to help de-bias the hiring process.

Re:Show HN: Basilica – word2vec for anything by lifeisstillgood on Wednesday October 31, 2018 @06:19PM (#18349702)
The second one being (I assume this is your point) merely a way to copy of all your existing biases, but not be able to see it.

eg If you fire all the black people and don't promote women, guess what resumes Artificial Intelligence will send you

Re:Show HN: Basilica – word2vec for anything by mandeepj on Wednesday October 31, 2018 @08:36PM (#18350507)
I don’t think this approach will give you a good signal.

For the most part - People don’t get fired due to their skills. They get fired for lacking in execution or behavior. Someone screws up production deployment or makes lewd comments on another coworker. This is hard to come across in a resume.

Re:Show HN: Basilica – word2vec for anything by dang on Wednesday October 31, 2018 @07:42PM (#18350181)
This breaks the Show HN guidelines (https://news.ycombinator.com/showhn.html) as well as the HN guidelines (https://news.ycombinator.com/newsguidelines.html), which ask you not to post shallow dismissals, especially of others' work. That's particularly important in Show HN threads. We don't want a culture where the reflex is to be a jerk and kick things.

That doesn't mean you can't raise concerns. Someone else raised the same concern that you did in a fine way: https://news.ycombinator.com/item?id=18348005. When in doubt, emulate them and ask a simple question.

Re:Show HN: Basilica – word2vec for anything by varjag on Wednesday October 31, 2018 @02:07PM (#18347969)
"Your CV must have fell between the cracks in multidimensional vector space"