Generation
Course | Mo: 0915-1045 (H1 5.16) |
Module | Sprachproduktion (04-046-2023) |
Instructor | Greg Kobele (H1 5.11) |
Course Log
- We talked about PDDL
- Robot vacuum example
Split knowledge into two parts
Planning domain
General properties of the problem type
- properties of things
- what you can do
(define (domain vacuum) (:predicates (clean ?r) (is-in ?r) (adjacent ?r1 ?r2)) (:action move :parameters (?from ?to) :precondition (and (is-in ?from) (adjacent ?from ?to)) :effect (and (not (is-in ?from)) (is-in ?to))) (:action suck :parameters (?room) :precondition (is-in ?room) :effect (clean ?room)) )
Problem instance
Description of the problem to solve
- which things exist
- what properties they have
- what we want to achieve
(define (problem vacuumer) (:domain vacuum) (:objects left right) (:init (is-in left) (adjacent left right) (adjacent right left)) (:goal (clean left) (clean right)) )
- The search space is the set of all possible states of the world, which are represented as sets of ground terms (which are the true ones; all others are false)
- The edges are given by the
actions
defined in the problem instance - We can search either forwards (from the initial state to goal) or backwards (from goal to initial state)
- We discussed search in artificial intelligence
- We went through the notion of a search space
- and discussed (uninformed) search strategies
- depth first
- breadth first
- iterative deepening
- We then talked about informed search
- best first
- greedy search
- admissible heuristics
- We discussed the notions of open propositions, and of the distinction between various kinds of knowledge maintained and updated during conversation.
- We then went through the generation algorithm of Stone and Doran, which treats sentence generation as referring expression generation.
- Next week we will begin to talk about the next paper:
- READING (required)
- Koller, A. and M. Stone (2007) Sentence generation as a planning problem
- We problematized the question of the input to a generation procedure, from the perspective of whether we are encoding too much information about syntax if we use a particular highly structured meaning representation. Hobbs' flat semantics can be thought of as a response to this worry.
- We discussed the liberating effect of ontological promiscuity, as well as how the rampant postulation of entities makes ample referents available for anaphors of all types.
- We discussed how to represent quantification, and quantifier scope
- We stated a simple syntax semantics interface for TAG with Hobbs' flat semantics
- Finally, we saw how the problem of generation could be thought of in
terms of three increasingly restricted problems:
- how to generate a grammatical sentence
- how to generate a grammatical sentence, which has the desired meaning
- how to do the above, but also where the sentence has the appropriate pragmatic features
- For next week read:
- We discussed wh-movement in TAG, and thought about how various familiar constraints (that-trace, wh-islands) could be captured in terms of restrictions on elementary trees.
- We turned back to raising, and looked at complement selection alternations contingent on voice (in verbs like make), and on asymmetries in raising between copular constructions and small clause constructions. We saw that these could be described naturally using the extended domain of locality offerend by TAGs elementary trees.
- Next week we'll actually end up talking about the Hobbs paper.
- We reviewed the basic TAG operations (substitution and adjunction), and noted that linguistic generalizations about individual languages, or across languages, come in the form of restrictions on the form of possible elementary trees.
- We outlined some of Bob Frank's proposals in this regard (below),
and saw how particular analyses of control and of raising were
forced by these restrictions on elementary trees.
- EPP
- all TP projections within an elementary tree must have specifiers
- θ-criterion (part1)
- all heads in an elementary tree must assign all of their θ-roles in that tree
- θ-criterion (part2)
- all non-terminals at leaves must receive a θ-role within their tree
- Condition on elementary tree minimality (CETM)
- All heads in an elementary tree must belong to the same extended projection
- For next week read:
- READING (Required)
- Hobbs, J. (1985) Ontological Promiscuity
- We discussed the course requirements, and the plan for the course
- We talked about Tree Adjoining Grammars, and worked through some formal examples to get some insight into how the formalism works
- We came up with grammatical analyses for the following languages
- \(a^ncb^n\)
- \(a^nb^nc^n\)
- \(a^nb^nc^nd^n\)
- \(\ldots\) and saw why we couldn't describe the language \(a^nb^nc^nd^ne^n\)
- A useful, linguistically oriented, exposition is available here:
- We came up with grammatical analyses for the following languages
- The reading for next week is: