NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Online Minimum Description Length Passive-Aggressive Algorithms

John Hurwitz, Charles K Nicholas, Edward Raff

NeurIPS page · OpenReview · Open on the map

Category: Causality, Privacy & Learning Theory › Provable Certification and Robustness · Type: new method · Keywords: online learning, minimum description length, lossless compression, margin-based algorithms, sequence classification

Areas: Continual Learning & Adaptation › Non-Stationarity Adaptation › Online Learning

Summary

MDL-PA introduces an online margin-based learning algorithm that uses lossless compressors and maintains per-class models via information projection to classify sequences in text and malware domains.

Explained to a 5-year-old

We have a robot that learns to guess whether a piece of text is normal or bad (like malware). It looks at how well it can compress the text. When it makes a mistake, it tweaks its guess a little. This helps it get better over time. It does all this without needing a lot of extra memory.

Explained to a 5-year-old, longer

Imagine a computer program that wants to tell if a piece of writing is safe or harmful. It uses a special way of compressing information, like a puzzle that tries to make the text as short as possible. The program keeps separate models for each type of text, one for safe and one for unsafe. When the program looks at a new piece of text, it predicts which model fits best. If its prediction is wrong, it adjusts the correct model just a little bit. This adjustment is done by moving the model in the direction that reduces the error. The program does this over and over again, learning from each mistake. To make this work in real life, the program uses an adaptive compression method that learns as it goes. This helps the program handle many different kinds of text without needing a huge amount of memory. It also works for other kinds of sequences, like computer code that might be malicious. By using a margin on how much the compression changes, the program stays stable and doesn't over-react. Overall, this approach gives a simple, efficient way to improve online learning for many tasks.

For a technical reader

The paper presents an online learning algorithm that operates on probability distributions by treating them as lossless compression schemes. It maintains a separate model per class and updates only the true-class model when a margin-violating sample is observed, using an information-projection step. A practical approximation replaces the exact projection with adaptive Lempel-Ziv-style dictionaries, enabling efficient classification of sequences in domains such as natural language text and malware. The margin is defined on the code length, ensuring that updates are controlled and stable. This approach bridges theoretical margin-based analysis with a usable implementation for real-world sequence classification tasks.

Problem

Existing margin-based online learning methods focus on vector features, leaving a gap for distribution-based models such as lossless compressors. Extending online learning to probability distributions while maintaining per-class models and a margin on code length is challenging.

Method

The approach maintains separate models per class, uses an information projection to adjust the true-class model on margin-violating samples, and approximates the online learning via adaptive Lempel-Ziv-style compression dictionaries.

Contributions

The paper proposes an online margin-based learning framework for probability distributions using lossless compression, introduces an information projection update rule, and provides an adaptive Lempel-Ziv approximation for practical sequence classification.

Practical relevance

This work enables practical online learning for compression-based models, facilitating real-world sequence classification in text and malware detection.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction