# RubiConv - Efficient Boundary-Respecting Convolutions

*Linda Friso, Annie Marsden, Xinyi Chen, Arushi Gupta, Peter Bartlett, Mark Braverman, Elad Hazan*

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

Category: [Efficient LLM Inference & Training](../pcat/14.md) › [Efficient Sequence Modeling](../pgroup/450.md) · Type: new method · Keywords: boundary-respecting convolutions, packed sequences, FFT efficiency, sequence modeling, hardware-efficient

Areas: [Model Architectures & Sequence Modeling](../areas/architectures.md) › Language Model Architectures › Efficient Attention

## Summary
RubiConv introduces a hardware-efficient, boundary-respecting convolution algorithm for packed sequences, enabling practical speedups over attention and FFT baselines.

## Explained to a 5-year-old
Computers sometimes put many pieces of information together to make one big story. When they do this, they need to cut out parts that belong to different stories. The usual way to do this is slow. This paper finds a faster way to cut the stories so they fit together nicely. It helps computers work faster on big amounts of information and makes old tricks work in real life.

## Explained to a 5-year-old, longer
Imagine you have a big box of many different toys. You want to play with them all at once, but each toy belongs to a different game. To keep the games separate, you need to cut the toys so they fit into the right spots. The usual way to cut them is like using a big scissors that works slowly. This makes the whole process take a long time. The researchers looked at how computers pack many pieces of text together for training. They noticed that the normal cutting method doesn't work well when many different sources are mixed. They invented a new way to cut the pieces that respects the boundaries between different sources. This new method is designed to be fast and works well on the hardware used by big computer systems. By using this faster cutting, the computers can process much more data in less time. The result is that old ideas about efficient long sequences become useful in real-world applications. This helps make many computer tasks quicker and more practical.

## For a technical reader
The paper addresses the inefficiency of standard FFT-based convolutions when sequences from multiple sources are concatenated for batch training. It proposes an algorithm that performs convolutions while respecting the original sequence boundaries, enabling direct application on packed data without extra overhead. The approach leverages hardware-friendly operations to achieve significant speedups over both attention mechanisms and conventional FFT baselines. Experimental results confirm that the method scales well on large-scale pipelines, turning theoretical length-complexity gains into practical performance. This makes long convolutional models viable for real-world data-packing scenarios where memory and throughput are critical.

## Problem
Standard FFT-based convolutions are not compatible with large-scale training pipelines that pack data from multiple sources into a single sequence, leading to inefficiencies and limiting the practical performance of convolutional architectures.

## Method
The approach designs an algorithm that performs convolutions while respecting sequence boundaries and is hardware-efficient for packed sequences, leveraging FFT-like operations that can be applied directly to concatenated data without extra overhead.

## Results
The approach demonstrates significant speedups compared to attention and standard FFT-based baselines.

## Contributions
It provides a novel algorithm for hardware-efficient, boundary-respecting convolutions on packed sequences, bridging the gap between theoretical efficiency and practical deployment.

## Practical relevance
It enables practical deployment of efficient long convolutional models in large-scale data packing pipelines.

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/150280)
