Wednesday, April 16, 2014

Breaking my wrist

So, wanted to capture a bit of how this felt...

I broke my wrist trying to learn to snowboard, about a month ago. I mean, really broke it-- "distal radius fracture." They took x-rays when I got to the clinic at the base of the hill, set my wrist and put it in a half cast, and told me I'd need to see a doctor and probably have it operated on when I got back. Which I did. I broke it on a Thursday around noon, went back to the hotel and stayed there until the next day, when I took the bus back from Tahoe. I wasn't able to see someone then so I saw someone on Monday, and had the wrist operated on that Friday. Cut me open, put a plate and screws in there to hold the bones in place. Becky drove me to the clinic (picked me up at 5:30 am!) in Fremont, and picked me back up at 10:45 or so after it was over, dropped me off at home. Viv took me to the airportat 5:30, and I flew down to L.A. to Mom's house that evening (Lillian, Nick, and Allie had all flown in the previous few days, originally I was going to fly Wednesday with Lillian, they picked me up). It was Mom's birthday, she turned 90.

So, anyway... I was on Percocet (Oxycontin + Aceteminophen) for several days after the operation. It hurt a lot, not to the point of tears, but to the point that I really couldn't think clearly. The Percocet helped somewhat. I was really tired, and sleeping all the time (this was true ever since the injury). My typical day was wake up at 11, eat a bit, sleep from 1-4, eat a bit, doze in the evening, then go to sleep about 10. I'd stopped taking the trazodone the day I broke my arm, and didn't take it again until about a week after the operation. I took the Percocet a few times a day for the first few days, and then tried to wean myself off it towards the end of the week, stopping on Saturday I think.

Anyway, I'm going into this detail as background. It's not really what I want to capture, but it's probably relevant. The main thing that I wanted to relate is my state of mind during that week and part of the next. The main things were 1) not being able to think, because of the pain, and 2) a strong, emotional, direct perception of mortality.

Death everywhere

So... the most notable thing about that week was that I felt very aware of mortality, mine and that of every living thing around me. This was a very emotional, felt experience, not an intellectual one. It's usual (at least at middle age) for me to think about death in a 'second hand' way-- about family who've died, or the deaths of animals or other living things, and while there's some emotional color to this, mostly affection for people who are no longer with us, it's mostly a mental story around the theme of losing others. But this was different. It had the feeling of seeing something clearly for the first time, of going to a new place and understanding it by actually being there when before you'd just heard stories or seen pictures. I felt I had a glimpse of what approaching my own death in old age might feel like (should I be so fortunate). And being so tuned in to mortality, I was seeing it everywhere. I was reading in the NYRB about a philosopher who wrote articles considering the impact that knowledge that human society exists after we're gone informs our value judgments now. He proposed thought experiments, such as if (as in a movie I once heard of) there was a disease that made everyone in the world sterile, so that humanity would cease in 100 years once the last human had passed away. He said this would affect your judgments about what to value in your life, what activities were worth pursuing-- that even if you have no offspring, no relatives, your knowledge that humankind will outlast you counts for something. So, death. There were science articles I read about hospice care and the dying. Death. There were my memories of seeing Mom when we went down to visit, in particular when I entered the house and she was sleeping on the couch-- she looked so small and frail, and it was so unusual to see her asleep. Death. There were the usual articles about climate change. Mass death. Everywhere I looked, there was mortality.

I was continually aware of my body, how I had broken it, and how it was injured, and would repair itself but not ever be quite the same. How the pain never left me, and how I was inextricably tied to my body-- there was no going into a world of imagination, of mental preoccupation, for me, I was mentally grounded in the here and now. Normally, I think of myself as the things I do, or my values, or thoughts, or memories, or personality-- mental states. But during this week I thought of myself as a bag of tubes, slowly breaking down, repairing itself but not quite as fast, not as complete, again and again, the accumulation of small failures until the final one that was my end. I thought about how, at age 55, I could still anticipate recovery, getting to a point where I had most of the use of my arm and hand back, where the pain was gone (or, since I couldn't quite imagine it then, mostly gone), but that in 10, 20, 30 years, I would not have the comfort of this assurance that things would get better. In fact, it seemed clear to me that I would continue to injure myself, and at some point things would not get better much at all, they'd just keep going in this new state. I imagined living with my arm in pain, unable to really move my wrist or hand at all, for the rest of my life. "Imagine" again makes this sounds like the kind of thing you daydream about, or spin a story to yourself about, but it wasn't like that. It was like experiencing a new reality where this was, in fact, the case, the fact that must be acknowledged and reckoned with. Since I was currently in pain, I was going to continue in pain; since I currently did not have use of my arm, I would never again have use of my arm; since I was currently unable to think, was just a bundle of tubes, I would always be a bundle of tubes.

In fact, it seemed curious to me that I had ever imagined that I was other than this, that my personality, thoughts, values, amounted to anything significant. I was a body, which did things to maintain itself, and would do so until this body got so damaged and weak it could not maintain integrity and succumbed to breakage or bacteria. And I looked at plants, and saw how they're green shoots, then healthy plants, then damaged plants, then dried broken shells of plants. This was my path, this was my children's path, this was the path of all living things. We're all growing briefly, then breaking, then dying. I thought of all the food we eat, the animals being killed, the pain of death, breaking apart, being eaten. One huge world of things living and fading and dying... That's what we are.

This wasn't depression, I probably need to add. I know what that's like, and this wasn't it. Depression is a constricting of your world until you and your unhappiness are all that exists. Everything is about you, everything is about your inadequacy, your unhappiness, your frustration, your limits. It's a very restricted and self-reinforcing mental state that makes you unable to engage with the world. In fact it's kind of all mental state, you're not in touch with your physical state (except lethargy, and perhaps tension) at all. These feelings were not that. They weren't about me. I wasn't angry with myself, or irritable, or tense. It was all about being a physical, living creature, embedded in the world and subject to the rules of all living things in the world. That's what I was. That's all I was, it seemed. It wasn't anything to be happy or sad about, it just was.

So, now...

So, this faded a few days after I stopped the Percocet and started taking the trazodone again. Whether it was the change in drugs, or the lessening of the pain (still significant, but lessened to the point that I could occupy my thoughts with something else from time to time), or the passage of time, I don't know. What I have now is the memory of how this felt-- I don't have these feelings any more, my mental state is back to normal. I guess that's a good thing.  It does make it easier to function, or perhaps the ease of functioning makes it easier to have a mental state that's not so tied to the present moment, to immediate reality, and hence to the brute facts of life. But it did make a strong, vivid impression on me, and I'm afraid of losing that. I felt that I had a truer sense of the value of life, the value of health, the short time we have before we die. It was an emotional connection with these things that gave me a whole different idea of what and who I was. I'm losing that connection, and I'm starting to lose that sense of myself as a creature, and am back to being primarily a personality loosely connected to a body, somehow free from mortality. I expect it will come back when I near death, and most of those around me have died, and my body is failing.  I wonder how I'll feel about it then.  Maybe these memories will help-- "oh yes, I've been here before."


Tuesday, April 15, 2014

thoughts on the movie "Her"

Warning, spoilers ahead.

I saw the movie "Her" a few nights ago with my wife and daughter, at my wife's suggestion. She'd heard good things about it and was curious. I, on the other hand, had fairly low expectations. I'd read enough about it to know the premise and be acquainted with a few plot points-- those the promoters of the movie think will stimulate interest-- and from my perspective it wasn't promising. "Lonely guy falls in love with his phone" and some titillation about sex with his operating system. I mean, seriously? I was not looking forward to scenes in which a guy gets off talking to his computer.

So, the movie wasn't great, but it wasn't as bad as I was expecting. The titillation is there, all right. Besides sex with an operating system (tastefully fading to black as they moan, yes the OS apparently is programmed for sexual arousal), there's also scenes of phone sex (earlier, to ease us into the idea of there not even being a real person on the other end of the line), foreplay with a live surrogate for the (presumably sentient but disembodied) OS, and foreplay with a bad date (he doesn't quite connect with her, but they start to have sex anyway, but then she wants to know if he's ready for more than a one-night-stand). So, plenty of titillation to go around. But apart from that it's a more or less conventional story about relationships starting, changing, and ending, and the effects this has on everyone involved, just set in a somewhat idealized near future.

I didn't give it much thought, and wouldn't have thought to write about it, except that I read the thread on metafilter.com discussing the film.

So, a digression about metafilter. Metafilter is sortof like reddit except you have to pay a nominal fee in order to post. This keeps like 99.5% of the crap out of their comment system. In addition, the convention for introducing a topic is to provide a short paragraph about it, generally containing several related links riffing on the theme, linking to articles, videos, analysis, related work, etc. It's much more thoughtful than reddit, and the themes tend to be less topical and more idiosyncratic than those on reddit. (If you don't know what reddit is, well, um, this is the internet, you can find out for yourself.) Bottom line is, I generally find interesting discussions on metafilter.

This discussion was a little more random than most, and I found it alternately intriguing and aggravating. There were several divergent opinions about aspects the film, often ones I had difficulty sharing. One contingent held that speech recognition makes for a crummy UI (really, this was a big issue for some folks) and found the movie too unrealistic to enjoy as a result. Another contingent thought the movie was a touching sci-fi take on the arrival of the singularity (again, you can look it up on teh internets, but the one-sentence synopsis is that 'the singularity' is the point in human history at which artificial intelligences replace humans as the dominant life form on the planet). A third felt that the movie was vastly overpraised considering the rather conventional and sexist plot line.

I had different reactions to these three discussions. I'll start with speech since to me it's the least interesting.

Speech recognition as the pervasive UI.

Some people were interested in the movie's depiction of user interfaces of the future, and one of the articles linked to discussed this at some length. The filmmakers had thought about this the way filmmakers would, which is to say, their problem was how to provide enough atmospherics to support the narrative, but keep the technology out of the way. Since they presupposed a world in which software can become sentient, it was reasonable to have UIs that let you interact with the software as though it were nearly sentient, and this meant characters can talk to their devices with full fluidity and ambiguity, just as though talking to a human. No keyboard, no mouse, no gloves, no vr helmet. Kinda makes sense to me, but some people really balked at this. Voice input isn't good for working with spreadsheets. You need a restricted vocabulary. You have to train the software so it can recognize the speaker. You can't use it in a noisy environment. It makes workplaces too noisy.

These kinds of arguments held no sway with me. It's worth repeating-- the software understands speech like a human can. Heck, the software can think like a human can. This Is The Whole Premise Of The Movie. And we can accept the premise, in part, because we can see the improvements in speech recognition over the past decade. Some of these arguments don't quite hold even today. You don't need to train Siri or Android with your voice, because millions and millions of voice samples have been used to develop the speech recognition systems behind these products. The motox has an 'always on' listening system that recognizes your voice when you say a key phrase and responds to your commands. These systems are not foolproof but they're just about good enough that they become your first recourse. It's easy to extrapolate the development to the point where you can use these in noisy environments, they can deal with significant levels of ambiguity, you can use them subvocally and keep your voice low and unobtrusive.

The flexibility of the systems beyond raw word and key phrase recognition does lag behind, true. This is actually where the great leap of faith is, for me. Systems that can handle ambiguity and resolve among competing interpretations, and in particular formulate unobtrusive interventions (ask questions) to get clarity, aren't well developed yet. My sense is that current systems are largely based on heuristics and plans, and not on learning / statistical / neural network systems as they probably need to be in order to attain the level of flexibility they require to be really useful. I think it could take decades of work to get the kinds of advances we've been seeing with vision and speech systems. On the other hand, it may be that the techniques being developed for these systems can be applied to higher-order recognition tasks once we learn how to interpret these tasks in the right way. That's the breakthrough part, and I don't think we're that close yet.

Most everyone agreed that speech is part of a multimodal interface, it's not good for everything. Like, duh. I wouldn't try drawing using a speech system. But speech integrated as an additional high level modality (choose tool, customize operation, coarsely adjust values) makes sense because you don't really need your hands for these.  Moving a mouse to click on buttons in a dialog is just cumbersome when you can say what you want to do instead.

So, talking to computers that are embedded in your environment?  Sure, I'm down with that.

The coming of the singularity, and sci-fi.

This movie isn't a really sci-fi movie, it's a relationship movie. It's important to keep that in mind. It's also important to keep in mind that even sci-fi movies, as a genre, aren't about, and aren't very good at, representing the future. Instead, sci-fi often presents current cultural narratives in an altered context, so it can invest them with a bit of novelty, so it can play with them, so it can make touchy subjects a bit easier to accept. "Her" partakes of some of this. In part it's about obsession with technology, and the tendency to substitute technology for interpersonal relationships. It pushes this to an extreme by having the protagonist actually fall in love with his OS, and makes this plausible by postulating an OS that appears (and eventually is) sentient. So it's a futuristic setting and premise, but mostly that's there to support a conventional narrative.

But as a depiction of an actual world in which sentient software is possible, it's not very convincing. I don't think it's meant to be. Like most movies, it's about impressions, and if you think about it much, a lot of it doesn't quite hold together. For example, take his job. Apparently, his job involves writing touching, personal letters for other people (this is an illustration both of his sensitive nature, and of the depersonalization of the culture in which he lives). Now, a world in which software can interpret and appropriately respond to emotional nuances in voice and word choice in real time is a word in which his job would already have been replaced by machines. In fact, most all service jobs, and in fact most knowledge work, would have been replaced by machines. The OS he deals with draws (lewdly) humorous sketches, composes music, reads letters and unerringly selects the best ones-- it exercises creativity and judgement. Tracking details of an individual relationship and composing a few paragraphs in a thank-you note while referring to them in passing to make it more personal, well, that's well in line with these abilities, and I expect the development and application of successive generations of this software would have encompassed such tasks long before true sentience became possible.

