Portada Youtube LinkedIn EP 11 (1)

Función de Demandas T04 E11 | Artificial Intelligence and Competition: When Algorithms Set Prices

Share in

Función de Demandas · A conversation with Nicolás Figueroa

What happens to competition when prices are no longer set by people but by algorithms? In this episode, Jorge Fantuzzi talks with Nicolás Figueroa, a professor at the Institute of Economics of Pontificia Universidad Católica de Chile, who has designed a new course on artificial intelligence and competition. They discuss algorithmic collusion, mechanism design, competitors using the same software, and the “arms race” between agencies that detect patterns and companies that try to evade them.

«Thinking of people setting prices is a thing of the past.»

 

WHY A COURSE ON AI AND COMPETITION

Nicolás, welcome, and thank you very much for joining us.

Thank you for having me. Happy, as always, to talk with you here.

The first question is the most obvious one: why design an undergraduate course devoted specifically to artificial intelligence and competition?

Because some of the impacts of artificial intelligence are quite clear and others we don’t yet know, and there is a lot of relevant research on its effects on the macroeconomy, productivity and the labor market. That has been covered extensively. But there are many areas in which we expect artificial intelligence to replace people, and that has implications not only for labor but also for competition. When people set prices, there were certain kinds of conduct and certain rules associated with that conduct. But when we stop setting prices and delegate that to an algorithm, new questions arise.

The same goes for when people decided whom to hire and whom not to; there is a whole body of anti-discrimination law. But when we delegate that to an algorithm which in turn uses information that we ourselves don’t have on the table, which the algorithm finds out there, and which analyzes résumés in a way that is very much a black box, we need to rethink how this will affect competition for people, price competition, organizations and the division of labor. A whole set of questions arises that some people in academia are asking, but which are extremely relevant and somewhat overlooked. They go well beyond macroeconomics and will probably change the way we understand competition from now on. I’m quite radical about this: I think that thinking of people setting prices is a thing of the past.

ALGORITHMIC COLLUSION: COMPETING WITHOUT TALKING

A couple of years ago I was invited to a competition law conference organized by the Universidad Católica, and the topic was algorithmic collusion. Basically, it is the idea that algorithms can collude, with all the debates in the legal world about whether this is punishable, in which cases it is and in which it isn’t. The first thing that occurred to me was that, when we talk about algorithmic collusion, we are really talking about algorithmic pricing, about how to set prices, and that isn’t so different from what existed before. You could argue that artificial intelligence makes the whole process more efficient, but 15 years ago econometrics was used to recommend the best price based on demand forecasts, and before that perhaps something more basic, like an Excel spreadsheet. The search for the optimal price has always existed. What is new?

What is new, I think, is the following: these algorithms work differently. The algorithm doesn’t try to predict the best price. Reinforcement learning algorithms, which underpin much of artificial intelligence, are constantly testing prices with different types of consumers. Sometimes they do well and sometimes they do badly, and they tend to reinforce, hence the name, the use of the prices that work well. So far there is nothing new: it is trial and error instead of a regression.

The crucial point is when there is another algorithm on the other side doing the same thing. Your algorithm never talked to mine, and in that sense it isn’t collusion. It is also testing prices, the same thing two people could have done looking for the best possible price without talking to each other. What the seminal paper by Calvano and coauthors finds, in simulations, and we can discuss later whether this is really representative, is that the algorithms behave as if they were colluding. It’s not that they talk, as if you and I were saying, “Let’s set high prices, mate, and every time you set a low price I’ll punish you.” That is the standard way of sustaining a cartel; economic theory knows it well, and the problem is the incentive to deviate. To solve that problem we have to talk, and we start emailing each other.

Algorithms don’t talk. They simply test prices and do well, and it is not obvious that they should, by behaving as if they were colluding. I have independent algorithms that don’t collude, but end up with prices equal to collusive prices. What do we do about that? It is a huge open question.

From the perspective of competition law, I would say it is more of a regulatory question than a competition law question as such. I insist: it is as if people were reaching agreement more efficiently. That is why conscious parallelism exists, and that is also why tacit collusion exists, which law and economics understand differently. There are situations in which, without bringing machines into it, I don’t need to reach an agreement and I still arrive at those outcomes.

Exactly. But what emerges from the economist’s point of view is a tremendous inefficiency, and the question is what we do about it. Algorithms are extremely efficient at setting prices. You would expect that, by competing, they would discover the low-price equilibrium, the Bertrand equilibrium, as we economists say. And what ends up happening is that they discover the high-price equilibrium.

There is later evidence with algorithms bidding in first-price and second-price auctions, and the phenomenon is basically the same. What is extremely interesting, and it remains to be seen exactly what is going on, is that the auction rules matter: in a second-price auction the algorithms end up behaving collusively, while in a first-price auction they end up in the equilibrium we all love. What this begins to tell you is that it may not be punishable from a collusion perspective, and I won’t go there: lawyers will have to say whether it is. But the rules of the game will have to evolve. Algorithms are legitimate, because they are very efficient, they allow discounts and they can suggest new products to people. We want them to exist, and we have to design the rules of the game so that things work well when decisions are made by algorithms.

Note that this is a bit different from what we used to do. My field is mechanism design: designing rules of the game so that things go well when people act. But it seems that things that used to be irrelevant, such as whether an auction is first-price or second-price, become relevant when the players are algorithms rather than people.

HOW DO YOU REGULATE IT?

We are on the same page: this is a regulatory issue, about rethinking some economic questions from an efficiency standpoint. Are we going to sit back and pray that the equilibrium turns out to be the good one, or are we going to regulate?

And regulation has to do with very simple things. These algorithms require a lot of information and are constantly receiving feedback, precisely because they work by trial and error. So there are very relevant questions: with what lag do I feed the information back to the algorithms? How much information do I give them about their own price, and how much can they gather about the prices others set? It seems that these small changes change the outcomes.

Let’s take it to the business world. If I install an algorithm that recommends the most profitable price, I’m going to feed it all the information I can: the prices I set, how I did, the competition’s price. And on top of that, I’ll ask the code for the best possible result, not a slightly worse one. How do we set clear rules in the business world, which is infinite, when there can be algorithmic pricing in almost any market we can think of?

One lesson can be drawn from companies that run auctions. Because they are companies, they want to maximize, and they want auction participants to do badly with them, that is, to end up in the price equilibrium that suits the company, the efficient one. Google, for example, with its ad auctions, which is a big business. What they have found is that algorithms can do whatever they want: there is someone on the other side bidding however they like, with the best possible information and technology. But you, as a regulator, or Google in that case, don’t give all the information back. You tell them “you won” or “you lost” and at what price, but you don’t tell them, for example, what the other bids were. You can manipulate the lag of information, and so on. And they have done it for a reason: they want them to end up in the equilibrium that is good for them.

In practice, it is very difficult for us to regulate which algorithms companies use and what information they access. What will very probably end up happening, and there are already some signs of it, is regulation on the lag: for example, in very fast-paced transactions, how often you can change prices. Every second or every minute? That can make a difference.

And it will depend on the market. I’m thinking of gasoline, which in Chile is very transparent, or some pharmaceutical product.

At one extreme you have the financial market, which can be regulated down to the millisecond, and at the other, smaller markets, where nobody can be watching all the time and the information available is what it is: someone sets up a good platform with all prices available on a daily basis, and that is what you have. I think we’ll learn along the way. I don’t see much room for overregulation; what I see is that big ideas will emerge, of the type “certain mechanisms work” or “certain information should be withheld.”

Especially in high-volume auction markets, like some of the things Amazon has too.

Exactly.

THE SAME SOFTWARE FOR EVERYONE

There is also something obvious in all this: clearly, if I agree with my competitor on which system we use or what information we share, that is already collusion, and we’re back in the old world.

Of course. The essential problem is a different one. Pricing algorithms are something advanced today, but later there will be things I’ll buy off the shelf: ordinary software, the way I buy Excel today, to do my pricing. And it is very likely that you and I will buy the same one. Why not? If we all buy Excel, it’s because at the end of the day there is one that is good, easy to use, and so on.

And there may be something more. If I’m in the market for selling glasses, I say glasses because I have one in front of me, and there is a system that says “I’m the best at pricing glasses,” because it has all the information and a great deal of accumulated learning, it makes sense for different competitors to hire the same system.

At the end of the day, these systems, like Google or Excel, are winner-takes-all markets. If one algorithm is 1% better, we’ll all buy that algorithm. Why would we buy the second-best one? So that is what is going to happen. I’ve heard, for example, about a complicated problem for companies: how to bid in JUNAEB’s combinatorial tender in Chile. Bidding in a combinatorial tender is difficult: do I have to submit 10,000 prices, 20,000? How do I build a bid? The first few times, bids were built by hand; today there is software. And apparently someone remarked that there were very similar bids, built in a very similar way, almost linearly dependent. “It looks like they’re using the same software,” they said. And I say: why not? There is nothing wrong with that. They had to rely on someone, and that someone sold them the software. They are not agreeing on prices or on the costs they input into the software; using the same software is the most natural thing in the world. What would be odd is if they didn’t.

THE TOOLS ALSO SERVE THE AGENCIES

There is one aspect that tends to be left out of the discussion on algorithms and competition: the positive side. There are many useful things competition agencies around the world, in Chile’s case the National Economic Prosecutor’s Office (FNE), can do with artificial intelligence, machine learning or algorithms: for example, detecting patterns, what is called cartel screening, among other things. I know the FNE is doing things along those lines, but it is quite clear that within competition institutions we need to be thinking about this.

Absolutely, and I think something very interesting is going to happen. Going back to your initial point, which I think is important: this is already happening. Chile’s Internal Revenue Service (SII) has used different methods, regressions, data mining, to detect unusual tax returns, and now it will use the new tool. And obviously competition institutions do the same. What happens, and I think this is where the frontier lies today, is that you will have a reinforcement learning algorithm, somewhat of a black box, detecting certain patterns: “I’m going to look into you more closely because there is a strange pattern here.” But on the other side I’ll be misbehaving and trying to figure out which algorithm you’re using, so that my prices show patterns that slip under your screening.

It’s a higher, more sophisticated bar.

So I think it’s going to be an arms race. Since lawyers listen to this, here is something I heard, literally, from one. He told me he was preparing a lawsuit, and I asked him, “Did you ask ChatGPT what it thinks of your complaint, whether it finds any holes?” He replied, “But how? It’s my complaint. I thought it through.” And I told him, “But whoever receives it will first run it through ChatGPT, and then think.” So you realize that one side is using a tool that is still very basic, and the other says, “I’ll do things so that when he applies that tool it tells him ‘what a good complaint, they’re right.'” I’m exaggerating a bit, but all the tools are there for everyone.

And there will be an arms race, as there always is. Take sick leave certificates, an issue I’ve looked into for other reasons. At some point Fonasa and the COMPIN, the medical boards, start cracking down on those who issue a lot of sick leave certificates.

For those listening from abroad: Fonasa is Chile’s public health insurer.

When people start using sick leave, they impose a cost on that insurance system. So they start identifying doctors who issue a huge number of them. What’s the first filter? “You’re issuing too many; I don’t believe you issue 15 sick leave certificates a day.” What happens six months later? With an algorithm, that is quite easy to do. But then the inverse function appears: doctors coordinate, “you issue them, then you, then you,” and they rotate. Every time you invent a method, there is a countermethod. What I’m saying is that when you think positively, that the FNE will be able to do all these things, it is not a panacea, because things on the other side also become more sophisticated. We see the same with collusion: in the first cases there were WhatsApp messages, written emails. There are no written emails anymore.

Still, on price screening, I think that combining a bit of theory and a bit of machine learning yields interesting results, especially in industries with public data. But also, for example, in Chile we have the issue of directors. If the regulator has data on who sits on which boards, and you scrape that information to connect the dots, that is also artificial intelligence.

Of course it’s artificial intelligence, and it is a sophisticated version of merging two databases and seeing if there is anything odd. It is somewhat what the Comptroller General’s Office did with people on sick leave who traveled: cross-referencing databases. It can be more sophisticated: I can add family data and a host of other relationships, and start to see where the transactions are that one would suspect involve, for example, the use of inside information.

The ones you need to go and look at.

Exactly. I think there is a wonderful space for things to be done. The only caveat I always add is that there is always a next level of sophistication, and that is what always happens: every new law brings a new loophole. It’s a game.

MORE STATISTICS THAN SCIENCE FICTION

Nicolás, I want to thank you for this very enjoyable conversation. I know it is a topic our listeners are very interested in. Usually, when the concept of artificial intelligence comes up, people immediately think of something from NASA, of advanced robotics, when in many cases it is statistics, perhaps fairly everyday statistics, that is already just around the corner for everyone. That means competition must also be thought about from that perspective, so I think what you are going to do in your course is very valuable.

One more thing. In the end, today’s algorithms, artificial intelligence, as I heard someone say, are good at predicting the next word or the next number. They are prediction machines, and in that sense they are not so different from what we already knew; it’s just that they have turned out to be infinitely more powerful, with infinitely more data, and they do things that used to be science fiction.

But they are no longer science fiction.

They are here: in prices, in recruitment, in everything. I always remind people that algorithms have been used for decades to detect email spam.

One question I ask myself is whether, with all these algorithms, there might be an explosion of lawsuits, because the cost of writing a complaint has just fallen.

Exactly. There is already evidence of an explosion in applications for research grants, because it is easier to write a proposal: it used to take me two days, and now it takes me two hours. There are also several questions about the world of work, but we can leave it there. The labor market for programmers has also been heavily affected: where ten were needed before, now one is enough. Everything is changing.

Nicolás, thank you for a very interesting conversation.

Listen to our Economics and Law podcast at

Online journal of economic analysis and public policy

"Economía en simple". Follow us on Instagram