mlsanityData to 24 Nov 2026

Homebrewed SLMs: Autoregressive and Masked Diffusion Language Models Built at Home for Portuguese

arXiv 2610.40533 ↗Submitted 29 Oct 2026cs.CL cs.LGcited by 0

On the map: Diffusion models → Discrete and text diffusion

Abstract (arXiv)

Building a language model of one's own no longer requires a data centre. This tutorial trains one from scratch, tokenizer included, on one consumer GPU, and shows how to tell whether it is good for the tasks of a specialist domain. It proposes no new method. It releases a tested Python package and two notebooks in Brazilian Portuguese with autoregressive and masked diffusion generation on one network, a preregistered comparison protocol, legal tasks built from text alone with a Kneser-Ney floor and public yardsticks, reference numbers for models of 11 to 12M parameters, and a catalogue of defects that only measurement revealed. On Brazilian prose and federal laws, at minutes per run, the autoregressive mode peaks at 64 epochs over the same text and then memorises it, while masked diffusion improves up to 256. At their best points on test, the diffusion bound exceeds the autoregressive likelihood by 0.06 bits per byte, within the preregistered minimum effect. On held-out laws and on acts published after training, the model ties a 6-gram floor in likelihood on the same windows, and it loses to the floor at continuing those acts. It beats the floor at detecting tampered text, and fills cross-references more often than the floor and public models of 160M and 630M parameters, only in decrees, a genre absent from training, where those scorers stay near or below chance, and in filling the blank only when each group weighs the same, since per item it ties the 630M model. On laws, the public models, trained with about 5x10^2 to 10^5 times its compute, lead in tampered text and continuation. The blind human reading is preregistered and not part of this version.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Discrete and text diffusion, one of 14 directions in Diffusion models. Builds on 37 of its 41 references that are in the map. Submitted 29 Oct 2026.

Builds on

37 of 41 references.

References · 37

  1. 2022Flow Matching for Generative Modelingcited by 6,518
  2. 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesiscited by 4,586
  3. 2023RT-2: Vision-Language-Action Models Transfer Web Knowledge to Robotic Controlcited by 3,349
  4. 2024OpenVLA: An Open-Source Vision-Language-Action Modelcited by 3,239
  5. 2024π0: A Vision-Language-Action Flow Model for General Robot Controlcited by 2,745
  6. 2021CLIPScore: A Reference-free Evaluation Metric for Image Captioningcited by 2,537
  7. 2025π0.5: a Vision-Language-Action Model with Open-World Generalizationcited by 2,074
  8. 2025DINOv3cited by 1,686
  9. 2023LIBERO: Benchmarking Knowledge Transfer for Lifelong Robot Learningcited by 1,667
  10. 2025GR00T N1: An Open Foundation Model for Generalist Humanoid Robotscited by 1,415
  11. 2025Fine-Tuning Vision-Language-Action Models: Optimizing Speed and Successcited by 997
  12. 2024DROID: A Large-Scale In-The-Wild Robot Manipulation Datasetcited by 980
25 more
  1. 2023Open X-Embodiment: Robotic Learning Datasets and RT-X Modelscited by 912
  2. 2025FAST: Efficient Action Tokenization for Vision-Language-Action Modelscited by 752
  3. 2024RDT-1B: a Diffusion Foundation Model for Bimanual Manipulationcited by 741
  4. 2021CALVIN: A Benchmark for Language-Conditioned Policy Learning for Long-Horizon Robot Manipulation Taskscited by 638
  5. 2017A Neural Representation of Sketch Drawingscited by 325
  6. 2023Text-to-image Diffusion Models in Generative AI: A Surveycited by 273
  7. 2024ManiSkill3: GPU Parallelized Robotics Simulation and Rendering for Generalizable Embodied AIcited by 264
  8. 2024VLABench: A Large-Scale Benchmark for Language-Conditioned Robotics Manipulation with Long-Horizon Reasoning Taskscited by 207
  9. 2024Data Scaling Laws in Imitation Learning for Robotic Manipulationcited by 167
  10. 2025PD-VLA: Accelerating Vision-Language-Action Model Integrated with Action Chunking via Parallel Decodingcited by 93
  11. 2025VQ-VLA: Improving Vision-Language-Action Models via Scaling Vector-Quantized Action Tokenizerscited by 76
  12. 2026RoboMME: Benchmarking and Understanding Memory for Robotic Generalist Policiescited by 69
  13. 2026RMBench: Memory-Dependent Robotic Manipulation Benchmark with Insights into Policy Designcited by 60
  14. 2024VLATest: Testing and Evaluating Vision-Language-Action Models for Robotic Manipulationcited by 50
  15. 2025RoboEval: Where Robotic Manipulation Meets Structured and Scalable Evaluationcited by 43
  16. 2024SketchAgent: Language-Driven Sequential Sketch Generationcited by 35
  17. 2025Shortcut Learning in Generalist Robot Policies: The Role of Dataset Diversity and Fragmentationcited by 35
  18. 2025What Matters in Learning from Large-Scale Datasets for Robot Manipulationcited by 25
  19. 2025FASTer: Toward Efficient Autoregressive Vision Language Action Modeling via Neural Action Tokenizationcited by 24
  20. 2022FRIDA: A Collaborative Robot Painter with a Differentiable, Real2Sim2Real Planning Environmentcited by 21
  21. 2025SwiftSketch: A Diffusion Model for Image-to-Vector Sketch Generationcited by 18
  22. 2023An Examination of the Robustness of Reference-Free Image Captioning Evaluation Metricscited by 13
  23. 2022From Scratch to Sketch: Deep Decoupled Hierarchical Reinforcement Learning for Robotic Sketching Agentcited by 3
  24. 2026Teaching an Agent to Sketch One Part at a Timecited by 3
  25. 2026IMPASTO: Integrating Model-Based Planning with Learned Dynamics Models for Robotic Oil Painting Reproductioncited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Autoregressive vs. Masked Diffusion Language Models: A Controlled Comparison
  2. 2024Simple and Effective Masked Diffusion Language Models
  3. 2025Diffusion Beats Autoregressive in Data-Constrained Settings
  4. 2026Revisiting the 16x Pretraining Compute Gap between Diffusion and Autoregressive Language Models
  5. 2025Enabling Autoregressive Models to Fill In Masked Tokens
  6. 2024Beyond Autoregression: Fast LLMs via Self-Distillation Through Time
  7. 2023Likelihood-Based Diffusion Language Models
  8. 2025A Survey on Diffusion Language Models