Papers › f-Divergence Minimization for Sequence-Level Knowledge Distillation

f-Divergence Minimization for Sequence-Level Knowledge Distillation

27 Jul 2023arXiv:2307.15190archive 2025-07-28

Yuqiao Wen, Zichao Li, Wenyu Du, Lili Mou

Knowledge distillation (KD) is the process of transferring knowledge from a large model to a small one. It has gained increasing attention in the natural language processing community, driven by the demands of compressing ever-growing language models. In this work, we propose an f-DISTILL framework, which formulates sequence-level knowledge distillation as minimizing a generalized f-divergence function. We propose four distilling variants under our framework and show that existing SeqKD and ENGINE approaches are approximations of our f-DISTILL methods. We further derive step-wise decomposition for our f-DISTILL, reducing intractable sequence-level divergence to word-level losses that can be computed in a tractable manner. Experiments across four datasets show that our methods outperform existing KD approaches, and that our symmetric distilling losses can better force the student to learn from the teacher distribution.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2307.15190")

Code

Syntology Ran 8 of 9 code samples harvested from 1 repository linked to this paper; 1 has no recorded run. Of those that ran: 8 ran with no contract checked.

By repository: official repository: 9 samples from 1 repository, 8 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

manga-uofa/fdistill officialmentioned in paperpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

9 samples harvested; 8 ran; 0 honoured the contract we drafted; 1 has no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

8ran
1unverified

Licence: 9 of the 9 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from manga-uofa/fdistill. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

average_state_dicts manga-uofa/fdistill/chat/convert_pl_checkpoint_to_hf.py official repository ran no licence file found · pointer only · 4fea5dd8ea48ad88 · report
count_trainable_parameters manga-uofa/fdistill/chat/callbacks.py official repository ran no licence file found · pointer only · a3826392847cbef3 · report
get_checkpoint_callback manga-uofa/fdistill/chat/callbacks.py official repository ran no licence file found · pointer only · 190b95ac90ccdd3e · report
get_early_stopping_callback manga-uofa/fdistill/chat/callbacks.py official repository ran no licence file found · pointer only · 295d9fdc5ce0b054 · report
get_layers_to_supervise manga-uofa/fdistill/chat/make_student.py official repository ran no licence file found · pointer only · 1b376fdfea7b4eb9 · report
pick_layers_to_copy manga-uofa/fdistill/chat/make_student.py official repository ran fingerprinted no licence file found · pointer only · bfa832a8ffc34269 · report
remove_prefix manga-uofa/fdistill/chat/convert_pl_checkpoint_to_hf.py official repository ran fingerprinted no licence file found · pointer only · 0bc3da9fd9990dab · report
sanitize manga-uofa/fdistill/chat/convert_pl_checkpoint_to_hf.py official repository ran no licence file found · pointer only · c6524e06623e115e · report
create_student_by_copying_alternating_layers manga-uofa/fdistill/chat/make_student.py official repository unverified no licence file found · pointer only · 35cbdab3bafbff32 · report

Tasks

Knowledge Distillation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Knowledge Distillation

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections