Deep learning (DL) has become a cornerstone of modern machine learning (ML) praxis. We introduce the R package mlr3torch, which is an extensible DL framework for the mlr3 ecosystem. It is built upon the torch package, and simplifies the definition, training, and evaluation of neural networks for both tabular data and generic tensors (e.g., images) for classification and regression. The package implements predefined architectures, and torch models can easily be converted to mlr3 learners. It also allows users to define neural networks as graphs. This representation is based on the graph language defined in mlr3pipelines and allows users to define the entire modeling workflow, including preprocessing, data augmentation, and network architecture, in a single graph. Through its integration into the mlr3 ecosystem, the package allows for convenient resampling, benchmarking, preprocessing, and more. We explain the package's design and features and show how to customize and extend it to new problems. Furthermore, we demonstrate the package's capabilities using three use cases, namely hyperparameter tuning, fine-tuning, and defining architectures for multimodal data. Finally, we present some runtime benchmarks.


翻译:深度学习(DL)已成为现代机器学习(ML)实践的核心组成部分。我们介绍R包mlr3torch,这是面向mlr3生态系统的一个可扩展深度学习框架。该包基于torch包构建,简化了针对表格数据及通用张量(如图像)进行分类与回归的神经网络定义、训练与评估流程。它实现了预定义架构,且torch模型可便捷转换为mlr3学习器,同时支持用户将神经网络定义为图结构——这种表示基于mlr3pipelines中定义的图语言,允许用户将预处理、数据增强和网络架构等整个建模工作流整合在单个图中。通过与mlr3生态系统的集成,该包实现了便捷的重采样、基准测试、预处理等功能。我们阐释了该包的设计与特性,并展示如何针对新问题对其进行定制与扩展。进一步地,通过超参数调优、微调以及多模态数据架构定义三个用例演示其功能,最后给出若干运行时基准测试结果。

0
下载
关闭预览

相关内容

基于Lua语言的深度学习框架 github.com/torch
专知会员服务
125+阅读 · 2021年6月19日
深度学习算法与架构回顾
专知会员服务
84+阅读 · 2019年10月20日
【干货书】深度学习全面指南,307页pdf
专知
32+阅读 · 2022年1月6日
基于PyTorch/TorchText的自然语言处理库
专知
28+阅读 · 2019年4月22日
Github热门图深度学习(GraphDL)源码与框架
新智元
21+阅读 · 2019年3月19日
【强化学习】强化学习+深度学习=人工智能
产业智能官
55+阅读 · 2017年8月11日
国家自然科学基金
7+阅读 · 2017年12月31日
国家自然科学基金
6+阅读 · 2017年12月31日
国家自然科学基金
6+阅读 · 2015年12月31日
国家自然科学基金
21+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
3+阅读 · 2015年12月31日
国家自然科学基金
5+阅读 · 2015年12月31日
国家自然科学基金
11+阅读 · 2012年12月31日
Arxiv
0+阅读 · 3月31日
VIP会员
最新内容
ICML 2026 | CFPO:用反事实策略优化提升多模态推理
专知会员服务
1+阅读 · 今天14:45
综述 | 世界动作模型:少做梦,多行动
专知会员服务
1+阅读 · 今天14:43
美以伊冲突:无人机与人工智能的运用
专知会员服务
3+阅读 · 今天14:31
《特种部队在透明战场中的生存力》最新报告
专知会员服务
2+阅读 · 今天14:11
《人工智能生成的零日漏洞:对未来作战的影响》
综述 | 3D场景图:开放挑战与未来方向
专知会员服务
8+阅读 · 6月22日
21世纪的无人机战争
专知会员服务
4+阅读 · 6月22日
《量子技术的军事任务技术适配与利用》
专知会员服务
5+阅读 · 6月22日
相关VIP内容
专知会员服务
125+阅读 · 2021年6月19日
深度学习算法与架构回顾
专知会员服务
84+阅读 · 2019年10月20日
相关基金
国家自然科学基金
7+阅读 · 2017年12月31日
国家自然科学基金
6+阅读 · 2017年12月31日
国家自然科学基金
6+阅读 · 2015年12月31日
国家自然科学基金
21+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
3+阅读 · 2015年12月31日
国家自然科学基金
5+阅读 · 2015年12月31日
国家自然科学基金
11+阅读 · 2012年12月31日
Top
微信扫码咨询专知VIP会员