atlas

Research map / Architectures and efficiency / RNNs and normalization

Layer Compression of Deep Networks with Straight Flows

AAAI 2024 · Architectures and efficiency › RNNs and normalization · approach: Efficient network compression and training · 2 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.

Compresses a deep residual/transformer network into a one-step straight-flow model via a continuous-time flow, ReFlow straightening, and final knowledge distillation, reducing depth and FLOPs with little accuracy loss.

Problem

Very deep networks are slow to infer and hard to deploy; the goal is to compress a trained deep network into a shallow (few- or one-step) network without losing accuracy.

Approach

Distill a deep network into a time-continuous neural flow, apply ReFlow to straighten transport trajectories so the flow can be discretized in one step, then refine the one-step model with knowledge distillation together with the head and tokenizer; the same flow model doubles as an early-exit dynamic network.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use straight-flow compression instead of direct standard knowledge distillation4-layer student from DeiT-Base · CIFAR-10 testTop-1 accuracy (%): 95.2±0.01 -> 95.4±0.01Helped
Use straight-flow compression instead of Growingcompressed SWIN-Base · ImageNet validationTop-1 accuracy (%): 82.2±0.1 -> 82.6±0.2Helped
Use straight-flow compression instead of Growingcompressed DeiT-Base · ImageNet validationTop-1 accuracy (%): 81.4±0.1 -> 81.6±0.1Helped
Use straight-flow compression instead of Growingcompressed ResNet-50 · ImageNet validationTop-1 accuracy (%): 76.8±0.3 -> 77.0±0.1No clear effect
Use a one-step model instead of the standard modelSWIN-Base segmentation backbone · ADE20K testmIoU (%): 48.1 -> 47.6Hurt
Use two inference steps instead of oneSWIN-Base segmentation backbone · ADE20K testmIoU (%): 47.6 -> 48.1Helped
Use a one-step model instead of the standard modelDeiT-Base segmentation backbone · ADE20K testmIoU (%): 44.2 -> 44.0Hurt
Use two inference steps instead of oneDeiT-Base segmentation backbone · ADE20K testmIoU (%): 44.0 -> 44.2Helped
Replace the linear trajectory objective with cosine or DDPM trajectories (ablation)DeiT-Base flow model · CIFAR-10 test, 1-StepTop-1 accuracy (%): 95.4±0.01 vs 94.7±0.01; 94.9±0.01Hurt
Add one ReFlow operation to the initial flow (ablation)DeiT-Base flow model · CIFAR-10 test, 1-StepTop-1 accuracy (%): 94.9±0.02 -> 95.2±0.02Helped
Apply ReFlow twice instead of once (ablation)DeiT-Base flow model · CIFAR-10 test, 1-StepTop-1 accuracy (%): 95.2±0.02 -> 95.3±0.03Helped
Apply ReFlow twice instead of once (ablation)DeiT-Base flow model · CIFAR-10 test, 2-StepTop-1 accuracy (%): 95.5±0.02 -> 95.4±0.02Hurt

Surprising findings

Limitations

Experimental setup

Datasets: CIFAR-10 ImageNet ADE20K

Benchmarks: CIFAR-10 ImageNet ADE20K

Metrics: top-1 accuracy FLOPs mIoU FPS

Baselines: Standard KD Attention Transfer Feature Map Transfer Growing DBP LWP Cosine trajectory DDPM trajectory RL agent early exit Confidence early exit

Builds on: Rectified flow (ReFlow) Neural ODE TinyBERT MobileBERT growing distillation DBP

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