atlas

Research map / Detection and segmentation / Open-set and few-shot detection

SAMFlow: Eliminating Any Fragmentation in Optical Flow with Segment Anything Model

AAAI 2024 · Detection and segmentation › Open-set and few-shot detection · approach: Unsupervised object and part discovery · 18 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes SAMFlow, which embeds a frozen SAM image encoder into FlowFormer and adapts it to optical flow via a Context Fusion Module and a Context Adaption Module, reducing fragmented flow estimates.

Problem

Optical flow estimators rely on local clues and ignore object integrity, producing fragmented motion estimates for the same object under occlusion and complex lighting/textures; training data for flow is also scarce.

Approach

Use the frozen SAM image encoder's object-level perception as the context encoder inside FlowFormer, and bridge the task mismatch with a Context Fusion Module (fuses SAM and FlowFormer features via residual convolutions) and a Context Adaption Module (learned task-specific embedding tokens with two-way attention).

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use SAMFlow instead of FlowFormer++Optical flow estimation · Sintel(train) C+Tclean EPE: 0.90 -> 0.87Helped
Use SAMFlow instead of FlowFormer++Optical flow estimation · Sintel(test) C+T+S+K+Hfinal EPE: 1.94 -> 2.08Hurt
Use SAMFlow instead of FlowFormer++Optical flow estimation · KITTI-15(test)F1-all: 4.52 -> 4.49Helped
Add SAM encoder in place of FlowFormer encoder (ablation)SAMFlow · Sintel(train)clean EPE: 0.94 -> 0.89Helped
Add SAM encoder in place of FlowFormer encoder (ablation)SAMFlow · KITTI-15(train)EPE: 4.09 -> 4.11Hurt
Add CFM to fuse FlowFormer and SAM features (ablation)SAMFlow · KITTI-15(train)EPE: 4.11 -> 3.83Helped
Add CAM without CFM (ablation)SAMFlow · KITTI-15(train)EPE: 4.09 -> 3.81Helped
Add both CFM and CAM (ablation)SAMFlow · KITTI-15(train)EPE: 4.09 -> 3.44Helped
Add both CFM and CAM (ablation)SAMFlow · Sintel(train)clean EPE: 0.94 -> 0.87Helped
Use MobileSAM encoder instead of SAM-H (ablation)SAMFlow · Sintel(train)final EPE: 2.11 -> 2.19Hurt
Use MobileSAM encoder instead of SAM-H (ablation)SAMFlow · KITTI-15(train)EPE: 3.44 -> 3.78Hurt
Replace SAM encoder with ViT (ablation)SAMFlow · Sintel(train)clean EPE: 0.87 -> 1.08Hurt

Surprising findings

Limitations

Experimental setup

Datasets: FlyingThings Sintel KITTI-15 HD1K

Benchmarks: Sintel KITTI-15

Metrics: EPE F1-all occluded-area EPE runtime

Baselines: FlowFormer FlowFormer++ GMFlow SKFlow GMFlowNet RAFT GMA CRAFT FM-RAFT S-Flow

Builds on: FlowFormer Segment Anything Model Perceiver IO MobileSAM

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy