Sebastian Raschka

Language Models for Text Classification: From Bag-of-Words to Jev

The article titled "Language Models for Text Classification: From Bag-of-Words to Jev" offers a visual guide that explores various neural network architectures—including RNNs, CNNs, and Transformers—alongside calibration techniques. It includes hands‑on experiments that compare the accuracy and efficiency of these models for text classification tasks.

arXiv Machine Learning
Aug 24

MIL-BERT: Classification of Arbitrarily Large Text with Performance and Explanatory Guarantees

MIL-BERT is a neural network algorithm that classifies large texts by selecting relevant excerpts, inspired by multiple instance learning. It scales to samples with nearly 1 million tokens and has been evaluated on seven datasets, achieving state‑of‑the‑art results on three long‑text tasks such as political bias detection, trigger warning identification, and author demographic inference. The model also generalizes from weakly‑labeled text bags to accurately classify smaller instances.

By John Cadigan, Dayne Freitag, Eric Yeh
Hugging Face Trending Papers
Jun 23

Advancing WordArt-Oriented Scene Text Recognition: Datasets and Methods

WordArt (artistic text) features highly customized fonts, textures, and layouts, making WordArt-oriented scene TExt Recognition (WATER) substantially more challenging than general Scene Text Recognition (STR). Existing STR datasets and methods, typically built around regular scene text and fixed-template inputs, struggle to scale to WATER.

arXiv AI
Nov 14

Benchmarking Multilingual Document Understanding in Vision-Language Models

The paper introduces MDU, a multilingual document understanding benchmark covering 13 tasks across five languages (English, French, German, Italian, Spanish) with 23,146 examples. It evaluates 45 open‑weight Vision‑Language Models (1.7B–235B parameters) and one commercial system, finding that performance is uneven: the best average score is 69.0, only eight models exceed 65, and larger models do not necessarily outperform smaller ones. The study reveals that language gaps persist regardless of model size and that task capabilities are largely uncorrelated once overall quality is accounted for.

By Matteo Gabburo, Daniela Baiamonte, Stefano Simonazzi, Silvia Gardini, Sean Cesare Lazzeri, Andrea Zugarini
arXiv Computation and Language
Nov 4

From Zero to OCR: A Data-Centric Framework for Unsupported Low-Resource Scripts

The paper introduces a data‑centric framework that enables end‑to‑end OCR for low‑resource scripts using only an unannotated text corpus and digital fonts, eliminating the need for manually annotated training images. A synthetic data engine generates realistic word, line, and page images with accurate script shaping, which are then used to train a YOLOv8 word detector and a convolutional recurrent recognizer via connectionist temporal classification. Applied to the Kashmiri Perso‑Arabic Nastaliq script, the system achieves a 0.39% character error rate on held‑out words and provides publicly released models, code, and a synthetic dataset of 285,864 text‑line images.

By Faizan Iqbal, Haq Nawaz Malik, Hafsah Pervaiz
arXiv Computer Vision
Sep 18

A Free Lunch? Adapting PP-OCRv6 for Historical Text Recognition

The paper adapts the compact PP‑OCRv6 recognizer for historical text recognition and compares it to a conventional CRNN across various training regimes, including generalized pretraining, domain‑specific training, corpus‑level fine‑tuning, and manuscript‑specific few‑shot adaptation on multilingual Latin and Arabic scripts. While PP‑OCRv6 does not always beat the CRNN when trained from scratch, heterogeneous pretraining significantly improves its generalization. Additionally, fine‑tuned PP‑OCRv6 can surpass a large vision‑language model (Qwen3.5‑based Medusa) that is specifically tailored for historical Latin‑script handwriting recognition.

By Benjamin Kiessling (ALMAnaCH)
OpenAI Blog
Jan 5, 2021

CLIP: Connecting text and images

We’re introducing a neural network called CLIP which efficiently learns visual concepts from natural language supervision. CLIP can be applied to any visual classification benchmark by simply providing the names of the visual categories to be recognized, similar to the “zero-shot” capabilities of GPT-2 and GPT-3.

arXiv Computation and Language
Aug 27

LLMTrace: A Corpus for Classification and Fine-Grained Localization of AI-Written Text

LLMTrace is a new large‑scale bilingual (English and Russian) corpus designed to improve AI‑written text detection. It contains character‑level annotations that enable precise localization of AI‑generated segments, supporting both full‑text binary classification and interval detection tasks. The dataset is built from a diverse set of modern proprietary and open‑source LLMs to address gaps in existing resources, such as outdated models, limited language coverage, and lack of mixed human‑AI authorship data.

By Irina Tolstykh, Aleksandra Tsybina, Sergey Yakubson, Maksim Kuprashevich