[Paper Review] Arbitrary Ratio Feature Compression via Next Token Prediction
The ARFC framework enables feature compression at arbitrary ratios with a single trained model by predicting next tokens, augmented by Mixture of Solutions and Entity Relation Graph Constraint to improve robustness and preserve structure.
Feature compression is increasingly important for improving the efficiency of downstream tasks, especially in applications involving large-scale or multi-modal data. While existing methods typically rely on dedicated models for achieving specific compression ratios, they are often limited in flexibility and generalization. In particular, retraining is necessary when adapting to a new compression ratio. To address this limitation, we propose a novel and flexible Arbitrary Ratio Feature Compression (ARFC) framework, which supports any compression ratio with a single model, eliminating the need for multiple specialized models. At its core, the Arbitrary Ratio Compressor (ARC) is an auto-regressive model that performs compression via next-token prediction. This allows the compression ratio to be controlled at inference simply by adjusting the number of generated tokens. To enhance the quality of the compressed features, two key modules are introduced. The Mixture of Solutions (MoS) module refines the compressed tokens by utilizing multiple compression results (solutions), reducing uncertainty and improving robustness. The Entity Relation Graph Constraint (ERGC) is integrated into the training process to preserve semantic and structural relationships during compression. Extensive experiments on cross-modal retrieval, image classification, and image retrieval tasks across multiple datasets demonstrate that our method consistently outperforms existing approaches at various compression ratios. Notably, in some cases, it even surpasses the performance of the original, uncompressed features. These results validate the effectiveness and versatility of ARFC for practical, resource-constrained scenarios.
Motivation & Objective
- Motivate flexible feature compression to handle dynamic resource constraints without retraining for each ratio.
- Introduce a single-model Arbitrary Ratio Compressor (ARC) that uses next-token prediction to support arbitrary compression ratios.
- Enhance compressed features with Mixture of Solutions (MoS) for cross-solution refinement and Entity Relation Graph Constraint (ERGC) to preserve semantic/geometry relations.
- Demonstrate superior performance across cross-modal retrieval, image classification, and image retrieval tasks over existing methods.
Proposed method
- ARC uses a transformer-based auto-regressive model to generate a basic compressed feature by predicting the next tokens given the preceding context.
- Any target compression ratio is achieved by selecting a prefix of the ARC-generated token sequence.
- MoS refines multiple basic compressed solutions via cross-solution attention and a learnable compression token to produce a final refined feature.
- ERGC constructs entity relation graphs for original and compressed features and minimizes the difference between their edge (cosine similarity) matrices to preserve relational structure.
- Training uses a progressive compression strategy with beta-distributed sampling of ratios to ensure coverage across the ratio spectrum.
Experimental results
Research questions
- RQ1Can a single model compress features to arbitrary ratios without retraining for each ratio?
- RQ2Do MoS and ERGC improve robustness and preserve semantic/relational structure during compression?
- RQ3How does ARFC compare to state-of-the-art feature compression methods across multiple tasks and datasets?
- RQ4Is the compressed feature quality competitive with or superior to uncompressed features under certain ratios?
Key findings
- ARFC consistently outperforms competing methods (Q-Former, Autoencoder, PTQ) across multiple compression ratios in cross-modal retrieval, image classification, and image retrieval.
- On Flickr30K and Flickr30K-CN, ARFC achieves higher R@1, R@5, and R@10 than baselines at 50% compression, and in some cases surpasses the baseline uncompressed features.
- The framework achieves up to 75% lossless compression in many scenarios (per abstract/introduction statements).
- ARC enables flexible compression without retraining, and MoS+ERGC provide robustness and relational structure preservation across ratios.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.