Why One Of The Most Successful Quant Funds Decided To Create Its Own Video Game - podcast episode cover

Why One Of The Most Successful Quant Funds Decided To Create Its Own Video Game

Feb 06, 201829 min
--:--
--:--
Download Metacast podcast app
Listen to this episode in Metacast mobile app
Don't just listen to podcasts. Learn from them with transcripts, summaries, and chapters for every episode. Skim, search, and bookmark insights. Learn more

Episode description

Quantitative finance is red hot. These days, basically everyone (banks, hedge funds etc.) is hiring mathematicians and coders. So what differentiates one quant shop from any other? On this week's episode of the Odd Lots podcast, we speak to Alfred Spector, the CTO of Two Sigma Investments, which is one of the most successful quant firms in the world. Spector is a computer scientist who previously did long stints at both Google and IBM. He tells us about why Two Sigma spent resources to create its own video game, and what the firm does to ensure that technologists and mathematicians are eager to work there.

See omnystudio.com/listener for privacy information.

Transcript

Speaker 1

Hello, and welcome to another episode of The Thoughts Podcast. I'm Tracy Alloway and I'm Joe Wisenthal. So, Joe, I think we have to come clean about this particular episode. We do have to come clean before we get into the discussion. There's a big, what pound gorilla in the

room that we have to address. Yeah, So the gorilla is that last week we recorded an amazing podcast all about technology and its role in finance and the broader world, and uh, then we were hit by our own technological snaffoo. It's right, So we recorded the greatest episode in the history of the entire podcast. It was amazing, one of a kind, the kind of conversation that you dream of, and then unfortunately the audio was bad and the entire

thing was ruined. Yes, something happened with the computer. The computer said no, we're still trying to figure out what the exact issue was. But we learned an important lesson about the pitfalls of technology, which gives us an excuse to have our guest come on and try to have

the conversation all over again. So here we go. And since this episode is kind of about the relationship between technology and finance, we can at least pretend that there's some lesson here and what happened to us that's relevant to the episode. But really, like as we, I wasn't really exaggerated when I said it was a great conversation, and it would have been so hard to It would have been very hard to try to replicate that or to try to pretend we were just doing it again

for the first time. So just in the spirit of honesty and recreating spontaneity, we wanted to get it out of the way and be honest with our listeners that this is a take two of that conversation. Who knows, maybe it will be even better the second time around. The important thing is we learned a lesson about backup systems and tech. All right, So so here goes, well, we can't yes, but we can't now pretend to do our stick where we don't know. We're like, what are

we going to talk about this time? Is that would really be contrived? After that? No, No, I wasn't going to Okay, I'm going to just bring our guests on. Our guest for today for the second time is Alfred Specter. He's the chief technology officer of Two Sigma. He's also a former engineer at Google, and he was also at IBM for a very long time. He's an extremely well known name in the realm of technology and also in quant driven finance, and he's been nice enough to join

us yet again on odd lots. So thank you, Alfred, really appreciate it. It's my pleasure to be here. And by the way, the probability that there's a failure and a technology system is somehow proportional to the seniority of the person that's involved, So if we ever give a demo to like a really seenior person, it's much more likely to fail. I'm afraid I engendered the failure. No, not at all. But you know, Tracy introduced you as you know, the CTO at Too Sigma. You don't seem

like a guy very who's very busy or anything. So I'm sure it was very easy for you to reschedule your time just come back in for a second day, very easy, indeed. But no, seriously, thank you very much for coming back in and recreating last last week. The way we started our conversation last week, and really the first thing we discussed is that your firm, to Sigma, it's a very well known Quantitative Hedge Fund is known

for having a game. You've created a video game and created a competition for people all around the world to come and design programs to master the game. So tell us what is this game that you have people do and why do you have people tried to upbeat it? So a couple of years ago we introduced a game, a programming competition game where first we within the company and then eventually members of the general public got a chance to write computer programs that would try to win

some strategy game. So in fact, it isn't really a game of people, but it's a game of programming where you program something to try to win. The game was really successful internally and excited our engineers and got them to think really deeply about algorithms and about how to structure situations and game theoretic ways. And we decided to launch it thinking that it would attract many programmers that would then hear about two Sigma. Some of them might

actually decide they want to work with us. It would also educate people because it requires very sophisticated and clever programming to win these games, and we're really interested in educating more and more people in tech it was sufficiently successful the first year that we did it again, and this year there were about six thousand players that wrote bots as we call them, to play from about a

thousand organizations a hundred countries. In the top ten, there were six nations represented, and in the top ten winners of this two of them were high school students, amazingly enough, one of them from Brooklyn and one from Argentina. So um, I'm trying to rethink all my questions from last week. No, no new questions, okay, fresh questions. We we hear a

lot about the competition for talent in technology. You obviously have all these financial firms that want programmers, um coders, people like that, and they're competing with tech firms in Silicon Valley. How intense is that competition And what's the benefit of trying to attract competition through something like this game versus more traditional enticements to the financial industry, like

just offering people say a lot of money. Well, I think, first and foremost, what we're seeing is technology playing a bigger and bigger role in almost every industry. I refer to that as CS plus X for all X. So the innovation is occurring at that intersection of computing and X. It's certainly happening now in finance, but I think what

comes first is technological excellence. So we see ourselves as having to play in exactly the same markets for talent then tech companies in many domains, and I think that will occur even beyond finance and healthcare and education, etcetera in the future, this kind of a global technology community.

We try to appeal to that in having a culture internally that values technology, that values algorithms, and values careful thinking, values terrific engineering, and we try to portray that externally so that people know that's the kind of firm they're joining. So tell us about the game specifically, what kind of game is it? So the game is a turn based strategy game. So there this year somewhere either two or

four players on the game. When the game starts, the players have three ships each and outer space, and the goal is to have the ships take over a large number of planets and basically take over the galaxy that they're part of. Uh. It's really simple in a way

that the ships can really do only three things. They can move a certain number of positions, they can land on a planet, and they can take off from the planet, and there's some things that happen when they encounter other ships, and when they get on the planet, how they gain strength, and when more ships are created. But there are only three commands to do it. On the other hand, there are many, many possible positions in the galaxy, and that's

what makes the game interesting. There is a huge combinatorial explosion, as we say, of moves that you can make at any given time. So, but it's extremely challenging to write a program to win in this galaxy. Compare the complexity of this game to a sort of move based game like we would like chess, for example. So in chess, the thing we think about, despite all the complexity of doing it, is that there's only one piece you move at a time, and that piece, depending upon the piece,

can do different kinds of things. But we call it a branching factor of thirty five. At each move in the game, you can do about thirty five things, and Haylight, the branching factor is ten, followed by zeros, so a very very large number of moves. So it's essentially impossible for human to play, but a bot can play it really well because computers, as we know, are pretty fast.

So people are playing this game, which bots have been most successful and what types of strategies have they been pursuing. This is a really interesting question. In the game. You might think that the approach should be that people should sit down. Players should sit down and think hard about should they go to a near planet that's very large, should they go to a distant planet that's smaller. Should they hide out in a corner and wait for other

players to interfere with each other and the like. That's an algorithmic approach to the game. Or there's the question of should we be doing what say the deep mind people in that Google subsidiary in London are doing and building AI programs that play the game against each other and learn the right approaches by essentially trial and error and by seeing which wins both approaches are used in the game. The top players, the top say thirty or

forty players used algorithmic approaches where they really thought things through. However, now this year some of the top players in the top fifty or sixty actually built very simple bots with very small amounts of code that actually learned by playing the game. Millions and millions of times, and it's quite interesting that that actually is working in a world which is this difficult. And of course you mentioned the Google deep Mind endeavor. It's important in the history of chess computers.

This is the two different approaches. So back in the nineties when we think of Cass pro Verse deep Blue Deep Blue at the whole library of games and all these grand masters training it, and the new generation just learns chess from day one and it teaches itself without any GMS or anything. And these days that new approach is what works. But well, you're saying in this game,

you've seen some success from both approaches. That's right. In the recent Alpha Go program that that deep Mind did, they learned to be a world champion in chess in four hours of play without much background. Really remarkable. This game is considerably harder. So if we think about artificial intelligence, some artificial intelligence is just to try to duplicate what people do. So like an early problem in AI was digit recognition. Could you read, say, the numbers on a

check automatically? That was AI just a few years back. That was a very hard problem. Now then another problem in AI is to do something that humans do, but do it better. So that's like self driving cars. You can easily imagine that it should be possible. Maybe it's hard to build a self driving car because we can do it pretty well. Then there are these questions of things which we can't even do, and that's a game like hay Light. Can we get a I s to

do that? And there are implications of course in financial markets were all kind of challenged by predictions and optimization and financial markets. Maybe it's very much the case that these AI systems, in the fullness of time, will do things we ourselves can't even think of doing today, and

in making a better economic system. So I'm always curious when it comes to these bots that are essentially self learning the game, how good are they dealing with spontaneity or the unpredictability of other people's decisions or say, you know, just a human playing the game who might make a mistake. Do they always assume that the other players are a rational or can they react in some some way to the unexpected. I guess I think it's a really good question.

I don't know the answer, and I think it's a subject of research now. To understand that. Two things come to mind. One is I saw some of the early newscasts on the early go playing programs, and people thought they were really creative and doing things that hadn't been seen before. I'm not a go aficionado, but I believe that to be true. The second is, it's certainly the case that many think that great creativity is kind of

serendipity or almost a kind of randomness that happens. And of course, if we think that, and we think that great creativity comes of kind of the random ideas that maybe one of our strange colleagues might have some days that can be programmed. So obviously, humans can't play this game, heylite, It's way too complicated. Can humans appreciate the game like in the same way like if you watching two bods

play against each other? Is it understandable enough so that someone could look at the game and sort of grasp what they're doing? Absolutely. A couple of things about that. Number one is that if humans are going to want to program bots for the game, they have to find it entertaining. So it has to be an interesting objective that they're trying to achieve, and they have to be able to watch and understand what their body is doing, and it's quite exciting, so you need that for the game.

And then secondly, we in fact saw that in reality, many people have put up plays of the game on YouTube and other places where you can watch really interesting games and how they unfold, and you get to see the strategy. For example, what may happen is a player a players bought have to be careful. How I say this, A players bought may realize that it has very little chance of winning, but perhaps if it goes hides in a corner, the other players may defeed each other and

it might come in second. And that's a strategy that happened in the first round of the game. That bot Yeah, well, the in fact you do. We do tend to personify these things over time, which is another interesting aspect of how humans deal with computers. But we we didn't see this behavior until the last week or so of Halight version one, and then all of a sudden, we call it an emergent behavior. It emerged from the game. We

never anticipated that that happened. And there are other other kinds of strategies that also occur as well in the game. So you've been running, uh, two rounds of this game now Halight right, Um, you're in your second iteration. Have you ever recruited anyone that was playing the game? Has

it actually translated into tangible recruitment benefits for you? Yes, happy to say that we have a tremendous employee that came out of Halight, one who's working with us on our London office, and we have many more people that remind us that they know about two Sigma because of Halight. So it's valuable from a marketing perspective as well. So I think it's something that will be around and helping

us for a long term. In fact, I met a college intern who did Halight as a high school student and said that she knew about two Sigma because she did it as a high school student. I want to turn to more just the you know, talk about UH quantitative finance and some of the lessons you've learned before we do though, and before we move off the game.

When we in our first attempt at recording this episode, at the end, you said, oh, you wanted to talk a little bit more about some of the high school students who had done so well in the game, and so I don't want to forget to do that this time. Tell us a little bit more out how high school students are able to who they are, how can they compete with the top computer scientists in programming at So let's just start with one thing first. So you have to design a game so that it's easy to get

started with. Right. That's a nice thing about Checkers, right for little kids. You can learn the rules quickly, and yet it's pretty sophisticated to play it. Well, the same thing happens here. You want to build a game that's easy to get started with, but that has a really really long path, maybe in essentially an infinite path towards perfection, so maybe there can be no absolute perfection. You can play a very very long time, then it's a much

better game. So we even wrote a paper about how to design these games, called the Design and Implementation of Modern Online Programming Competitions. So, again going back to the ease of starting, we realized that since they're easy to start playing, they're accessible to high school students. So we went out and did a bunch of hackathons around the New York City area and some other places and had

quite a bit of acceptance. We had almost a thousand high school students doing this worldwide, and we learned about it because a teacher in Texas initially wrote to us and said that it was a great opportunity for members of his class to start programming. And we think that

early outreach is very important. It's also a core value of the firm because the co chairs of the firm are very involved in mathematics education for young kids and also for programming educations via the M I T. Scratch initiative for middle schoolers and uh and high school students. So just one last thing on that one. I gotta just mentioned. So this, this this kid in Brooklyn actually had an article written about him in the Brooklyn newspaper.

So that was very exciting. I was called Brooklyn High Schooler takes on the World. We'll have to check that one up well, link to it when we post this. Yeah. Uh So, widening the conversation out to finance and tech, we were referring to Two Sigma earlier as a very all known quant fund. I'm wondering what makes a quant fund a quant fund, given that nowadays it feels like pretty much every fund has some sort of systematic or

programmatic trading actually happening. Right, So two SIGMAS a tech firm that looks at many places where we can apply technology to optimize outcomes and finance. So we're also in insurance, and we're in venture capital, etcetera. But certainly one of the things we do is investment management. As you mentioned, I think what differentiates us is number one, the deep and long term technical talent that we've had. After all, we were started by an m I T pH D

and AI about fifteen or more years ago. David Siegel and John Overdeck, the other co chair, is a real expert mathematician, silver math OLYMPIAD and a statistician. So the two of them really brought this to the firm quite a while back and it's everywhere in the firm. Second

is we do have scale in this. We've been doing it a long time, and I think that scale is really something that differentiates us from many of our competitors, right because, as we know, we've all heard every bank CEO these days or at times they say, oh, we're really a software company that does banking, or really a tech company. But you have a long experience with companies

that are undisputably tech companies. Google and IBM, one of the biggest differences in terms of culture that you see at a place like two Sigma versus your experience at Google, I think probably if you could name one, it's that technology is viewed at least as the equal, if not the driver, of the core business. So at our firm, there's no question that those of us that do computer science, mathematics and statistics are viewed by almost everyone as the

basis of the firm's success. Now, of course we need and we're very happy to have the folks that do compliance and legal and all the other activities that are needed in the firm, but it's really a technology and math and statistics first operation. I think the same thing is true at the really successful tech companies as well, and became frankly less true at the tech companies that

didn't do so well. It is kind of interesting that if you think at places where algorithms and programmatic strategies might be really interesting to do, uh, the finance companies should theoretically be really really intriguing, because banks and insurers have these realms and reams of data that should be

interesting for anyone with the technology background. But it almost feels like it's taken a little bit of time for people to catch on to that, and it's only now that a lot of the financial firms are making this really big push. Why do you think it's taken a bit of time. So one is, of course, finance use technology very early on, right, It was among the earliest users just to computerize account records and transfers and such.

So perhaps it's the case that because finance used a lot of technology, there became kind of a installed base of old technology that actually acted as an impediment to modernization. So I think that is one fact. So those of us that are newer in the business have an advantage. An example, of course, if you look at say online advertising, it didn't exist more than a couple of decades ago. That's when it all began, so there can't be an

installed base from the nineteen sixties. So I think we didn't have, if you will, negative inertia in new fields, and we we did have some of that in finance. The second is, I think it's important to understand what we should be doing in finance, and that's making financial

systems economic systems work better. So all of us like capitalism, we like decentralization, and we like optimization of the firm, and we all hope that it will lead to pray, to optimality and an efficient operation of society that produces lots of goods and services for all. But we all know that if we're not careful, inventories build up, or prices get out of whack, or people have irrational exuberance

and the like. I believe with the proper application of data, the proper application of mathematics and statistics, we can do a better job of running these economic systems. It's not easy, but I think that's really exciting. And I have a lot of success in attracting technical people to the firm

because that's what I think we're doing. Do you proactively think about exactly what you said about building up some sort of legacy code base or some sort of legacy set of systems that ten years from now you'll still be hewing too, even if it's not the state of the art. I worry about it all the time. All of us in technology worry or should be worrying about the legacy that we will create. And it's a very

difficult problem. If you think in the United States, they're literally, you know, millions and millions of programmers writing computer code all the time. All of that code will someday get old, and I'm afraid it will look like the substructure underneath Lexington Avenue out here sometime and make it very difficult

to build the next subway. But in banking, you still hear stories about some of the banks having, um, how do you say coble or cobble This programming language from that stemmed from I think it was World War two, basically invented in the nineteen forties and nineteen fifties. And if you're one of the programmers who can still actually code in this ancient, ancient software language, apparently you can earn big money. So it does seem to be something

