Crossposted from the AI Alignment Forum. May contain more technical jargon than usual.

This is a linkpost for https://carado.moe/qaci-invention-dialogue.html

Crossposted from the AI Alignment Forum. May contain more technical jargon than usual.

This is a linkpost for https://carado.moe/qaci-invention-dialogue.html

this post was written by Tamsin Leake at Orthogonal.thanks to Julia Persson and mesaoptimizer for their help putting it together.no familiarity with the Evangelion anime is required to understand this post, and it pretty much doesn't contain any spoilers.this post explains the justification for, and the math formalization of, the QACI plan for formal-goal alignment. you might also be interested in its companion post,

formalizing the QACI alignment formal-goal, which just covers the math in a more straightforward, bottom-up manner.## 1. agent foundations & anthropics

🟣

— hi ritsuko! so, how's this alignment stuff going?misato🟡

— well, i think i've gotritsukoan idea, but you're not going to like it.🟢

— that's exciting! what is it?shinji🟡

— so, you know how inritsukothe sequencesandsuperintelligence, yudkowsky and bostrom talk about how hard it is to fully formalize something which leads to nice things when maximized by a utility function? so much so that it serves as an exercise to think about one's values and consistently realize how complex they are?🟡

— ah, yes, the good old days when we believed this was the single obstacle to alignment.ritsuko🔴

asukabarges into the room and exclaims— hey, check this out! i found this fancy new theory on lesswrong about how "shards of value" emerge in neural networks!🔴

asukathen walks away while muttering something about eiffel towers in rome and waluigi hyperstition…🟡

— indeed. these days, all these excited kids running around didn't learn about AI safety by thinking really hard about what agentic AIs would do — they got here by being spooked by large language models, and as a result they're thinking in all kinds of strange directions, like what it means for a language model to be aligned or how to locate natural abstractions for human values in neural networks.ritsuko🟢

— of course that's what we're looking at! look around you, turns out that the shape of intelligence is RLHF'd language models, not agentic consequentialists! why are you still interested in those old ideas?shinji🟡

— the problem, shinji, is that weritsukocan't observe agentic AI being published before alignment is solved. when someone figures out how to make AI consequentialistically pursue a coherent goal, whether by using current ML technology or by building a new kind of thing, we die shortly after they publish it.🟣

— wait, isn't that anthropics? i'd rather stay away from that type of thinking, it seems too galaxybrained to reason about…misato🟡

— you can't really do that either — the "back to square one" interpretation of anthropics, where you don't update at all,ritsukois still an interpretation of anthropics. it's kind of like being the kind of person who, when observing having survived quantum russian roulette 20 times in a row, assumes that the gun is broken rather than saying "i guess i might have low quantum amplitude now" and fails to realize that the gun can still kill them — which is bad when all of our hopes and dreams rests on those assumptions. the only vaguely anthropics-ignoring perspective one can take about this is to ignore empirical evidence and stick to inside view, gears-level prediction of how convergent agentic AI tech is.🟣

— …is it?misato🟡

— of course it is! on inside view,ritsuko. it just so happens that if you keep running a world forwards, and select only for worlds that we haven't died in, then you'll start observing stranger and stranger non-consequentialist AI. you'll start observing the kind of tech we get when just dumbly scale up bruteforce-ish methodsall the usual MIRI arguments hold just finelike machine learningand you observe somehow nobody publishing insights as to how to make those systems agentic or consequentialistic.🟢

— that's kind of frightening!shinji🟡

— well, it's where we are. we already thought we were small in space, now we also know that we're also small in probabilityspace. the important part is that itritsukodoesn't particularly change what we should do— we should still try to save the world, in the most straightforward fashion possible.🟣

— so all the excited kids running around saying we have to figure out how to align language models or whatever…misato🟡

— they're chasing a chimera. impressive LLMs are not what we observe because they're what powerful AI looks like — they're what we observe because they're what powerful AIritsukolook like. they're there because that's as impressive as you can get short of something that kills everyone.doesn't🟣

— i'm not sure most timelines are dead yet, though.misato🟡

— we don't know if "most" timelines are alive or dead from agentic AI, but we know that however many are dead, we couldn't have known about them. if every AI winter was actually a bunch of timelines dying, we wouldn't know.ritsuko🟣

— you know, this doesn't necessarily seem so bad. considering that confused alignment people is what's caused the appearance of the three organizations trying to kill everyone as fast as possible, maybe it's better that alignment research seems distracted with things that aren't as relevant, rather than figuring out agentic AI.misato🟡

— you can say that alright! there's already enough capability hazards being carelessly published everywhere as it is, including on lesswrong. if people were looking in the direction of the kind of consequentialist AI that actually determines the future, this could cause a lot of damage. good thing there's a few very careful people here and there, studying theritsukorightthing, but being very careful by not publishing any insights. but this is indeed the kind of AI we need to figure out if we are to save the world.🟢

— whatever kind of anthropic shenanigans are at play here, they sure seem to be saving our skin! maybe we'll be fine because of quantum immortality or something?shinji🟣

— that's not how things work shinji. quantum immortality explains how you got here, but doesn't help you save the future.misato🟢

shinjisighs, with a defeated look on his face— …so we're back to the good old MIRI alignment, we have to perfectly specify human values as a utility functionandfigure out how to align AI to it? this seems impossible!🟡

— well, that's where things get interesting! now that we're talking about coherent agents whose actions we can reason about, agents whose instrumentally convergent goals such as goal-content integrity would be beneficial if they were aligned, agents who won't mysteriously turn bad eventually because they're not yet coherent agents, we can actuallyritsukoget to work putting something together.🟣

— …and that's what you've been doing?misato🟡

— well, that's kind of what agent foundations had been about all along, and what got rediscovered elsewhere as "formal-goal alignment": designing an aligned coherent goal and figuring out how to make an AI that is aligned to maximizing it.ritsuko## 2. embedded agency & untractability

🟢

— so what's your idea? i sure could use some hope right now, though i have no idea what an aligned utility function would evenshinjilook like. i'm not even sure what kind oftype signatureit would have!🟡

ritsukosmirks— so, the first important thing to realize is that the challenge of designing an AI that emits output which save the world, can be formulated like this: design an AI trying to solve a mathematical problem, and make the mathematical problem be analogous enough to "what kind of output would save the world" that the AI, by solving it, happens to also save our world.🟢

— but what does that actuallyshinjilook like?🟣

— maybe it looks like "what output should you emit, which would cause your predicted sequence of stimuli to look like a nice world?"misato🟡

— what do you think actually happens if an AI were to succeed at this?ritsuko🟣

— oh, i guess it would hack its stimuli input, huh. is there even a way around this problem?misato🟡

— what you're facing is a facet of the problem ofritsukoembedded agency. you must make an AI which thinks about the world which contains it, not just about a system that it feels like it is interacting with.🟡

— the answer — as in PreDCA — is to model the world from the top-down, and ask: "look into this giant universe. you're in there somewhere. which action should the you-in-there-somewhere take, for this world to have the most expected utility?"ritsuko🟢

— expected utility? by what utility function?shinji🟡

— we're coming to it, shinji. there are three components to this: theritsukoformal-goal-maximizing AI, theformal-goal, and theglue in-between. embedded agency and decision theory are parts of this glue, and they're core to how we think about the whole problem.🟣

— and this top-down view works? how the hell would it computemisatothe whole universe? isn't that uncomputable?🟡

— how the hell do you expect AI would have done expected utility maximizationritsukoat all? by makingreasonable guesses. i can't compute the whole universe from the big-bang up to you right now, but if you give me a bunch of math which i'd understand to say "in worlds being computed forwards starting at some simple initial state and eventually leading to this room right now with shinji, misato, ritsuko in it, what is shinji more likely to be thinking about: his dad, or the pope's uncle?"🟡

— on the one hand, the question is immensely computationally expensive — it asks to compute the entire history of the universe up to this shinji! but on the other hand, it is talking about a world whichritsukowe inhabit, and about which we have the ability to makereasonable guesses. if we build an AI that is smarter than us, you can bet it'll bet able to make guesses at least as well as this.🟣

— i'm not convinced. after all, we relied on humans to make this guess! of course you can guess about shinji, you're a human like him. why would the AI be able to make those guesses, being the alien thing that it is?misato🟡

— i mean, one of its options is toritsukoask humans around. it's not like it has to do everything by itself on its single computer, here — we're talking about the kind of AI that agentically saves the world, and has access to all kinds of computational resources, including humans if needed. i don't think it'llactuallyneed to rely on human compute a lot, but the fact that itcanserves as a kind of existence proof for its ability to produce reasonable solutions to these problems. not optimal solutions, but reasonable solutions — eventually, solutions that will be much better than any human or collection of humans could be able to come up with short of getting help from aligned superintelligence.🟢

— but what if the worlds that are actually described by such math are not in fact this world, but strange alien worlds that look nothing like ours?shinji🟡

— yes, this is also part of the problem. but let's not keep moving the goalpost here. there are two problems:ritsukomake the formal problem point to the right thing (the right shinji in the right world), andmake an AI that is good at finding solutions to that problem. both seem like we can solve them with some confidence; but we can't just keep switching back and forth between the two.🟡

— if you have to solve two problems A and B, then you have to solve A assuming B is solved, and then solve B assuming A is solved. then, you've got a pair of solutions which work with one another. here, we're solving the problem of whether an AI would be able to solve this problem,ritsukoassumingthe problem points to the right thing; later we'll talk about how to make the problem point to the right thingassumingwe have an AI that can solve it.🟢

— are there anyshinjiactual implementation ideasfor how to build such a problem-solving AI? it sure sounds difficult to me!🟣

,misatocarefully peeking into the next room— hold on. i'm not actually quite sure who's listening — it is known that capabilities people like to lurk around here.🟤

kajican be seen standing against a wall, whistling, pretending not to hear anything.🟡

— right. one thing i will reiterate, is that we should not observe a published solution to "how to get powerful problem-solving AI" before the world is saved. this is in the class of problems which we die shortly after a solution to it is found and published, so our lack of observing such a solution is not much evidence for its difficulty.ritsuko## 3. one-shot AI

🟡

— anyways, to come back to embedded agency.ritsuko🟣

— ah, i had a question. the AI returns a first action which it believes would overall steer the world in a direction that maximizes its expected utility. and then what? how does it get its observation, update its model, and take the next action?misato🟡

— well, there are a variety of clever schemes to do this, but an easy one is to justritsukonot.🟣

— what?misato🟡

— to justritsukonot do anything after the first action. i think the simplest thing to build is what i call a "one-shot AI", which halts after returning an action. and then we just run the action.🟢

— "run the action?"shinji🟡

— sure. we can decide in advance that the action will be a linux command to be executed, for example. the scheme does not really matter, so long as the AI gets an output channel which has pretty easy bits of steering the world.ritsuko🟣

— hold on, hold on. a single action? what do you intend for the AI to do, output a really good pivotal act and then hope things get better?misato🟡

— have a little more imagination! our AI — let's call it AI₀ — will almost certainly return a single action thatritsukobuilds and then launches another, better AI, which we'll call AI₁. a powerful AI can absolutely do this, especially if it has the ability to read its own source-code for inspiration, but probably even without that.🟡

— …and because it's solving the problem "what action would maximize utility when inserted into this world", it will understand that AI₁ needs to have embedded agency and the various other aspects that are instrumental to it — goal-content integrity, robustly delegating RSI, and so on.ritsuko🟢

— "RSI"? what's that?shinji🟣

misatosighs— you know, it keeps surprising me how many youths don't know about the acronym RSI, which stands for Recursive Self-Improvement. it's pretty indicative of how little they're thinking about it.🟢

— i mean, of course! recursive self-improvement is an obsolete old MIRI idea that doesn't apply to the AIs we have today.shinji🟣

— right, kids like you got into alignment by being spooked by chatbots. (what silly things do they even teach you in class these days?)misato🟣

— you have to realize that the generation before you, the generation of ritsuko and i, didn't have the empirical evidence that AI was gonna be impressive. we started on something like the empty string, or at least coherent arguments where we had to actually build a gears-level inside-view understanding of what AI would be like, and what it would be capable of.misato🟣

— to me, one of the core arguments that sold me on the importance of AI and alignment was recursive self-improvement — the idea thatmisatoAI being better than humans at designing AIwould be a very special, very critical point in time, downstream of which AI would be able to beat humans at everything.🟢

— but this turned out irrelevant, because AI is getting better than humansshinjiwithoutRSI–🟡

— again, false. we canritsukoonlyobserve AI getting better than humans at intellectual taskswithoutRSI, because when RSI is discovered and published, we die very shortly thereafter. you have a sort of consistent survivorship bias, where you keep thinking of a whole class of things asirrelevantbecause they don't seem impactful, when in reality they'rethe mostimpactful; they'resoimpactful that when they happen you die and are unable to observe them.## 4. action scoring

🟣

— so, i think i have a vague idea of what you're saying, now. top-down view of the universe, which is untractable but that's fine apparently, thanks to some mysterious capabilities; one-shot AI to get around various embedded agency difficulties. what's the actual utility function to align to, now? i'm really curious. i imagine a utility function assigns a value between 0 and 1 to any, uh, entire world? world-history? multiverse?misato🟡

— it assigns a value between 0 and 1 to anyritsukodistribution of worlds, which is general enough to cover all three of those cases. but let's not get there yet; remember how the thing we're doing is untractable, and we're relying on an AI that can make guesses about it anyways? we're gonna rely on that fact a whole lot more.🟣

— oh boy.misato🟡

— so, first: we're not passing aritsukoutility function. we're passing amath expressiondescribing an"action-scoring function"— that is to say, a function attributing scores toactionsrather than todistributions over worlds. we'll make the program deterministic and make it ignore all input, such that the AI has no ability to steer its result — its true result is fully predetermined, and the AI has no ability to hijack that true result.🟣

— wait, "hijack it"? aren't we assuming an inner-aligned AI, here?misato🟡

— i don't like this term, "inner-aligned"; just like "AGI", people use it to mean too many different and unclear things. we're assuming an AI which does its best to pick an answer to a math problem. that's it.ritsuko🟡

— we don't make an AI which tries to not be harmful with regards to its side-channels, such as hardware attacks — except for its output, it needs to be strongly boxed, such that it can't destroy our world by manipulating software or hardware vulnerabilities. similarly, we don't make an AI which tries to output a solution weritsukolike, it tries to output a solution whichthe math would score high. narrowing what we want the AI to do greatly helps us build the right thing, but it does add constraints to our work.🟡

ritsukostarts scribbling on a piece of paper on her desk— let's write down some actual math here. let's call Ω the set of world-states, ΔΩ distributions over world-states, and A be the set of actions.🟢

— what are the types of all of those?shinji🟡

— let's not worry about that, for now. all we need to assume for the moment is that those sets are countable. we could define both Ω≔B∗ and A≔B∗ — define them both as the set of finite bitstrings — and this would functionally capture all we need. as for distributions over world-states ΔΩ, we'll define ΔX≔{f|f∈X→[0;1],x∑x∈Xf(x)≤1} for any countable set X, and we'll call "mass" the number which a distribution associates to any element.ritsuko🟣

— woah, woah, hold on, i haven't looked at math in a while. what do all those squiggles mean?misato🟡

— ΔX is defined as the set of functions f, which take an X and return a number between 0 and 1, such that if you take the f of all x's in X and add those up, you get a number not greater than 1. note that i use a notation of sums ∑ where the variables being iterated over are above the ∑ and the constraints that must hold are below it — so this sum adds up all of the f(x) for each x such that x∈X.ritsuko🟣

— um, sure. i mean, i'm not quite sure what thismisatorepresentsyet, but i guess i get it.🟡

— the set ΔX of distributions over X is basically like saying "for any finite amounts of mass less than 1, what are some ways to distribute that mass among some or all of the X's?" each of those ways is a distribution; each of those ways is an f in ΔX.ritsuko🟡

— anyways. the AI will take as input an untractable math expression of type A→[0;1], and return a single A. note that we're in math here, so "is of type" and "is in set" are really the same thing; we'll use ∈ to denote both set membership and type membership, because they're the same concept. for example, A→[0;1] is the set of all functions taking as input an A and returning a [0;1] — returning a real number between 0 and 1.ritsuko🟢

— hold on, ashinjirealnumber?🟡

— well, a real number, but we're passing to the AI a discrete piece of math which will only ever describe countable sets, so we'll only ever describe countably many of those real numbers. infinitely many, but countably infinitely many.ritsuko🟣

— so the AI has type (A→[0;1])→A, and we pass it an action-scoring function of type A→[0;1] to get an action. checks out. where do utility functions come in?misato🟡

— they don't need to come in at all, actually! we'll be defining a piece of math which describes the world for the purpose of pointing at the humans who will decide on a scoring function, but the scoring function will only be overritsukoactions the AI should take.🟡

— the AI doesn't need to know that its math points to the world it's in; and in fact, conceptually, it isn'tritsukotoldthis at all. on afundamental, conceptualmanner, it is not being told to care about the world it's in — if it could, itwouldtake over our world and kill everyone in it to acquire as much compute as possible, and plausibly along the way drop an anvil on its own head because it doesn't have embedded agency with regards to the world around itself.🟡

— we will just very carefully box it such that its only meaningful output into our world, the only bits of steering it can predictably use, are those of the action it outputs. and we will also have very carefully designed it such that the only thing it ultimately cares about, is that that output have as high of an expected scoring as possible — it will care about thisritsukointrinsically, andnothing else intrinsically, such that doing that will bemoreimportant than hijacking our world through that output.🟡

— this meaning of "inner-alignment" is still hard to accomplish, but it is much better defined, much narrower, and thus hopefully much easier to accomplish than the "full" embedded-from-the-start alignments which very slow, very careful corrigibility-based AI alignment would result in.ritsuko## 5. early math & realityfluid

🟣

— so what does that scoring function actually look like?misato🟡

— you know what, i hadn't started mathematizing my alignment idea yet; this might be a good occasion to get started on that!ritsuko🟡

ritsukowheels in a whiteboard— so, what i expect is that the order in which we're gonna go over the math is going to be theopposite orderto that of the final math report on QACI. here, we'll explore things from the top-down, filling in details as we go — whereas the report will go from the bottom-up, fully defining constructs and then using them.Prior∈ΔHypothesisLooksLikeThisWorld∈Hypothesis→[0;1]HowGood∈A→[0;1]hScore(action)≔∑Prior(h)⋅LooksLikeThisWorld(h)⋅HowGood(action,h)h∈Hypothesis

🟡

— this is roughly what we'll be doing here. go over all hypotheses h the AI could have within some set of hypotheses, called Hypothesis; measure their Prior probability, the LooksLikeThisWorld that they correspond to our world, and how good the action are in them. this is the general shape ofritsukoexpected scoring for actions.🟢

— wait, the set of hypotheses is called Hypothesis, not Hypotheses? that's a bit confusing.shinji🟡

— this is pretty standard in math, shinji. the reason to call the set of hypotheses Hypothesis is because, as explained before, sets are also types, and so LooksLikeThisWorld will be of type Hypothesis→[0;1] rather than Hypotheses→[0;1].ritsuko🟣

— what's in a Hypothesis, exactly?misato🟡

— the set ofritsukoall relevant beliefs about things. or rather, the set of all relevant beliefs except for logical facts. logical uncertainty will be a thing on the AI's side, not in the math — this math lives in the realm "platonic perfect true math", and the AI will have beliefs about what its various parts tend to result in as one kind of logical belief, just like it'll have beliefs about other logical facts.🟣

— so, a mathematical object representing empirical beliefs?misato🟡

— i would rather put it as a pair of:ritsukobeliefs about what's real("realityfluid" beliefs); andbeliefs about where, in the set of real things, the AI is("indexical" beliefs). but this can be simplified by allocating realityfluid acrossallmathematical/computational worlds (this is equivalent to assuming tegmark the level 4 multiverse is real, and can be done by assuming the cosmos to be a "universal complete" program running all computations) and then all beliefs are indexical. these two possibilities work out to pretty much the same math, anyways.🟢

— what the hell is "realityfluid"???shinji🟡

— it's a very long story, i'm afraid.ritsuko🟣

— think of it as a measure of how some constant amount of "matteringness"/"realness" — typically 1 unit of it — is distributed across possibilities. even though it kinda mechanistically works like probability mass, it's "in the other direction": it represents what'smisatoactuallyreal, rather than representing what webelieve.🟢

— why would it sum to 1? what if there's an infinite amount of stuff out there?shinji🟣

— your realityfluid still needs to sum up to some constant. if you allocate an infinite amount of matteringness, things break and don't make sense.misato🟡

— indeed. this is why the most straightforward way to allocate realityfluid is to just imagine that the set of all that exists is a universal program whose computation is cut into time-steps each doing a constant amount of work, and then allocate some diminishing quantities of realityfluid to each time step.ritsuko🟣

— like saying that compute step number n≥1 has 12n realityfluid?misato🟡

— that would indeed normalize, but it diminishesritsukoexponentiallyfast. this makes world-states exponentially unlikely in the amount of compute they exist after; and there are philosophical reasons to say that exponential unlikelyness is what should count as non-existing.🟢

— what the hell are you talking about??shinji🟡

ritsukohands shinji a paper called "Why Philosophers Should Care About Computational Complexity"— look, this is a whole other tangent, but basically, polynomial amounts of computation corresponds to "doing something", whereas exponential amounts of computation correspond to "magically obtaining something out of the ether", and this sort-of ramificates naturally across the rest of computational complexity applied to metaphysics and philosophy.🟡

— so instead, we can say that computation step number n≥1 has 1n2 realityfluid. this only diminishes quadratically, which is satisfactory.ritsuko🟡

— oh, and for the same reason, the universal program needs to be quantum — for example, it needs to be a quantum equivalent of the classical universal program but for quantum computation, implemented on something like a quantum turing machine). otherwise, unless BQP=BPP, quantum multiverses like ours might be exponentially expensive to compute, which would be strange.ritsuko🟢

— why n2? why not n1.01 or n37?shinji🟡

— those do indeed all normalize — but we pick 2 because at some point you just have toritsukopick something, and 2 is a natural, occam/solomonoff-simple number which works. look, just–🟢

— and why are we assuming the universe is made of discrete computation anyways? isn't stuff made of real numbers?shinji🟡

ritsukosighs— look, this is what the church-turing-deutsch principle is about. for any universe made up of real numbers, you can approximate it thusly:for 1 time step with 1 bit of precision, then 2 time steps with 2 bits of precision, then 3 with 3, and so on. for any piece of branch-spacetime which is only finitely far away from the start of its universe, there exists a threshold at which it starts being computed in a way that is indistinguishable from the version with real numbers.

🟢

— but they're only an approximation of us! they're notshinjithe real thing!🟡

ritsukosighs— you don'tknowthat. you could be the approximation, and you would be unable to tell. and so, we can work without uncountable sets of real numbers, since they're unnecessary to explain observations, and thus an unnecessary assumption to hold about reality.🟢

,shinjifrustrated— iguess. it still seems pretty contrived to me.🟡

— what else are you going to do? you're expressing things inritsukomath, which is made ofdiscrete expressionsand will only ever expresscountable quantities of stuff.there is no uncountableness to grab at and use.🟣

— actually, can't we introduce turing jumps/halting oracles into this universal program? i heard that this lets usmisatoactually computereal numbers.🟡

— there's kind-of-a-sense in which that's true. we could say that the universal program has access to a first-degree halting oracle, or a 20th-degree; or maybe it runs for 1 step with a 1st degree halting oracle, then 2 steps with a 2nd degree halting oracle, then 3 with 3, and so on.ritsuko🟡

— your program is now capable, at any time step, of computing an infinite amount of stuff. let's say one of those steps happens to run an entire universe of stuff, including a copy of us. how do you sub-allocate realityfluid? how much do we expect to be in there? you could allocate sub-compute-steps — with a 1st degree halting oracle executing at step n≥1, you allocate 1n2m2 realityfluid to each of the m≥1 infinite sub-steps in the call to the halting-oracle. you're just doing discrete realityfluid allocation again, except now your some of the realityfluid in your universe is allocated at people who have obtained results from a halting oracle.ritsuko🟡

— this works, but what does it get you? assuming halting oracles is kind of a very strange thing to do, and regular computation with no halting oracles isritsukoalreadysufficient to explain this universe. so we don't. but sure, we could.🟢

shinjiruminates, unsure where to go from there.🟣

misatointerrupts— hey, do we really need to cover this? let's say you found out that this whole view of things is wrong. could you fix your math then, to whatever is the correct thing?🟡

ritsukowaves around— what?? what do you meanif it's wrong?? i'm not rejecting the premise that i might be wrong here, but like, my answer here depends a lot onin what way i'm wrongandwhat is the better / more likely correct thing. so, i don't know how to answer that question.🟣

misatosnaps shinji back to attention— that's fair enough, i guess. well, let's get back on track.## 6. precursor assistance

🟡

— so, one insight i got for my alignment idea came from PreDCA, which stands forritsukoPrecursorDetection,Classification, andAssistance. it consists of mathematizations for:Precursor". this is supposed to find the human user who built/launched the AI. (Detection)Classification)Assistance)🟣

— what the hell kind of math would accomplish that?misato🟡

— well, it's not entirely clear to me. some of it is explained, other parts seem like they're expected to just work naturally. in any case, this isn't so important — the "Learning Theoretic Agenda" into which PreDCA fits is not fundamentally similar to mine, and i do not expect it to be the kind of thing that saves us in time. as far as i predict, that agenda has purchased most of the dignity points it will have cashed out when alignment is solved, when it inspired my own ideas.ritsuko🟢

— andshinjiyouragenda saves us in time?🟡

— a lot more likely so, yes! for one, i am not trying to buildritsukoan entire theory of intelligence and machine learning, and i'm not trying to develop anelegant new form of bayesianismwhose model of the world has concerning philosophical ramifications which, while admittedly possibly only temporary, make me concerned about the coherency of the whole edifice. whatiam trying to do, is hack together the minimum viable world-saving machine about which we'd have enough confidence thatlaunching it is better expected value than not launching it.🟡

— anyways, the important thing is that that idea made me think "hey, what else could we do to even more make sure the selected precursor is the human use we want, and not something else like a nearby fly or the process of evolution?" and then i started to think of some clever schemes for locating the AI in a top-down view of the world, without having to decode physics ourselves, but rather by somehow pointing to the user "through" physics.ritsuko🟣

— what does that mean, exactly?misato🟡

— well, remember how PreDCA points to the user from-the-top-down? the way it tries to locate the user is by looking forritsukopatterns, in the giant computation of the universe, which satisfy these criteria. this fits in the general notion of generalized computation interpretability, which is fundamentally needed to care about the world because you want to detect not just simulated moral patients, butarbitrarily complexly simulatedmoral patients. so, you need this anyways, and it is what "looking inside the world to find stuff, no matter how it's encoded" looks like.🟣

— and what sort of patterns are we looking for? what are themisatotypeshere?🟡

— as far as i understand, PreDCA looks forritsukoprograms, orcomputations, which take some input and return an policy. my own idea is to locate something less abstract, about which we can actually have information-theoretic guarantees:bitstrings.🟣

— …just raw bitstrings?misato🟡

— that's right. the idea here is kinda like doing an incantation, except the incantation we're locating is a very large piece of data which is unlikely to be replicated outside of this world. imagine generating a very large (several gigabytes) file, and then asking the AI "look for things of information, in the set of all computations, which look like that pattern." we call "blobs" such bitstrings serving as *anchors into to find our world and location-within-it in the set of possible world-states and locations-within-them.ritsuko## 7. blob location

🟡

— for example, let's say the universe is a conway's game of life. then, the AI could have a set of hypotheses as programs which take as input the entire state of the conway's game of life grid at any instant, and returning a bitstring which must be equal to the blob.ritsuko🟡

— first, we define Ω≔{ω|ω∈P(Z2),#ω∈N} (uppercase omega, a set of lowercase omega) as the set of "world-states" — states of the grid, defined as the set of cell positions whose cell is alive.ritsuko🟢

— what's P(Z2) and #ω?shinji🟡

— Z2 is the set of pairs whose elements are both a member of Z, the set of relative integers. so Z2 is the set of pairs of relative integers — that is, grid coordinates. then, P(Z2) is the set of subsets of Z2. finally, #w is the size of set w — requiring that #w∈N is akin to requiring that w is a finite set, rather than infinite. let's also define:ritsuko🟡

— what do you think "locate blob b∈B∗ in world-state ω∈Ω" could look like, mathematically?ritsuko🟣

— let's see — i can use the set of bitstrings of same length as b, which is B|b|. let's build a set of {f|f∈Ω→B|b|…misato🟢

— wait, Ω→B|b| is the set ofshinjifunctionsfrom Ω to B|n|. but we were talking aboutprogramsfrom Ω to B|b|. is there a difference?🟡

— this is a very good remark, shinji! indeed, we need to do a bit more work; for now we'll just posit that for any sets A,B, AH→B is the set of always-halting, always-succeeding programs taking as input an A and returning a B.ritsuko🟣

— let's see — what about {f|f∈ΩH→B|b|,f(ω)=b}?misato🟡

— you're starting to get there — this is indeed the set of programs which return b when taking ω as input. however, it's merely aritsukoset— it's not very useful as is. what we'd really want is adistributionover such functions. not only would this give aweightto different functions, but summing over the entire distribution could also give us some measure of "how easy it is to find b in ω. remember the definition of distributions, ΔX?🟢

— oh, i remember! it's the set of functions in X→[0;1] which sum up to at most one over all of X.shinji🟡

— indeed! so, we're gonna posit what i'll callritsukokolmogorov simplicity, K−X∈ΔX∩X→(0;1), which is like kolmogorov complexity except that it's adistribution, never returns 0 nor 1 for a single element, and importantly it returns something like theinverseof complexity. it gives some amount of "mass" to every element in some (countable) set X.🟣

— oh, i know then! the distribution, for each f∈ΩH→B|b|, must return {K−ΩH→B∗(f)iff(ω)=b0iff(ω)≠bmisato🟡

— that's right! we can start to define Locn∈Ω×Bn→ΔΩH→Bn as the function that takes as input a pair of world-state ω∈Ω and blob b∈Bn of length n, and returns a distribution over programs that "find" b in ω. plus, since functions f are weighed by their kolmogorov simplicity, for complex b's they're "encouraged" to find the bits of complexity of britsukoinω, rather than those bits of complexity being contained in f itself.🟡

— note also that this Locn distribution over ΩH→Bn returns, for any function f, either K−ΩH→Bn or 0, which entails that for any given ω,b, the sum of Locn(ω,b)(f) for all f's sums up to less than one — that sum represents in a sense "how hard it is to find b in ω" or "the probability that b is somewhere in ω".ritsukof∀(ω,b)∈Ω×Bn:∑Locn(ω,b)(f)<1f∈ΩH→Bn

🟡

— the notation here, Locn(ω,b)(f) is because Locn(ω,b) returns a distribution ΔΩH→Bn, which is itself a function (ΩH→Bn)→[0;1] — so we apply Loc to ω,b, and then we sample the resulting distribution on f.ritsuko🟢

— "the sum represents"? what do you mean by "represents"?shinji🟡

— well, it's the concept which i'm trying to find a "true name" for, here. "how much is the blob b located in world-state ω? well, as much of the sum of the kolmogorov simplicity of every program that returns b when taking as input ω".ritsuko🟣

— and then what? i feel like my understanding of how this ties into anything is still pretty loose.misato🟡

— so, we're actually gonna getritsukotwothings out of Loc: we're gonna gethow much ω contains b(as the sum of Loc for all f's), but we're also gonna gethow to get another world-state that is like ω, except that b is replaced with something else.🟢

— how are we gonna getshinjithat??🟡

— here's my idea: we're gonna make f(ω) return not just B∗ but rather Bn×B∗ — a pair of the blob of a "free bitstring" τ (tau) which it can use to store "everything in the world-state except b". and we'll also sample programs g∈Bn×B∗H→Ω which "put the world-state back together" given the same free bitstring, and aritsukopossibly differentcounterfactual blob than b.🟣

— so, for ω,b, Loc is defined as something like…misatoLocn(ω,b)∈Δ(ΩH→Bn×B∗)×(Bn×B∗H→Ω)Locn(ω,b)(f,g)≔⎧⎨⎩K−ΩH→Bn×B∗(f)⋅K−Bn×B∗H→Ω(g)if{letτ∈B∗such thatf(ω)=(b,τ)ing(b,τ)=ω0otherwise

🟢

shinjistares at the math for a while— actually, shouldn't the if statement be more general? you don't just want g to work on b, you want g to work onany other blob of the same length.🟡

— that's correct shinji! let's call the original blob b the "factual blob", let's call other blobs of the same length we could insert in its stead "counterfactual blobs" and write them as b′ — we can establish that ′ (prime) will denote counterfactual things in general.ritsuko🟣

— so it's more like…misato{letτ∈B∗such thatf(ω)=(b,τ)in∀b′∈Bn:g(b′,τ)=…

🟣

— …g(b′,τ) should equal, exactly?misato🟡

— we don't know what it should equal, but we do knowritsukosomethingabout what it equals: f should work on that counterfactual and find the same counterfactual blob again.{letτ∈B∗such thatf(ω)=(b,τ)in∀b′∈Bn:f(g(b′,τ))=(b′,τ)

🟡

— actually, let's make Locn be merely a distribution over functions that produce counterfactual world-states from counterfactual blobs Bn→Ω — let's call those "counterfactual insertion functions" and denote them γ and their set Γn (gamma) — and we'll encapsulate τ away from the rest of the math:ritsukof,g,τLocn(ω,b)(γ)≔∑K−ΩH→Bn×B∗(f)⋅K−Bn×B∗H→Ω(g)f∈ΩH→Bn×B∗g∈Bn×B∗H→Ωf(ω)=(b,τ)∀b′∈Bn:f(g(b′,τ))=(b′,τ)γ(b′)=g(b′,τ)

🟢

— isn't f(g(b′,τ))=(b′,τ) a bit circular?shinji🟡

— well, yes and no. it leaves a lot of degrees of freedom to f and g, perhaps too much. let's say we had some function SimilarPasts∈Ω×Ω→[0;1] — let's not worry about how it works. then could weigh each "blob location" by how much counterfactual world-states are similar, when sampled over all counterfactual blobs.ritsuko🟣

— maybe we should also constrain the f,g programs for how long they take to run?misato🟡

— ah yes, good idea. let's say that for x∈X and f∈XH→Y, R(f,x)∈N∖{0} is how long it takes to run program f on input x, in some amount of steps each doing a constant amount of work — such as steps of compute in a turing machine.ritsukof,g,τb′Locn(ω,b)(γ)≔∑K−ΩH→Bn×B∗(f)⋅K−Bn×B∗H→Ω(g)⋅∑1#Bn⋅SimilarPasts(ω,g(b′,τ))R(g,(b′,τ))+R(f,g(b′,γ))f∈ΩH→Bn×B∗b′∈Bng∈Bn×B∗H→Ωf(ω)=(b,τ)∀b′∈Bn:f(γ(b′))=(b′,τ)γ(b′)=g(b′,τ)

🟡

— (i've also replaced f(g(b′,τ)) with f(γ(b′)) since that's shorter and they're equal anyways)ritsuko🟣

— where does the first sum end, exactly?misato🟡

— it applies to the whole– oh, you know what, i can achieve the same effect by flattening the whole thing into a single sum. and renaming the b′ in ∀b′∈Bn to b′′ to avoid confusion.ritsukof,g,τ,b′Locn(ω,b)(γ)≔∑K−ΩH→Bn×B∗(f)⋅K−Bn×B∗H→Ω(g)⋅1#Bn⋅SimilarPasts(ω,g(b′,τ))R(g,(b′,τ))+R(f,g(b′,τ))f∈ΩH→Bn×B∗g∈Bn×B∗H→Ωb′∈Bnf(ω)=(b,τ)∀b′′∈Bn:f(γ(b′′))=(b′′,τ)γ(b′′)=g(b′′,τ)

🟢

— are we still operating in conway's game of life here?shinji🟡

— oh yeah, now might be a good time to start generalizing. we'll carry around not just world-states ω∈Ω, butritsukoinitial world-statesα∈Ω (alpha). those are gonna determine the start ofuniverses— distributions of world-states being computed-over-time — and we'll use them when we're computing world-states forwards or comparing the age of world-states. for example SimilarPasts probably needs this, so we'll need to pass it to Locn which will now be of type Ω×Ω×Bn→ΔΓn:f,g,τ,b′Locn(α,ω,b)(γ)≔∑K−ΩH→Bn×B∗(f)⋅K−Bn×B∗H→Ω(g)⋅1#Bn⋅SimilarPastsα(ω,g(b′,τ))R(g,(b′,τ))+R(f,g(b′,τ))f∈ΩH→Bn×B∗g∈Bn×B∗H→Ωb′∈Bnf(ω)=(b,τ)∀b′′∈Bn:f(γ(b′′))=(b′′,τ)γ(b′′)=g(b′′,τ)

## 8. constrained mass notation

🟢

— i notice that you're multiplying together your "kolmogorov simplicities" and 1#Bn and now SimilarPasts divided by a sum of how long they take to run. what's going on here exactly?shinji🟡

— well, each of those number is a "confidence amount" — scalars between 0 and 1 that say "how much doesritsukothisiteration of the sum capture the thing we want", like probabilities. multiplication ⋅ is like the logical operator "and" ∧ except for confidence ratios, you know.🟢

— ah, i see. so these sums do something kinda like "expected value" in probability?shinji🟡

— something kinda like that. actually, this notation is starting to get unwieldy. i'm noticing a bunch of this pattern: x∑SomeDistribution(x)⋅expressionx∈SomeSetritsuko🟣

— so, if you want to use the standard probability theory notations, you need random variables which–misato🟡

— ugh, iritsukodon't likerandom variables, because the place at which they get substituted for the sampled value is ambiguous. here, i'll define my own notation:v1,…,vpv1,…,vpM[V]≔∑X1(x1)⋅…⋅Xn(xn)⋅Vx1:X1x1∈domain(X1)⋮⋮xn:Xnxn∈domain(Xn)C1C1⋮⋮CmCm

🟡

— M will stand for "constrained mass", and it's basically syntactic sugar for sums, where x:X means "sum over x∈domain(X) (where domain returns the set of arguments over which a function is defined), and then multiply each iteration of the sum by X(x)". now, we just have to define uniform distributions over finite sets as…ritsuko🟢

— UniformX(x)≔1#X for finite set X?shinji🟡

— that's it! and now, Loc is much more easily written down:ritsukof,g,τ,b′Locn(α,ω,b)(γ)≔M[SimilarPastsα(ω,g(b′,τ))R(g,(b′,τ))+R(f,g(b′,τ))]f:K−ΩH→Bn×B∗g:K−Bn×B∗H→Ωb′:UniformBnf(ω)=(b,τ)∀b′′∈Bn:f(γ(b′′))=(b′′,τ)γ(b′′)=g(b′′,τ)

🟢

— huh. you know, i'm pretty skeptical of you inventing your own probability notations, but thisshinjiismuch more readable, when you know what you're looking at.🟣

— so, are we done here? is this blob location?misato🟡

— well, i expect that some thing are gonna come up later that are gonna make us want to change this definition. but right now, the only improvement i can think of is to replace f:K−ΩH→Bn×B∗ and g:K−Bn×B∗H→Ω with (f,g):K−(ΩH→Bn×B∗)×(Bn×B∗H→Ω).ritsuko🟣

— huh, what's the difference?misato🟡

— well, now we're sampling f,g from kolmogorov simplicityritsukoat the same time, which means that if there is some large piece of information that they both use, they won't be penalized for using it twice but only once — a tuple containing two elements which have a lot of information in common only has that information counter once by K−.🟣

— and we want that?misato🟡

— yes! there are some cases where we'd want two mathematical objects to have a lot of information in common, and other places where we'd want them to not need to be dissimilar. here, it is clearly the former: we want the program that "deconstructs" the world-state into blob and everything-else, and the function that "reconstructs" a new world-state from a counterfactual blob and the same everything-else, to be able to share information as to how they do that.ritsuko## 9. what now?

🟢

— so we've put together a true name for "piece of data in the universe which can be replaced with counterfactuals". that's pretty nifty, i guess, but what do we do with it?shinji🟡

— now, this is where the core of my idea comes in: in the physical world, we're gonna create a random unique enough blob on someone's computer. then we're going to, still in the physical world, read its contents right after generating it. if it looks like a counterfactual (i.e. if it doesn't look like randomness) we'll create another blob of data, which can be recognized by Loc as an answer.ritsuko🟢

— what does that entail, exactly?shinji🟡

— we'll have created a piece ofritsukoreal, physical world, which lets use use Loc to get thetrue name, in pure math, of "what answer would that human person have produced to this counterfactual question?"🟣

— hold on — we already have this. the AI can already have an interface where it asks a human user something, and waits for our answer. and the problem with that is that, obviously, the AI hijacks us or its interface to get whatever answer makes its job easiest.misato🟡

— aha, but this is different! we can point at a counterfactual question-and-answer chunk-of-time (call it "question-answer counterfactual interval", or "QACI") which isritsukobeforethe AI's launch, in time. we can mathematicallydefineit as being in the past of the AI, by identifying the AI with some other blob which we'll also locate using Loc, and demand that the blob identifying the AI becausally afterthe user's answer.🟣

— huh.misato🟡

— that's another idea i got from PreDCA — making the AI pursue the values ofritsukoa static version of its user in its past, rather than its user-over-time.🟢

— but we don't want the AI to lock-in our values, we want the AI to satisfy our values-as-they-evolve-over-time, don't we?shinji🟣

— well, shinji, there's multiple ways to phrase your mistake, here. one is that, actually, you do — but if you're someonemisatoreasonable, then the values you endorse are some metaethical system which is able to reflect and learn about what's good, and to let people and philosophy determine what can be pursued.🟣

— but youmisatodohave values you want to lock in. your meta-values, your metaethics, you don't wantthoseto be able to change arbitrarily. for example, you probly don't want to be able to become someone who wants everyone to maximally suffer. those endorsed, top-level, metaethics meta-values, are something youdowant to lock in.🟡

— put it another way: if you're reasonable, then if the AI asks you what you want inside the question-answer counterfactual interval, you won't answer "i want everyone to be forced to watch the most popular TV show in 2023". you'll answer something more like "i want everyone to be able to reflect on their own values and choose what values and choices they endorse, and how, and that the field of philosophy can continue in these ways in order to figure out how to resolve conflicts", or something like that.ritsuko🟣

— wait, if the AI is asking the user counterfactual questions, won't it ask the user whatever counterfactual question brainhacks the user into responding whatever answer makes its job easiest? it can just hijack the QACI.misato🟡

— aha, but we don't have to haveritsukothe AIformulate answers! we could do something like: make the initial question some static question like "please produce an action that saves the world", and then the user thinks about it for a bit, returns an answer, and that answer is fed back into another QACI to the user. this loops until one of the user responds with an answer which starts with a special string like "okay, i'm done for sure:", followed by a bunch of text which the AI will interpret as a piece of math describing a scoring over actions, and it'll try to output a utility function which maximizesthat.🟢

— so it's kinda like coherent extrapolated volition but for actions?shinji🟡

— sure, i think of it asritsukoan implementation of CEV. it allows its user to run a long-reflection process. actually, that long-reflection process even has the ability to use a mathematical oracle.🟣

— how doesmisatothatwork?## 10. blob signing & closeness in time

🟡

— so, let's define QACI as a function, and this'll clarify what's going on. q∈B∗ will be our initial random factual question blob. QACI∈Ω×Γ|q|×B|q|→ΔB|q| takes as parameter a blob location for the question — which, remember, comes in the form of a function you can use to produce counterfactual world-states with counterfactual blobs! — and a counterfactual question blob q′, and returns a distribution of possible answers r. it's defined as:ritsukoωr,γrQACI(α,γq,q′)(r)≔M[1]ωr:Ω→α(γq(q′))γr:Loc|q|(α,ωr,r)

🟡

— we're, for now just positing, that there is a function Ω→α∈Ω→ΔΩ (remember that α defines a hypothesis for the initial state, and mechanics, of our universe) which, given a world-state, returns a distribution of world-states that are in its future. so this piece of math samples possible future world-states of the counterfactual world-state where q was replaced with q′, and possible locations of possible answers in those world-states.ritsuko🟣

— M[1]? what doesmisatothatmean?🟡

— here, the fact that Locn(α,ω,b)ritsukodoesn't necessarily sum to 1— we say that itdoesn't normalize— means that QACI(α,γq,q′)(r) summed up over all r∈B|q| can be less than 1. in fact, this sum will indicate "how hard is it to find the answer r in futures of counterfactual world-states γq(q′)?" — and uses that as the distribution of answers.🟣

— hmmm. wait, this just finds whichever-answers-are-the-easiest-to-find. what guarantees that r looks likemisatoan answer at all?🟡

— this is a good point. maybe we should define something like Sign∈B∗→B|q| which, to any input "payload" of a certain length, associates a blob which is actually highly complex, because Sign embeds a lot of bits of complexity. for example, maybe Sign(π) (where π is the "payload") concatenates π together with a long cryptographic hash of π and of some piece of information highly entangled with our world-state.ritsukoωr,γrQACI(α,γq,q′)(πr)≔M[1]ωr:Ω→α(γq(q′))γr:Loc|q|(α,ωr,Sign(πr))

🟢

— we're not signing the counterfactual question q′, only the answer payload πr?shinji🟡

— that's right. signatures matter for blobs we'reritsukofinding; once we've found them, we don't need to sign counterfactuals to insert in their stead.🟣

— so, it seems to me like how Ω→ works here, is pretty critical. for example, if it contains a bunch of mass at world-states where some AI is launched, whether ours or another, then that AI will try to fill its future lightcone with answers that would match various Sign(πr)'s — so thatmisatoourAI would find those answers instead of ours — and make those answers be something that maximizetheirutility function rather than ours.🟡

— this is true! indeed, how we sample for Ω→ is pretty critical. how about this: first, we'll pass the distribution into Loc:ritsukoγrQACI(α,γq,q′)(πr)≔M[1]γr:Loc|q|(α,Ω→α(γq(q′)),Sign(πr))

🟡

— …and inside Locn, which is now of type Locn∈Ω×ΔΩ×Bn→ΔΓn, for any f,g we'll only sample world-states ω which have theritsukohighestmass in that distribution:f,g,ω,τ,b′Locn(α,δ,b)(γ)≔M[SimilarPastsα(ω,g(b′,τ))R(g,(b′,τ))+R(f,g(b′,τ))](f,g):K−(ΩH→Bn×B∗)×(Bn×B∗H→Ω)ω:λω:maxΔX(λω:Ω.{δ(ω)iff(ω)=(b,τ)0otherwise).δ(ω)b′:UniformBnf(ω)=(b,τ)∀b′′∈Bn:γ(b′′)=g(b′′,τ)f(γ(b′′))=(b′′,τ)

🟡

— the intent here is that for any way-to-find-the-blob f,g, we only sample the closest matching world-states in time — whichritsukodoesrely on Ω→ having higher mass for world-states that are closer in time. and hopefully, the result is that we pick enough instances of the signed answer blobs located shortly in time after the question blobs, that they're mostly dominated bythe human user answering them, rather than AIs appearing later.🟣

— can you disentangle the line where you sample ω?misato🟡

— sure! so, we write an anonymous function λω:X.δ(ω) — a distribution is a function, after all! — taking a parameter ω from the set X, and returning δ(ω). so this is going to be a distribution that is just like δ, except it's only defined for a subset of Ω — those in X.ritsuko🟡

— in this case, X is defined as such: first, take the set of elements ω∈Ω for which f(ω)=(b,τ). then, apply the distribution δ to all of them, and only keep elements for which they have the most δ (there can be multiple, if multiple elements have the same maximum mass!).ritsuko🟡

— oh, and i guess f(ω)=(b,τ) is redundant now, i'll erase it. remember that this syntax means "sum over the body for all values of f,g,ω,τ,b′ for which these constraints hold…", which means we can totally have the value of τ be bound inside the definition of ω like this — it'll just have exactly one value for any pair of f and α.ritsuko## 11. QACI graph

🟢

— why is QACI returning a distribution over answers, rather than picking the single element with the most mass in the distribution?shinji🟡

— that's a good question! in theory, it could be that, but we do want the user to be able to go to the next possible counterfactual answer if the first one isn't satisfactory, and the one after that ifritsukothat'sstill not helpful, and so on. for example: in the piece of math which will interpret the user's final result as a math expression, we want to ignore answers which don't parse or evaluate as proper math of the intended type.🟢

— so the AI is asking the counterfactual past-user-in-time to come up with a good action-scoring function in… however long a question-answer counterfactual interval is.shinji🟡

— let's say about a week.ritsuko🟢

— and this helps… how, again?shinji🟡

— well. first, let's posit EvalMathX∈B∗→{{x}|x∈X}∪{∅}, which tries to parse and evaluate a bitstring representing a piece of math (in some pre-established formal language) and returns either:ritsuko🟡

— we then define EvalMathΔX∈ΔΠ→X as a function that returns the highest-mass element of the distribution for which EvalMathX returns a value rather than the empty set. we'll also assume for convenience q′∗∈∗→B|q|, a convenience function which converts any mathematical object into a counterfactual blob B|q|. this isn't really allowed, but it's just for the sake of example here.ritsuko🟣

— okay…misato🟡

— so, let's say the first call is QACI(α,γq,q′∗("please produce a good action-scoring")). the user can returnritsukoany expression, as their action-scoring function — they can return λa:A.SomeUtilityMeasure(a) (a function taking an action a and returning some utility measure over it), but they can also return EvalMathΔU(QACI(α,γq,q′∗("here are some ideas: …"))) where U≔A→[0;1] is the set of action-scoring functions. they get tocall themselves recursively, and make progress in a sort of time-loop where they pass each other notes.🟣

— right, this is the long-reflection process you mentioned. and about the part where they get a mathematical oracle?misato🟡

— so, the user can return things like:ritsukoEvalMathΔU(QACI(α,γq,q′∗(SomeUncomputableQuery())))

EvalMathΔU(QACI(α,γq,q′∗(Halts(SomeProgram,SomeInput)))).

🟣

— huh. that's nifty.misato🟢

— what if some weird memetic selection effects happen, or what if in one of the QACI intervals, the user randomly gets hit by a truck and then the whole scheme fails?shinji🟡

— so, the user can set up giant giant acyclic graphs of calls to themselves, providing a lot of redundancy. that way, if any single node fails to return a coherent output, the next nodes can notice this and keep working with their peer's output.ritsuko🟡

— a small graph of QACI can be accomplished with something likeritsukoEvalMathΔU(QACI(α,γq,q′∗(EvalMathΔU(QACI(α,γq,q′∗("what about this…"))),EvalMathΔU(QACI(α,γq,q′∗("what about that…"))))))

🟡

— and you can imagine how this could be extended to a larger structure such as:ritsuko## 12. fictional agents

🟢

— wait a minute; what if the QACI user goes crazy from realizing that they'reshinjifictional, inside an AI's hypothesis, rather than in the physical world-state? especially if they have access to a goddamn math oracle.🟡

— ah. uuh. well, don't panic shinji, but,ritsukowe are fictional. right now.🟢

shinjistarts flailing around.🟣

— what the hell are you talking about?misato🟡

— misato, come on. we're inside a crazy high-tech compound designed to build and maintain giant robots to fight alien creatures,ritsukoandwe're discussing the entirely unrelated topic of AI alignment. oh, and, uh, there's this:🔵

reiappears in front of them and waves at the camera.🟣

— …so, why are we talking about alignment, instead of, i don't know, trying to escape?misato🟡

— misato, this isritsukofiction, you don'tescape. instead, you reason about what agents are writing your fiction. based on prior, we should vaguely guess that they're like us, and that the conversation we're having is useful for them to write a fiction about. my guess is, we're a fiction written by someone who's trying to communicate ideas about AI alignment and, for some godforsaken reason i cannot imagine, decided thatweshould be the characters having this conversation.🟡

— but don't be mistaken: if we are indeed fictional, then the future of this world we're observing barely matters. our parent world likely holds a lot more realityfluid. so we shou–ritsuko🟢

,shinjishaking— here comes this "realityfluid" bullshit again!🟡

— anyways, the coherent thing for fictional characters to do is to try to steer their parent world, because it's generally "realer". and generally, this is achieved by cooperating with whatever their parent world seems to be doing, so we should probably just continue to discuss AI alignment.ritsuko🟡

— and, in a similar manner, there are people who grok these facts sufficiently well that we would expect them to take the correct actions, even upon realizing that they are the fictional consideration of a superintelligence. given the explanation i just gave, i would claim that i could do it myself, for one.ritsuko🔵

reimagically erases everyone's memory of this section of the dialogue, and then disappears, out of view from everyone.## 13. top-level QACI call

🟢

— so we have QACI(α,γq,q′), the function which can call itself recursively. what's the top-level, terminal call to it which yields the action-scoring function?shinji🟡

— ah, i think it'd look like:ritsukoπrQACI0(α,γq)(u)≔M[1]πr:QACI(α,γq,q′0)u∈EvalMathU(πr)

🟡

— where q′0 is some initial counterfactual blob, such as the plaintext string "please return a good scoring function over actions" encoded in ASCII, and then padded with zeros to be of the size needed for a blob. QACI0 has type Γ|q|→ΔU — from a question location, it returns a distribution of action-scoring functions.ritsuko🟣

— so like, the counterfactual user inside the QACI call should be able to return math that calls more QACI, but where domisatotheyget the α and γq?🟢

— couldn't they return the whole math?shinji🟡

— ah, that's not gonna work — the chance of erroneous blob locations might accumulate too much if each QACI does a new question location sampling; we want something more realiable. an easy solution is to EvalMath the text not into a U, but into a Ω×Γ|q|→U and to pass it α,γq so that the user can return a function which receives those and uses them to call QACI.ritsuko🟡

— actually, while we're at it, we can pass a it whole lot more things it might need…ritsukoπr,fQACI0(α,γq)(u)≔M[1]πr:QACI(α,γq,q′0)f∈EvalMath{q}×Ω×Γ|q|→U(πr)f(q,α,γq)=u

🟢

— what's going on with f here?shinji🟡

— oh, this is just a trick of how we implement distributions — when measuring the mass of any specific u, we try to EvalMath the answer payload into a function f, and we only count the location when u is equal to f(q,α,γq) with useful parameters passed to it.ritsuko🟣

— what'smisatoaroundQACI0? where do α and γq come from?🟡

— so… remember this?ritsukohScore(a)≔M[LooksLikeThisWorld(h)⋅HowGood(a,h)]h:Prior

🟡

— this is where we start actually plugging in our various parts. we'll assume some distribution over initial world-states Ωα∈ΔΩ and sample question locations γq in futures of those initial world-states — which will serve, for now, as the LooksLikeThisWorld.ritsukoα,γqScore(a)≔M[QACI0(α,γq)(a)]α:Ωαγq:Loc|q|(α,Ω→α(α),q)

🟡

— the actual AI we use will be of a type like UH→A, and so we can just call AI(Score), and execute its action guess.ritsuko🟣

— and… that's it?misato🟡

— well, no. i mean, the whole fundamental structure is here, but there's still a bunch of work we should do if we want to increase the chances that this produces the outcomes we want.ritsuko## 14. location prior

🟡

— so, right now each call to Loc penalizes f,g for being being too kolmogorov-complex. we could take advantage of this by encouraging our two different blob locations — the question location and the answer location — to share bits of information, rather than coming up with their own, possibly different bits of information. this increases the chances that the question is located "in a similar way" to the answer.ritsuko🟣

— what does this mean, concretely?misato🟡

— well, for example, they could have the same bits of information forritsukohow to find bits of memory on a computer's memory on earth, encoded in our physics, and then the two different Loc's f and g functions would only differ in what computer, what memory range, and what time they find their blobs in.🟡

— for this, we'll define a set of "location priors" being sampled as part of the hypothesis that Score samples over — let's call it Ξ (xi). we might as well posit Ξ≔B∗.ritsuko🟡

— we'll also define K−∼P,X:P→ΔX a kolmogorov simplicity measure which can use another piece of information, as, let's see…ritsukoK−∼P,X(p)(x)≔K−P×X(p,x)

🟡

— there we go, measuring the simplicity of the pair of the prior and the element favors information being shared between them.ritsuko🟣

— wait, this fails to normalize now, doesn't it? because not all of P×X is sampled, only pairs whose first element is p.misato🟡

— ah, you're right! we can simply normalize this distribution to solve that issue.ritsukoK−∼P,X(p)≔NormalizeX(λx:X.K−P×X(p,x))

🟡

— and in Score we'll simply add ξ:K−Ξ and then pass ξ around to all blob locations:ritsukoα,ξ,γqScore(u)≔M[QACI0(α,γq,ξ)(u)]α:Ωαξ:K−Ξγq:Loc|q|(α,Ω→α(α),q,ξ)

QACI0∈Ω×Γ|q|×Ξ→ΔU

πr,fQACI0(α,γq,ξ)(u)≔M[1]πr:QACI(α,γq,q′0,ξ)f∈EvalMath{q}×Ω×Γ|q|×Ξ→U(πr)f(q,α,γq,ξ)=u

🟡

— finally, we'll use it in Loc to sample f,g from:ritsukoLocn∈Ω×ΔΩ×Bn×Ξ→ΔΓn

f,g,ω,τ,b′Locn(α,δ,b,ξ)(γ)≔M[SimilarPastsα(ω,g(b′,τ))R(g,(b′,τ))+R(f,g(b′,τ))](f,g):K−∼Ξ,(ΩH→Bn×B∗)×(Bn×B∗H→Ω)(ξ)ω:λω:maxΔX(λω:Ω.{δ(ω)iff(ω)=(b,τ)0otherwise).δ(ω)b′:UniformBn∀b′′∈Bn:γ(b′′)=g(b′′,τ)f(γ(b′′))=(b′′,τ)

## 15. adjusting scores

🟡

— here's an issue: currently in Score, we're weighing hypotheses by how hard it is to find both the question and the answer.ritsuko🟡

— do you think that's wrong?ritsuko🟣

— i think we should first ask for how hard it is to find questions, and then normalize the distribution of answers, so that harder-to-find answers don't penalize hypotheses. the reasoning behind this is that we want QACI graphs to be able to do a lot of complicated things, and that we hope question location is sufficient to select what we want already.misato🟡

— ah, that makes sense, yeah! thankfully, we can just normalize right around the call to QACI0, before applying it to u:ritsukoα,ξ,γqScore(u)≔M[NormalizeU(QACI0(α,γq,ξ))(u)]α:Ωαξ:K−Ξγq:Loc|q|(α,Ω→α(α),q,ξ)

🟢

— what happens if we don't get the blob locations we want, exactly?shinji🟡

— well, it depends. there are two kinds of "blob mislocations": "naive" and "adversarial" ones. naive mislocations are hopefully not a huge deal; considering that we're doing average scoring over all scoring functions weighed by mass, hopefully the "signal" from our aligned scoring functions beats out the "noise" from locations that select the wrong thing at a random place, like "boltzmann blobs".ritsuko🟡

— adversarial blobs, however, are tougher. i expect that they mostly result from unfriendly alien superintelligences, as well as earth-borne AI, both unaligned ones and ones that might result from QACI. against those, i hope that inside QACI we come up with some good decision theory that lets us not worry about that.ritsuko🟣

— actually, didn't someone recently publish some work on a threat-resistant utility bargaining function, called "Rose"?misato🟡

— oh, nice! well in that case, if Rose is of type ΔU→U, then we can simply wrap it around all of Score:ritsukoα,ξ,γqScore≔Rose(λu:U.M[NormalizeU(QACI0(α,γq,ξ))(u)])α:Ωαξ:K−Ξγq:Loc|q|(α,Ω→α(α),q,ξ)

🟡

— note that we're putting the whole thing inside an anonymous λ-function, and assigning to Score the result of applying Rose to that distribution.ritsuko## 16. observations

🟢

— you know, i feel like there ought to be some better ways to select hypotheses that look like our world.shinji🟡

— hmmm. you know, i do feel like if we had some "observation" bitstring μ∈B∗ (mu) which strongly identifies our world, like a whole dump of wikipedia or something, that might help — something like γμ:Loc|μ|(α,Ω→α(α),μ,ξ). but how do we tie that into the existing set of variables serving as a sampling?ritsuko🟣

— we could look for the question q in futures of the observation world-state– how do we get that world-state again?misato🟡

— oh, if you've got γμ you an reconstitute the factual observation world-state with γμ(μ).ritsuko🟣

— in that case, we can just do:misatoα,ξ,γμ,γqScore≔Rose(λu:U.M[NormalizeU(QACI0(α,γq,ξ))(u)])α:Ωαξ:K−Ξ