The Teaching Size: Computable Teachers and Learners for Universal Languages

Abstract

The theoretical hardness of machine teaching has usually been analyzed for a range of concept languages under several variants of the teaching dimension: the minimum number of examples that a teacher needs to figure out so that the learner identifies the concept. However, for languages where concepts have structure (and hence size), such as Turing-complete languages, a low teaching dimension can be achieved at the cost of using very large examples, which are hard to process by the learner. In this paper we introduce the teaching size , a more intuitive way of assessing the theoretical feasibility of teaching concepts for structured languages. In the most general case of universal languages, we show that focusing on the total size of a witness set rather than its cardinality, we can teach all total functions that are computable within some fixed time bound. We complement the theoretical results with a range of experimental results on a simple Turing-complete language, showing how teaching dimension and teaching size differ in practice. Quite remarkably, we found that witness sets are usually smaller than the programs they identify, which is an illuminating justification of why machine teaching from examples makes sense at all.

Cite

Text

Telle et al. "The Teaching Size: Computable Teachers and Learners for Universal Languages." Machine Learning, 2019. doi:10.1007/S10994-019-05821-2

Markdown

[Telle et al. "The Teaching Size: Computable Teachers and Learners for Universal Languages." Machine Learning, 2019.](https://mlanthology.org/mlj/2019/telle2019mlj-teaching/) doi:10.1007/S10994-019-05821-2

BibTeX

@article{telle2019mlj-teaching,
  title     = {{The Teaching Size: Computable Teachers and Learners for Universal Languages}},
  author    = {Telle, Jan Arne and Hernández-Orallo, José and Ferri, Cèsar},
  journal   = {Machine Learning},
  year      = {2019},
  pages     = {1653-1675},
  doi       = {10.1007/S10994-019-05821-2},
  volume    = {108},
  url       = {https://mlanthology.org/mlj/2019/telle2019mlj-teaching/}
}