Showing posts sorted by relevance for query predictive processing. Sort by date Show all posts
Showing posts sorted by relevance for query predictive processing. Sort by date Show all posts

Mar 28, 2019

Predictive meditation

I’ve been combining what I’ve been learning about Predictive Processing with my meditation practice. The result has been awesome so far.
I intend to push it further.

Daily routine

I spend ten minutes doing the new Waking Up Course guided meditation each day. On any day Sam Harris uses one or more of the techniques he’s introduced. Each has led to an insight—and many have led to repeated and more profound insights as I’ve practiced them.
I’ve done that for at least 125 days(!)
Then I do (with less regularity) a 30-minute TMI-style timed sit. My experience with those sits has been inconsistent. Sometimes I’ve kept attention on the breath or at least in peripheral awareness. But most times I’ve forgotten and mind-wandered.

Predictive meditation

After rereading Scott’s posts (and my own) on Predictive Processing, I thought it might be useful to predict my ability to keep attention on my breath and see if it made a difference in my meditation.
My experiment: I’d predict keeping attention for the next ten breaths. Then at the end of the ten, I’d predict again.
The first time I did it, I maintained attention for almost the whole 30 minutes. Not perfect, but far better than usual.
I expect the novelty helped. But I think that prediction reinforced my intentional strength.
I’ve since done a few more sits that way. The novelty has worn off, and I’ve mind-wandered a little. Still, I’ve been staying more focused than before.
This brief contemplation (and some reading from Surfing Uncertainty suggests a further refinement:
In PP, attention measures “the confidence interval of your predictions.” Sense-data within the confidence intervals counts as a match and doesn’t register surprisal. Sense-data outside the confidence intervals fails and alerts higher levels and eventually consciousness.
Said differently: if I unconsciously predict that nothing unexpected will happen and nothing unexpected happens, then breathing will fade from consciousness, and my mind will wander.
But if I predict that it will be fascinating and things that are not expected in detail happen then “the higher levels and eventually consciousness” will stay engaged.
This reminds me of the Sam Harris pointing out instruction that I wrote about in my post about “Waking Up”. You can look out the window for years, and never catch your reflection. But if someone points out that is what you’re looking for, you’ll see it readily. And if someone points out that the “waking up experience” is like the experience of realizing you are watching a movie instead of being immersed in the life of one of the characters in the film, you’ll recognize the similar experience when it happens in real life.
As I’m writing this, I’m reminding the processing units and sub-minds of my nervous system of the fascinating experiences that I’ve had when paying close attention to my breath, looking deeply into my visual field with eyes closed, experiencing a “cloud of sensations” instead of a body, and the thoughts that float through my mind.

What can I predict?

I want to decide to spend an hour sitting with stable attention, and predict with high confidence that I will do it, and then have my belief borne out in reality.
But I can’t make that prediction. And I can barely make that decision.
Right now I can decide to sit for half an hour and pay attention for ten breaths at a time over that time. I can predict success, each time, with very high probability and predict doing that repeatedly over thirty minutes with high probability.
Right now I’m reminding myself that a good process for maintaining stable attention includes: deciding to pay attention to the next ten breaths; predicting whether that decision will result in my paying attention, being confident in that prediction; being aware of any change in that prediction as I take each breath, and perhaps making adjustments to my state of mind if I am aware of a drop in predictive confidence; repeating these steps.
If I were to decide to pay attention for a more extended period—twenty breaths, or one hundred—my confidence in predicted success would drop. Perhaps I’m polling subminds, assessing their willingness and ability to stay the course, or their estimate of the willingness of other subminds.

Awareness of deviation

From Surfing Uncertainty:
High attention means that perception is mostly based on the bottom-up stream, since every little deviation is registering an error and so the overall perceptual picture is highly constrained by sensation. Low attention means that perception is mostly based on the top-down stream, and you’re perceiving only a vague outline of the sensory image with your predictions filling in the rest.
Maintaining strong and stable attention requires—and results from—awareness of every deviation.
The mindset needs to be: every breath is different from every other breath. Some are deeper, some shallower. The pauses between them vary. The little sensations in the nose and throat are different. Breathing may change—or not—with the rising and passing away of thoughts, or other sensations and perceptions.
If you break it down, get all sciency and shit, breathing is a miraculous experience.
I predict increasing enjoyment.
​

Oct 21, 2018

Predicting this post--and other plans

Instead of deciding to write this, I predicted that I would. I later revised my prediction. And now it’s been written. I predict I’ll post it in the next few minutes. If you see it, then let’s hear it for predictive processing.
Predictive Processing (PP) is a new theory of how the brain works. It argues that the brain is a prediction machine, not a plan executing machine. The brain makes predictions about the world based on a world-model then compares its predictions with sense data. Sometimes the sense data is adjusted to match the prediction—so we see what we expect to see. Other times the model is adjusted to reflect reality.
In the old model of brain function eyes collected data which was then sent to the visual cortex for processing. The visual cortex determined the contents of the scene and informed the rest of the brain. In the PP model, the visual cortex predicts what the the eye is going to see and sends a signal forward to the lateral geniculate nucleus (LGN). The retina encodes visual data and sends it back to the LGN which compares the sense data with the prediction. If they match, well and good. If they don’t match then the LGN sends a difference signal to the visual cortex so that it can update its model. (It’s a bit more complex than that because there are multiple such layers, and sometimes the sense data is adjusted to match the expectations.)
According to PP the high-level functions of the brain control the body by predicting the position of parts of the body and the lower-level functions activate muscles to make the predictions come true.
I read about PP in Scott Alexander’s SlateStarCodex blog in this post and this one and decided to apply the principle to my own problems getting things done.
I remembered an earlier time, working with Elsa, my personal coach. I’d made a plan and didn’t do what I had planned to do. When we talked about it, I said that I wasn’t surprised that my plan had failed. I’d made plans that had failed hundreds of times before. My failure was unsurprising. We then worked to make a plan that might fail—but whose failure would at least be surprising.
Said differently: after I’d made my first plan, if I’d asked myself to predict the result, I would have predicted failure. Why? Because most of my plans fail. Most don’t even deserve to be called plans. Vague intentions is more like it. I need to make a plans that I predict will succeed.
Psychological research tells us we are poor predictors of our own behavior. After deciding to do something, I’ll ask myself: do I predict I’ll do it. If I don’t predict success, then I need to decide whether I really want to do it or not. If I do, I need to at least predict success.
But there’s an even better question I can ask: would I be surprised if I failed to follow through? If I wouldn’t be surprised, then my prediction is probably too generous. If I make a decision that I care about I need to predict that I’ll succeed and be surprised if I don’t.
Now I predict I’m going to post this as soon as I finish this sentence and convert the post from markdown.
​

Mar 26, 2019

Decision, intention, prediction

Here’s the bottom line for this post:
Intention comes from decision. If an intention is strong enough, it will lead to action. To control action, start with decision, and test with prediction.
Here’s how I got there:
On October 21 I wrote this post, about Predictive Processing and correctly predicted that I would publish it. On October 25, I wrote this follow-up prediction. Then over the next 25 days, i published 21 posts.
Maybe there’s a connection. Perhaps not. But right now I’m going with maybe there is.
In some other posts, I wrote about intention. How intention makes things happen. But clearly (as I considered here) intention is not enough.
So now here’s my insight: prediction is a test of effective intention. If I intend something, let me test it by predicting the result of my intention. If I predict failure or unlikely success, then there’s something wrong with my intention.
I may intend an outcome. I may want it. But that’s often not enough. Right now I intend to take another sip of coffee, and I intend to have someone give me a million dollars. I predict that I will taste coffee in the next minute or so. And I predict that no one’s giving me a million dollars any time soon.
Result: I correctly predicted coffee, and correctly predicted not getting a million.
I predict that I’ll achieve what I intend much more frequently if I take the time to predict success or failure and adjust my plans and actions according to my prediction.
There may be times when I want to carry out a plan even when I predict likely failure. But in general, when I predict failure, I should change the plan or abandon it entirely (an extreme change in plan.)
Here’s the bottom line for this post:
Intention comes from decision. If an intention is strong enough, it will lead to action. To control action, start with decision, and test with prediction.
Is this post good enough? What I decide determines what happens.
If I decide this post is not good enough, then I predict that I’ll keep writing it, intending to make it better. If I do that, then I can’t confidently predict when I will publish it.
I’m not going to decide that.
If I decide that I’ve captured something useful in this post (I have!) and that it’s is good enough (I can decide that!) then I predict that my intention will shift—from improving it to publishing it. If that happens, I predict, with high confidence that it will appear in my blog within the next half hour.
I’m going to decide that.
It’s 1:35 as I finished the first draft.
It’s 1:45 as I’ve finished tweaking it and checking it in Grammarly.
It’s 1:49 as I finish my last tweaks, and convert from markdown.
I predict I will now publish it.
​

May 15, 2019

Believe not what is true, but what is helpful

In an earlier post, I wrote about Mark Manson and some things that he’d written that I’d liked.
One of them was: “Believe not what is true, but what is helpful.”
Wait? What?
Shouldn’t you always and only believe what’s true?
Maybe not.

What’s helpful?

There’s a ton of stuff packed inside that question.
Helpful to whom?
Helpful over what timeframe?
Helpful in what context?
What if two things are both helpful? What then?
What if we think something is helpful, but it turns out that it’s not?
Never mind that complexity. Let’s assume we have a good idea of what’s helpful.

What’s true

The only thing I can know is true is that I experience consciousness. Same goes for you. Anything else could be an illusion.
But certain things are more-or-less likely to be true, or more or less likely to be reasonable approximations of what is true. Should our belief be based on the degree to which something is closer to being true?
The way the universe works, what’s true is often also helpful. And what’s outright false is generally unhelpful. But that’s not always true.
Most of what’s true is irrelevant. Consider two galaxies. It might be true that one is older, or more massive than the other. But for our purposes, the answer is irrelevant. Believe what you want. Or believe nothing. It doesn’t matter.
Some of what might be true is currently unknowable. There will eventually be a correct (or roughly correct) answer to the question: “What will the be the temperature on this day, next year, at this location?” But we really cannot know what it will be. We might make some reasonable guesses, but the true answer, at this point is unknown and unknowable. And what I believe may not change anything.
But now consider the question, “Will I finish this blog post?” The answer is also unknowable. There will eventually be a true answer. Either I will finish it, and it is true, or I die, and it is not true. Does it matter what I believe? In this case, it does.
If I believe I will not finish it, then there’s little sense in continuing to write it.
If I believe that I will finish it, then Predictive Processing says that it’s not only a good idea to keep working on it, but my belief in its future state will cause me to finish it.
Would it matter if I believed I would finish it in the next ten minutes? Or in the next hour?
It seems to me that believing that I will finish in the next ten minutes is not helpful. It put me under impossible pressure. Or it’s something I ignore. In any case, it’s not helpful. So I believe I’m best off not believing that.
But it seems that believing that I will finish in the next hour might be helpful. It’s not necessarily true, but it does seem helpful. So I’ll choose to believe that.

Belief in God

Pick a God, any God. Do I want to believe that that God exists?
If I pick a God that demonstrably cannot exist—say one that’s in this room right now and visible to me—then I see nothing useful in such a belief. To the contrary, I now must explain to myself why I can’t see a God that I have defined as one that I can see.
But if I pick a God that can exist—say a benevolent and invisible God that will help me get this post done in the next hour—believing in its existence might be helpful. Writing is often a lonely and uncertain business. It makes me feel better to think that I’ve got some help. It might not be true, but it’s certainly helpful.
So I’ll believe in that God. And I’ll believe it helped me get this post done.
Sure enough! It’s done.
​

Mar 28, 2019

We're made out of meat

This post of Scott’s about predictive processing led me to this book which Scott reviewed in his post. I’ve only just started reading the preface to the book, and it’s already awesome if only for citing this short story by Terry Bisson.
THEY’RE MADE OUT OF MEAT
“They’re made out of meat.”
“Meat?”
“Meat. They’re made out of meat.”
“Meat?”
“There’s no doubt about it. We picked up several from different parts of the planet, took them aboard our recon vessels, and probed them all the way through. They’re completely meat.”
The story continues here
You can watch the story dramatized by the author here.
….
This blog post was written by sentient meat.
​

May 30, 2019

Blogging, the current state of my practice

In this post, I am going to recap the current state of my blogging practice, and some improvements that I hope to make.
This is a long, technical post, mainly for the benefit of Future Me, and the benefit of Present Me as I solved these problems.

What I do now

Here’s the way things work right now.

Open my tabs

I start by opening the tabs that I’m going to use for writing a particular post. I blogged about that in this post.

Go through my checklist

My blog template contains a preflight checklist. It’s all the stuff that I ought to have completed before I start composing the blog’s content. In theory, I can march through the process without going around in circles, as I described in another post, written, but not published.
One pass through, and I am done.
The checklist is in Markdown format so that I can use this convention:
“`markdown
  • [ ] this is unchecked
  • [x] this is checked
`“
Which will render this way:
  • [ ] this is unchecked
  • [x] this is checked

Enough intention

The first item on the checklist is to make sure I have enough intention to finish the post. The test at each step is: do I predict that I will finish.

Clear picture

I need to make sure that I have a clear picture of the intended result. If it’s a long post (like this one) that means that I need to outline.
So do I have enough intention to outline?
Do I predict I will complete it?

Research as needed

As I’m writing the outline, I do the research I need and drop links and quotes in the Google Doc.
I’ve got a research inventory stashed in Dynalist, and Onetab, and Pinboard and Evernote.
During the research and composition phases, I can use a Chrome extension called TabCopy. It creates formatted links in the clipboard. I can choose to do it for the current tab, selected tabs, or all the tabs in the current window.
Then I paste them into the Google Doc.
If I want to clip some texts, with a reference back to the original URL, I can use the Dynalist Chrome extension, which will give me a linked quote like this:
Maybe there’s a connection. Perhaps not. But right now I’m going with maybe there is.
From 70 Years Old. WTF!: Search results for predictive processing
There are parts of this process I can automate later.

Compose in Docs

Now it’s time to compose the content in a Google Docs, using voice typing. Like I’m doing right now. Or was then.
As I complete each section, I’d like to review it and make sure I’m on track quickly. I haven’t yet developed the habit of doing that.
The check-in process will come later.

Clean up in StackEdit

Once my draft is complete, I copy/paste the entire Google Docs content into StackEdit.
StackEdit turns links in Google Docs into Markdown, using the format:
`“
`“
Now everything is in plain text, and I can edit it in Grammarly.
I had been using the Chrome extension Copy as MarkDown to give me tab links in Markdown format, but StackEdit will convert the content that TabCopy puts on the clipboard.
YouTube links look like this when captured with TabCopy
“ [An interesting video](https://www.youtube.com/watch?v=ESNRgaCkiUA&t=756s)“
They won’t render on the page. To do that I need to use the magic number at the v= parameter in an embed embed URL in an iframe, like this:

<figure class="video_container">

<iframe src="https://www.youtube.com/embed/enMumwvLAug" frameborder="0" allowfullscreen="true"

width=100% height=300 > </iframe>

</figure>


### Check in Grammarly

Once I’ve got a clean post in StackEdit, I copy/paste the source into [Grammarly](https://grammarly.com) for spelling and grammar checking.

### Another check in StackEdit

In case I screw up some of the Markdown while editing in Grammarly, I can copy back into StackEdit for a quick visual check.

### Into blogger

Next, I copy/paste the content into the Blogger new post tab.

Once it’s there I do this:

1.  Set the title (and remove from the document)

2.  Set the tags (and remove from the document)

3.  Render as markdown using [Markdown Here](https://markdown-here.com/)

4.  (Optional) Schedule the post

And finally...

5.  Click Publish


## Some other bits

### Screenshots

To capture part of a screen, I used to have to crank up a Chrome Extension ([Nimbus Screenshot](https://nimbusweb.me/) for example).  After I’ve selected the area that I want, I download it. Then upload it to a shared folder

On my Google Pixel, I can use my Pixel Pen to capture the area that I want. I highlight the area and automatically downloads it to my Downloads folder.

Now I can upload it to my Blog Images Google Photos Album. [A link to it is here](https://photos.google.com/album/AF1QipOV8cTgthOV571-2hmuRzG74MFX9HJT2-Ad489D).

There’s probably an API for that. Later.

### Blog photos

To get the URL for a Google photo, I go to the Blog Posts folder, and click on the image I want and open it in the browser. The URL in the omnibar is NOT the one to use. Instead, right-click the image and choose “Copy image URL.”

If you put a photo in a Google Doc using Insert -> Image -> By URL and then use that URL. When you copy/paste the Doc contents into StackEdit, StackEdit will convert it to Markdown format:

```markdown

![](image URL)
with the text blank.
You can also paste an image URL into StackEdit using ctrl-shift-g. If you select some text, then that text will be used as the image alt-text:

![text you selected](image URL)

Modified image format

You can do that according to the rules in this postenter link description here.

Copying to blog photos folder in drive

I set up links between the Download folder and Google Drive Blog Post folder:

ln -s /mnt/chromeos/GoogleDrive/MyDrive/Media/Blog\ Photos/ blogphotos

ln -s /mnt/chromeos/MyFiles/Downloads/ downloads
So from the Linux shell, I can copy files. For whatever that’s worth.

Blogus interruptus

If I can’t finish a post in one session, I’d like to preserve the tabs without cluttering up my browser. So I can use the OneTab extension to save all the tabs, and then later restore them all at once.

What happens next

Here are some things I want to add to the project—in no particular order:
  • Open windows for transcriptions
  • Combined editing tool with
  • Voice typing (with correction of words like quote/endquote and so on
  • StackEdit (JS library)
  • Grammarly
  • Programmatic replacement of common spellings
  • Timeboxing and time notifications
​

Pages