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

Learning Languages with Decidable Hypotheses

Julian Berger, Maximilian Böther, Vanja Doskoc, Jonathan Gadea Harder, Nicolas Klodt, Timo Kötzing, Winfried Lötzsch, Jannik Peters, Leon Schiller, Lars Seifert, Armin Wells, Simon Wietheger · DOI

Authors: Julian Berger, Maximilian Böther, Vanja Doskoč, Jonathan Gadea Harder, Nicolas Klodt, Timo Kötzing, Winfried Lötzsch, Jannik Peters, Leon Schiller, Lars Seifert, Armin Wells, Simon Wietheger

Introduction

In the classical Gold-style model of algorithmic learning theory, a learner receives a stream of data from a language and must eventually converge on a program—a hypothesis—that describes that language. Traditionally, these hypotheses are represented as $W$-indices (enumerators). While $W$-indices can describe any computably enumerable language, they possess a significant practical flaw: one cannot algorithmically decide if a specific element is not in the language.

This paper investigates an alternative: $C$-indices (characteristic functions). A $C$-index is a program that explicitly returns "yes" or "no" for every possible input, making membership decidable. However, this introduces a "totality" problem, as it is undecidable whether an arbitrary program is a valid $C$-index. The authors map out how this trade-off—trading the power of enumeration for the utility of decidability—affects learning power under various memory and convergence constraints.

Methodology

The research is a theoretical study rooted in computability theory and inductive inference. The authors utilize formal mathematical proofs to compare different learning criteria. Key techniques include the Operator Recursion Theorem (ORT), used to construct "self-learning" languages that can provide counter-examples to defeat specific learners.

The authors define a spectrum of requirements for $C$-indices, ranging from requiring them only as the final "correct" answer ($Ex_C$) to requiring the learner to output valid $C$-indices at every single step, even on "garbage" input ($\tau(CInd)Ex_C$). These requirements are tested against various memory restrictions, such as Iterative (remembering only the last guess and current datum) and Transductive (seeing only the current datum).

Key Results: The Hierarchy of Decidability

The paper’s primary contribution is a comprehensive mapping of the relationships between 25 different learning criteria. The most striking insight is that $C$-indices are fundamentally "weaker" for learning than $W$-indices. Because a $C$-index must provide negative information, the learner is held to a higher standard of certainty that limits the classes of languages it can master.

Figure 1: Hierarchy of learning criteria comparing W-indices and C-indices across various memory constraints.

As illustrated in Figure 1, the authors establish a clear chain of power: $\tau(CInd)Ex_C \subset RCIndEx_C = CIndEx_C \subset Ex_C \subset Ex_W$. They also demonstrate "memory collapses," showing that for $C$-indices, "Full Information" learners and "Partially Set-Driven" learners (who only know the set of data seen so far and the current time step) have identical learning power.

Discussion: Memory and Convergence Constraints

The interaction between memory and totality requirements reveals that for learners with restricted memory, being forced to always provide a hypothesis (totality) actually reduces learning power. A partial learner can "wait and see" before committing to a guess, whereas a total learner might be forced into a mistake it cannot recover from.

Figure 2: Comparison between Explanatory (Ex_C) and Behaviorally Correct (Bc_C) learning with decidable hypotheses.

Furthermore, the paper confirms that for $C$-indices, Behaviorally Correct ($Bc$) learning—converging to a sequence of different but semantically equivalent programs—is strictly more powerful than Explanatory ($Ex$) learning, which requires converging to one single program (see Figure 2). Interestingly, transductive learners—the weakest class—do not lose any power when forced to use $C$-indices, as their extreme memory restriction already limits them beyond the impact of the $C$-index constraint.

Conclusion and Future Work

While theoretically rigorous, the paper acknowledges the abstract nature of these findings. The study is limited to classes of recursive (decidable) languages. Future work could explore how these constraints behave if target languages were more complex (e.g., only computably enumerable). Additionally, bridging these recursion-theoretic bounds to modern machine learning paradigms, where hypotheses are weights rather than discrete programs, remains an open challenge. The undecidability of the $C$-index property suggests that "cautious" learning models may be necessary to make these theoretical learners checkable in practice.

Summary updated

BibTeX
@inproceedings{berger2021learning,
  author = {Julian Berger and Maximilian Böther and Vanja Doskoc and Jonathan Gadea Harder and Nicolas Klodt and Timo Kötzing and Winfried Lötzsch and Jannik Peters and Leon Schiller and Lars Seifert and Armin Wells and Simon Wietheger},
  title = {{Learning Languages with Decidable Hypotheses}},
  booktitle = {CiE},
  year = {2021},
  doi = {10.1007/978-3-030-80049-9\_3},
}
Figure