Learning Word Meanings by Inverting Semantic Composition

26 concepts14 papers1 proposal

The Algebraic Metaphor of Meaning

How do machines learn what words mean? In traditional semantic parsing, a system translates a natural language sentence into a formal logical representation by looking up each word in a hand-crafted dictionary, known as a lexicon. For example, to parse the sentence "Alice runs," the system looks up "Alice" (the constant alice) and "runs" (the function $\lambda x. \text{runs}(x)$), and combines them via function application to produce $\text{runs}(\text{alice})$.

But what happens when the system encounters a word it has never seen before? Building these lexicons manually for every new domain or language is notoriously labor-intensive and fragile.

The core insight of inverse semantic derivation is that semantic composition can be treated like an algebraic equation. If we know the meaning of the entire sentence and we know the meanings of all the other words in that sentence, we can mathematically "solve for the missing piece."

$$\text{Known Word Meaning} \ \bullet \ \mathbf{Unknown \ Word \ Meaning} = \text{Known Sentence Meaning}$$

By treating semantic combination as a reversible mathematical operation, we can automatically induce a lexicon directly from pairs of sentences and their target logical forms, bypassing manual lexicography entirely.

The Mathematical Mechanism: Inverse Lambda Calculus

To turn this algebraic intuition into a working algorithm, researchers formalize semantic composition using the lambda calculus. In this setting, the combination of words is governed by function application. If a sentence's meaning $H$ is the result of applying an unknown function $F$ to a known argument $G$ (written as $H = F @ G$), we need a way to "divide" $H$ by $G$ to find $F$.

Baral et al. pioneered explicit algorithms to compute these inverse operations. In Using Inverse lambda and Generalization to Translate English to Formal Languages, Baral et al. introduced specialized inverse lambda operators designed to calculate the semantic representation of an unknown constituent by dividing the known meaning of a complete expression by its adjacent constituent.

For example, in their work on solving logic puzzles (Solving puzzles described in English by automated translation to answer set programming and learning how to do that translation), Baral et al. demonstrated how word-level semantic meanings can be deduced by subtracting known lexical meanings from the overall logical representation of a sentence. They formalized this framework in Typed answer set programming lambda calculus theories and correctness of inverse lambda algorithms with respect to them, proving that these inverse application algorithms can reliably automate lexicon construction for natural language translation into Answer Set Programming (ASP). This algebraic pipeline allows systems like NL2KR (Baral et al.) to learn complex mathematical definitions of new words purely from example sentences and their desired logical outputs.

A closely related deductive approach was explored in an early study, Learning Word Meanings by Instruction, where the authors showed that a system could automatically derive the exact definition of an unknown word (such as "hungry") by inverting semantic combination functions when given a sentence and its natural language paraphrase.

Scaling to Ambiguity via Grammar Induction

While exact algebraic inversion works perfectly in clean, deterministic settings, natural language is inherently ambiguous. A single sentence might have multiple valid syntactic structures, and a single word might have different meanings depending on the context. To scale this idea to real-world language, inverse semantic derivation must be combined with probabilistic models and grammar frameworks like Combinatory Categorial Grammars (CCG).

Instead of calculating a single deterministic entry, modern systems use data to induce a broad space of candidate lexical entries and then filter them statistically. Zettlemoyer et al. established a major breakthrough with this approach in Learning to Map Sentences to Logical Form: Structured Classification with Probabilistic Categorial Grammars. Their algorithm reverse-engineers potential word-to-logic mappings from training examples and uses a probabilistic log-linear model to filter out incorrect entries, allowing the grammar to adapt dynamically to specific domains without a pre-defined dictionary.

To make this process entirely flexible, Kwiatkowski et al. introduced template-free grammar induction using higher-order unification in Inducing Probabilistic CCG Grammars from Logical Form with Higher-Order Unification. Rather than relying on human-designed templates for syntactic categories, their method performs an exhaustive search to partition logical meanings into possible word combinations. As highlighted by Artzi et al. in Semantic Parsing with Combinatory Categorial Grammars, this shift moves the focus of natural language processing away from manual rule-engineering and toward the algorithmic discovery of mappings between strings and logic.

Historical Roots and Alternative Supervision

The core philosophy of learning word meanings by reversing composition has a rich history in computational linguistics. In Acquiring Core Meanings of Words, Represented as Jackendoff-Style Conceptual Structures, from Correlated Streams of Linguistic and Non-Linguistic Input, Siskind proposed a landmark approach to the language acquisition bootstrap problem, deriving individual word meanings by decomposing the symbolic representation of a full sentence's meaning into constituent fragments. Even earlier, Berwick in Learning Word Meanings From Examples demonstrated how a system could infer a word's semantic properties based on its functional role within narrative causal networks.

Modern research has expanded the types of feedback used to drive this inverse derivation. For instance, Artzi et al. demonstrated in Bootstrapping Semantic Parsers from Conversations that explicit logical annotations are not always necessary; a system can induce new entries in a semantic lexicon by working backward from successful logical constraints identified later in a conversation to the specific words in earlier utterances that likely triggered them.

The principle also applies symmetrically to language generation. Lu et al. showed in A Probabilistic Forest-to-String Model for Language Generation from Typed Lambda Calculus Expressions that mapping rules between logical constants and natural language phrases can be learned automatically from a parallel corpus via statistical alignment and grammar induction.

Ultimately, whether mapping from text to logic or logic to text, the underlying strategy remains consistent. As Baral summarized in Lessons from Efforts to Automatically Translate English to Knowledge Representation Languages, treating semantic combination as a reversible mathematical operation allows systems to bypass manual lexicography entirely. Even in fully unsupervised settings without formal logic, such as the out-of-vocabulary evaluation framework proposed by Lu et al. in English Out-of-Vocabulary Lexical Evaluation Task, the core mechanism relies on the same intuition: the semantic properties of an unknown term can be robustly inferred by analyzing its surrounding compositional context.

Key Foundational Work

Acquiring Core Meanings of Words, Represented as Jackendoff-Style Conceptual Structures, from Correlated Streams of Linguistic and Non-Linguistic Input (1990) — contributed 1 concept elements to this direction.
Learning Word Meanings From Examples (1983) — contributed 1 concept elements to this direction.
History & citationVersion 2 · 2026-10-04

Current · Permanent link

  1. Version 2 (latest) · 2026-10-04 · 14 papers
  2. Version 1 · 2026-10-04 · 17 papers
Cite this direction

Latest version (a living page):

@misc{lacuna_inverse_semantic_derivation_d98c4a59,
  title = {inverse semantic derivation},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/inverse-semantic-derivation/rdr_d98c4a592ccd411cbb53228bea7d80ae},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-26},
}

This exact version (version 2, frozen text):

@misc{lacuna_inverse_semantic_derivation_d98c4a59_v2,
  title = {inverse semantic derivation},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/inverse-semantic-derivation/rdr_d98c4a592ccd411cbb53228bea7d80ae/v/2},
  note = {Version 2, frozen 2026-10-04. Accessed 2026-11-26},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake