$L^*LM$: Learning Automata from Examples using Natural Language Oracles
<|reference_start|>$L^*LM$: Learning Automata from Examples using Natural Language Oracles: Expert demonstrations have proven an easy way to indirectly specify complex tasks. Recent algorithms even support extracting unambiguous formal specifications, e.g. deterministic finite automata (DFA), from demonstrations. Unfortunately, these techniques are generally not sample efficient. In this work, we introduce $L^*LM$, an algorithm for learning DFAs from both demonstrations and natural language. Due to the expressivity of natural language, we observe a significant improvement in the data efficiency of learning DFAs from expert demonstrations. Technically, $L^*LM$ leverages large language models to answer membership queries about the underlying task. This is then combined with recent techniques for transforming learning from demonstrations into a sequence of labeled example learning problems. In our experiments, we observe the two modalities complement each other, yielding a powerful few-shot learner.<|reference_end|>
@article{vazquez-chanlatte2024$l^*lm$:,
    title={$L^*LM$: Learning Automata from Examples using Natural Language Oracles},
    author={Marcell Vazquez-Chanlatte, Karim Elmaaroufi, Stefan J. Witwicki,
  Sanjit A. Seshia},
    journal={arXiv preprint arXiv:2402.07051},
    year={2024},
    archivePrefix={arXiv},
    eprint={2402.07051},
    primaryClass={cs.LG cs.AI cs.CL cs.FL}
}