Showing posts with label knowledge. Show all posts
Showing posts with label knowledge. Show all posts

Sunday, April 5, 2026

Thin Slice evaluation in Social Settings

This is the abstract for Ambady, Nalini, and Robert Rosenthal. "Half a Minute: Predicting Teacher Evaluations From Thin Slices of Nonverbal Behavior and Physical Attractiveness." Journal of Personality and Social Psychology 64, no. 3 (1993): 431–441. https://doi.org/10.1037/0022-3514.64.3.431.

The accuracy of strangers' consensual judgments of personality based on "thin slices" of targets' nonverbal behavior were examined in relation to an ecologically valid criterion variable. In the 1st study, consensual judgments of college teachers' molar nonverbal behavior based on very brief (under 30 s) silent video clips significantly predicted global end-of-semester student evaluations of teachers. In the 2nd study, similar judgments predicted a principal's ratings of high school teachers. In the 3rd study, ratings of even thinner slices (6-s and 15-s clips) were strongly related to the criterion variables. Ratings of specific micrononverbal behaviors and ratings of teachers' physical attractiveness were not as strongly related to the criterion variable. These findings have important implications for the areas of personality judgment, impression formation, and nonverbal behavior.

The paper is accessible in multiple places on the web, e.g. here. The paper extended NaliniAmbady's dissertation research at Harvard, where Rosenthal was her advisor.

The careful study design is resistant to many of the criticisms that "thin slice" research has been submitted to since the work of Todorov and the "Blink!" popularization. The work builds in three incremental studies, it specifically checks for the attractiveness bias, and it used not only student but also principal evaluation to check for comparability. It did not work on thinning the slices until the third study.

Ambady was bitten, however by the assumption that student evaluations were an informative signal.

The criterion was end-of-the-semester student evaluations. Although student achievement (adjusted for student ability) might be the best possible criterion of effective teaching, it is very difficult to obtain such data. Teacher effectiveness in the real world is often evaluated solely on the basis of ratings of supervisors and students. Therefore, we used end-of-the-semester student ratings of teachers as a measure of teacher effectiveness. Considerable evidence supports the validity of student evaluations: Student ratings are consistent over time and across raters; correlate positively with expert, colleague, and administrator ratings; are independent of extraneous characteristics or characteristics of the students themselves; correlate significantly with how much students actually learn; and, last, do not change appreciably with greater age of the student rater and reflection by the student (Abrami, d'Apollonia, & Cohen, 1990; Centra, 1979; Cohen, 1981; Feldman, 1989a, 1989b; Howard, Conway, & Maxwell, 1985; Kulik & Kulik, 1974; Leventhal, Perry, & Abrami, 1977; Marsh, 1984; McKeachie, 1979; Trent & Cohen, 1973). Thus, student evaluations seem to be a valid means of evaluating teacher effectiveness. (432)

That stance was substantially challenged by the research of Boring, Ottoboni & Stark (2016), which used substantial data sets to argue that

Student evaluations of teaching (SET) are widely used in academic personnel decisions as a measure of teaching effectiveness. We [i.e. Boring, Ottoboni & Stark] show:

  • SET are biased against female instructors by an amount that is large and statistically significant.

  • The bias affects how students rate even putatively objective aspects of teaching, such as how promptly assignments are graded.

  • The bias varies by discipline and by student gender, among other things.

  • It is not possible to adjust for the bias, because it depends on so many factors.

  • SET are more sensitive to students’ gender bias and grade expectations than they are to teaching effectiveness.

  • Gender biases can be large enough to cause more effective instructors to get lower SET than less effective instructors.

These findings are based on nonparametric statistical tests applied to two datasets: 23,001 SET of 379 instructors by 4,423 students in six mandatory first-year courses in a five-year natural experiment at a French university, and 43 SET for four sections of an online course in a randomized, controlled, blind experiment at a US university.

This research appeared three years after Ambady's passing away in 2013.

Ambady's & Rosenthal's work was also hampered by the winner's curse, which their three-times repetition of their study could not fully escape from. (Notice that only some of the concerns that Ioannidis expresses in his 2005 paper apply to Ambady's work, and that the suggestion to use larger studies is silly for a PhD undertaking altogether.)

Wednesday, August 6, 2025

Dipping into Factual and Narrative Cognition

 I was generally wondering how we got from the freedom to differ on how exactly purgatory works to dismissing the scientific evidence on climate change or vaccinations on grounds that amount to beliefs.

ChatGPT 4-o helpfully sent me to start understanding this by looking into the work of Dan Kahan at Yale and his research on cultured cognition and motivated reasoning (e.g. Motivated Reasoning and its Cognates, extracted from Dan M. Kahan, Neutral Principles, Motivated Cognition and Some Problems for Constitutional Law, in: Harvard Law Review, vol 125 (2011), pp.1-77).

In a blog entry that gives a talk at an NSF 2011 conference, Kahan summarizes the problem well:

When risks and other facts that admit of scientific investigation become the focus of cultural status competition, members of opposing group will be unconsciously motivated to construe all manner of evidence in a manner that reinforces their commitment to the positions that predominate within their respective groups.

Or, as Kahan clarified in a blog entry from 2014 when discussing whether social science research shows a dissipation of trust in science in people who identify as Republican,

... political polarization over risks and other policy-relevant facts is a consequence of a the latent distrust citizens with opposing cultural identities have of one another, & their suspicion that "science" is being invoked opportunistically, disingenuously to disguise as claims about "how the world works" what are in fact contested understandings of "how we should live".

Note that ChatGPT 4-o was very clear that I needed to look at the side of the narrative imagination (Martha Nussbaum) as well as the epistemic character that dealing with truth requires (Quassim Cassam). The "minimal program" for looking at the various facets of this issue ChatGPT 4-o summarized in this handy table, which I copy as a graphic here.

A graph showing how the work by Kahan, Fricker, Casssam, Nussbaum and Zuboff highlights the asymmetry between facts and narratives.
The core dilemma in this investigation is the aymmetry between facts and narratives:

“Facts do not counter, narratives do. But you need facts to invalidate narratives.”

As ChatGPT 4-o pointed out:

This is the epistemic asymmetry that the 21st century hasn’t resolved. And bad actors have exploited it masterfully: because a compelling lie with emotional resonance is faster and more persuasive than a slow, careful debunking—even when the debunking is factually unassailable.

Sunday, May 5, 2024

Again

Spending a lot of time today thinking about repetition (Difference und Wiederholung, in the words of Deleuze) as problems of knowledge representation. The impetus came from a book on Caterina of Medici (Leah Redmond Chang's Young Queens), which in turns uses the Chronicle of Le Murate to tell the story of eleven-year old Caterina getting caught up in the battle between Medici-Pope Clement VII and the Florentine Republic.

As so often, Sister Giustina Niccolini was writing many years past the events, in 1598, about a situation that happened in the summer of 1530. The rough of it was that the Republican council of Florence wanted to use Caterina as a pain point in their negotiations against the Pope, and the nuns of Le Murate, who were sheltering Caterina, wanted to prevent that, fearing that she might get hurt.

So we have all the usual elements, we have goals and plans and scripts. The interesting part is the conflicts, which interrupt these scripts (or just attempt to do so). 

Silvestro Aldobrandini, the secretary of the council, goes with his soldiers to pick up Caterina from Le Murate in the Via Ghibellina. At this points, plans made by the council and plans made by the pope and his Spanish supporters have been made and thwarted. 

Though the council had placed Caterina there as a guest in 1527 to hold her hostage, they now needed her back for a new plan--to pressure the pope into withdrawing his troops. The nuns refuse to hand her over by refusing to open the door. 

Aldobrandini returned later that night to blast the door to splinters (with canons?), thereby foiling the nuns' plan of keeping Caterina safe in the nunnery. So the nuns physically block Aldobrandini and his men.

Trying to block the men from penetrating deeper into the convent, the nuns sank to their knees, then threw themselves to the ground, crying, praying, pleading, and arguing. 

--Chang, Leah Redmond. Young Queens: Three Renaissance Women and the Price of Power (p. xii). Farrar, Straus and Giroux. Kindle Edition. 

As a quick aside---notice the nightmare of representing this scene, given the plurality of behaviours and the unclear activities (what did they pray? what did they argue), not to mention the loose quantification.

Aldobrandini continues to pursue his goal of pressuring the pope by replanning, but with the nuns bypassed,  Caterina becomes his next obstacle, neither going willingly or shutting up. 

It is silly to assume that Caterina had no patterns for the scenes that she was making, first arguing to remain at the covenant, and then demanding of the world why she was being submitted to such a violent death (Chang, p. xix). So there are scripts here that elude us and that are prolongued. 

Persuading someone is a complex process that may require multiple iterations, some repetition, some novel points, and definitely a good chunk of passage of time. All of this was happening while Aldobrandini was trying to get her on horseback to someplace where she could be used in her role as pressure point. (Chang makes no mention of how that was supposed to work, perhaps her sources did not know either.)

Chang suggests that Aldobrandini must have been swayed, but it is not clear that this is true. Aldobrandini needed Caterina alive, and after chasing the pope's soldiers away, Caterina would most likely return to the covenant, where she had spent the previous three years as hostage. I personally see no giving in when Aldobrandini tells her that she will not come to harm (a dead hostage is a useless hostage) and that he will return her to the covenant within a month's time (her preferred "storage place", as far as the Republican council of Florence was concerned).

Aldobrandini told Caterina that no harm would come to her. He promised to return her to Le Murate within the month. (Chang,  p. xix)

At this point, the whole thing turns into a morality tale of sorts. The Medici restoration leads to the execution of counselors and the torture of those that are banished (Chang, p. xix), but Caterina (somehow) manages to intercede for Aldobrandini and get his death sentence commuted to banishment (with or without torture, Chang does not tell us). 

This then leads us to some of the meta-historical aspects of this story that Hayden White would have immediately jumped on. Clearly the Le Murate chronicle is not a neutral source. Sister Niccolini emphasizes the connection to the French Queen Caterina to the Medici-funded nunnery (Chang, p. 14), proudly recounts the gifts (Chang, p. xix) received, and the ongoing relationship. In fact, Caterina would petition them to pray for her continuously in 1573 and again in 1583 (Chang, p. 17), as we know from her letters (it is unclear whether Niccolini mentions that as well). By the time Niccolini completed her chronicle, the French Queen had been dead for almost a decade (1589).

With that narrative setup, we immediately have heroes and villains, and the morality tale acquires a structure of perhaps a tragedy for Aldobrandini, or the council? Or perhaps even a comedy from Caterina's point of view? More textual analysis would be necessary to make either of that attribution stick. The nuns clearly wanted to be seen as powerful intercessors, either in their arguing or in their praying. 

We therefore need representations that capture these emplotment aspects, the role attributions. Perhaps one might argue that our question of which nun did what is highly misguided. The nuns (and perhaps even the soldiers) function more like the chorus in a Greek theatrical tradition, they as a group embody a sentiment that the author wishes to express. 

Sunday, March 22, 2020

Is weak second-order logic sufficient for Humanities research?

In the process of reading Jouko Väänänen's article on "Second-order and Higher-order Logic" in the Stanford (Internet) Encyclopedia of Philosophy, I came across the question of whether weaker forms of second-order logic are decidable or not.

One interesting paper in this regard is Michael O. Rabin's paper from July of 1969, where he shows the decidability of some second-order theories (using the automata on infinite trees, a reduction of a Turing machine that can only read but not write to the tape).

Perhaps most promising seems to me to be that both linearly ordered sets (Corollary 2.2) and countable well-ordered sets (Corollary 2.3) is decidable. The result that Rabin seems to be especially proud of, that the second-order theory of a unary function in a countable domain is decidable (Theorem 2.4), seems to be unhelpful for the knowledge representation needs of the Humanities.

What seems unclear at this point is whether weak second order logic allows the relating of sentences as well as contextualization. That seems to be the crux of the matter for the Humanities, after all. Väänänen writes:
In weak second-order logic we have no function variables and the relation variables range over finite relations only. The resulting logic is in many ways similar to the extension of first order logic by the generalized quantifier Q0. 
The inability to iterate over the functions seems acceptable, as we can turn all finite function applications into terms anyway.

Perhaps it will require a look at finite model theory to make progress on this question.

Addendum: Notice that Daniel Leivant's Higher Order Logic discussion also emphasises that the key features of weak second-order logic is that the relations variables "range over finite relations" [p44], which is later clarified to mean that the relation variable "R is ranging over finite sets" [p.45] and that there are not function variables [p44]. Among the noteworthy results, Leivant mentions that

  • Though the upward Skolem-Löwenheim property does not hold, the downard Skolem-Löwenheim property does [p.45]
  • The set of f-valid second order formulas is PI-1/1 [p.45].
  • Linear ordering and one function are both decidable [p.45].

Some details on the relation between 2nd Order Logic and Set Theory

For Humanities researchers, who relate sentences to sentences, 2nd Order Logic seems more unavoidable than perhaps to knowledge engineers, who prefer to remain decidable. This tension forces me to revisit the precise ways in which 2nd order and first-order formalisms influence expressivity.

Now I found a nice quote in the Stanfard Encyclopedia Of Philosophy article on Higher-Order Logic about the relationship between 2nd-order logic and set-theory that illuminates some of the puzzlement about that connection:
Perhaps this [result of comparing the model hierarchy and the Levy hierarchy, RCK] would not be so puzzling if we thought of set theory as a very high order logic over the singleton of the empty set. After all, set theory permits endless iterations of the power set operation, while second-order logic permits only one iteration.

Monday, March 2, 2020

Applying Peirce to Image Interpretation --- Part Two

If we look again at our four categories --- NONE, ALL, UNIQUE and SHARED --- we immediately realize that they are all grappling with a disjunction that is the enumeration of our sources. Recall that we said that Altdorfer is facing the following situation (in the single source case):
Rufus v Arrian v Justin v Schedel v Harlieb v Aventinus
(where v is the usual vel of classical logic, inclusive or): a big disjunction of choices.

Thus, if we see 32k as the number of battle participants on the flag of the Macedonian infantry, we know that it is either Justin or Schedel or Aventinus, but not Rufus, Arrian or Hartlieb.

The problem is that this representation is logically incomplete. What is missing is the precondition that these are in fact all of the possible sources on the Issos battle that Altdorfer could have consulted. So, the more correct logical form would be something akin to (now in sentential representation):

(and  (sourceUsedInCW Altdorfer-Alexanderschlacht-1528 ?X)
  (memberOf ?X (TheSet Rufus Arrian ... Aventinus))

  (not 
     (thereExists ?Y
        (sourceUsedInCW Altdorfer-Alexanderschlacht-1528 ?Y)
        (not (memberOf ?Y (TheSet Rufus Arrian ... Aventinus))))))

Since this construction is so awkward, we usually have syntactic sugar to make this more palatable.

(candidateSourceUsedInCW Altdorfer-Alexanderschlacht-1528 Rufus)
...
(candidateSourceUsedInCW Altdorfer-Alexanderschlacht-1528 Aventinus)

And then some meta-predicate that makes the same point

(completeExtentAsserted candidateSourceUsedInCW)

... most likely in a suitably restricted microtheory context.

While this is inferential successful and will allow us to conclude NONE in the case of the 12k killed Persian foot, or UNIQUE in the case Oxarthes and the Frauenzimmer, it is also historically false. We have in fact no way to know that there are no other historical sources that were available to Altdorfer at that time. In fact, any day a chance find in the Regensburg library, comparable to the one that recently uncovered the Quintus Rufus edition that Aventinus apparently used (cf Wagner-Jehle, Albrecht Altdorfer: Kunst als Zweite Natur, in: Regensburger Studien zur Kunstgeschichte, Bd 17, Regensburg 2012), might reveal another source.

This could directly affect our UNIQUE or NONE queries, or turn an ALL into a SHARED. It might also upend our source dependency analysis in the case of a former SHARED query. 

This is where truth maintenance comes into play. We must at all times be prepared to take this enumerated set extents and re-validate them against the latest state if historical research, and modify our claims accordingly. The specific transformations are as follows (if there is any change, rather than no change):
  • NONE into UNIQUE if the new source contains the feature
  • UNIQUE into SHARED if the new source contains the feature
  • ALL into SHARED if the new source does not contain the feature
Only SHARED would continue as SHARED, albeit potentially influencing the dependency graph. For example, in a situation before Cord Meckseper's Iconography Paper, discussed in Part One, where only Justin's Epitome and Aventinus' Bavarian Chronicle might be in consideration as source for the 32k Macedonian foot, one might be tempted to think that Aventinus used Justin; but the insertion of Schedel's World Chronicle makes opens up new possibilities here.

Applying Peirce to Image Interpretation --- Part One

The basic notion of Charles Sanders Peirce's, that the positing of an abduced structure of some sort (e.g. a Schankian script in a Davidsonian representation world) can organize a set of disparate pieces into an explanation, is sound. The problem is how to play that through for the specific case of, say, Albrecht Altdorfer's Alexanderschlacht.

The start of the story must be the flags and the labels, because they give specifics. We also need to hold the inscription aside, because there is a strong suspicion that it is not by Altdorfer himself, but later (possibly by Jean De Pay in 1658, whose restauration receipt is already mentioned by Franz von Reber's Catalogue of the Old Pinakothek's collection of 1900 in the 8th edition, though Buchner in the 1938 Katalog for the 400th anniversary exhibition in Munich seems first to suggest that this included a reworking of that inscription).

There is a list of possible sources that Altdorfer could have used for obtaining the details of the battle. That list includes Arrianus, Quintus Curtius Rufus, Justin's Epitome of Trogus, Aventinus, the Alexander Romance of Johannes Hartlieb, Schedel's Nuremberg Chronicle, and Plutarch. (For some of Aventinus' views on this matter, see this post here.)

Per CSP's recommendation, we can now construct alternate worlds of various forms. The basic idea would be that Altdorfer used exactly one source. For example, as Cord Meckseper did in his article on the iconography of the battle (Zeitschrift des Deutschen Vereins für Kunstwissenschaft, XXIII, 3/4, 1968, 178-185), one might assume that Schedel's Weltchronik might suffice.

The point is to expand what »suffice« might mean in terms of a strategy of mechanical interpretation. We assume that the narrative (it is not very long in Schedel) is summarized in a suitable Davidsonian event representation. This instantiation then identifies actors, actions, matériel and similar.
We also need a similar instantiation of the content of the painting itself, as an event, describing the various discernibles. Here, we can simplify the problem by delineating (e.g. with TEI standard bounding boxes) and describing at the action level (moving, turning, etc.) all those entities that any of the art historic works we have considered have identified, i.e. the superset of the interpretation constituents. Recall that we wish to model the argumentation, not automate the argumentation.

But if we have the description of the picture, and the description of the events as reported in the various sources, what then is the abduction doing for us? It is the mapping between these components, a representational correspondence. The picture has a golden-armored man riding a white horse. The story has Alexander leading a charge (say, not all sources go into that detail). The abduced mapping then says that the man on the white horse is Alexander (and by one step of inference that leads us beyond the sources, the horse is Bukephalos).

Consider the battle flag for a moment, which consist of the following pieces of information:
  • the army to which the troops are attached (Greek/Macedonian or Persian, often mentioned pars pro toto via the commanders Alexander and Darius III)
  • the type of troops we are talking about (here, mostly foot vs horse, i.e. infantry vs cavalry)
  • the number of men present at the beginning
  • the cardinalities of the categories at the end of the battle
    • killed (presumably this includes missing in action, in modern parlance)
    • captured (e.g. 40k Persians in Justin and Schedel)
    • escaped (1k horse w/ Darius in Quintus Curtius Rufus, 4k in Arrian)
Here we are matching not against actors or roles in the script, we are matching against event statistics, so to speak, or statistics of sub-events (e.g. the troop numbers at the beginning and at the end of the battle). The flags visually represent the battle statistics (which are abstractions and therefore not visible per se).

In all of these representational mappings, we can run into four situations:
  • NONE: there is something in the image that is in none of the sources (the scythes on the fleeing chariot, the chariot driver felled by the arrow, the boats on the sea), 
  • ALL: there is something in the image that is in all of the sources (Alexander, Darius)
  • UNIQUE: there is something in the image that is only one of the sources (the women, Oxarthes)
  • SHARED: there is something that is in some, but not all of sources (the 32,000 Macedonian foot in Aventinus, Justin's Epitome of Trogus and Schedel's Weltchronik)
We have different reactions to these situations, then, as they give us different information about the question of which sources were used.
  • NONE means that Altdorfer invented the matter himself
  • ALL means that we cannot distinguish between the different source theories based on this piece of information
  • UNIQUE means that the specific source was definitely used
SHARED has a special status, as it is often an indication of the genealogy of the sources themselves. For example, Altdorfer was not the only one working from sources, both Aventinus and Schedel had to use ancient reports to underpin their reconstructions. We may not be able to separate out Justin from Trogus, since Trogus did not survive the ravages of time as an independent source. But since Justin  (200-400 AD) is temporally before Schedel (1493) and Aventinus (1526), it is likely that Schedel used Justin (in the particular case of the 32k Macedonian foot). There are other cases were Schedel agrees with Justin, such as the number of 40k captured Persians.

The problem is trickier in the case of Aventinus, whose Bavarian Chronicle was published in 1526 when Aventinus was already living in Regensburg. Since Schedel predates Aventinus by over 30 years, and Aventinus only discusses Quintus Curtius Rufus as well as Arrian (Bk I, Cpt 153, p.337), as well as disparaging Hartliebs Romance. So perhaps Aventinus used Schedel and not Justin; unfortunately he mentions neither.

One more point about the NONE category, because Alexander's horse Bukephalos falls into it. None of the source I have looked at specifically mention that Alexander was riding Bukephalos at the battle of Issos. But Bukephalos is not invented in the same way that the chariot driver pierced by the arrow is, and not in the same way that the scythes on the carriage are. So we will have to return to the problem of this category at a later point.

But before that, we have to look at the problem of dealing with the open-ended disjunctions.

Tuesday, July 31, 2018

Rule Probabilities and Quantification

In Artificial Intelligence of the symbolic kind, it is often the case that probabilities are applicability constraints that are simply attached to the rules.
[In some survey of some part of the populace,] 80% of all Biritsh scientists are the children of scientists [the oldest child, an only child, etc].
The problem with these types of examples is that they disguise how the probabilities end up affecting the quantifier structure. This is especially true when we deal with a language that supports exceptions (i.e. non-monotonic changes) in the knowledge capture because there the extremes are best captured as exceptions.
None of the cities of of the Roman empire, excepting Rome itself, had more than five hundred thousand citizens.
(exceptWhen (equalSymbols ?CITY Rome)
    (=> (and (isa ?CITY City) (subOrganization ?CITY RomanEmpire)
             (population ?CITY ?POP))
        (lessThan ?POP 500000)))
(with appropriate temporal restrictions somewhere, e.g. implied by the Roman empire membership or on the  population number).

At the same time, at the middle range of the distribution, it would be most natural to speak of existential quantification, perhaps baths or amphitheaters, or a temple dedicated to a specific deified hero or an oriental fertility cult.

Thus we observe that a continuous model (probabilities [0,1]) meet a discrete model of quantifiers and exceptions, and we expect the continuous model to deal with data changes more gracefully, especially if the representation of discrete parts is not automatically driven by continuous representation. Perhaps we could consider 1% and 99% as the cutoffs for 'none' and 'all' (not in principle, in a specific case), and have rules to then conclude the discrete quantifier structure from the data distribution and its interpretation?

Saturday, July 28, 2018

Improving Scripts

For some scripts, it would seem helpful to know not merely which scenes follow which scenes, but also what the temporal constraints are on the individual scenes to get them accomplished.

Consider Arthur C Danto's example of lighting a pipe; if the match burns at the standard rate, then there are just a few moments until the match is too hot to hold and needs to be dropped. Similarly, for a recipe, there are time constraints on how soon the next processing steps have to take place before the processed food has changed in temperature or composition or moisture contents to make the next step less successful (or even impossible).

At the same time, similar constraints hold in the other direction of moving "too early" as it were. The rates of these changes put temporal bounds on the script that would be good to know and good to have.

Ideal Types continued

While it seems perfectly normal to have Restaurant as an ideal type, it seems less convincing to have a restaurant visit as an ideal type; yet this is what the script was.

So we first note that there is a difference between ideal types and scripts in the sense that ideal types are much more structural. Ideal types are concerned about the fact that restaurants have kitchens and waiting areas and menus and specials of the day and a parking lot and fire exits. For the scripts, the emphasis is on the event types that can take place in that setting. The focus is less on how to build a restaurant and more on how to behave within one.

The second aspect is that ideal types are themselves structurally developmental. Sometime in the modern era, probably increasingly so after WW2, restaurants acquired cold storage rooms to house the meats and other perishables between acquisition and preparation. The ideal type can accommodate that shift readily; there are temporal constraints on the presence of the cold room until pretty much all restaurants have them (and use them to great effect, e.g. Ratatouille).

It is not clear that scripts as encodings of expected behavior accommodate as quickly. Perhaps temporally recent changes that affect the behavior more are required to show script changes; for example, the elimination of smoking rooms or requests to silence cell phones during dinner.

Perhaps there is then a general tendency as to classify the ideal type as part and parcel of structural history (Strukturgeschichte), the background on which the events take place (some of which may very well be guided by scripts).

Scripts, Golems and Ideal Types

In an attempt to bring together the viewpoints of the digital humanities on the one side and the knowledge representation community on the other, it is instructive to ask what the commonalities and differences are between scripts (Schank & Abelson, 1977), Golems and Ideal Types (Weber, 1912).

Scripts

Scripts are supposed to structure habitually reoccurring events. They have to do with how people internalize appropriate behaviors and how to negotiate situations. The classical case is eating at a restaurant. There are actors for capturing the participants; there are roles that these actors play in the various scenes that structure the event, and there are rules of continuity, consistency and temporal ordering that hold between the scenes and the events. Non-actors or matériel is present as well and has its own rules of continuity between the scenes. Not all scenes are required, and some scenes can be repeated multiple times. 

  • At the restaurant, the patrons, as well as the serving staff, are actors.
  • The other patrons belong to a backdrop unless people are sharing tables in a full cafe or similar.
  • The menu and the tableware and the condiments form part of the matériel that is utilized in the individual scenes.
  • On a bad day, the scene of an order being rejected due to lack of ingredients might repeat several times. That scene might be elaborate if the waiter has to check each time with the chef if there is any clam chowder, bass, salmon, lobster or shortcake left.
  • The action relations are keyed to the scene of specific types which structure the roles; for example, the paying of the check is an economic transaction or a purchase, with the patron in the role of the buyer, the restaurant as represented by the waiter in the role of the seller. At the same time, it is a praising if the waiter receives a tip or a criticizing if the tip is small or withheld altogether. 
  • Different matériel may require different sub-scenes structures; for cash, there is often change brought back; for credit card transaction, a receipt has to be signed to complete the transaction. If the payment is a gift card or a voucher, none of these might be necessary, unless the payment is partial. 
All in all, a pattern matching grammar for events that talks about expectations, down to the {n:m} notation of repetitions, and what one is going to find.

Golems

While the statements about scripts, roles, actors, matériel and similar cache out as rules with universal or existential quantification, the process of authoring these statements is sometimes not as intuitive as one would like.

Taking a leaf from prototype-based programming, Golems sketch a situation using generic terms that stand in for the involved types. If a script is more like a narrative or a "what I did last summer" essay, the Golem is more like an explanatory drawing in an encyclopedia.


(Image from the Public Domain Pictures Net)

Given such a setup, one can easily speak about the sternum being connected to the second (true) rib "through the intervention of the costal cartilage anterior." The naturalness of the authoring comes from bracketing the need to be specific about quantifiers, which are implied. Furthermore, there is a completeness to the golem that can be exploited to note that any connection not enumerated is therefore implicitly absent, akin to a completely enumerated collection type.

On the whole, while the script appears to be a more flexible form of representation, the Golem is a more concise form of representation that has a clearer affinity to natural language use.

Ideal Types

The notion of ideal types was introduced by Max Weber in his essay on the objectivity in the social sciences. Weber pointed out that expectations and recognition are guided in the social sciences by superimposing the features and substructures discovered on exemplars into a coherent role that subsumed all but over-described any of them. The canonical example has been the Medieval city, with its burghers and guilds and churches and fountains and market squares, defensive installations and city government, rights and duties and privileges and so on and so forth. And though no specific Medieval city ever covered all of these aspects, at least not at the same point in time, the ideal type guides discovery of information and serves as a backdrop to explanations and narrations.



In terms of knowledge representation, the ideal type is of course a very different beast altogether than either the script or the golem representation and some thoughts on how that difference cashes out is going to be the main concern