atlas

Research map / Large language models / Reasoning and chain of thought

ConsistentEE: A Consistent and Hardness-Guided Early Exiting Method for Accelerating Language Models Inference

AAAI 2024 · Large language models › Reasoning and chain of thought · approach: Test-time compute scaling · 9 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 ConsistentEE, an RL-based early exiting method where each instance needs to be correctly predicted by only one internal classifier, with a hardness-aware reward based on a "memorized layer" concept.

Problem

Early exiting training objectives require all internal classifiers to predict all instances correctly, while inference only needs one correct exit, creating a train-inference mismatch that hurts shallow classifiers and efficiency-accuracy trade-offs.

Approach

Formulates early exiting as a policy-gradient RL problem where a policy network decides exit or continue per layer, so only the exiting classifier incurs loss; the reward's accuracy-acceleration trade-off is scaled per instance by a memorized-layer hardness measure (the layer from which an instance stays correctly classified until the final layer).

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
RL-based early exiting (ConsistentEE) replacing weighted-sum CE trainingBERT-Base early exiting · GLUE dev, 8 datasetsaveraged score at no accuracy loss: 86.9 vs 86.4 BERT-Base (with -34% layers)Helped
Hardness-guided reward (memorized layer) vs vanilla reward (ablation)ConsistentEE reward function · ablation under varied alpha (GLUE)accuracy vs speedup trade-offHelped
Hardness-guided reward uses memorized layer, instead of fixed trade-off coefficientgeneration (LLaMA with CALM comparison) · Alpaca/Dolly, CNN/DMRouge-L / BERT-F vs speedupNo clear effect
ConsistentEE vs CALM for generationLLaMA backbones · Alpaca/DollyRouge-L/BERT-F at higher speedupMixed
Larger trade-off alpha (ablation)ConsistentEE · GLUE dev hyperparameter sweepspeedup and accuracy: accuracy varies only 4% over alpha rangeMixed
ConsistentEE vs PABEE/BERxiT on ALBERT-Base/BERT-Large/ALBERT-LargePLM backbones (RTE, MRPC, SST-2) · test setaccuracy/F1 with saved layersHelped

Surprising findings

Limitations

Experimental setup

Datasets: RTE MRPC SST-2 QNLI QQP MNLI M-CID StackOverflow Alpaca Dolly CNN/DM

Benchmarks: RTE MRPC SST-2 QNLI QQP MNLI M-CID StackOverflow Dolly CNN/DM

Metrics: accuracy F1 saved layers saved runtime Rouge-L BERTScore F1

Baselines: DeeBERT PABEE BERxiT Right-Tool PCEE-BERT HashEE TR-BERT CALM

Builds on: DeeBERT PABEE BERxiT unforgettable examples CALM

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