NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

LaneRoPE: Positional Encoding for Collaborative Parallel Reasoning and Generation

Gabriele Cesa, Thomas Hehn, Aleix Torres-Camps, Àlex Batlle Casellas, Jordi Ros-Giralt, Arash Behboodi, Tribhuvanesh Orekondy

TL;DR

This paper introduces LaneRoPE, a novel positional encoding method that allows multiple parallel Large Language Model (LLM) generations to collaborate during inference. By enabling sequences to attend to each other, LaneRoPE significantly boosts reasoning accuracy with minimal computational overhead, making parallel reasoning more efficient and effective.

What Problem Does This Paper Address?

Modern LLMs can improve their performance on complex tasks by generating multiple responses in parallel (e.g., "best-of-N"). This approach leverages hardware efficiency through batching but typically treats each generated sequence independently. This lack of coordination means that valuable intermediate reasoning steps or insights from one sequence are not shared with others, limiting the potential for collaborative problem-solving. The paper addresses this gap by proposing a method for fine-grained collaboration between these parallel sequences during generation.

Methods

LaneRoPE introduces two core innovations:

  1. Inter-sequence Attention Mask: This mask allows tokens from one sequence to attend to tokens from other parallel sequences. This enables a form of "cross-lane" attention, where models can condition their reasoning on the progress of their peers.
  2. RoPE Extension (LaneRoPE): The authors extend Rotary Positional Encoding (RoPE) to account for relative positions not only within a sequence but also between sequences. This is achieved by introducing a second rotation matrix that encodes the sequence index, effectively creating a 2D positional encoding for the joint token-sequence grid. This allows the model to learn how to coordinate across different parallel generation "lanes."

The paper also discusses initialization strategies, including adapting existing methods like GroupThink and using a Fourier attention bias to approximate independent sampling, allowing for flexible integration with pre-trained models.

Datasets

The paper uses standard mathematical reasoning datasets for evaluation:

  • MATH500
  • AMC 23
  • AIME 24 and 25

For training, they utilize:

  • A synthetic dataset created by prompting LLMs to simulate collaborative conversations among multiple assistants.
  • Data derived from the DeepScaleR-Preview-Dataset.

Key Insights and Ideas

  • Collaboration is Key: The core insight is that parallel LLM generations don't have to be isolated. Enabling them to "talk" to each other mid-generation can unlock significant performance gains, especially for reasoning tasks.
  • Positional Encoding is Crucial for Collaboration: Simply allowing cross-sequence attention isn't enough. LaneRoPE's innovation lies in extending positional encoding to capture inter-sequence relationships, allowing the model to understand which sequence it's attending to and how that relates to its own position.
  • Flexibility for Integration: LaneRoPE is designed to be a drop-in replacement for standard RoPE, requiring minimal changes to LLM architectures and introducing negligible overhead, making it practical for real-world deployment.
  • KTO Outperforms SFT for Training: The study found that Kahneman-Tversky Optimization (KTO) training was more effective than supervised fine-tuning (SFT) for eliciting collaborative reasoning, likely due to the nature of the data and the objective function.

Key Results

  • Accuracy Gains: LaneRoPE consistently improved accuracy on mathematical reasoning benchmarks, especially for larger models (7B parameters). For instance, with 4 lanes, LaneRoPE achieved a maj@4 score of 64.1 on AIME25 for the DS-Qwen-7B model, compared to 50.1 for the base model.
  • Efficiency: LaneRoPE introduces minimal inference time overhead (negligible compared to standard transformers) and is significantly faster than other interdependent generation methods like Bridge.
  • Scalability: The method shows consistent gains as the number of parallel lanes (N) increases, up to N=4, demonstrating its ability to leverage parallel compute effectively.

Limitations and Future Work

  • Output Merging: The paper notes that a dedicated training scheme for merging outputs from multiple lanes is an open area for refinement.
  • Number of Lanes: While LaneRoPE is designed to scale to more lanes, current experiments focus on N ≤ 4.
  • Training Schemes: While SFT and KTO were explored, further refinement with techniques like Reinforcement Learning with Verifiable Feedback (RLVF) could unlock more advanced unsupervised collaborative behaviors.
  • Model Size: The benefits of LaneRoPE are more pronounced in larger models, suggesting that collaboration capabilities might be more readily available in larger architectures.

Summary updated

BibTeX
@inproceedings{cesa2026lanerope,
  author = {Gabriele Cesa and Thomas Hehn and Aleix Torres-Camps and Àlex Batlle Casellas and Jordi Ros-Giralt and Arash Behboodi and Tribhuvanesh Orekondy},
  title = {{LaneRoPE: Positional Encoding for Collaborative Parallel Reasoning and Generation}},
  booktitle = {MALGAI @ ICLR},
  year = {2026},
  url = {https://openreview.net/forum?id=6WAuvwZjmw},
}
Figure