Computational and Formal Modeling

Lecture 1

Discussion points: either a question about the text, or a response to someone else. Give informative heading.

Course is not:

  • About specific formalisms
  • A comprehensive overview of existing models in a (sub)domain of cognitive science
  • A training in methods for generating models, e.g. NNs.

Course is about:

  • conceptual foundations of computational analysis
  • formalize verbal (intuitive or informal) theories
  • Practice implementing testing and comparing formal and computational models of cognition
  • Reflect on problems encountered
  • Illustration of above using relevant examples

Main modeling frameworks:

  • Constraint satisfaction
  • Connectionism
  • Symbolic modeling
  • Rational modeling
  • Probabilistic modeling
  • Dynamical modeling

Lecture 2

Discussion points:

  • Role of laws in physics and psychology

General law vs law in situ.

Both describe rather than explain. But psychology should explain more according to Cummins.

Explanations are mechanisms for describing effects (from the exercise of a capacity). E.g. mechanisms for multiplication.

There's many effects, we can come up with explanations in terms of underlying mechanisms. But Cummin's point is that there are very little worked out formalisms/models.

So why is cognitive psychology so rich in effect, but poor in theory? (As in: very little of it)

Sources of confusion: - explanation is not prediction - explanation is not confirmation - explanation is not description - predict but not explain: rhythm of tides (also, explaining the tides did not affect the quality of prediction at all). Or folk psychology. * explanation without prediction: Halting theorem (cannot predict Turing machine will terminate), falling leaf, etc.

Capacities versus effects

Effects constrain explanations.

Cummins: Capacities do not be discovered.(Teacher does not think this is accurate)

1) Common sense about base capacities can be false 2) Capacities can be "carved up" in different ways. What's the difference between planning and reasoning?

But although they might be easy to discover, their specification is very hard. What is required?

Marr's computional level specification

What: function mapping. Part of the explanation is also why is this function the way it is?

Underdetermination of Lower Levels: for each choice at a high level, on a low level more options are consistent.

In turn, the computational level is underdetermined with respect to empirical data. There might be infinite computational specifications for the same data.

Problem with psychology: inputs and outputs cannot be clearly determined. Often, these inputs and outputs are themselves conceptual / mental constructions.

What is the input/output function of 'vision'?

Point of this exercise: the specification of input and output can be so diverse: underdetermination of computational level with respect to data (image of a cube).

Q: Cummins specification of capacity as subjective conditional as satisfying law in situ with Marr's computational level. At Marr's computational level, the why is because the appropriate contextual constraints are met. In this case, is this constraint the law in situ? (In situ: refers to context)

Functional analysis for specifying analysis

Capacity --> subcapacities e.g. letter recognition-->

Two theories for letter recognition:

1) template matching 2) letter features

Why is 2 preferred over 1? Because 2 is supported by effects, e.g. pop-out effect.

This introduced another sub-capacity: feature detection.

This is an example why capacities sometimes need to be discovered, in this case through functional analysis.

Requirement:

1) no "a miracle happens here" (see strip in slide) 2) should be in principle implementable in the brain

Frameworks:

BDI

Intentional stance (Dennett) vs Folk psychology (Churchland).

Why vs? (FP is here mentioned in a negative sense)

BDI explains in terms of rationality / reasons

Whereas mechanistic explanations are: it does what it does.

How is the first mapped onto the other?

How does BDI explain sub-personal phenomena, e.g. vision? Do you desire to see?

Computationalism

Cummins definitions seems to be about symbolic computation. That seems to be the justification of the top-down approach.

Drawbacks (I did not pay attention here):

1) is problem computable, how to specify input/output? 2) is problem analayzible as computation, without any detail yet about the implementation (lower level of the top-down approach)

Connectionism

You don't need to analyze a cognitive capacity, you just train on data:

Drawback: when did you really explain a phenomenon, when you can't even specify it before training for example a network?

NN's can be tricked in surprising ways, because we cannot mathematically show that the internals always have correct output.

Neuroscience

On the wrong side of the Leibniz gap. Theory has to bridge it.