of an issue. So common business oriented language COBAL. Yeah, I think it comes probably from late fifties and sixties. Uh, not World War two, but you're on the right track there. And yeah, there's a lot of cobaal code around and some of it was written by employees who retired, maintained by the employees they trained who have now retired, and the next generation is maintaining that. And you can just think of the engineering challenge do you rewrite it all?

But do you even know what it does. It's a real challenge for organizations to deal with that. I don't believe we have any coball. In fact, I'm certain we have no coball co ball free. One of the things you hear a lot uh Silicon Valley people talk about is the importance of culture as the enduring mode or the enduring sustainable advantage, and that with whatever else that goes on, as long as they have a superior culture, that that allows them to beat the competition. How do

you guarantee that that's in place at two sigma? And when you think about all of these new funds or legacy funds that sort of want the new quant unit, or banks trying to get into quant stuff, how much do you see that as an advantage towards competitors who would otherwise want to modify what you're doing. I think in all of our organizations, talent is the first and

most important thing. So the talent today is possessing of many opportunities because there's so many applications of advanced computer science and machine learning and AI and the like. So we really feel that that that culture is really important, and the culture is it's hard to pin down exactly what it is. Certainly, it's clear objectives for the business. Certainly it's clear understanding of what we do for our clients and we have to understand what to do and

feel good about doing that really well. But it's also soft and other things. Just if you think about the boards where people were talking about Haylight, um, you know you read them if you're an employee and you feel good about working at the firm. One of them said, it's an absolute blast discussing strategy, sharing replays and getting excited about the games with friends. That's a great place

to work when you're doing that for the world. Last question, unless Joe has more, what's your taught up tip when it comes to avoiding technological errors such as the one we experienced last week. Well, my original career as a professor at Carnegie Mellon was in reliable distributed systems, and that means that you have to have duplication at many levels of the system. So how do you make sure

you have two of everything in the chain. That's important in financial markets, so that we have capacity to keep operating. That's probably important in games. We had many servers that could run Haylight, so if one of them, god forbid, had a problem, another one would keep running. In fact, we ran maybe tens or hundreds of servers simultaneously to deal with the load. It's probably important in radio and

podcast two. On that note, a perfect tip for all of us to remember in all endeavors of our lives. Alfred Spector, thank you very much for joining us. It's my pleasure. I enjoyed doing it again, so I really hope we don't have to bring Alfred in for a third time. But it was really I like, I disagree. I really I was gonna say, wait, wait, wait, I was gonna say, it was really enjoyable speaking to him

for another thirty minutes. Agree, And if we have to do it a third time, I'm looking forward to that as well. But in all seriousness, I think we did a pretty good job sort of recreating the magic of that first one. No, I really I love that, and I love like you know, we talk a lot about quantitative finance in our work, and we'll talk about various well known strategies, momentum strategies and other uses of alternative data.

We talked about that all the time and in our reporting, but we don't talk about the sort of what it what needs to happen for people to come up with that stuff, and the idea of that this stuff has to happen through recruitment and culture and academic study. So I feel like this is a interesting, unexplored facet of

all this. Yeah, I absolutely agree. And I have to say some of the machine learning that we were talking about this notion that bots, once they realized that they were probably not going to win, or they didn't have a good chance of winning, they went and they hid in some obscure corner of the haylight galaxy. That kind of strategy is just really fascinating, and it's amazing to think that high schoolers potentially are coding that kind of

learning into the system. And the fact that in the early rounds of the game they weren't doing that and that they learned that sort of adaptive approach over time is really fascinating. Does it make you think of Skynet? Makes me think of skynet a little bit, definitely. Okay, all right, this has been another edition of the Odd Lots Podcast. I'm Tracy Alloway. You can follow me on Twitter at Tracy Alloway, and I'm Joe Why isn't all.

You can follow me on Twitter at the Stalwart and be sure to follow our hard working producer Topur Foreheads at foreheads T, as well as the head of podcast at Bloomberg, princesco be at Francesca today. Thanks for listening.

Transcript source: Provided by creator in RSS feed: download file
For the best experience, listen in Metacast app for iOS or Android