# Learning Erasing Equal-Length Relational Pattern Languages in the Limit from Positive Data over Binary Alphabets

DevFeed: [Learning Erasing Equal-Length Relational Pattern Languages in the Limit from Positive Data over Binary Alphabets](<https://devfeed.tech/articles/learning-erasing-equal-length-relational-pattern-languages-in-the-limit-from-positive-data-over-binary-alphabets-108773.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.39156>)

Author: S. Mahmoud Mousawi, Sandra Zilles

Published: 2026-10-30T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [concept-learning](<https://devfeed.tech/topics/concept-learning.md>)

Tags: [alphabet](<https://devfeed.tech/tags/alphabet.md>), [computer-science](<https://devfeed.tech/tags/computer-science.md>), [cs-fl](<https://devfeed.tech/tags/cs-fl.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [cs-lo](<https://devfeed.tech/tags/cs-lo.md>), [languages](<https://devfeed.tech/tags/languages.md>), [learning](<https://devfeed.tech/tags/learning.md>), [patterns](<https://devfeed.tech/tags/patterns.md>)

## AI overview

For erasing relational pattern languages using the equal-length relation, learnability from positive data depends on the pattern structure and alphabet size. The class is not learnable over a binary alphabet, and this failure already occurs for patterns with exactly three maximal substrings of variables. By contrast, patterns with at most two such substrings are learnable for every alphabet of size at least two. With at most one substring, an iterative learner suffices, updating from the current example and its previous hypothesis. The abstract notes that the full class is known to be learnable over alphabets of at least three letters.

## Source excerpt

arXiv:2610.39156v1 Announce Type: cross Abstract: Relational pattern languages generalize Angluin's pattern languages by requiring the strings substituted for repeated occurrences of a variable to stand in a given relation, rather than to be identical. We study erasing pattern languages under the equal-length relation, where all occurrences of a variable must be replaced by strings of the same length. Over alphabets with at least three letters, this class is known to be learnable in the limit from positive data. We show that over a binary alphabet it is not, which resolves an open question from earlier work. Our proof reveals that non-learnability already holds for the restricted subclass of languages generated by patterns that have exactly three maximal substrings of variables. We then show that patterns with at most two maximal substrings of variables are learnable in the limit from positive data for every alphabet of size at least two. If the target pattern is known to have at most one maximal substring of variables, this can even be achieved by an iterative learner, which updates its hypothesis using only the current example and its previous hypothesis.