arXiv AI
Sep 24

TNLearn: An Open Source Python Package for Task-based Neurons

The paper introduces TNLearn, an open‑source Python package that automates the construction and training of task‑based neurons and networks. It argues that different tasks benefit from customized neurons that incorporate task‑specific prior knowledge, representing a shift from traditional task‑based architectures. The package, documented with technical exposition, API reference, and examples, is available on GitHub and integrated into the PyTorch ecosystem.

By Meng Wang, Tieyun Li, Juntong Fan, Hanyu Pei, Jing-Xiao Liao, Yaodong Yang, Jianwei Ma, Fenglei Fan
arXiv Machine Learning
Nov 16

DRTriton: Large-Scale Synthetic Data Driven Reinforcement Learning for Triton Kernel Generation

DRTriton is a scalable learning framework that trains large language models to convert PyTorch programs into optimized Triton kernels, which are then compiled to CUDA kernels at runtime. It employs a synthetic data algorithm (CSP-DAG) for unbiased operator coverage, a curriculum reinforcement learning framework with decoupled rewards to balance conversion success and execution speed, and a test-time search algorithm to further boost performance. After a small supervised fine‑tuning warmup, DRTriton‑7B outperforms state‑of‑the‑art LLMs, achieving a 92% speedup over PyTorch on KernelBench Level 2 tasks versus 23% for GPT‑5.2 and 19% for Claude‑Sonnet‑4.5.

By Siqi Guo, Ming Lin, Tianbao Yang