Evolutionary

Psychology: how does it work?

Evolutionary: why does it work?

These approaches do not compete.

Lecture 3 | Coherence as constraint satisfaction

From informal to formal description. See slides for steps.

Convention: dotted lines are negative constraints.

For inputs: make sure they are constraining enough.

Formalisations 1 and 2 are not fully connected, the Hopfield network is.

Exercise: proof that the three formalizations are equivalent

Same formalizations express same model: they do not necessarily compete!

Symmetry relation has interesting consequences: the coherence of A and R is the same as the coherence of R and A. But this might be extremely strange if you apply this theories, for example to having a set of beliefs.

Then a problem is: how can coherence than lead to truth? each coherence biases you to truth as much as non-truth.

--> Their theory lacks the data priority principle.

We want to prefer observations:

Foundational coherence: force observations to be true

Discriminating coherence: give weight to elements part of the observation set

This issue is introduced as difference between pure and discriminative coherence problems. But don't incorporate it in the computational theory.

Exercise: Does this get rid of the symmetry property?

Lecture 4:

No notes?

Lecture 5: Probabilistic and Rational Modeling

More behavioral and neurophysiological evidence. However: probabilistic models are computationally intractable.

Why are these probabilistic models also called rational?

A: Because the assume that updating of beliefs is rational if you follow the axioms of probability. Thus not only descriptive, but also normative.

The hypothesis in Bayes rule can be thought of as a set of mental representations.

Decomposition of 3D cube-example:

How would you explain the cognitive process with a Bayesian hat on?

Discussion points

  • Is probability theory hard for a probabilistic mind?

Potential criticism: people are poor in probability theory.

A: describing cognitive systems in terms of probability theory does not commit people to knowing probability theory.

  • Does probability models explain or just describe?

Is the "why" also explained? Do the authors intend prob. theory as an explanation?

At the one hand we say that the prob. theory applies to all three levels of Marr in the paper. But these levels are levels of explanation. Authors seem to intend it as explanation.

  • Does the rationality principle hold?

Clarification: for the authors' account of action understating, the theory does not have to be true. It's about how we attribute goals to others, and interpret their behavior even if their behavior is not strictly rational.

Practical: what does approximation mean?

Two qualitative sense of approximation:

1) approximate problem solution structured representation 2) approximate problem solution outcome value

Approximating these are really different.

E.g. CSP problem: inverse beliefs graphs have same coherence. Very similar looking belief graphs can have very different coherence.

For cognitive science: representation approximation is relevant, way more than in for example computer science.

Practical: proof of inapproximability

Given: coherence problem is intractable.

Proof: if poly-time approximation is possible, then coherence problem is tractable.

Proof structure:

If A then B. But B is always false. So A is never true.

If there would be an approximation that is k- errors of, reaching a solution to the coherence problem from that approximation is feasible, i.e. polynomial time.

k = 1. Somewhere in the graph, one node needs to be flipped. You can try each node and flip it (linear time), calculate the coherence in polynomial time, and see which flipping improves the coherence: that gives the optimal solution.

k. You have to flip all combinations of two nodes, and calculate the coherence of the graph in polynomial time, to find the optimal solution. Worst case, doing all combination of flips of complexity n^k (Because n choose k is of complexity class n^k). This is polynomial time.

That means that if we have an approximation with k errors, the coherence problem is also tractable. But we know the coherence problem is not tractable. So it cannot be possible that there is a polynomial time approximation.

Practical 2 instruction

Don't mistake writing the algorithm for an algorithmic level theory. We are testing the outcome of the computational level theory.

The neural network claim is on the algorithmic level.

We have just proven we cannot tractably approximate coherence problems.

So differences will arise between the algorithmic approximation and the computational level theory.

Can these be resolved?

N.B.

Output activation pattern needs to be discritized. Positive activation --> +1.

Read up Appendix. They did this by clamping activation nodes to an output node clamping to 0/1.

f you change the initial A(v) to a smaller number, also adapt the Min change parameter to a smaller number.

History Β· 6 changes since 2018-10-08

Full changelog