Computer Science Issue II Lifestyle Volume XVIII

The Computation of Love: Finding Your Soul Mate Online

About the Author: Melisa Osborne

The Computation of Love: Finding Your Soul Mate Online

 

Abstract

 

In an age of technology and free Wi-Fi, those of us navigating the single life can opt for the electronic highway to love. Computer engineering has allowed society to grasp the subjective nature of attraction and translate it into quantitative data that computers can understand and process. Matching algorithms take the guess work out of dating with their analytical approach to love.

 

The Single Life of an Engineer

 

Of course I enjoy the holidays. What’s not to love? Festive feasts, family bonding, and unending comments from a distant aunt about the fact that I’m not seeing anyone. Like many of my peers, I’ve been badgered far too often with pointed queries concerning my dating life. In these circumstances I am forced to consider the age old question: Why am I single?

 

I like to believe that it’s not an issue of personality, but rather numbers. There are currently about 323,815,107 people living in the United States. Since my current transportation options around Los Angeles are limited to metros and bicycles, let’s chip that number down to the 3,928,827 people living in the city. Of that population, 59% are single, 50% are male, 32% have a Bachelor’s or Post-grad degree, and 17% are between the ages of 20 and 29. We’re left with about 63,050 “eligible bachelors” [1]. That’s plenty, right? Sure, but let’s now venture into the murky waters of lust and love. Empirically speaking, I’ll say I’m attracted to roughly 20% of the people I meet. I’ll assume that 20% of that group shares a mutual attraction. 2,522 bachelors. Is he straight? Does he like trying new things? Is he a nice person? Let’s be frank. As my list of ideals grows, my cut of potential soulmates narrows.

And I’m not the only one feeling this pressure. The difficulty of finding a partner is relevant across demographics and generations. Many of us can relate to the touch of fleeting desperation that graces the single life. In fact, this hitch has awakened the engineer in all of us. The dawn of online-dating is the apex of human beings doing what we’ve always done– analyze the tools around us and ask how we can use them to improve our circumstances. In this case, we’ve used mass media and communication technology to help ourselves cast a net for love, sex, and companionship [2].

 

Algorithms, Analysis, and Attraction

 

For those unfamiliar with computer engineering, the concept of algorithms may seem daunting. However, they can be simply explained as a systematic, step-by-step approach to problem solving. Similar to how a recipe book uses sentences to explain how to make a meal, computers use algorithms to complete a task. These tasks range from connecting a device to Wi-Fi to predicting trends in the stock market.

 

We’ll focus on the use of algorithms for online-dating websites. These algorithms serve as digital matchmakers determining the potential success for two individuals to have a satisfactory first date. For many matchmaking websites, the algorithms used to match individuals are heavily guarded. However, one website, OkCupid.com, uses a relatively simple algorithm and has openly published information on its application. This overview will serve as a basic introduction to the world of similar algorithms utilized by other online-dating websites.

 

Figure 1. New OkCupid.com users are required to answer five yes-or-no questions. These questions serve as a baseline for matches. Users have the option to answer more questions and increase the accuracy of their match percentage.

The real challenge for those engineers building matching algorithms is to figure out how to take something as subjective as human attraction and translate it into components that a computer can process and analyze. The first step in quantifying human attraction is to collect data concerning an individual’s personality. The best way to collect this data is, well, to ask for it. Once a user creates a profile on OkCupid.com, he or she is given a set of yes-or-no calibration questions. Are you a morning person? Do you like scary movies? Would you have sex on the first date? Many of the randomly dispensed questions are useful for matching “like with like.” In other words, the algorithm assumes that two people who answer a question in the same way will get along. For example, two individuals who believe in God are probably a better match than a devout Christian and an atheist.

 

But what about questions like: Do you like to be the center of attention? If an algorithm simply matched “like with like,” and both individuals in that match answered yes, they might have an issue sharing the spotlight and would not make a great pair. Another concern is that not all questions are equal. A question regarding the ethics of abortion reveals more about an individual than his or her movie preference, and you’re more likely to overlook a difference in genre preference rather than conflicting ethical mores. To resolve this glitch, the OkCupid algorithm includes three layers to each question: users are asked to (i) give their own response, (ii) indicate how they would like a partner to respond, and (iii) rank the level of importance that question plays in their life.

 

It Takes Two

 

Imagine yourself as a current OkCupid user. Welcome to the world of virtual dating! Your match percentage with another user, let’s call them “X,” is based on questions you’ve both answered. We’ll walk through an example where two users, you and X, have answered two yes-or-no questions:   

Take a moment to go over the responses to each question listed above. Since computers will be analyzing this data, numerical values must be assigned to variables such as degree of importance. These numerical values will eventually be used to calculate a percent match between you and X. OkCupid gives users the option to rate a question on a scale of “a little” to “somewhat” to “very” important. A question rated as “a little” important is weighted with 1 point. “Somewhat” and “very” important questions are weighted with 10 and 50 points, respectively. Briefly, if X responds to a question with the answer you’d like a match to have, X has answered correctly and receives the full point value for that question.

Figure 2. Question format presented on OkCupid.com. Users who opt to answer a greater number of these questions are rewarded with more accurate percent matches. The optional “explain your answer” box allows the user to offer further insight that might not be inferred from the “yes” or “no” answer provided. This additional information is visible to any other user.

 

