ImageNet classification with deep convolutional neural networks
Alex Krizhevsky, Ilya Sutskever et al.
42
Citations
2
Influential Citations
Neural Information Processing Systems
Venue
2025
Year
Large language models are quickly becoming the foundation for intelligent agents that are capable of using tools. However, training such agents is challenging because it requires human creation and annotation of a diverse set of tasks, tools, and evaluation criteria. In this paper, we propose the Self-Challenging framework for training an agent on high-quality tasks that are generated by itself. The agent first plays the role of challenger and generates a task after interacting with the given tools. The tasks take the form of a novel general class of problems termed Code-as-Task, which are defined by an instruction, a verification function and solution and failure cases which serve as tests, allowing to filter only for high-quality tasks. The agent then takes an executor role and trains on those tasks with reinforcement learning using the evaluation feedback as a reward. Evaluation on two existing multi-turn tool-use agent benchmarks, M3ToolEval and TauBench, shows the Self-Challenging framework achieves over a two-fold improvement in Llama-3.1-8B-Instruct, despite using only self-generated training data.
This paper addresses a critical bottleneck in training language model agents for tool use: the scarcity and cost of human-annotated training data. By proposing a self-challenging framework, the authors enable agents to generate their own high-quality tasks, dramatically reducing the need for human supervision. This is particularly significant as LLMs are increasingly deployed as autonomous agents that must interact with diverse tools and environments.
The introduction of Code-as-Task as a general task representation is a key innovation. It provides a structured way to define tasks with built-in verification, allowing automatic quality control. This framework could generalize beyond tool use to other agentic settings, making it a foundational contribution for self-improving AI systems.
The paper reports over two-fold improvement on two multi-turn tool-use benchmarks: M3ToolEval and TauBench. Specifically, Llama-3.1-8B-Instruct, when trained with Self-Challenging, achieves performance gains of more than 2x compared to the base model. This is notable because the training data is entirely self-generated, with no human annotation. The results demonstrate that self-generated tasks can be as effective as human-curated ones, and potentially more scalable.
This work has broad implications for the development of autonomous AI agents. By removing the human annotation bottleneck, it opens the door to agents that can continuously improve through self-play in open-ended environments. The Code-as-Task formalism provides a principled way to define and verify tasks, which could be adopted by other self-supervised learning approaches. However, the paper does not explore failure modes where self-generated tasks might be biased or incomplete, nor does it test on domains beyond the two benchmarks. Future work should investigate generalization to more complex, real-world tool-use scenarios and the potential for reward hacking in the self-generated feedback loop. Overall, this is a significant step toward scalable, self-improving language agents.
Alex Krizhevsky, Ilya Sutskever et al.
Ashish Vaswani, Noam Shazeer et al.
Douglas M. Bates, Martin Mächler et al.
Diederik P. Kingma, Jimmy Ba