pull down to refresh

Pleb Economist #9: Comparative Advantage, AI, and You

IntroductionIntroduction

Couple weeks ago, @Undisciplined made a nice post explaining the Theory of Comparative Advantage, which itself was motivated by a cartoon posted by @Car (#1408254):

As @Undisciplined explained, the Theory of Comparative Advantage says that people can mutually benefit from trading with each other, even if one person is better at everything. Michael Jordan might have been a better basketball player and better baseball player than the worst MLB scrub at the time; but his time was still better spent playing basketball than baseball, whereas the MLB scrub's time was better spent playing baseball. Similarly, Ray Dalio is probably a better investor and a better economics teacher than me; but his time is better spent investing whereas my time is probably better spent teaching since I suck even more at investing.

How does it apply to the cartoon? The idea is that even if LLMs make everyone equally good at coding, that does not mean the coder loses his comparative advantage. Since the coder is still relatively better at coding than at other tasks, it still makes sense for them to keep doing the coding while people better at social skills keep doing the talking and managing (joke about antisocial engineers).

This post, however, is going to add a bit more nuance to the idea. Basically I'm going to argue that although the coder still has a comparative advantage at coding, in the age of LLMs the bargaining power that their comparative advantage affords them dwindles. They actually end up worse off in the world of LLMs because they can't offer their services at as favorable of an exchange rate as they could before.

Trade before LLMsTrade before LLMs

Ok, so let's set up a simple model. There are two people in this economy: HandyWorker and DevWorker, and two goods Stuff and Code.

  • HandyWorker can either produce 20 stuffs per day or 10 codes per day. (Or he can split his time between the two in a continuous manner.)
  • DevWorker can produce either 10 stuffs per day or 20 codes per day. (He can also split his time continuously).

The Theory of Comparative Advantage can be illustrated with a very simple trading relationship:

  • HandyWorker will spend all his time making 20 stuffs per day
  • DevWorker will spend all his time making 20 codes per day
  • The total daily production is therefore 20 stuffs and 20 codes
  • They then trade equally at a 1:1 exchange rate, so that each consumes 10 stuffs and 10 codes per day.

Note that 10 of each was not possible for either of them without trade, because if HandyWorker wanted 10 codes without trading for it, he would have had to work all day for that; and if DevWorker wanted 10 stuffs, he likewise would have had to work all day for it. The simple example shows why trade is beneficial.

Trade after LLMsTrade after LLMs

Now let's introduce an LLM that makes HandyWorker equally good at coding as DevWorker:

  • Now HandyWorker can produce either 20 stuffs per day or 20 codes per day
  • DevWorker isn't affected by the LLM since he was already a master coder: he still produces either 10 stuffs per day or 20 codes per day

If we now try to work out the possible mutually beneficial trade scenarios, we realize that the 1:1 exchange rate between stuff and code no longer works. This is because HandyWorker can make that exchange rate internally. If DevWorker offered to trade 10 code for 10 stuff as in the previous scenario, HandyWorker would say "No" because he can just do that himself without trading.

In fact, if we work out the math, we can show that the set of mutually beneficial trades has actually shrunk for DevWorker as shown in the below graphs:

The first two graphs shows the set of possible consumption states for the two workers, with and without trade, before and after LLMs. The LLM expands HandyWorker's consumption possibility set but shrinks DevWorker's, because it erodes the bargaining power of DevWorker's comparative advantage.

However, comparative advantage still exists, as we can see that trade is still mutually beneficial both with and without LLMs. It's just now less beneficial to DevWorker than it used to be, prior to LLMs.

At the same time, we see that the LLM does improve the overall economy as a whole. The third graph shows that the set of all possible production states has actually expanded.

To bring this into real world terms: it suggests that LLMs will epxand total GDP, but lower the relative wages of those whose advantage is replaceable by LLMs, while raising the relative wages of those who are less replaceable by LLMs.

ConclusionConclusion

Ok, so the final result isn't that surprising or deep. Probably anyone who sat down for a few minutes to think about it would have come to the same conclusion (it's not rocket science).

But it's still useful to see how it plays out in a model, and the model helps highlight the chain of reasoning that leads to the result. The primary reason for the erosion of DevWorker's wages is because HandyWorker's acceptable exchange rate for code has changed, due to his own better options. In a sense, the LLM actually shrinks the set of acceptable trades, because HandyWorker is now more picky.

