NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Lazy Learning for Exceptions and Subregularities in Language

22 concepts20 papers1 proposal

Human language is notoriously resistant to clean, overarching rules. While a grammar book might outline how to pluralize a noun or conjugate a verb, the actual landscape of natural language is dominated by a long tail of exceptions, irregular forms, and highly localized sub-regularities.

In machine learning, this reality creates a fundamental tension between two paradigms: eager learning and lazy learning. Eager learners (such as decision trees or parametric neural networks) attempt to abstract training data into global rules or weights early on, often smoothing over or discarding rare events as noise. Lazy learners, conversely, defer generalization until the last possible moment. By storing training instances directly in memory, lazy learning—often operationalized as Memory-Based Learning (MBL) or Instance-Based Learning (IBL)—retains every linguistic nuance, making it uniquely suited for the messy, exception-ridden nature of language processing.

The Intuition of Lazy Generalization

To understand why memory-based learning works, consider how an eager model handles a rare linguistic phenomenon. When a decision tree prunes a branch to prevent overfitting, or when a statistical model smooths its probabilities to favor the most frequent patterns, it inadvertently erases the "long tail" of language.

As Rada Mihalcea demonstrates in the context of word sense disambiguation, lazy learning avoids this early information loss by preserving all training instances in a database rather than inducing a generalized global model. As a result, the system maintains the ability to correctly classify infrequent usages that eager learners might discard as noise in Instance Based Learning with Automatic Feature Selection Applied to Word Sense Disambiguation.

Instead of evaluating a new sentence against an abstract rule, a memory-based system projects the input into a multi-dimensional feature space, identifies its $k$-nearest neighbors among the stored training examples, and extrapolates a prediction based on local similarity. Generalization happens on the fly, tailored specifically to the local context of the query point.

Preserving the Long Tail in Morphology and Syntax

This capacity to retain specific historical examples makes memory-based learning exceptionally effective across various layers of linguistic analysis, from word structure to syntax.

Morphological Analysis

In morphology, rules frequently break down. For instance, irregular verbs or non-linear word formations defy standard grammatical formulas. Antal van den Bosch et al. showed in Memory-Based Morphological Analysis that storing training examples directly allows a system to seamlessly retrieve exact matches for irregular word forms that violate general grammatical rules. This paradigm is equally powerful for morphologically rich or under-resourced languages; in Design and Development of Morphological Analyzer for Tigrigna Verbs using Hybrid Approach, Hagos Gebremedhin Gebremeskel et al. leveraged instance-based learning to resolve complex, non-linear verb formations by comparing new inputs directly to the most similar stored instances.

Syntactic and Semantic Categories

Beyond word structure, memory-based learning excels at resolving ambiguous syntactic and semantic boundaries where local context dictates the category:

  • Noun Countability: Determining whether a noun is countable or uncountable depends heavily on idiosyncratic lexical patterns. Timothy Baldwin et al. demonstrated that comparing new instances to a stored database of previously seen examples allows models to master these sub-regularities without explicit rule induction in Learning the Countability of English Nouns from Corpus Data.
  • Scope of Negation: In specialized domains like biomedical text, identifying exactly which words fall under a negation signal requires capturing rare syntactic structures. In Learning the Scope of Negation in Biomedical Texts, Roser Morante et al. showed that an MBL approach successfully processes these unusual structures by retrieving similar historical examples rather than relying on smoothed parametric models that miss edge cases.
  • Prosody Prediction: When mapping raw text to speech, pruning rules in a decision tree degrades naturalness. Erwin Marsi et al. established in Learning to Predict Pitch Accents and Prosodic Boundaries in Dutch that exemplar-based learning outperforms rule-based trees because it preserves the high variability and stylistic exceptions inherent in spoken language.

Because memory-based learning shifts the computational burden from training (which is trivial) to inference, the core challenge lies in defining the multi-dimensional feature space that determines "similarity." How do we ensure that the nearest neighbors are truly the most linguistically relevant?

The strength of the approach is that these spaces can be constructed from basic, heterogeneous features without requiring deep semantic architectures. For example, Ehsanul Faruque demonstrated in SenseLearner: Minimally supervised Word Sense Disambiguation for all words in open text that word meanings can be induced purely by leveraging the similarity of local linguistic contexts in a non-parametric feature space.

Similarly, for semantic phenomena like metonymy, Yves Peirsman proved in Example-Based Metonymy Recognition for Proper Nouns that storing and comparing specific instances using basic grammatical features can match the performance of highly complex global models.

[Query Instance] ──> Project into Feature Space (Context, N-grams, Syntax)
                             │
                             ▼
              ┌─────────────────────────────┐
              │  Calculate Distance (k-NN)  │
              └──────────────┬──────────────┘
                             │
              ┌──────────────┴──────────────┐
              │ Stored Exemplar Database    │
              │  • Instance A (Regular)     │
              │  • Instance B (Exception)  ◄┼─ Nearest Neighbor Found!
              │  • Instance C (Regular)     │
              └──────────────┬──────────────┘
                             │
                             ▼
              [Assign Class of Exception]

This flexibility allows models to scale to new languages using "knowledge-poor" features. Jeremy Nicholson et al. showed that a nearest-neighbor framework using simple character n-grams and local context could accurately predict grammatical gender without needing complex, language-specific morphological rules in Die Morphologie (f): Targeted Lexical Acquisition for Languages other than English.

When the target linguistic structure is highly idiosyncratic—such as English verb-particle constructions—Aline Villavicencio et al. illustrated that instance-based learning provides a natural framework for integrating heterogeneous statistical and syntactic features to make predictions despite severe data sparsity in Extracting the Unextractable: A Case Study on Verb-particles.

Hybrid Architectures and Cascades

Memory-based learning does not have to operate in isolation. In practice, it is often combined with other paradigms to create robust hybrid systems where rules handle the predictable baseline, and memory handles the exceptions.

One intuitive implementation is an "Error Case Library." In Text Chunking by Combining Hand-Crafted Rules and Memory-Based Learning, Seong-Bae Park et al. designed a system where hand-crafted rules process standard grammatical structures, while an MBL module acts as a targeted correction layer, capturing local irregularities that global rule models miss.

Alternatively, complex linguistic tasks can be unrolled into a sequence of simple memory-based decisions. Sabine Buchholz et al. demonstrated in Cascaded Grammatical Relation Assignment that a cascade of simple, memory-based classifiers can effectively map intricate grammatical relations like subjects and objects. Even when early stages of the pipeline are imperfect, the downstream memory modules leverage the added structural features to improve final relation assignment.

This post-processing capability also allows MBL to "upcycle" the outputs of other models. In Enriching the Output of a Parser Using Memory-based Learning, Maarten de Rijke et al. applied a lazy learning approach to standard statistical parse trees, successfully recovering non-local dependencies and functional tags by comparing new parse structures to a library of stored examples.

By keeping the raw data intact and shifting generalization to inference time, lazy learning provides a mathematically clean and intuitively satisfying solution to the problem of linguistic exceptions: it treats them not as noise to be smoothed away, but as vital data points to be remembered.

Key Foundational Work

Cascaded Grammatical Relation Assignment (1999) — contributed 1 concept elements to this direction.
Memory-Based Morphological Analysis (1999) — contributed 1 concept elements to this direction.
Guest Editors' Introduction: Machine Learning and Natural Language (1999) — contributed 1 concept elements to this direction.
History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_memory_based_learning_26472a46,
  title = {memory-based learning},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/memory-based-learning/rdr_26472a46dd644d5eb91a92a550ce2f27},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-29},
}

This exact version (version 1, frozen text):

@misc{lacuna_memory_based_learning_26472a46_v1,
  title = {memory-based learning},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/memory-based-learning/rdr_26472a46dd644d5eb91a92a550ce2f27/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-29},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake