News for hackers. Stuff that matters.
Re:An AI can simulate an economy millions of times to create... by notahacker on Wednesday October 07, 2020 @09:51AM (#24708178)
> In the simulation, four AI workers are each controlled by their own reinforcement-learning models. They interact with a two-dimensional world, gathering wood and stone and either trading these resources with others or using them to build houses, which earns them money. The workers have different levels of skill, which leads them to specialize. Lower-skilled workers learn they do better if they gather resources, and higher-skilled ones learn they do better if they buy resources to build houses.

So basically they're tackling one of the hardest macroeconomic problems with a simple and completely abstract microeconomic model which sounds less like cutting edge AI and more like a fusion of iterated prisoner dilemma models and the Edgeworth box.

> the AI’s policy cobbled together aspects of both, applying the highest tax rates to rich and poor

Sounds like they've overfitted to the model's assumptions so much their agents are choosing to not be poor primarily to reduce their tax bill...

Re:An AI can simulate an economy millions of times to create... by Jabbles on Wednesday October 07, 2020 @11:32AM (#24709265)
It reminds me of the covid models, particularly the infamous Imperial model.

https://en.wikipedia.org/wiki/CovidSim

The question is whether it's useful to have a model at all, or whether it's better to just reason about it from first principles. If a basic simulation gave you a tool to explore emergent properties, perhaps some theories could be generalised to apply to real economies? Or maybe not, I don't know.

Re:An AI can simulate an economy millions of times to create... by whatshisface on Wednesday October 07, 2020 @11:55AM (#24709475)
Models are supposed to be based on first-principles reasoning. A "model" that's not designed to capture some aspect of reality is called a computer game...
Re:An AI can simulate an economy millions of times to create... by SiempreViernes on Wednesday October 07, 2020 @12:28PM (#24709831)
The Imperial model gives reproducible results, so most of the noise was professional programmers being salty about the fact that ugly code can still be accurate code.

The fact that it predicted things like 80% of the population becoming infected was simply unrelated to code quality.

Re:An AI can simulate an economy millions of times to create... by benmller313 on Wednesday October 07, 2020 @12:52PM (#24710130)
Regardless of code quality, are these models really useful if, as you say, they are "accurate", but still make predictions wildly out of step with reality?
Re:An AI can simulate an economy millions of times to create... by SiempreViernes on Wednesday October 07, 2020 @02:05PM (#24710937)
Usually, because they help narrow down the sources of error. If you've tested your code so you're sure the various bits work as intended, any remaining somewhat crazy results are down to things you don't understand properly.

A somewhat validated code allows you to do by computational experiments what you can't by real life experiments. Very handy if one of the common end states in the experiments is "death".

Re:An AI can simulate an economy millions of times to create... by whatshisface on Wednesday October 07, 2020 @01:14PM (#24710393)
The real imperial story is that there were two wrong parties: - The scientists who were not including enough detail in their math. - The drive-by developers who had no idea what did or didn't make scientific simulations work.

Together they produced both an inaccurate estimate, and a github page full of uninformed speculation about what the problem might have been. ;)

Re:An AI can simulate an economy millions of times to create... by SiempreViernes on Wednesday October 07, 2020 @01:44PM (#24710726)
Honestly I think the main problem was they choose overly pessimistic estimates, or maybe that their model is so expensive they could only investigate a few choices of the parameters.
Re:An AI can simulate an economy millions of times to create... by Quarrelsome on Wednesday October 07, 2020 @01:15PM (#24710409)
same way that a given implementation is better than none. Its a concrete implementation that serves as an anchor. Its a fixed point to discuss implementation issues around as well as working as a harness that others can build on/around.
Re:An AI can simulate an economy millions of times to create... by plantain on Wednesday October 07, 2020 @01:20PM (#24710463)
Wasn't it more professional programmers being salty that policy decisions were being made by code with absolutely no tests or peer review?
Re:An AI can simulate an economy millions of times to create... by SiempreViernes on Wednesday October 07, 2020 @01:55PM (#24710810)
Code with no _unit tests_ or _code reviews_ possibly, it was obviously tested by the scientists that it made somewhat sensible and self-consistent predictions.

In addition, predictions by earlier versions of the code had been peer reviewed, which is about as good as it gets outside of computer science.

The report itself wasn't formally peer reviewed either, though in the crisis mentality of March this year not many people had the patience for peer review. Frankly, most still don't if you consider the amount of news about unreviewed science that get published.

Re:An AI can simulate an economy millions of times to create... by Jabbles on Wednesday October 07, 2020 @02:48PM (#24711327)
gives? perhaps it does now, but it was certainly non-determinstic when it was first released, which is also when it was used for policy decisions.

See for example https://news.ycombinator.com/item?id=23099386

But how useful was the model? It showed that the virus would spread exponentially, but we knew that. Is there anything that it showed that we didn't know when they programmed it, with constants tuned to what they expected?

Re:An AI can simulate an economy millions of times to create... by cinntaile on Wednesday October 07, 2020 @03:59PM (#24712077)
That was the point. They used stochastic partial differential equations, they're by definition non-deterministic.
Re:An AI can simulate an economy millions of times to create... by Jabbles on Wednesday October 07, 2020 @04:20PM (#24712269)
No, they should be reproducible if run with the same seed.
Re:An AI can simulate an economy millions of times to create... by bart_spoon on Wednesday October 07, 2020 @01:37PM (#24710643)
Reproducibility doesn't mean accurate or good, it means it can be recreated. Its a crucial first step, but a model can be reproducible and also totally worthless.
Re:An AI can simulate an economy millions of times to create... by SiempreViernes on Wednesday October 07, 2020 @07:54PM (#24714202)
Yeah, but as you can see in this thread the rock star programmers of HN only know enough epidemiology to complain about code formatting and improper RNG seeding.
Re:An AI can simulate an economy millions of times to create... by mmcwilliams on Wednesday October 07, 2020 @01:00PM (#24710230)
An interesting article. I was unaware that John Carmack worked on the code before it was released.
Re:An AI can simulate an economy millions of times to create... by im3w1l on Wednesday October 07, 2020 @11:05AM (#24708999)
An issue I see here is that while punishing the poor is clever way of reducing poverty, a monetary punishment risks trapping them in a negative spiral. Beating them up (but not so much they can't work) or even killing them might work better.

I hope people using AI for public policy are careful what they wish for.

Re:An AI can simulate an economy millions of times to create... by thedudeabides5 on Wednesday October 07, 2020 @11:43AM (#24709360)
Agree with these comments. Like maybe the "AI" found some "Hand of God" move for the economy....

Like many solutions that AIs come up with—such as some of AlphaZero’s game-winning moves—the result appears counterintuitive and not something that a human might have devised.

...or maybe their model doesn't include the fact that when you raise taxes on the poor too high, in eras of tremendous inequality, you get bread riots, political violence, and eventually, revolutions.

Not to say this kind of modeling isn't potentially useful!

Just modern monetary policy already uses algorithms etc (Taylor rule optimization etc), so the question is how can ML/AI supplement those humans with better tools, rather than thinking a computer is going to be able to deal with the complexity of the real world.

Put another way, what does the machine do when interest rates hit 0?

Re:An AI can simulate an economy millions of times to create... by neffy on Wednesday October 07, 2020 @04:14PM (#24712216)
The so called A.I. was not working with anything that resembled a real economy. Standard economic models also have this problem, they also have other problems, but this particular example is just doubling down and then some. What is particularly unfortunate is that there are people out there trying to create real agent based models based on actual simulations of the Economy that are far more advanced than this (realistic markets, accurate simulations of the Banking System) but are not getting any of this kind of exposure.

Salesforce obviously is backing its own product, but the MIT Technology Review should really know better.

Re:An AI can simulate an economy millions of times to create... by jbay808 on Wednesday October 07, 2020 @02:36PM (#24711218)
If the AI workers can't get sick, die, starve, suffer reduced productivity from chronic health issues, or care for children, then I don't see what lessons they can really expect to learn from this model. If their poor AI workers can just keep working hard gathering wood and stone forever, being fully productive without ever eating any food so they can afford to pay their taxes, then it's disconnected from reality beyond anything I'd even consider a "toy model".
Re:An AI can simulate an economy millions of times to create... by chrisdbanks on Wednesday October 07, 2020 @03:40PM (#24711870)
I wonder if it's not punishing the poor, but trying to encourage them to earn more. Of course, this might not take into account the nuances of the real world where some people just can't because of constraints like children, location, disability, etc. That's where AI simulation might break down.
Re:An AI can simulate an economy millions of times to create... by im3w1l on Wednesday October 07, 2020 @03:51PM (#24711999)
The more I think about it, the more I think the reason is that the policy network simply doesn't have training data for incomes that low so the shape is basically random.
Re:An AI can simulate an economy millions of times to create... by Gimpei on Wednesday October 07, 2020 @11:09AM (#24709043)
And yet, as simple as this is, four agents is more than you see in most "complex" DSGE models... This looks to me like they're applying deep RL to agent-based modeling. It does seem pretty silly now, but it could be promising. You don't have to restrict these agents to any neoclassical assumptions and there isn't any reason you couldn't introduce firms as well. The only limit is computational power. Macroeconomics tends to look down on agent-based modeling because it doesn't provide neat, closed form solutions. But I've never bought that the results from DSGE models are anything more than products of all their simplifying assumptions. After all, they seem to be the very definition of overfitedness with absolutely no predictive power. At least they're trying something new here.
Re:An AI can simulate an economy millions of times to create... by QuesnayJr on Wednesday October 07, 2020 @02:32PM (#24711174)
DSGE models are designed be solved on your laptop in 0.0001 seconds. There are more complicated models, like Krussell-Smith, but it's not clear that they help explain macroeconomics better.

Agent-based modelling isn't more popular because they assume that the agents are very, very stupid. Also, not only do they not produce closed-form solutions, they don't tend to lead to clear statements at all. Also also, the leading agent-based modeler, Cars Hommes, is infinitely better published than most economists, so he's not suffering too bad.

Re:An AI can simulate an economy millions of times to create... by clavalle on Wednesday October 07, 2020 @11:09AM (#24709039)
Whereas, in the real world, the poor might not get the chance to not be poor because destitution would cause their death.

I'd be interested in playing with such a simulation where the agents must buy or make food to eat and must have shelter or suffer.

And, also, that the other agents know this and can play their own hand accordingly.

I think this would change where the redistribution scheme would land quite a bit if the idea is to maximize value creation.

Re:An AI can simulate an economy millions of times to create... by Cthulhu_ on Wednesday October 07, 2020 @10:30AM (#24708604)
Yeah, it sounds more like they're training an AI for resource management games (like idk, Dwarf Fortress and co?)
Re:An AI can simulate an economy millions of times to create... by Serious_Cheese on Wednesday October 07, 2020 @10:54AM (#24708890)
The headline is misleading (click-bait). Reading the headline, I imagined they have simulated the entire economy of the world and have used reinforcement learning to find optimal policies, but they only simulated 4 workers and are making generalization to the entire economy.
Re:An AI can simulate an economy millions of times to create... by yowlingcat on Wednesday October 07, 2020 @10:17AM (#24708459)
How did I know that this would be the result from the headline? It's just like the old saying. Garbage in, garbage out.
Re:An AI can simulate an economy millions of times to create... by rrobukef on Wednesday October 07, 2020 @11:06AM (#24709013)
An important distinction: publishable garbage!

Luckily, there is now a baseline, the next person can only publish improvements. Maybe one day we reach Hari Seldon levels of AI.

Re:An AI can simulate an economy millions of times to create... by monadic2 on Wednesday October 07, 2020 @11:08AM (#24709030)
TBH I'd trust a describable model much more than "cutting edge AI"
Re:An AI can simulate an economy millions of times to create... by notahacker on Wednesday October 07, 2020 @11:32AM (#24709263)
Yep. Looking into their model in detail, whilst it has all the simplifications of a typical economic model designed for tractability and algebraic solutions (two good economy, four agents, tax officials have perfect information) , it also adds plenty of unusual assumptions like agents moving round a grid to find resources. Which as others point out might tell us a lot about how AI can optimise strategy games (more precisely that AI optimises for values in a strategy game better than simply using the Saez formula or US federal tax brackets), but very little about the relationship between debt, taxes and investment.
Re:An AI can simulate an economy millions of times to create... by tharne on Wednesday October 07, 2020 @12:34PM (#24709919)
I would trust a monkey throwing darts at the stock page over "cutting edge AI".