OverviewFilesCommitsIssuesDocsReleasesPeers

opencog-evidence commits / c2898de

Ensemble ruminations
c2898de1cab38a9f534e1c1ed882b8cd9168b1fe
by Linas Vepštas <linasvepstas@gmail.com> · 2025-04-17T23:30:57.000Z

Changed files (1) +70 -17

aggregate.lyx +70 -17
……@@ -116,9 +116,9 @@ Introduction
116116\end_layout
117117
118118\begin_layout Standard
119What follows will be free-form unstructured writing about aggregate satisfiabili
119What follows will be free–form unstructured writing about aggregate satisfiabili
120120ty.
121 It is an attempt to reconcile a number of quite common and inter-related
121 It is an attempt to reconcile a number of quite common and inter–related
122122 ideas, and to develop a mathematical frammework for them.
123123 The key ingredients are:
124124\end_layout
……@@ -129,7 +129,7 @@ The Ising model as a motivational example.
129129\end_layout
130130
131131\begin_layout Itemize
132Link Grammar parsing, in which syntactic jigdaw pieces are assembled to
132Link Grammar parsing, in which syntactic jigsaw pieces are assembled to
133133 create parses, called
134134\begin_inset Quotes eld
135135\end_inset
……@@ -149,7 +149,7 @@ Aggregate satisfiability, in that satisfiability refers to discrete logical
149149\end_layout
150150
151151\begin_layout Standard
152There are also some other inter-related concepts, which may of may not the
152There are also some other inter–related concepts, which may of may not the
153153 ideas to be developed here.
154154 These include ideas like:
155155\end_layout
……@@ -169,7 +169,7 @@ Hopfield networks: these have commonality with regard to assorted physics
169169\begin_layout Itemize
170170Mean field theory.
171171 Who knows.
172 A knee-jerk reaction is that mean–field theory will describe the rsults.
172 A knee–jerk reaction is that mean–field theory will describe the rsults.
173173 I suppose.
174174 Seems plausible.
175175\end_layout
……@@ -261,7 +261,7 @@ What are the
261261 always, no matter what, and then the sum is simply a sum over the costs
262262 of the disjuncts appearing in the sentence.
263263 This is the conventional LG model.
264 Another intrpretation is to write
264 Another interpretation is to write
265265\begin_inset Formula $w_{i}=+1$
266266\end_inset
267267
……@@ -270,7 +270,7 @@ What are the
270270\end_inset
271271
272272 in the sentence, else it is zero.
273 To arrive at this, we have to be more carefuly with the notation: Define
273 To arrive at this, we have to be more carefully with the notation: Define
274274\begin_inset Formula
275275\[
276276\delta\left(w,v\right)=\begin{cases}
……@@ -308,9 +308,9 @@ so that the subscript
308308\begin_layout Standard
309309This interpretation is unsatisfying, and wrong, the analogy doesn't work.
310310 First of all, the spins in the Ising model can flip up and down, whereas
311 the observed word-order in a given sentence is fixed, inviolable.
311 the observed word–order in a given sentence is fixed, inviolable.
312312 The above picture could work for sentence generation, where we are considering
313 how to generate some senttence, but that is not yet currently viable given
313 how to generate some sentence, but that is not yet currently viable given
314314 what is written here, so far,
315315\end_layout
316316
……@@ -319,9 +319,9 @@ The other issue is that, in classical LG, the disjunct costs
319319\begin_inset Formula $C_{uvw\cdots}$
320320\end_inset
321321
322 are hand-crafted by the academic scholar defining the lexis.
322 are hand–crafted by the academic scholar defining the lexis.
323323 The learn project attempts to replace these costs by those learned from
324 a training corpus, starting from a pair-wise frequenist counting scheme.
324 a training corpus, starting from a pair–wise frequentist counting scheme.
325325 The
326326\begin_inset Formula $C_{uvw\cdots}$
327327\end_inset
……@@ -405,7 +405,7 @@ sentence
405405 to be independent.
406406 For now.
407407 Of course, ten books written on the same topic are not really independent
408 of one-another, but lets not get ahead of ourselves.
408 of one–another, but lets not get ahead of ourselves.
409409\end_layout
410410
411411\begin_layout Standard
……@@ -448,7 +448,7 @@ where the sum ranges over all sentences in the corpus, and
448448
449449\begin_layout Standard
450450And so here we meet our first conceptual problem: the linkage is not unique:
451 any given sentence may have many linkages, and, in fact, we have to consdier,
451 any given sentence may have many linkages, and, in fact, we have to consider,
452452 in principle, all possible linkages.
453453\end_layout
454454
……@@ -533,7 +533,7 @@ For each sentence
533533
534534.
535535 As a set, the order no longer really matters.
536 But it is a multi-set, so its OK to have a word show repeatedly.
536 But it is a multi–set, so its OK to have a word show repeatedly.
537537 An edge is just a conventional graph edge: it is an ordered pair of vertexes.
538538 Notation:
539539\begin_inset Formula $E_{ij}=\left(w_{i},w_{j}\right)$
……@@ -550,7 +550,7 @@ For each sentence
550550\end_inset
551551
552552 the set of edges can be thought of that the adjacency matrix.
553 This is all very super-basic stuff, but I am trying to be as clear as posible
553 This is all very super–basic stuff, but I am trying to be as clear as possible
554554 here.
555555 Sorry.
556556 The adjacency matrix is usually take to be a matrix woth just ones and
……@@ -563,11 +563,11 @@ For each sentence
563563A connected graph is one where every vertex is reachable by a path from
564564 any other vertex.
565565 We want to consider only connected graphs; the ability to disconnect will
566 be handled via a different machanism.
566 be handled via a different mechanism.
567567\end_layout
568568
569569\begin_layout Standard
570For a fixed senttence
570For a fixed sentence
571571\begin_inset Formula $S$
572572\end_inset
573573
……@@ -614,6 +614,59 @@ Z_{\beta}=\sum_{G\in\mathcal{G}}e^{-\beta h\left(G\right)}
614614\end_inset
615615
616616So, which is it? I'm confused, here.
617\end_layout
618
619\begin_layout Standard
620Lets go outside and touch grass.
621 In classical physics, in the classical Ising model, we say that the spins
622 at each lattice site have a distinct, explicit value.
623 Any given physical instance consists of only one configuration of those
624 spins.
625 The thermodynamic ensemble is the collection of all possible spin arrangements.
626 The partition function is a sum over the entire ensemble, giving a Boltzmann
627 weight to each particular spin arrangement.
628\end_layout
629
630\begin_layout Standard
631What, exactly am I doing here, if I am confronted by a sentence, a sequence
632 of words, a sequence of tokens? Should I say that there is only one acceptable
633 parse of that sentence? This is the classic Chomskian answer.
634 Do I need to acknowledge the possibility of multiple ambiguous parses?
635 Of course:
636\begin_inset Quotes eld
637\end_inset
638
639I saw the man with the telescope.
640\begin_inset Quotes erd
641\end_inset
642
643 said the linguistics textbooks, back when I was in college.
644 Is my reality split, a superposition of two different possibilities? Well,
645 yes it is.
646 The quantum people say so.
647 The Bayesian people say so, and so do the neuroscientists.
648 The linguists merely state that both parses are possible, until I learn
649 some additional information: how has the telescope: me, or the man? Once
650 I learn this additional bit of information, the wave function collapses,
651 the sentence is no longer ambiguous, I know which parse to use, and how
652 to determine the meaning of that sentence.
653\end_layout
654
655\begin_layout Standard
656Several problems here.
657 First, the mistake of treating sentences as assertions of truth.
658 Peotry is ambiguous, and one of the points of poetry is that it never collapses.
659 You get to reinterpret poetry in various ways: its evocative, not assertive.
660 Next, parsing is a syntactic activity; we've not touched base with semantics.
661\end_layout
662
663\begin_layout Standard
664So, where does that leave us? For now, lets ditch semantics: the original
665 problem was to discover a collection of disjuncts that adequately describe
666 possible syntactic parses of sentences.
667 The goal was to do this with some sort of expression of aggregate satisfiabilit
668y: some kind of function assigning weights to disjuncts, and maximizing
669 it.
617670
618671\end_layout
619672