Let’s begin with your satisfaction rating of X. You chose to weight question 1 and 2 as “somewhat” and “very” important, leading to a total of 60 possible points that X can score. X answered question 1 incorrectly, in this case meaning that the answer is not what you would like a match to give. So far X has lost out on 10 out of 60 points. Fortunately, X provided the correct answer for question 2, which you weighted as “very” important. X ends with a total of 50 out of 60 points, computing as an 83% satisfaction rating.

 

Now let’s determine X’s satisfaction rating of you. X weighted question 1 and 2 as “a little” and “somewhat” important, creating a total of 11 possible points. You provided the incorrect answer for question 1 but the correct answer for question 2. Your score of 10 out of 11 results in a 91% satisfaction rating.  

 

To determine the percent match between you and X, we will take the geometric mean of the two satisfaction ratings calculated above. Geometric mean is an average that indicates the central tendency (the typical value) in a set of numbers. The math from here is simple. The two satisfaction ratings are multiplied and the nth root, where n = number of questions, of the product is taken. In the example above, n = 2. Consequently, the square root of the product of 83 and 91 is calculated. The resulting percent match between you and X is 86%. This percentage represents the likelihood that the two of you would have a satisfactory first date. Not bad for two questions! Because the margin of error decreases as n increases, two users who opt to answer more questions will be given a more accurate percent match.  

 

The geometric mean is useful for calculating romantic matches because it accounts for a wide range of topics, interests, and data points such as movies, politics, and religion. Intuitively, the calculation makes sense. It makes sense that two individuals each with a 50% satisfaction rating should be a better match than two others who satisfy each other 0% and 100% respectively because affection must be mutual in a successful relationship [3].

 

Seems easy, right? The steps we walked through just now are mirrored by the algorithm used by OkCupid.com on a larger scale. With data points and simple calculations, online-dating algorithms have the ability to digest qualitative aspects of attraction and translate that information into quantitative data that a microchip can process and understand.

 

Hacking Your Way to Love

 

Figure 3. An inspirational message provided by OkCupid.com.

I’m not about to tell you that there is a wrong way to date online. After all, most of online-dating involves you talking about yourself and it’s hard to be completely off-base when answering a questionnaire. However, it is possible to optimize your dating profile to attract the kind of users you know you would be interested in if you had met them offline.

 

Chris McKinlay, a 35-year-old mathematics PhD candidate, was no stranger to online dating. Despite the numerous, charming introductory messages he sent out, he had yet to find “The One.” Speaking specifically to his success on OkCupid, McKinlay realized that the questions he had answered at random were not improving his chances of finding a mate. OkCupid’s algorithm relies on questions answered by both individuals. He realized that in order to be more successful on these dating websites that he would have to reverse-engineer his profile.

 

Through statistical sampling, McKinlay was able to determine which questions were being answered by the women he liked. He set up 12 fake OkCupid accounts and wrote a Python script that would search his target demographic and collect all data provided on their profile page including height, race, astrological sign, and age. Users are only able to see questions that both parties have answered, so McKinlay programmed 12 fake accounts to answer questions randomly and collect data. After three weeks of data scraping, he had collected over 6 million questions and answers from women across the United States.

 

By modifying a Bell Labs algorithm, which was originally used to analyze diseased soybean crops, McKinlay was able to clump the women he “surveyed” into seven statistically distinct clusters based on their questions chosen and answers provided on OkCupid. McKinlay decided to pursue two clusters of women: the first was dominated by younger indie-type musicians and artists, the second by mid-thirties women with professional creative jobs.

 

McKinlay used text analytics to comb through profiles of the two clusters to learn what interests were trending within each cluster. He then created two separate, genuine profiles of himself that focused on those golden topics. At this point he was optimizing his original profile to highlight aspects that specific demographics would be attracted to.

 

The most important aspect of these two new profiles, however, was the questionnaire. McKinlay answered each question honestly, but used a machine-learning algorithm called adaptive boosting to decide how much importance to assign to each question. As we saw in the walk-through example with two questions, the amount of importance you place on a question can dramatically alter your satisfaction ratings.

 

McKinlay’s reverse-engineering of his dating profile proved to be an astounding success. He was raking in matches and became the Golden Boy of online dating. The pages and pages of high percentage matches proved that by creating online-dating profiles with an engineering perspective, the crowd of potential mates drawn in can completely change.  He was the same guy– just packaged differently!

 

A Happy Ending

 

Whether or not you decide to venture into the world of online dating, it’s important to recognize the strides that we have made as a society. Together we have engineered a novel method of communication that utilizes the internet and makes the world a smaller place. It only makes sense that in this age of light-speed communication that we would utilize the internet as a tool to hustle along our search for love. And the best part? Every individual gets to decide whether he or she will let fate take its time or if they’d rather let algorithms do the dirty work and just enjoy the ride. A sometimes overlooked caveat, however, is that these algorithms do not carry a relationship. Once the match has been made, it’s up to those two individuals to keep the spark going. As for me, I’m still looking for that soul mate of mine who’s roaming about Los Angeles. And who knows, maybe I’ll find him online.

 

Works Cited

[1] Census Reporter. (2016, June 19). Los Angeles, CA. [Online]. Available: https://censusreporter.org/profiles/16000US0644000-los-angeles-ca/

 

[2] Susie Lee. (2016, June 21). The History of Online Dating from 1695 to Now. [Online]. Available: http://www.huffingtonpost.com/susie-lee/timeline-online-dating-fr_b_9228040.html

 

[3] Christian Rudder. (2016, June 20). Inside OkCupid: The math of online dating. [Online]. Available: https://www.youtube.com/watch?v=m9PiPlRuy6E

 

All figures are taken directly from okcupid.com.

 

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *