<div dir="auto">Introspection :  it would be possible to insert a causal inference module into an agent-based modeling program.  The ABM could examine the causal conclusions emerging from the data it's generating.  It seems to me that is close to what "introspection" means to me.<br><br>Frank<br><div data-smartmail="gmail_signature">-----------------------------------<br>Frank Wimberly<br><br>My memoir:<br><a href="https://www.amazon.com/author/frankwimberly">https://www.amazon.com/author/frankwimberly</a><br><br>My scientific publications:<br><a href="https://www.researchgate.net/profile/Frank_Wimberly2">https://www.researchgate.net/profile/Frank_Wimberly2</a><br><br>Phone (505) 670-9918</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jan 26, 2020, 7:56 AM Frank Wimberly <<a href="mailto:wimberly3@gmail.com">wimberly3@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">Validation:  Bill Reynolds wrote a paper about inferring causal models from observational data to validate, for example, agent based models.  My original idea was that If the same causal edges emerge as are observed in the modeled system then that helps validate the model.  Bill thought it was better to compare the causal model with experts' opinions regarding causation in the modeled system.  Good enough.<div dir="auto"><br></div><div dir="auto"><p dir="ltr" style="line-height:1.3800000000000001;margin-top:0pt;margin-bottom:10pt"><span style="font-size:10pt;font-family:"courier new";font-variant-numeric:normal;font-variant-east-asian:normal;vertical-align:baseline;white-space:pre-wrap">Reynolds, W. N., Wimberly, F. C.,</span></p><p dir="ltr" style="line-height:1.3800000000000001;margin-top:0pt;margin-bottom:10pt"><span style="font-size:10pt;font-family:"courier new";font-variant-numeric:normal;font-variant-east-asian:normal;vertical-align:baseline;white-space:pre-wrap">Simulation Validation Using Causal </span><span style="font-size:10pt;font-family:"courier new";font-variant-numeric:normal;font-variant-east-asian:normal;vertical-align:baseline;white-space:pre-wrap">    </span><span style="font-size:10pt;font-family:"courier new";font-variant-numeric:normal;font-variant-east-asian:normal;vertical-align:baseline;white-space:pre-wrap">Inference Theory with Morphological Constraints.  Proceedings of the </span><span style="font-size:10pt;font-family:"courier new";font-variant-numeric:normal;font-variant-east-asian:normal;vertical-align:baseline;white-space:pre-wrap">    </span><span style="font-size:10pt;font-family:"courier new";font-variant-numeric:normal;font-variant-east-asian:normal;vertical-align:baseline;white-space:pre-wrap">2011 Winter Simulation Conference, Arizona Grand Resort, December, </span><span style="font-size:10pt;font-family:"courier new";font-variant-numeric:normal;font-variant-east-asian:normal;vertical-align:baseline;white-space:pre-wrap">    </span><span style="font-size:10pt;font-family:"courier new";font-variant-numeric:normal;font-variant-east-asian:normal;vertical-align:baseline;white-space:pre-wrap">2011.</span></p>I mentioned this here recently and Glen asked for a copy so I sent it to him.  I look forward to his comments.</div><div dir="auto"><br></div><div dir="auto">Frank</div><div dir="auto"><br><div data-smartmail="gmail_signature" dir="auto">-----------------------------------<br>Frank Wimberly<br><br>My memoir:<br><a href="https://www.amazon.com/author/frankwimberly" target="_blank" rel="noreferrer">https://www.amazon.com/author/frankwimberly</a><br><br>My scientific publications:<br><a href="https://www.researchgate.net/profile/Frank_Wimberly2" target="_blank" rel="noreferrer">https://www.researchgate.net/profile/Frank_Wimberly2</a><br><br>Phone (505) 670-9918</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jan 25, 2020, 11:48 PM Pieter Steenekamp <<a href="mailto:pieters@randcontrols.co.za" target="_blank" rel="noreferrer">pieters@randcontrols.co.za</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I would go along with Johsua Epstein's "if you did not grow it you did not explain it". Keep in mind that this motto applies to problems involving emergence. So what I'm saying is that it's in many cases futile to apply logic to reasoning to find answers - and I refer to the emergent properties of the human brain as well as to ABM (agent based modeling) software. But even if the problem involves emergence, it's easy for both human and computer logic to apply validation logic. Similar to the P=NP problem*, it's difficult to find the solution, but easy to verify. <div><br></div><div>So my answer to "<span style="color:rgb(80,0,80);font-family:"Times New Roman",serif;font-size:13.3333px;font-style:italic;font-weight:700">As software engineers, what conditions would a program have to fulfill to say that a computer was monitoring “itself</span>" is simply: explicitly verify the results. There are many approaches to do this verification; applying logic, checking against measured actual data, checking for violations of physics, etc.   </div><div><br></div><div>*I know you all know it, just a refresher, The P=NP problem is one of the biggest unsolved computer science problems. There is a class of very difficult to solve problems and a class of very easy to verify problems. The P=NP problem asks the following: if you have a difficult to solve but easy to verify problem, is it possible to find a solution that is reasonably easy for a computer to solve. "Reasonably easy" is defined as can you solve it in polynomial time. The current algorithms takes exponential time to solve it and even for a moderate size problem that means more time that the age of the universe for a supercomputer to solve it.<br></div><div><br></div><div>Pieter</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 25 Jan 2020 at 23:04, Marcus Daniels <<a href="mailto:marcus@snoutfarm.com" rel="noreferrer noreferrer" target="_blank">marcus@snoutfarm.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="EN-US">
<div>
<p class="MsoNormal">I would say the problem of debugging (or introspection if you insist)  is like if you find yourself at some random place, never seen before, and the task it do develop a map and learn the local language and customs.  If one is given the
 job of law enforcement (debugging violations of law), it is necessary to collect quite a bit of information, e.g. the laws of the jurisdiction, the sensitivities and conflicts in the area, and detailed geography.  In haphazardly-developed  software, learning
 about one part of a city teaches you nothing about another part of the city.   In well-designed software, one can orient oneself quickly because there are many easily-learnable conventions to follow.    I would say this distinction between the modeler and
 the modeled is not that helpful.   To really avoid bugs, one wants to have metaphorical citizens that are genetically incapable of breaking laws.   Privileged access is kind of beside the point because in practice software is often far too big to fully rationalize. 
<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(181,196,223);padding:3pt 0in 0in">
<p class="MsoNormal"><b><span style="font-size:12pt;color:black">From: </span></b><span style="font-size:12pt;color:black">Friam <<a href="mailto:friam-bounces@redfish.com" rel="noreferrer noreferrer" target="_blank">friam-bounces@redfish.com</a>> on behalf of "<a href="mailto:thompnickson2@gmail.com" rel="noreferrer noreferrer" target="_blank">thompnickson2@gmail.com</a>" <<a href="mailto:thompnickson2@gmail.com" rel="noreferrer noreferrer" target="_blank">thompnickson2@gmail.com</a>><br>
<b>Reply-To: </b>The Friday Morning Applied Complexity Coffee Group <<a href="mailto:friam@redfish.com" rel="noreferrer noreferrer" target="_blank">friam@redfish.com</a>><br>
<b>Date: </b>Saturday, January 25, 2020 at 11:57 AM<br>
<b>To: </b>'The Friday Morning Applied Complexity Coffee Group' <<a href="mailto:friam@redfish.com" rel="noreferrer noreferrer" target="_blank">friam@redfish.com</a>><br>
<b>Subject: </b>Re: [FRIAM] Abduction and Introspection<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal">Thanks, Marcus, <u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Am I correct that all of your examples fall with in this frame;<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"><u></u><img width="405" height="95" style="width:4.2187in;height:0.9895in" src="cid:16fe08ca87e4cff311" align="left" hspace="12"><u></u><br clear="all">
<u></u><u></u></p>
<p class="MsoNormal">I keep expecting you guys to scream at me, “Of course, you idiot, self-perception is partial and subject to error!  HTF could it be otherwise?”   I would love that.  I would record it and put it on loop for half my colleagues in psychology
 departments around the world.  <u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Nick <u></u><u></u></p>
<div>
<p class="MsoNormal">Nicholas Thompson<u></u><u></u></p>
<p class="MsoNormal">Emeritus Professor of Ethology and Psychology<u></u><u></u></p>
<p class="MsoNormal">Clark University<u></u><u></u></p>
<p class="MsoNormal"><a href="mailto:ThompNickSon2@gmail.com" rel="noreferrer noreferrer" target="_blank"><span style="color:rgb(5,99,193)">ThompNickSon2@gmail.com</span></a><u></u><u></u></p>
<p class="MsoNormal"><a href="https://wordpress.clarku.edu/nthompson/" rel="noreferrer noreferrer" target="_blank"><span style="color:rgb(5,99,193)">https://wordpress.clarku.edu/nthompson/</span></a><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0in 0in">
<p class="MsoNormal"><b>From:</b> Friam <<a href="mailto:friam-bounces@redfish.com" rel="noreferrer noreferrer" target="_blank">friam-bounces@redfish.com</a>> <b>On Behalf Of
</b>Marcus Daniels<br>
<b>Sent:</b> Saturday, January 25, 2020 12:16 PM<br>
<b>To:</b> The Friday Morning Applied Complexity Coffee Group <<a href="mailto:friam@redfish.com" rel="noreferrer noreferrer" target="_blank">friam@redfish.com</a>><br>
<b>Subject:</b> Re: [FRIAM] Abduction and Introspection<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"><b><span style="font-size:12pt">Nick writes:</span></b><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p> As software engineers, what conditions would a program have to fulfill to say that a computer was monitoring “itself<u></u><u></u></p>
<p style="margin-left:0in"><span style="font-size:11pt;font-family:Calibri,sans-serif"> </span><u></u><u></u></p>
<p style="margin-left:0in"><span style="font-size:11pt;font-family:Calibri,sans-serif;font-weight:normal;font-style:normal">It is common for codes that calculate things to periodically test invariants that should hold.   For example, a
 physics code might test for conservation of mass or energy.   A conversion between a data structure with one index scheme to another is often followed by a check to ensure the total number of records did not change, or if it did change that it changed by an
 expected amount.   It is also possible, but less common, to write a code so that proofs are constructed by virtue of the code being compliable against a set of types.   The types describe all of the conditions that must hold regarding the behavior of a function.   
 In that case it is not necessary to detect if something goes haywire at runtime because it is simply not possible for something to go haywire.  (A computer could still miscalculate due to a cosmic ray, or some other physical interruption, but assuming that
 did not happen a complete proof-carrying code would not fail within its specifications.)</span><u></u><u></u></p>
<p style="margin-left:0in"><span style="font-size:11pt;font-family:Calibri,sans-serif;font-weight:normal;font-style:normal">A weaker form of self-monitoring is to periodically check for memory or disk usage, and to raise an alarm if they
 are unexpectedly high or low.   Such an alarm might trigger cleanups of old results, otherwise kept around for convenience. 
</span><u></u><u></u></p>
<p style="margin-left:0in"><span style="font-size:11pt;font-family:Calibri,sans-serif;font-weight:normal;font-style:normal"> </span><u></u><u></u></p>
<p style="margin-left:0in"><span style="font-size:11pt;font-family:Calibri,sans-serif;font-weight:normal;font-style:normal">Marcus</span><u></u><u></u></p>
<p> <u></u><u></u></p>
</div>
</div>

============================================================<br>
FRIAM Applied Complexity Group listserv<br>
Meets Fridays 9a-11:30 at cafe at St. John's College<br>
to unsubscribe <a href="http://redfish.com/mailman/listinfo/friam_redfish.com" rel="noreferrer noreferrer noreferrer" target="_blank">http://redfish.com/mailman/listinfo/friam_redfish.com</a><br>
archives back to 2003: <a href="http://friam.471366.n2.nabble.com/" rel="noreferrer noreferrer noreferrer" target="_blank">http://friam.471366.n2.nabble.com/</a><br>
FRIAM-COMIC <a href="http://friam-comic.blogspot.com/" rel="noreferrer noreferrer noreferrer" target="_blank">http://friam-comic.blogspot.com/</a> by Dr. Strangelove<br>
</blockquote></div>
============================================================<br>
FRIAM Applied Complexity Group listserv<br>
Meets Fridays 9a-11:30 at cafe at St. John's College<br>
to unsubscribe <a href="http://redfish.com/mailman/listinfo/friam_redfish.com" rel="noreferrer noreferrer noreferrer" target="_blank">http://redfish.com/mailman/listinfo/friam_redfish.com</a><br>
archives back to 2003: <a href="http://friam.471366.n2.nabble.com/" rel="noreferrer noreferrer noreferrer" target="_blank">http://friam.471366.n2.nabble.com/</a><br>
FRIAM-COMIC <a href="http://friam-comic.blogspot.com/" rel="noreferrer noreferrer noreferrer" target="_blank">http://friam-comic.blogspot.com/</a> by Dr. Strangelove<br>
</blockquote></div>
</blockquote></div>