Frames as Distributions over Concepts #
@cite{fillmore-1982} @cite{schank-abelson-1977}
A frame/scenario is a coherent situation type that makes certain concepts more or less likely.
A scenario mixture: distribution over scenarios.
When the scenario itself is uncertain, we have a mixture: P(concept) = Σ_s P(s) × P(concept | s)
- dist : Scenario → ℚ
Distribution over scenarios: P(scenario)
Instances For
Frame Elements #
A frame defines a set of roles (frame elements) and their typical fillers.
COMMERCIAL_TRANSACTION frame:
- Buyer: human
- Seller: human or organization
- Goods: artifact or service
- Money: currency
- etc.
A full frame definition with its elements.
- name : String
Frame name
- elements : List (FrameElement Concept)
Frame elements with their filler distributions
- scenarioBase : Concept → ℚ
Overall scenario distribution (for concepts not tied to specific elements)
Instances For
Scenario Induction from Context #
Context words activate scenarios:
- "player" activates SPORTS
- "astronomer" activates ASTRONOMY
- "cave" activates WILDLIFE/NATURE
This is modeled as P(scenario | context-words).
See Phenomena.Polysemy.Studies.ErkHerbelot2024 for worked disambiguation
examples using these types.
Infer scenario distribution from context cues (Bayesian update).
P(scenario | cues) ∝ P(scenario) × Π_cue P(cue | scenario)
Equations
- One or more equations did not get rendered due to their size.
Instances For
Frame Evocation #
Words evoke frames. "buy" evokes COMMERCIAL_TRANSACTION. Once evoked, the frame provides expectations about:
- What other elements will appear
- What concepts are likely for each element
Given an evoked frame, get expectations for unfilled elements.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Full SDS-Style Disambiguation #
Combining selectional preferences with scenario constraints:
P(concept | role, context) ∝ P_sel(concept | role) × P_scen(concept | context)
Full SDS disambiguation combining selectional and scenario constraints.
Equations
- Semantics.Probabilistic.Scenarios.sdsDisambiguate selectional scenario concepts = Core.ProductOfExperts.poe2 selectional scenario concepts
Instances For
With scenario uncertainty: marginalize over scenarios first.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Scenarios as RSA Goals/QUDs #
In RSAScenario, the Goal type can encode scenarios:
- Each goal corresponds to a scenario
- The goal prior = scenario prior
- Goal projection filters by scenario-relevance
Mapping #
| SDS | RSA |
|---|---|
| Scenario s | Goal g |
| P(s | context) | goalPrior |
| P(concept | s) | World structure filtered by g |
Implementation #
We can create RSA scenarios where:
- Worlds encode concept assignments
- Goals encode scenarios
- goalProject filters worlds compatible with scenario
A scenario-structured world: pairs (concept-assignment, scenario).
- concept : Concept
- scenario : Scenario
Instances For
Create a "scenario goal" that filters worlds by scenario membership.
Equations
- Semantics.Probabilistic.Scenarios.scenarioGoalFilter targetScenario w = (w.scenario == targetScenario)