And I think this is exactly how it's going to play out in reality. The young entrepreneur who has an idea but few coding skills no longer has to pay his first engineer to build a prototype; he can do it himself. If an engineer wants to work for him, the engineer will have to offer a lower wage. The small to medium sized business who wants to scale can do so with a smaller staff than before, and the staff may have less bargaining power over their wages. We know these stories, and the stories are confirmed by economic theory. Those who want to maintain a high degree of bargaining power in the post-LLM economy would do well to invest in skills that are not easily replaceable by the LLM.

As to what those skills are... well, don't ask me. It's a brave new world for all of us.

And this leads to the argument for UBI, which becomes a side payment to bring everyone above where they had been.

reply
136 sats \ 11 replies \ @optimism 5h

Do you think that that's a good idea? Who is going to pay for this?

reply

No.

In this example, it would be the handyworkers who pay some of their gains to offset the devworkers' losses.

reply
69 sats \ 9 replies \ @optimism 3h

I've seen social security mechanisms work for some people, but I often feel like it doesn't really structurally help, not even when there are strict limitations because those just seem to piss people off. "It is my right... bla bla bla".

But it did not help for myself, so I'm biased: a long time ago when I was eligible for it and I got fired, it felt like leeching to me so I just worked hard to not need it and survive a few months without pay while searching for a new job. Later on I opted out of it entirely, and although life for me has been (and still is sometimes) harder than for people that kept their entitlements, it has also been a great motivator.

A safety net can be good, but I think that it needs to be deliberate: I pay a ever-inflating amount of fiat into private insurances like disability and unemployment insurance... but those costs are of my own design. I know what I put into it and why I chose to do so. I'm also aware that the best outcome is that I never need to claim any of these, and that the insurance scheme means someone else that does claim it will get part of my dime. I'm fine with that.

UBI would go directly against the deliberate action and worse, it encourages fraud and therefore mass surveillance in every aspect of our lives as a counter reaction to that fraud. If people get commoditized into some human resource that are owned by the state - after all the state is keeping them alive with that UBI - then we're all slaves.

reply

One of the arguments for UBI is that it's much harder to abuse and is far less prone to fraud because everyone just gets the same check, regardless of any personal details.

Another argument is that the incentives are better, because you get the same check whether you work more or not. With other welfare programs, people lose benefits as they earn more.

reply
69 sats \ 7 replies \ @optimism 3h

I suspect that people didn't really red-team the "much harder to abuse", but I'm looking forward to see the non-privacy invasive means to combat identity theft (and outright murder?) for UBI checks.

reply

How big of a problem is outright murder for other government transfer programs?

I imagine UBI would work however well or poorly the existing systems do.

reply
69 sats \ 5 replies \ @optimism 2h

Didn't DOGE find all those old people that didn't exist?

I'd have to ask people that are in the handing out tax payer money business on the unemployment side to be sure, but the way I understand it most of the current "handout" programs in the US are, like the ones in the EU, conditional to some actions being taken by the receiver, like evidence of actively chasing jobs or re-schooling. If you don't do it then the flow doesn't come your way anymore. You can actively do that for a subset of the population, but probably not for the whole?

So you'll solve it with things like: scan your eyeball for money - which coincidentally happens to be Sam Altman's sc(he/a)me for future UBI. I remember this kid from my childhood that was always beating up other kids to steal their smokes. He'd have a nice collection of eyeballs, I'm sure.

UBI makes sense theoretically but my main beef with it is that the society itself cannot commit to not giving more welfare on top of UBI.

reply

and by theoretically i mean it makes sense to a non-existent benevolent utilitarian social planner

reply

I basically agree, in the sense that I'd support converting the entirety of spending on government assistance into a UBI if the other programs couldn't possibly grow back.

reply
169 sats \ 2 replies \ @optimism 6h
In a sense, the LLM actually shrinks the set of acceptable trades, because HandyWorker is now more picky.

This was also something observed in an article posted this morning (#1415014) that argues (to my delight like I did before) that automated tooling is bespoke again. I don't have to download, compile (or buy a license), try and fit (and debug) some open source tool to do whatever I was needing done, I just ask Claude and if it gets done then I throw it out and move on to the next thing on my todo.

Personal efficiency grows, trade shrinks?

reply

Indeed, that is a likely scenario!

More bespoke tooling to help both Handyworker and DevWorker produce whatever their final outputs are; but perhaps less trade for DevWorker's previous outputs, and he may have to switch to different kinds of outputs than before.

reply
67 sats \ 0 replies \ @optimism 6h
less trade for DevWorker's previous outputs, and he may have to switch to different kinds of outputs than before.

Perhaps this is why my gig work went from 50/50 coding and consultancy to something closer to 5/95.

reply