Showing posts with label Rationality. Show all posts
Showing posts with label Rationality. Show all posts

Aug 3, 2011

Paper Drafts

Here are draft versions of two short papers. They are on machine ethics and decision theory in the context of reinforcement learning. Comments are welcome.



Abstract:

This article presents a modification of reinforcement learning where an agent’s action lead to rewards being received by a second agent interacting with same environment. This model can be useful in the development of powerful AIs. Agent policies are proposed for dealing with observable rewards, with non-observable rewards in perfectly rational agents, and with non-observable rewards in bounded rational agents.



Newcomblike Problems and Optimal Agents

Abstract:

This article discusses the family of Newcomblike problems in the context of reinforcement learning. It reframes the problem of rational decision making as one of obtaining maximal rewards in a wide range of environments. Newcomblike problems are characterized by correlations between agent and environment policies. An optimal policy, taking into account these correlations, is given for known environments. For unknown environments, a quality criterion for policies is formulated.




Jul 20, 2009

Eight Ways To Spot A Mediocre Scientist.

It's easy to spot a poor scientist. Lack of publications, inability to communicate, and blatant incompetence are hard to overlook for more than a few hours. Sorting the mediocre from the first-class, however, is much more difficult. Brilliance sometimes looks like biasedness, and vice versa. Sub-par people may still publish good papers through a combination of luck, the right working environment, the right supervisor, and good funding. Eloquence can mask shallowness (for a while.) On the other hand, smart guys may be too young for a strong track record (or may have been unlucky), may be deliberately soft-spoken, may use self-deprecating humour, or may agree to stupid statements out of politeness.

One would need to have excellent insight into the relevant field in order to recognize true outperformance. If you're teaming up with a collaborator across domains (e.g. a computer scientist teaming up with a linguist) you will lack this level of insight. (If not, why team up?) Getting stuck with a mediocre scientist as a collaborator, student, supervisor or colleague is guaranteed to cause frustration, a dent in your career, lots of extra work, and mild to severe psychological damage. Over the years, I learned, the hard way, that mediocre scientists (henceforth MS) share some traits among themselves, which can serve as a early warnings:

1. Monologue
The MS likes to elaborate. Droning on and on, the MS will not have time to listen. Make casual, but relevant, statements, and check later whether he remembers any of them. Look for email responses to simple questions of over four pages in length.

2. Quirky Categorization; Meta-Theory
The MS has usually developed idiosyncratic systems of categories for several domains. He regards these, as well as his general meta-theory of scientific insight, as absolutely essential in order to get any work done. Without using those categories, nothing makes sense. Anyone not using his "system" (i.e. everyone except himself) has no chance to make real intellectual progress. He will, however, freely share this insight with anyone (remotely) interested (cf. point 1).

3. BSing outside of his Speciality
When discussing topics outside of his field of expertise, (which he will be eager to do, cf. point 1), the MS will quickly talk some form or another of utter BS, like, e.g. US per capita GDP being hundred times bigger than global average. The MS may be aware, and admit, that he has only the most casual knowledge of the domain in question, but will nevertheless deliver his statements with utmost certainty (cf. next point).

4. Preaching, Teaching
The MS is sure of what he says. Absolutely. He has had this discussion a hundred times before, with people smarter than you, and none of those people were able to provide solid counterarguments to his position. Sure, some tried, some tried really hard, but after a few hours of discussion, or a few 5-page-long email exchanges, their arguments all melted away, and they admitted defeat. Or at least stopped responding. Check the archives. The MS is as sure of his access to privileged knowledge as a maths teacher in front of grade-schoolers, and it shows.

5. Misses Appointments
When working with you, the MS will be late, will, at first, rush, to make up for the time lost, but then slow down, and suggest having a coffee or two together. Then he suddenly realizes he needs to be elsewhere, and leaves early.

6. Belittles Textbooks, People, Publications, Institutions, Methods...
Nothing is good enough for the MS. He will give you an earful about the textbooks being confusing, too detailed or too superficial, everyone except himself lacking true insight (cf. point 2), publications being based on flawed methodologies, institutions funding the wrong kind of people, and so on and so forth. This is not the usual whining of the underprivileged - he himself may have good funding. It's more of an aesthetic complaint.

7. Doesn't Follow the Literature
When Caliph Umar the Great ordered the books of the Library of Alexandria to burned for heating bathing water, he is said to have stated that "they will either contradict the Koran, in which case they are heresy, or they will agree with it, in which case they are superfluous." (Wikipedia says this is a hoax.) The MS, however, has an analogous view of the literature in his field (the "Koran" being his own work, in particular his meta-theory, cf. point 2). Pick his brain, and you will find he's completely unaware of publications which could help him a lot in his efforts.

8. Would Prefer to do His Own Stuff
The MS is an independent spirit. He will not compromise. He will not team up. He demands flexibility. He will not precommit. He will not allow anyone to "interfere" with his work. He'll play it by ear. While all this can also happen with a truly great mind working in a destructive environment, in combination with the seven points above it's an indication that you have an MS in front of you.

May 9, 2009

Not to mention that *Kolmogorov complexity is completely irrelevant to intelligence*.

Michael Vassar, the President of the Singularity Institute for Artificial Intelligence recently gave an interview on Accelerating Future where he favorably mentions Marcus Hutter's work on AI:


AF: Why should someone regard SIAI as a serious contender in AGI?

Vassar: The single biggest reason is that so few people are even working towards AGI. Of those who are, most are cranks of one sort or another. Among the remainder, there is a noticeable but gradual ongoing shift in the direction of provability, mathematical rigor, transparency, clear designer epistemology and the like, for instance in the work of Marcus Hutter and Shane Legg. To the extent that SIAI research and education efforts contribute to rigorous assurance of safety in the first powerful AGIs, that is a victory as great as the creation of AGI by our own researchers.


Now that's an interesting contrast with earlier statements by Eliezer Yudkowsky and Ben Goertzel, co-founder of and Director of Research at the SIAI, respectively:



I seriously do NOT think there is any practical value to be gotten out of trying to create a pragmatic AGI system by "scaling AIXI down." Ben Goertzel, 2007 http://www.mail-archive.com/singularity@v2.listbox.com/msg00509.html


To sum up: (a) The fair, physically realizable challenge of cooperation with your clone immediately breaks the AIXI and AIXI-tl formalisms. (b) This happens because of a hidden assumption built into the formalism, wherein AIXI devises a Cartesian model of a separated environmental theatre, rather than devising a model of a naturalistic reality that includes AIXI. (c) There's no obvious way to repair the formalism. It's been diagonalized, and diagonalization is usually fatal. The AIXI homunculus relies on perfectly modeling the environment shown on its Cartesian theatre; a naturalistic model includes the agent itself embedded in reality, but the reflective part of the model is necessarily imperfect (halting problem). (d) It seems very likely (though I have not actually proven it) that in addition to breaking the formalism, the physical challenge actually breaks AIXI-tl in the sense that a tl-bounded human outperforms it on complex cooperation problems. (e) This conjectured outperformance reflects the human use of a type of rational (Bayesian) reasoning apparently closed to AIXI, in that humans can reason about correlations between their internal processes and distant elements of reality, as a consequence of (b) above. Eliezer Yudkowsky, 2003 http://www.mail-archive.com/agi@v2.listbox.com/msg00862.html

AIXItl is a different story. It's computable, and is vastly less useful than Novamente. It's a ridiculous algorithm really, since at each time step it searches an infeasibly large space of possible programs. It's useful purely for theoretical purposes. Ben Goertzel, 2003 http://www.mail-archive.com/agi@v2.listbox.com/msg00765.html

Not to mention that *Kolmogorov complexity is completely irrelevant to intelligence*. Eliezer Yudkowsky, 2008 http://www.sl4.org/archive/0811/19505.html


Nov 8, 2007

Science Has No Use For Ockham's Razor

entia non sunt multiplicanda praeter necessitatem.
"Please keep things simple."

(William of Ockham)
(Bertrand Russel)

manus non sunt ventilandae praeter necessitatem.
"Please keep the handwaving down."
(Me)

You know, I've had it with Ockham's razor.

My work in machine learning is more or less orbiting the Solomonoff - Chaitin - Kolmogorov - Hutter - Boulton - Wallace galaxy. This simply means I'm assuming that the data I'm analyzing is the output of a computational process, any computational process. I have no idea whatsoever as to the sourcecode of this process, so I'm trying to assign equal a priori probability to all programs. Now suppose I'm stumbling over two short programs which in fact do output my data. Both programs are 1000 bits long. Let's say the first one is a neural net, and the other's a support vector machine.
Now assume, after playing around with my first program, I'm finding out that only the first 50 bits are in fact important for producing the output. The rest is just random garbage. I could in fact try out all combinations of those remaining 950 bits and get 2^950 different neural nets that all output my data. Now I'm trying the same thing with program two. Here, only the first 49 bits matter, and I could create 2^951 variations of support vector machines, that's twice as many as in the case of program 1. Since I try to assign equal a priori probability to all programs, and possible support vector machines outnumber possible neural nets two-to-one, I'd bet two-to-one that my for the support vector machine and against the neural net.
Note that the "1000 bits" do not figure into the result, I could just have well have chosen 10.000 bits, or 10 Gazillion bits. Also, if the first program had been 723 bits instead of 1000, I could have just padded it with 277 extra garbage bits to make it as long as the second. The argument stays the same. We're cutting a few corners here, but the basic idea is that, when you have to assign probabilities to various models, you calculate the number of bits absolutely necessary to produce your models, and penalize all models but the shortest by a relative factor of 0.5 for every bit of extra length. Let me repeat it, this is just a consequence of assuming the true process that's creating your data (the "world") is a program, any program, and before having seen the data, you have no idea whatsoever which program. Simple, isn't it ?

Welcome to the world of of Solomonoff induction.

The attentive reader might have noticed the complete absence of any reference to Ockham in the above explanation. What Ockham himself really intended to say is not entirely clear, nor is it actually too clear what people today mean when they invoke his name. To repeat it once again, the reason we penalize long models, or theories, in Solomonoff induction, is because we don't know a priori which program created our observation. It's not like we have anything against long models, or that we said hey, remember Ockham! Sure, what we've ended up with seems to go along somewhat with Ockham's razor, but we notice this after we got our results. So if anything, you could try to say Solomonoff induction explains why Ockham's razor works, and not the other way round. But don't, for it doesn't.
To illustrate this think of the two hypotheses "Afro-Americans get comparatively few PhDs because of [a complicated interplay of socioeconomic factors]" and "Afro-Americans get comparatively few PhDs because of they don't have the intelligence gene X." Shooting from their hip, people would say the second hypothesis is simpler. Is it ?
How the hell should I know !! Imagine just for a moment trying to translate those two verbal statements into computer programs which produce the data in question. The data in question being human academic achievement. PhD theses. Social interactions. Application interviews. Then imagine what has to be included in the program's source code: Human genetics, human brain structure, social dynamics, macroeconomic systems...We're talking at least gigabits of data here. Trying to estimate the length of such huge programs down to a few bits is like doing a bit of lattice quantum chromodynamics in your head in order to estimate the proton mass. Humans simply can't do this. If you can, give me call. I have a job for you.
So the connection between the rigorous theory that is Solomonoff Induction, and the intuitive insight that is Ockham's razor is tentative at best. OK, nonexistent. The same goes for machine learning theories like minimum message length (MML), minimum description length (MDL), or the Akaike information criterion (AIC), which can all be shown to be approximations of Solomonoff induction.
Then why do so many people, even those working in the very field, handwavingly invoke Ockham as the forefather of their discipline ?

Ockham’s Razor has long been known as a philosophical paradigm, and in recent times, has become an. invaluable tool of the machine learning community. (link)

Algorithmic probability [comment: the theory behind Solomonoff induction] rests upon two philosophical principles...[]...The second philosophical foundation is the principle of Occam's razor. (link).

Or this, that, and many more examples ?

Let me make it clear that I really respect the authors quoted above as scientist, (the author of the second quote contributed fundamentally to the field of algorithmic probability theory himself !). But really, I cannot imagine any other reasons for summoning Ockham in this context than the desire to look humanistic, or philosophical, the desire to make students nodd in "comprehension", or, I'm sorry, a bit of muddled thinking.

OK, so let's make it clear once more:
  • Ockham's razor is an intuitive philosophical insight.
  • Ockham's razor is NOT the underlying principle of Solomonoff induction. It may have been an inspiration to Solomoff, but so may have been, say, talking to Marvin Minsky. Note also the complete absence of the name "Ockham" (or Occam) in this talk.
  • MML, MDL, AIC, MAP, and even least-squares approaches to theory formation can all be derived from Solomonoff induction. Logically, Ockham's razor is NOT the underlying principle of any of these theories.
  • Solomonoff induction is NOT a "formalization" of Ockham's razor. Solomonoff induction does NOT proof Ockham's razor is useful.
  • Ockham's razor is NOT an empirical observation. It's a maxime, a rule of thumb, a heuristic. It's usefulness can in fact be debated, since it's a rubberband rule, i.e. you can stretch it in to various sizes and shapes. Your intuitionist notion of simplicity may not be the same as mine. In the end, we're back to gut feeling.
  • Ockham's razor is intended for use by human beings. You cannot really translate it into a rigorous mathematical statement. In particular Solomonoff induction is not a "version" of Ockham's razor.
  • MDL, MML, MAP, AIC are valid mathematical approaches at scientific data analysis. A scientist should not defend the use of these methods by invoking Ockham's razor. And if a scientist invokes Ockham's razor in a non-mathematical situation, be aware he's essentially talking about his gut feeling.