Friday, September 11, 2020

Eleven days in May, revisited

 Well, it's 9/11/2020, so a young man's thoughts flit lightly towards major disasters. A few months (!) back I wrote a post attempting to put the mortality of COVID in perspective, and here we sit; perhaps a longer perspective is now possible.

In the meantime the CDC has released data indicating that the vast majority of Covid deaths had major co-morbidity factors, which bolsters the interpretation that it best be looked at as essentially an acceleration of your remaining days in this vale of tears.

Rather than try to guess how many people actually died of, rather than with, COVID, I simply took the number of people who died of any cause, and compared that to the average non-Covid numbers. You can these stats at the CDC website here.

It now looks like this: 

The initial spike got a longer tail, and there was a second wave, and of course there will be a tail from the second wave you can't see yet due to reporting lag. 

Back in May I wrote that the overall effect of the pandemic had been to reduce everyone's life expectancy by 11 days. What does it look like now?

The low curves are the number of days we were losing per week, the upper ones are cumulative, and the two curves represent the differences from average and statistically significant figures. The "real" number should be between them.

So we lost eleven days in May (actually mostly April), then it slacked off some, and then picked up a bit for the second wave, and is going down again. As of right now we are losing about a day of life expectancy a week, but that is declining. The total amount of life expectancy we've lost so far is closing in on a month.

By the way, remember that average American life expectancy has been improving throughout history. How far would you have to go back to have a life expectancy one month shorter? About to 2010, it turns out. And this decade has been one of abnormally slow life expectancy growth; over the 20th century we typically gained 2 or 3 months a year.

Well, that's one way to look at it, but what's gone is gone. How much more life expectancy can you expect to lose?

To predict the remainder of the loss I fit a curve to the excess deaths. A lognormal curve fits the spikes quite well, as you can see:
The heavy blue curve is actual excess deaths, the orange is a lognormal fit to the first spike, and we add a second lognormal to it for the green, total, curve.  Note that these are in thousands of excess deaths in the US on a weekly basis. You need to compare them to an average 55,000 deaths per week or nearly 3 million a year. 

The total area under the green curve from current date on is just 14,000 deaths, which works out to be 43 hours of life expectancy loss.

 You can all relax now.


Thursday, September 10, 2020

AGI: What, how, and when?

 Recently, Robin Hanson posted the following predictions:

 AGI isn’t coming in the next thirty years. Neither are Moon or Mars colonies, or starships. Or immortality. Or nano-assemblers or ems. ... So if you are looking for science-fiction-level excitement re dramatic changes over this period, due to a big change we can foresee today, you’ll be disappointed.

I agree about starships and immortality, and have different probabilities for some of the other things. But I replied (on his Facebook page) as follows:

We will almost certainly have AGI in 30 years, and probably in 10. A teleworker directing a machine looks, from the outside, a lot like an AI running it. The big tech issue of the next decade or two will be working out how the two can be seamlessly integrated as the balance shifts from telehumans to pure machine. This applies as much to Rosey the Robot as to self-driving trucks.

To which he rejoined

Care to bet on that "probably in 10" claim?

and me:

Give odds and a definition.

Robin:

AGI could take away most jobs from humans, right? So what odds do you give to >50% unemployment rate in over year 15 from now?

me: 

Wrong. To displace humans, AI would have to be cheaper, and that was not part of the ""probably in 10" claim". Furthermore, it's not necessary that there is a fixed amount of work to be done; instead of doing the same with less humans, we could simply make and accomplish more things. Like colonies on the moon, etc. But again that's a prediction not of what will be technically feasible, but of whether we collectively want to do it. And again, not part of my claim.

More directly to the point, I do not accept " >50% unemployment rate " as a definition of "AGI exists."

Robin:

... but do you really think AGI could exist yet stay expensive for a long time? I'm much less interested in when it "exists" than when it is useful.

Me:

You might want to read Matt Ridley's "How Innovation Works." AGI is going to come out of the confluence of a bunch of precursor technologies, and it will evolve, not be invented in a flash in some ivory tower. Telework is very likely one of the precursors; it will force people to learn how to break intelligent action into components, and then begin to try to automate some of the components. As this process goes forward, there will be niches where comparative advantage puts AI and others where it puts people. So AI will evolve toward being useful for people. But at the same time, people will evolve (culturally, not genetically, given timeframe) toward being more compatible with AI. Imagine you have a bunch of people working for you. At first, they are unskilled laborers. They save you time by mowing your lawn. But over time, they get smarter. They begin to be able to help with your research and writing. Now they are like graduate students. Pretty soon they are as smart as you are but they still don't replace you; they still relieve you of work but that simply allows you more scope, done at a higher level of abstraction. Somewhere in there your job changes from doing X to managing robots that do X. But managers make more than workers; the robots have become more valuable but so have you.

Tim Tyler puts in:

We were talking about 10 years from now. We will likely have some pretty sophisticated machine intelligence by then - in agreement with JoSH, but not Hanson - but machines won't be able to do all jobs more efficiently and more cheaply at that stage - and there likely won't be lots of unemployed humans knocking around either. Ricardo [a reference to the economic principle of comparative advantage] will not save the human race from obsolescence - but in 10 years, humans will still be needed.

Robin replies

I agree AI will improve, but at the same rate we've seen for 50 years. The question is what YOU can mean by "AGI in ten years" if it isn't cashed out in what they actually do in society.

Tim Tyler:

JoSH said: "To displace humans, AI would have to be cheaper". He's talking about the existence of the machines, not their cost-competitiveness. There are other issues that may hinder adoption of intelligent machines: regulations, preferences for humans in some jobs, sensor/actuator progress, training time/cost, etc.

and Adam Ford asks:

J Storrs Hall it seems your picture of AGI doesn't require AI understanding. Is that correct?

Not sure if this question can be answered directly atm - if not treat it as an intuition pump -  how far can generality be taken without there being understanding in the agent?

Since generality is a spectrum, and not an ideal state, I'm not confident that if we did achieve generality in AI, it would quickly force humans out of most jobs.

So I thought I should compose a blog post putting together my thoughts on the subject of AI, AGI, how, what, and particularly when. Come to look at the blog and lo and behold, I had already done a good part of that, four years ago: The Coming AI Phase Change 

... which did a fairly good job predicting the kind of progress we've seen in AI in the interim. 

Robin's notion of  "AI will improve, but at the same rate we've seen for 50 years" might well be summed up by the change in the state of the art between the famous Dartmouth AI workshop in 1956 and the 50th anniversary conference, also at Dartmouth, in 2006. I was there (for the second one), and so was Geoff Hinton, who gave a very nice talk on the history and future of "neural networks" and what has come to be called "deep learning" in the meantime. I can assure you that the rank and file of classical symbolic AI researchers very much thought of Hinton as a second-class citizen. But the actual achievements of AI since, ranging from Alpha-Go to GPT-3, show us that Hinton had something they had missed. 

I gave a paper at that conference too, which I mention because it goes to the answer of Adam's question above. AI had always meant "building a machine that could think like a human," but over the 50 years in academia it got subjected to so much grade inflation that it had come to mean essentially "the clever programming that captures some specific skill" such as playing chess or driving a car. By the 21st century various people, notably Ben Goertzel, had come to use "AGI" to try and recapture the original meaning. An AGI would be simply a human-level AI, one that could be expected to be able to, or be able to learn to, change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, and maybe even die gallantly.

More directly to the point, an AI would be able to have a deep brandy-and-cigars discussion with you, examine its own motives, know the limits of its own knowledge, and so forth. It would not necessarily actually get this right: as Robin propounds, humans don't get this right all the time, but we went for millennia with a geocentric cosmology as well. 

So how would you go about building an A(G)I? I have plenty of ideas on this too, but unfortunately the margin is too small to contain them.

 


Wednesday, May 27, 2020

Eleven Days in May

Amidst all the hype surrounding the coronavirus, I thought it would be useful to find some perspective on how bad it really is. One of the big problems with the reporting is that everyone seems to have a different way to count who actually died of it, or who got it and died for some some other reason.
One good way to finesse the issue is simply to look at the numbers of people who died from any reason at all, and see if that is significantly different from before the virus got loose.
There is a very informative page at the CDC website which lists exactly that.
Here is the graph it shows for the past few years:

Note several things it shows you: on an average, about 56,000 Americans die every week. There is an annual cycle that varies this by about 10%. The statistically significant border, (orange line) is about 2000 higher than the average; what that means is that variations lower than the line are to be expected and shouldn't be interpreted as proving anything.
Back in the winter of '18 we had a bad flu season and deaths broke through the line for about a month. We can compare that to the current peak and say several things. First, the coronavirus is definitely worse than even a bad flu season. But it's a judgement call whether it's enough worse to be considered a qualitatively different thing.
Second, the effect of the virus is very different from place to place. Here is New York City (you can call up all these from the page):



Yikes. The virus was an unmitigated disaster there. But look at, say, North Carolina:







There is no discernible impact from the virus at all. (Note that the falloff in the last few weeks, in all the graphs, is not real and an artifact of reporting lag.)

So what does this all mean? Raw numbers of deaths need a bit of perspective themselves. Here's a graph of how long you can expect to live as an American:


It works like this: God picks a point for you on the left axis, and you extend a line out horizontally until you hit the curve, at which point you die.
It turns out that given the numbers above, we can calculate where the curve would be given the coronavirus. In fact, I have done so, and the results are shown in the red line on the above graph. Can't see it? Neither can I; it's only 11 days shorter than the original black one. You have to zoom in to a scale of a couple of years even to see the difference:



The best way to think about the virus for the US population as a whole is that it has cost each of us 11 days of life. For most of us, that's in the noise. If you are in New York, or way out to the right side nearing the curve, it looms larger.

Wednesday, May 20, 2020

The spherical 5-bar linkage

I've been working on one, and amused to find that the physical construction and control software took about the same amount of time. Here's a movie, under control of the mouse in the other hand:


The idea of a spherical linkage is that all the motion takes place on the surface of an imaginary sphere, but in reality the links can be at different radii as long as their motion is well-described by rigid shapes moving on the sphere.  That makes it possible to construct in the real world.
There's some fairly cute math involved in converting a position you want the end axis to be, to angles to set the driving servos.  Quaternions are involved.

Thursday, April 30, 2020

20-20 Nanometer Hindsight

It's always a good idea to ask people like me, who claim to be futurists, just how well their predictions are coming along. Even more so those of us who go so far as to say things like, "Here's what we could have and should have done, but didn't," as I did in Where is My Flying Car.

So here we are in the midst of a global pandemic, which everybody is talking about and loudly opining every which way about what we should have done, but didn't, but which most of the opiners didn't actually say anything about beforehand.

Was I any better? I think so. For example, the main thrust of the book was that we should have flying cars, as part of a geographically-distributed, non-crowded, high-energy, public-transport-free lifestyle. Much has been made recently of the fact that many of the green-inspired virtue-signaling fads ranging from crowded subways to reusable grocery bags are quite counterproductive, and amusingly have flipped from being mandatory one day to prohibited the next.

Personal flying cars are clearly a better choice than cattle-car airliners.

Here's a slightly less obvious consequence of what could have been, given we had avoided our disastrous ergophobic funk and continued to follow the Henry Adams Curve: my house, like many buildings nowadays, gets climate control from a heat pump, which in the winter is a bit more efficient that simply dumping energy into the air by simple resistance heater. But in order to get as much efficiency as possible, the system works by recycling the air, rather than continually pumping fresh air into the house. So things that people breathe out, such as CO2, build up, as I can measure using a CO2 meter.

Well, it turns out that people breathe out SARS-Cov-2 as well. That doesn't matter so much in my house, but bigger buildings where lots of people meet, ranging from restaurants to schools, and there's a lot of air being breathed at second, third, and so forth hand that didn't have to be except for ergophobia.
So yes, we should have stayed on the Henry Adams Curve and we would have been somewhat less susceptible to the rapid spread of the Wuhan coronavirus.

But the one thing I particularly identified in the book which would have made a huge difference, which is blindingly glaringly obvious and on which I spent several chapters in the book: We should have developed nanotechnology.

You want an RNA sequencer in a grain of sand? Nanotech. You want a completely reliable test that you just pin to your lapel and it runs constantly (by sampling your breath)? Nanotech. You want that manufactured in 300 million quantity in two days? Nanotech. You want a mask that samples the air that you breathe in and out, but destroys (as well as counts) every coronavirus going either way? Nanotech. You want a nanomachine that mounts guard on every ACE2 receptor on your bronchial epithelial cells, destroying any virus that tries to breach them? Nanotech.
You want toilet paper by the ton? Well, do you?

Monday, April 6, 2020

A possible SARS-Cov-2 proxy

Let us presume that you wish to prevent contracting, or spreading, this virus. Obviously you should avoid those behsviors and environments most conducive to the spread. Unfortunately, our benighted experts know so little about how that works that we are forced to avoid all contact whatsoever.
What we would like is a pair of VR glasses that simply showed us the virus, in the air or on surfaces, wherever it happened to be. We don't have that. Is there a next best thing?

How it spreads

Basically we don't know. In the absence of knowledge, health experts are assuming it spreads the same way as a cold or flu. Chances are it does; but the coronavirus spreads a lot faster and further than those. 
The first thing about it is that it has a long asymptomatic incubation period, during which some of which the patient is infectious. In fact, from the statistics I've seen, something like half of those infected never show symptoms at all. So there are a lot more people walking around thinking they're fine, but actually spreading the virus.
But it's likely that's not the whole story.  People catch it from those they never touch and who never sneeze. It probably has other vectors than a normal cold. 

Choir practice


I believe the case of the Skagit Valley Chorale is instructive. After a practice session March 10, about half the choir came down with Covid-19. And yet:
In light of the coronavirus outbreak, Comstock said they greeted each singer with hand sanitizer at the door, they were individually spaced out during rehearsal, each singer used their own sheet music, and they avoided shaking hands or hugging.
Furthermore,
 “During the entire rehearsal, no one sneezed, no one coughed, no one there appeared to be sick in any way,” she said.
What did happen? Two and a half hours of singing. That's a lot of deep breathing of shared air. The infection rate among the Skagit Valley singers was extremely high, probably twice as high as on the Diamond Princess cruise ship where the passengers were cooped up together for over a month.

Bad Air

The only reasonable inference seems to be that the aerosol theory, which holds that the virus spreads not so much from visible droplets from a cough but microscopic ones perhaps containing just one virus, might be the major vector. 
The virus itself is about 0.12 μ, has a Reynolds number in air of 3e-8 and a settling velocity of 3e-4 cm/s. That's 0.0000067 mph. With any air circulation it will remain in the air indefinitely. So when people keep breathing the air in a closed space, it will build up and build up. 
We have to start thinking of the virus as a gas. My guess is that it's the elevated concentration of SARS-Cov-2 virus that led to the high infection rates. 
So what we need, to determine the danger level of a given environment, is a gas detector that measures SARS-Cov-2 virus concentration. But we don't have one.
What we do have, however, is a proxy. People also exhale CO2. And we do have CO2 detectors. 
So let me propose that a CO2 detector can be used as a worst-case measure for  SARS-Cov-2 concentration in the air. Worst-case because of course there may be many people breathing who are not spreading the virus. But if you're outside and the CO2 level is about 400 ppm, you're probably safe. If you're inside and it's 2500, open windows or turn on that attic fan. 
In other words, yes, a ventilator can save your life. But it's not necessarily the kind of ventilator people have been talking about.


Saturday, November 30, 2019

An electric car economy

Recently, Brad Templeton posted a column at Forbes examining whether an electric car economy could handle peak-travel holiday loads. The major problem, of course, is that electrics have limited range at a time when, in Perry Como's words, "From Atlantic to Pacific, the traffic is terrific." So everybody is on the road and needing a recharge at the same time. In holiday traffic, you often wait in line at the pump to fill up, but with gas, that's not too much time; with a half-hour recharge, it's completely impractical.
Brad thinks it would be possible with a major build-out of recharging facilities (and it would also require a major upgrade of power generation and transmission lines). But what if that is looking at the problem backwards? What if we could reuse the current infrastructure, and do electric cars the way we do gas ones? The problem vanishes, and we could gain quite a few extra advantages.
So in the current system, you go to the service station and put 50 pounds of gasoline into the car, taking a few minutes since it has to flow in through a smallish hose. In an average car, that will get you 250 miles or so before you need to fill up again, and you'll need a rest stop long before then anyway. Why not simply have removable batteries, and pop new ones in instead of letting the car sit while you recharge the old ones? That's the way most high-powered hand tools work today, for example.
EGO system power tool batteries
There's one major problem with this for a car. The battery in a Tesla weighs 1200 pounds and when fully charged, can power it about 300 miles. You won't be "popping in" one of those.
How big a battery could you pop in? The average man can handle 50 pounds (what typical lead-acid car batteries weigh) for the few seconds it would take to take it off a service cart and onto a connector mount like the one on a power tool easily enough, and for other people a service station attendant could do it. But 50 pounds of Tesla battery would only take you 12 miles.
But those are not close to the best batteries we have. Instead of 4 pounds per mile, a lithium metal battery holds enough energy to go one mile per pound. Popping in 5 of them would get you 250 miles of range and take less time than filling with gas.
The problem, of course, is that the lithium metal battery -- it's the chemistry used in watch batteries, for example -- is not rechargeable. But so what? You're not trying to recharge it. The batteries you swap out go back to the factory to be recycled. This is just like the current car-fueling infrastructure. The service station has a supply of gas brought periodically by trucks. New batteries the same; the only difference is that the trucks go back full, of old batteries, rather than empty.
Each battery could be about the size of a briefcase; there would easily be room for ten of them under a typical car hood. You wouldn't normally drive around with it full, because less weight is more efficient; but you could load it up for the big trip. And for extra range or emergencies (e.g. the station you were counting on has run out), you could throw a few extra in the trunk.
The battery factories/recycling plants can be anywhere. Do you know where the refinery is that your gasoline comes from? They would be sited for cheap power, and maybe even intermittent power. Most people today really have no idea how cheap high-volume manufacturing processes are; recycled batteries might well be cheaper than gasoline per power provided.
One more advantage to the multiple modular battery scheme suggests itself. All the batteries don't have to be the same kind. You could have some rechargeables, some high-density, some of whatever new chemistry or new fuel cell happens to be invented next.