http://www.nytimes.com/2006/11/24/business/24trading.html?pagewanted=2&_r=1 November 24, 2006 A Smarter Computer to Pick Stock By CHARLES DUHIGG Ray Kurzweil, an inventor and new hedge fund manager, is describing the future of stock-picking, and it isnât human. âArtificial intelligence is becoming so deeply integrated into our economic ecostructure that some day computers will exceed human intelligence,â Mr. Kurzweil tells a room of investors who oversee enormous pools of capital. âMachines can observe billions of market transactions to see patterns we could never see.â The listeners, attendees of a conference sponsored earlier this month by the Capital Group Companies, are slightly skeptical. Some have heard that Mr. Kurzweil, 58, who takes more than 150 vitamins and supplements a day, believes people will eventually live forever. Others know he has said that in 2045, man and machine will achieve âsingularity,â and humans will hold their breath for hours thanks to nanomachines in our bloodstreams. But some are aware that a former Microsoft executive and chairman of the Nasdaq stock market, Michael W. Brown, is an investor in Mr. Kurzweilâs new hedge fund, FatKat, and that Bill Gates once described him as âthe best person I know at predicting the future of artificial intelligence.â More important, many of them have seen Mr. Kurzweilâs ideas used by stock speculators. So, they want to learn more about his brave, new world. âThese ideas are the future,â said David Atkinson, a private investor who attended another lecture later that day by Mr. Kurzweil. âIâm not really sure I understand them, but theyâre making some folks rich.â Complicated stock picking methods are nothing new. For decades, Wall Street firms and hedge funds like D. E. Shaw have snapped up math and engineering Ph.D.s and assigned them to find hidden market patterns. When these analysts discover subtle relationships, like similarities in the price movements of Microsoft and I.B.M., investors seek profits by buying one stock and selling the other when their prices diverge, betting historical patterns will eventually push them back into synchronicity. Today, such methods have achieved a widespread use unimaginable just five years ago. The Internet has put almost every data source within easy reach. New software programs, like the Apama Algorithmic Trading Platform, have made it possible for day traders to build complicated trading algorithms almost as easily as they drag an icon across a digital desktop. âFive years ago it would have taken $500,000 and 12 people to do what today takes a few computers and co-workers,â said Louis Morgan, managing director of HG Trading, a three-person hedge fund in Wisconsin. âIâm executing 1,500 to 2,000 trades a day and monitoring 1,500 pairs of stocks. My software can automatically execute a trade within 20 milliseconds â five times faster than it would take for my finger to hit the buy button.â Studies estimate that a third of all stock trades in the United States were driven by automatic algorithms last year, contributing to an explosion in stock market activity. Between 1995 and 2005, the average daily volume of shares traded on the New York Stock Exchange increased to 1.6 billion from 346 million. But in recent years, as algorithms and traditional quantitative techniques have multiplied, their successes have slowed. âNow itâs an arms race,â said Andrew Lo, director of the Massachusetts Institute of Technologyâs Laboratory for Financial Engineering. âEveryone is building more sophisticated algorithms, and the more competition exists, the smaller the profits.â So investment firms have increasingly begun exploring mathematicsâ furthest edges and turning to people like Mr. Kurzweil, who became an expert in pattern recognition building a reading machine for the blind. For years, computer scientists had tried to help machines perform mundane tasks like reading printed words or telling faces apart. With algorithms similar to those used by stock pickers, programmers created millions of rules designed to tell an âAâ from an âa.â But no machine could read a page of text as well as the average child. So Mr. Kurzweil and others took a different tack: instead of creating sequential rules to instruct a computer to read, they thought, why not create thousands of random rules and let the computer figure out what works? The result was nonlinear decision making processes more akin to how a brain operates. So-called âneural networksâ and âgenetic algorithmsâ have become common in higher-level computer science. Neural networks permit computers to create new rules and automatically change underlying assumptions by experimenting with thousands of random sequences and processes. Genetic algorithms encourage software to âevolveâ by letting different rules compete, and combining the most successful outcomes. Wall Street has rushed to mimic the techniques. Because arbitrage opportunities disappear so quickly now, neural networks have emerged that can consider thousands of scenarios at once. It is unlikely, for instance, that Microsoft will begin selling ice-cream or I.B.M. will declare bankruptcy, but a nonlinear system can consider such possibilities, and thousands of others, without overtaxing computers that must be ready to react in milliseconds. âMost software fails in pattern recognition because there arenât enough sequential rules in the world to teach a computer to discern between two faces, or to find almost imperceptible relationships between stocks,â said Orhan Karaali, a computer scientist and director at Advanced Investment Partners, a $1.7 billion hedge fund. âBut a machine that can generate complicated rules a person would never have thought of, and that can learn from past mistakes is a powerful tool.â Last year, the funds using Mr. Karaaliâs model returned in excess of 20 percent by using nonlinear techniques, according to his company. Whereas older methods of stock analysis rely on certain assumptions â for instance, that market volatility always reverts to the mean â Mr. Karaaliâs model calculates probabilities and generates assumptions on the fly, and might predict that during a panic, investors will sell Microsoft but, for seemingly irrational reasons, hold onto I.B.M. âOnly an elite group of people are using these ideas, but a lot of people are thinking about them,â said Stacy Williams, director of quantitative strategies at HSBC Global Markets. HSBC is working with Cambridge University in using models based on how viruses spread to forecast foreign currency markets. âThe downside with these systems is their black box-ness,â Mr. Williams said. âTraders have intuitive senses of how the world works. But with these systems you pour in a bunch of numbers, and something comes out the other end, and itâs not always intuitive or clear why the black box latched onto certain data or relationships.â Such qualms, however, have not stopped Wall Street from scouring university doctoral programs or listening to people like Mr. Kurzweil. In the pursuit of previously undetectable patterns, hedge funds are racing to quantify things â like newspaper headlines â that were previously immune from number-crunching. Both Dow Jones Newswires and Reuters have transformed decades of news archives into numerical data for use in designing and testing algorithmic systems. The companies are beginning to structure news so it can be absorbed by quantitative models within milliseconds of release. Moreover, companies like Progress Software are working with news agencies to create computer programs that instantly translate news â for example, a headline regarding Microsoftâs earnings â into data. M.I.T. is examining, among other things, evaluating companies by seeing how many positive versus negative words are used in a newspaper article. Software in development could potentially respond automatically to almost anything; changes in weather forecasts on television news, shifting analyst sentiments or what a particular movie critic said about the new blockbuster. âRight now, everyone basically has access to the same data,â said John Bates, a Progress Software executive. âTo get an edge, we want to give investors the ability to immediately turn news into numbers. We want to automate what before required human analysis.â But as these new techniques proliferate, some worry that promotion is outpacing reality. These techniques may be better for marketing than stock picking. âInvestment firms fall over themselves advertising their latest, most esoteric systems,â said Mr. Lo of M.I.T., who was asked by a $20 billion pension fund to design a neural network. He declined after discovering the investors had no real idea how such networks work. âThere are some pretty substantial misconceptions about what these things can and cannot do,â he said. âAs with any black box, if you donât know why it works, you wonât realize when itâs stopped working. Even a broken watch is right twice a day.â ______________ Thought this might lead to a good thread. Lets discuss.