Back to Feed
Multimodal / Efficiency & Inference

Efficient Token Pruning for 3D Models

Original: CoverPrune: Coverage-Driven Token Pruning for 3D VLMs via Optimal Transport

Listen to the summary

Uses a voice available on your device

Audio options
On this page 5 sections
Related concepts 2 concepts

Key Takeaways

  • Achieves near zero performance loss using only 10 percent of visual tokens on general 3D tasks.
  • Retains over 90 percent performance on reasoning heavy VSI Bench with 15 percent visual tokens.
  • Preserves 92.4 percent of full token performance at a 20 percent token retention ratio.
  • Validates broad applicability across the GS Reasoner and VLM 3R models using datasets like ScanQA and SQA3D.

Summary & Methodology Analysis

The researchers frame token pruning as an optimal transport problem, where retained tokens function as prototypes that distribute representational mass to the original tokens. By minimizing the distortion of this assignment, the method manages visual token counts that typically create computational bottlenecks in 3D Vision Language Models. This is implemented via a Feature Spatial Temporal transport cost that accounts for semantic similarity, spatial proximity, and temporal consistency, while informativeness aware target capacities stabilize coverage when pruning aggressively.

To bridge the gap between theoretical optimality and practical deployment, the authors introduce a Spatial Guided Greedy Selection algorithm. This approach approximates the semi relaxed optimal transport objective by evaluating marginal costs within limited 3D neighborhoods. For production constraints, they provide CoverPrune Lite, which uses a Morton code space filling curve to group tokens and select prototypes locally. This eliminates the need for the iterative global transport solves required by the standard algorithm, which otherwise faces cubic time complexity as the sequence length increases.

Despite these performance gains, the underlying subset selection task is NP hard, meaning the exact solution is generally intractable. Furthermore, the full CoverPrune algorithm suffers from cubic time complexity in the number of tokens. This creates a functional bottleneck when processing long video sequences, making the lightweight variant necessary for latency sensitive pipelines. The method has been validated on top tier models including GS Reasoner and VLM 3R, and across benchmarks such as ScanQA, SQA3D, and Scan2Cap.

Interactive System Flowchart

Click diagram to expand and zoom

Illustrative Implementation

A short sketch of the paper's core idea, not the authors' own code.

# Illustrative sketch (not from the paper)
import torch

# tokens: N x D feature matrix, xyz: N x 3 spatial coords, t: N timestamps
features, xyz, t = torch.randn(0, 0), torch.randn(0, 0), torch.randn(0)

# 1. Compute Feature‑Spatial‑Temporal (FST) transport cost matrix
def fst_cost(feat, pos, time, alpha=1.0, beta=1.0, gamma=1.0):
    # semantic similarity (negative cosine distance)
    sim = torch.nn.functional.cosine_similarity(feat[:, None, :], feat[None, :, :], dim=-1)
    # spatial proximity (Euclidean distance)
    dist_sp = torch.cdist(pos, pos, p=2)
    # temporal consistency (absolute time diff)
    dist_tm = torch.cdist(time[:, None], time[None, :], p=1)
    # combine (larger cost = less desirable)
    return -alpha * sim + beta * dist_sp + gamma * dist_tm

# 2. Informativeness‑aware target capacities (higher for distinctive tokens)
def target_capacities(feat, eps=1e-6):
    # simple proxy: norm of feature vector (placeholder for actual informativeness)
    caps = torch.norm(feat, dim=1)
    caps = caps / (caps.sum() + eps)  # normalize to sum to 1
    return caps

# 3. Spatial‑Guided Greedy Selection (SGS) approximating OT
def sgs_select(cost, caps, retain_ratio, neighbor_k=10):
    N = cost.size(0)
    retain_num = int(retain_ratio * N)
    selected = []
    remaining = set(range(N))
    # pre‑compute nearest neighbours for each token (placeholder)
    nbrs = {i: torch.topk(cost[i], neighbor_k, largest=False).indices.tolist() for i in range(N)}
    while len(selected) < retain_num:
        # marginal gain: sum of capacities of tokens that would be covered by candidate i
        best_i, best_gain = None, -1
        for i in remaining:
            covered = set(nbrs[i]) & remaining
            gain = caps[list(covered)].sum().item()
            if gain > best_gain:
                best_gain, best_i = gain, i
        selected.append(best_i)
        # remove covered tokens from remaining set
        covered = set(nbrs[best_i])
        remaining -= covered
    return selected

# Example workflow (placeholders for actual data)
# cost = fst_cost(features, xyz, t)
# caps = target_capacities(features)
# retained_idx = sgs_select(cost, caps, retain_ratio=0.2)

Cross-Examination & FAQs

A deeper dive clarifying mechanics, constraints, and baseline evaluations.

Q1. What is the core purpose of CoverPrune?

It serves to reduce the number of visual tokens in 3D vision language models during inference to alleviate computational bottlenecks.

Q2. How much of the original performance is kept when using this method?

At a 20 percent token retention ratio, it preserves 92.4 percent of the full token performance.

Q3. Can this method be used on different 3D models?

Yes, the authors validated it on two state of the art models, GS Reasoner and VLM 3R.

Q4. What is the underlying algorithmic challenge identified in the paper?

The paper notes that the subset selection formulation is NP hard and generally intractable to solve exactly.

Q5. Why is the full CoverPrune algorithm problematic for long videos?

The full algorithm incurs cubic time complexity in the number of tokens, creating a bottleneck for long video sequences.

Q6. Which benchmarks were used to test the method?

The authors used ScanQA, SQA3D, and Scan2Cap as their primary fine grained reasoning benchmarks.

Q7. How does the approach handle aggressive pruning?

It incorporates informativeness aware target capacities to stabilize coverage even when pruning is aggressive.

Q8. What is the difference between CoverPrune and CoverPrune Lite?

CoverPrune Lite eliminates the iterative global transport solve by restricting transport to local 3D neighborhoods using a Morton code space filling curve.

Q9. Does the paper provide specific latency figures for the improvement?

The paper does not specify precise latency or throughput improvements in milliseconds or queries per second.

Flag an issue

What is wrong with this summary?

What is wrong?