OverviewFilesCommitsIssuesDocsReleasesPeers

opencog-sensory commits / 8b0556c

Sound, vision
8b0556cb0a038e74a4432882732bb2be139f964d
by Linas Vepstas <linas@linas.org> · 2026-01-13T06:02:44.000Z

Changed files (1) +83 -1

DesignLearn-A.md +83 -1
……@@ -288,4 +288,86 @@ for the lay audience. ... Which is good for the audience, but bad for
288288me, because I am repeating things I already know and believe, rather
289289than moving forwards.)
290290
291pairs.
291Sound and Vision
292----------------
293Writing the above was procrastination for writing this section. But now
294I'm so bored, I don't feel like writing this sectiion. Alas.
295
296The idea in a nutshell was to restart the jigsaw learning process, this
297time not just for natural language, but also for vision and sound.
298Perhaps for youtube video?
299
300The first few steps are easy enough. Say, vision. Create a blur filter,
301maybe $n$ pixels in diameter. Pair counting would be to just randomly
302place two such blur filters at random spots on a photograph, and compute
303correlations. Or rather, mutual info (MI) between them. To make this go
304faster, I could just create a 2D planar random network, vertices that
305are $n$ pixels apart, overlay it on the photo, compute the blur at each
306network vertex. This is trivially vectorized, as are the x,y locations
307of each vertex. Sampling pairs is then sampling pairs out of this
308vector. Can also do sampling in color space: RGB or HSV, pick one. The
309size of the blur filter is an obvious variable.
310
311Sound would work similarly: sampling in frequency, intensity, maybe
312chirp, of variable-sized windows.
313
314### Agency and lack thereof.
315So what? What does this accomplish? The trap here is that this turns
316into "training". Feed a lot of data into a processing pipeline. After a
317gazillion CPU-hours, something falls out.
318
319The problem is there is only sensori- and no -motor. I could give the
320agent some control over, say, blur-filter size. But what motivates the
321agent to experiment with blur filter size? What is it doing, except
322being forced to dream?
323
324### Rubiks
325Adam proposed somethng slightly more agentic: solving the rubiks cube.
326The agent can "see" all the facets of the cube, and the agent can apply
327any of the basic moves, and see the resulting changes. The learning task
328is to see if the agent can learn to solve the cube.
329
330How should I think of this? "Solving" is finding a set of moves that
331take it from one (predeterimined, given) location in configuration
332space to another (predetermined, requested) location in confidguration
333space. To build a bridge, a sequence of moves, from one to the other. To
334solve a certain constraint satisfaction problem.
335
336What should the agent do? I could tell it: "explore the universe of all
337possible moves, and search for shortest paths from one configuration to
338another". It would need to remember things that it tried. How do I, as
339a programmer, encode positions? How do I give it efficient high-speed
340search of memory of prior configurations and moves to get there? This
341trns into an engineering task, where I do the difficult engineering, so
342that a small and stupid agent can rapidly solve a Rubiks cube? I don't
343think so.
344
345The original intent of posing the Rubiks problem was to see if the agent
346could discover the axiomatic rules, the "physics" of it's very small
347universe. But this does not line up with the word "axiom" as I defined
348and used it in the earlier sections. I don't even know what it "means"
349to discover the axioms of group theory in this context.
350
351The only upside, and it seems marginal, is that the agent has agency. It
352can both see, and act, in this toy universe.
353
354### Adversarial chess
355Imagine a toy universe which consists of chess pieces, and chess moves.
356Its also populated by a hostile god that plays black. The agent plays
357white. The goal of agent training is to survive as long as possible. Its
358Groundhog Day: whenever the white player dies, the chessboard resets,
359and the agent can try again to best the black evil god that is out to
360kill it.
361
362I'm not sure what to make of this variant. One obvious point: to get any
363good, it would take lots and lots and lots of training. To get good,
364fast, puts the onus on me, to invent, devise, and encode in software
365some kind of algo that can learn chess quickly. Which puts me back into
366the seat of being the "white god": the engineer developing complex code
367that can help my guy learn to survive the onslaught of the evil black
368god. This is not the engineering I want to do.
369
370Worse: it is also obvious that chess is effectively intractable for any
371kind of naive learning algo. Most algos that you might pull out of some
372random book on machine learning will take the age of the universe to
373learn chess, and even so, so what?