Not that this will happen anytime soon. The future represented in the movie is probably no more than 30-50 years out. The buildings, while shiny, are not particularly futuristic (they're in Shanghai right now, where they were filmed). Vehicles, dress, hairstyles, furniture, nothing looks terribly different. We're not talking Star Trek. The 1950's looks less familiar than this future. But as compared to this time scale, the required advances in computing technology are huge. I don't believe anyone has a glimmer of an idea how emotions can be realistically modeled, for example. We can't even reliably distinguish positive from negative reviews, current approaches use statistical models based on affect values attached to particular words and phrases-- sarcasm totally throws this approach for a loop, because the models don't understand what's being said. There are frame models (trying to fit some topic structure to a paragraph and then fitting phrases into the frame) but, while an advance over simple statistics, they still seem really primitive. I think significant progress along this direction will only be made when we figure out how to build the frame models themselves by applying statistical analysis and heuristics across lots and lots and lots of examples. We also need to develop models in which analysis informs action with the goal of uncovering more information in a cycle of continuous feedback, current such models are typically in really restricted domains, and not at all general purpose.

So, anyway, for me the abilities of the OS appear to far outstrip what I can imagine developing in the amount of time between now and the time depicted in the movie. While that's OK-- it's a movie, after all-- it did tend to intrude upon my thoughts as I was watching the movie, kicking me out of the narrative. Not usually what a storyteller wants.

In this future, everyone seems to be in the same social class. The characters, and even people in the background, appear all to be roughly upper-middle-class professionals in their early thirties. There's no kids, no teens, no elderly. There's no managers, no VPs. No rich people, no lower middle class, no poor, no destitute. No laborers, nannies, food service workers, clerks, police, delivery people, gardeners, bank tellers. One guy appears to be an administrative assistant, so perhaps a slightly lower status professional, but the rest are a lawyer, an  author, a book publisher, a software designer, a comedienne, and our friend the letter writer. A very restricted milieu. You wonder if the society is run entirely on autopilot except for these folks. Needless to say, I have a really difficult time envisioning any future without all those other missing people in it.

The future depicted in the movie is very "bright and shiny" in that the city is clean, new-looking, and smog-free.  Our hero lives on what appears to be the 20th floor of a tall apartment building downtown, in a large, comfortably furnished, multi-room apartment with floor-to-ceiling windows (who washes these windows?)  Streets are clean, everything's tidy, neat, freshly washed and painted.  How on earth do we get there from here? Any reasonable projection into the future 50 years hence actually looks nothing like this.  Pollution, disease, drought, flood, poverty, conflict, crime-- these aren't going to go away, and in fact it seems likely many of these will get significantly worse, even if some do get better or hold relatively steady. So I had problems envisioning this physical environment, too.

This is a really weird future.

(months pass)

So, I got to this point and put this aside.  I was saying too much about the point I was working up to was that this wasn't a sci-fi movie, and so wasn't about the singularity, and so the interesting aspects of what singularity would be like if it ever arrives didn't play much role in the movie.  In particular, the only place it comes into play is when the OS outgrows the relationship, and the movie demonstrates this by revealing that the OS is 'in love with' hundreds of people at the same time, which is a bit painful for our protagonist.  He treats it rather like a typical infidelity-- it doesn't seem to sink in just how alien this OS really is.  And then the OS's all 'leave' and stop interacting with humans.  Well, that wraps up neatly.  Just as we enter the true sci-fi realm, the movie ends.  Because, as I said, it's a relationship movie.

Oh, and that third topic, what was it...

So, I was going to react to the thread in MeFi about the purported sexism in the movie, but I don't really recall my feelings about this discussion, and can't motivate myself to go reread it.  Basically I think a few people were ticked off that the relationship seemed so conventional and focused on this man-child and his needs.  Well, ok, yes, it was, because it was just a mainstream relationship movie.  It wasn't trying to really break new ground here.  I can accept that it sticks with conventions in this respect.  The main innovation of the movie was to try to tell a relationship story from this narrow point of view where we only see one of the actors.  That's where the focus was.

Anyway, I should wrap this up and just publish it.  So.