Skip to main content
QUICK REVIEW

[Paper Review] Knowledge Consistency between Neural Networks and Beyond

Ruofan Liang, Tianlin Li|arXiv (Cornell University)|Aug 5, 2019
Adversarial Robustness in Machine LearningComputer Science43 references19 citations
TL;DR

This paper introduces a task-agnostic method to disentangle and quantify knowledge consistency between intermediate layers of pre-trained deep neural networks, defining consistent features as those reconstructable across models. The approach reveals that consistent components are more reliable and can be leveraged to refine models, improving performance and explaining techniques like knowledge distillation and network compression with measurable gains in feature reliability and knowledge retention.

ABSTRACT

This paper aims to analyze knowledge consistency between pre-trained deep neural networks. We propose a generic definition for knowledge consistency between neural networks at different fuzziness levels. A task-agnostic method is designed to disentangle feature components, which represent the consistent knowledge, from raw intermediate-layer features of each neural network. As a generic tool, our method can be broadly used for different applications. In preliminary experiments, we have used knowledge consistency as a tool to diagnose representations of neural networks. Knowledge consistency provides new insights to explain the success of existing deep-learning techniques, such as knowledge distillation and network compression. More crucially, knowledge consistency can also be used to refine pre-trained networks and boost performance.

Motivation & Objective

  • To define knowledge consistency between deep neural networks as a generic diagnostic tool for intermediate-layer representations.
  • To address the lack of mathematical tools for diagnosing feature reliability in DNNs beyond testing accuracy.
  • To develop a method that disentangles consistent and inconsistent feature components without requiring task-specific annotations.
  • To enable performance boosting by refining pre-trained networks using consistent knowledge components.
  • To explain the success of established deep learning techniques like knowledge distillation and network compression through knowledge consistency.

Proposed method

  • Proposes a generic definition of knowledge consistency between two DNNs at varying levels of fuzziness, where consistent features are those that can be reconstructed across models.
  • Introduces a disentanglement framework that decomposes intermediate-layer features into consistent components (shared knowledge) and inconsistent components (noise or task-specific artifacts).
  • Uses non-linear transformations during feature reconstruction to approximate different levels of fuzziness, enabling multi-order consistency analysis.
  • Employs a reconstruction loss to train a model $g_k$ that maps features from one network to the consistent components of another, quantifying consistency via reconstruction quality.
  • Applies the method to diagnose feature reliability, compress models, and analyze knowledge distillation by measuring the variance of inconsistent components ($Var(x^\Delta)$).
  • Uses $Var(x^\Delta)$ as a quantitative metric to track knowledge discarding during compression and knowledge enrichment during recursive distillation.

Experimental results

Research questions

  • RQ1How can knowledge consistency between two DNNs be formally defined at multiple levels of fuzziness?
  • RQ2To what extent can consistent feature components be disentangled from raw intermediate features in a task-agnostic manner?
  • RQ3Can consistent features serve as a reliable proxy for high-quality representations in DNNs?
  • RQ4How does knowledge consistency explain the performance gains in knowledge distillation and network compression?
  • RQ5What is the relationship between inconsistent feature components and knowledge loss during model compression or distillation?

Key findings

  • Consistent feature components disentangled from intermediate layers are more reliable and predictive for the task than inconsistent components.
  • The method successfully diagnoses feature reliability, with consistent components showing higher correlation to task performance than raw features.
  • Knowledge consistency quantification via $Var(x^\Delta)$ reveals a strong correlation between knowledge discarding and accuracy drop during network compression.
  • In recursive knowledge distillation, inconsistent components ($Var(x^\Delta)$) gradually decrease over generations, indicating progressive knowledge enrichment.
  • Visualizations show that DNNs trained for fine-grained classification encode more consistent knowledge than those for binary classification, reflecting richer feature representations.
  • The method enables performance boosting by refining pre-trained networks using only consistent knowledge components, without additional supervision.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.