# Exact Instance Compression for Convex Empirical Risk Minimization via Color Refinement

*Bryan Zhu, Ziang Chen*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/153709) · [Open on the map](../papers.html#p153709)

Category: [Causality, Privacy & Learning Theory](../pcat/11.md) › [Provable Certification and Robustness](../pgroup/202.md) · Type: new method · Keywords: instance compression, convex empirical risk minimization, color refinement, differentiable convex optimization, machine learning

Areas: [Optimization & Algorithms](../areas/optimization.md) › Optimization, Estimation, Approximation › Sketching and Compression

## Summary
Exact Instance Compression for Convex Empirical Risk Minimization via Color Refinement introduces a novel lossless compression framework that leverages color refinement to reduce training data size while preserving accuracy, extending prior compression ideas to general differentiable convex optimization problems.

## Explained to a 5-year-old
Computers learn by looking at many examples to make predictions. Sometimes this learning takes a long time and uses a lot of computer power. The researchers found a way to shrink the examples without losing information. This makes the learning faster and easier on the computer. It helps computers learn many things more quickly.

## Explained to a 5-year-old, longer
When we teach a computer to guess, we give it lots of examples. The computer looks at each example and tries to find a pattern. This pattern helps the computer make new guesses. Sometimes the computer needs a lot of time to find the pattern. It also needs a lot of memory to remember the examples. The researchers wanted to make this learning faster and use less memory. They discovered a trick to compress the examples so they take up less space. Compression means the examples are made smaller but still contain all the important information. This way the computer can look at fewer and smaller examples. The trick works for many kinds of learning problems. It helps with simple predictions like house prices and more complex ones like recognizing objects. By using this method, computers can learn quicker and need less powerful machines. This makes advanced AI more accessible to everyone.

## For a technical reader
The paper presents a lossless compression technique for convex empirical risk minimization problems. It uses a graph coloring algorithm to identify equivalent training instances and replace them with a single representative, reducing data size without losing accuracy. The method extends previous compression ideas that only worked for linear and quadratic programs to a broader class of differentiable convex problems. Implementations are provided for common models such as linear regression, logistic regression, elastic-net regression, and kernel methods. Experiments on benchmark datasets show that the compressed models train faster and use less memory while achieving the same predictive performance.

## Problem
Empirical risk minimization (ERM) can be computationally expensive, and standard solvers scale poorly even for convex problems, making training large models costly and slow.

## Method
The approach introduces a lossless compression framework for convex ERM that leverages color refinement to identify equivalent training instances and replace them with representatives, extending prior work from linear and quadratic programs to general differentiable convex optimization problems.

## Contributions
The paper presents a novel lossless compression framework for convex ERM based on color refinement that extends prior compression techniques to general differentiable convex optimization problems, and provides concrete algorithms for linear and polynomial regression, binary and multiclass logistic regression, regression with elastic-net regularization, and kernel methods such as kernel ridge and kernel logistic regression.

## Research questions this paper is counted under

- [How can we make training large-scale machine learning models more computationally efficient?](../q/588.md)

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](../feedback/?on=p/153709)
