{'fraction_non_alphanumeric': 0.008526187576126675, 'fraction_numerical': 0.0, 'mean_word_length': 5.629032258064516, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Improving Quantization Matrices for Image Coding by Machine Learning

We investigate the generation of quantization matrices for image coding in the scenario to balance compression ratio and quality. We make use of machine learning to train and determine those quantization matrices that can achieve the best compression ratio while reaching the quality settings. By introducing the trainable parameters and considering the impact of the quantization module on task performance and compression ratio, the DCT and quantization modules are jointly optimized to minimize the total coding cost. We evaluate the well-trained quantization matrices under various quality settings of JPEG. The results indicate that the proposed scheme can be combined with quality settings to consistently achieve better compression performance.