Papers › Learning to Abstract with Nonparametric Variational Information Bottleneck

Learning to Abstract with Nonparametric Variational Information Bottleneck

26 Oct 2023arXiv:2310.17284archive 2025-07-28

Melika Behjati, Fabio Fehr, James Henderson

Learned representations at the level of characters, sub-words, words and sentences, have each contributed to advances in understanding different NLP tasks and linguistic phenomena. However, learning textual embeddings is costly as they are tokenization specific and require different models to be trained for each level of abstraction. We introduce a novel language representation model which can learn to compress to different levels of abstraction at different layers of the same model. We apply Nonparametric Variational Information Bottleneck (NVIB) to stacked Transformer self-attention layers in the encoder, which encourages an information-theoretic compression of the representations through the model. We find that the layers within the model correspond to increasing levels of abstraction and that their representations are more linguistically informed. Finally, we show that NVIB compression results in a model which is more robust to adversarial perturbations.

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="2310.17284")

Code

Syntology Ran 10 of 15 code samples harvested from 2 repositories linked to this paper; 5 have no recorded run. Of those that ran: 2 ran · our draft was wrong; 8 ran with no contract checked.

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

idiap/nvib officialmentioned in papermentioned on GitHubpytorch report
idiap/nvib_selfattention 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

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

2ran · our draft was wrong
8ran
5unverified

Licence: 15 of the 15 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 2 repositories linked to this paper, official or community; each sample names its own and says which. “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.

biased_scaled_dot_product_attention idiap/nvib_selfattention/models/biased_multihead_attention.py official repository ran no licence file found · pointer only · 982ae125a7550202 · report
eye_scaled_ idiap/nvib/nvib/nvib_layer.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 4a8885668b0d4d82 · report
group_from_indecies idiap/nvib_selfattention/data_modules/DataCollatorForSeq2SeqWithNoise.py official repository ran no licence file found · pointer only · c745d49aa41976a5 · report
init_vector_ idiap/nvib/nvib/nvib_layer.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · f801d580dcf9f64b · report
load_arxiv idiap/nvib_selfattention/data_modules/ArxivDataModule.py official repository ran no licence file found · pointer only · 873acdf283363ca7 · report
prepare_tokenization idiap/nvib_selfattention/data_modules/PlotReconstructionDataModule.py official repository ran no licence file found · pointer only · c40d8b23f77db6be · report
process_dataset idiap/nvib_selfattention/data_modules/ArxivDataModule.py official repository ran no licence file found · pointer only · e2a2369f2cb401a7 · report
process_dataset idiap/nvib_selfattention/data_modules/SentEvalDataModule.py official repository ran no licence file found · pointer only · 2c6d88e3f4e079ca · report
token_deletion idiap/nvib_selfattention/data_modules/DataCollatorForSeq2SeqWithNoise.py official repository ran no licence file found · pointer only · be591d63895a1a8b · report
word_span_deletion idiap/nvib_selfattention/data_modules/DataCollatorForSeq2SeqWithNoise.py official repository ran no licence file found · pointer only · 1c12dadce304c1a1 · report
biased_multi_head_attention_forward idiap/nvib_selfattention/models/biased_multihead_attention.py official repository unverified no licence file found · pointer only · 564d5d41b1288adb · report
load_senteval idiap/nvib_selfattention/data_modules/SentEvalDataModule.py official repository unverified no licence file found · pointer only · e17a24d2ba03c883 · report
prepare_tokenization idiap/nvib_selfattention/data_modules/ArxivDataModule.py official repository unverified no licence file found · pointer only · b8d6639f6be54aa3 · report
prepare_tokenization idiap/nvib_selfattention/data_modules/ReconstructionDataModule.py official repository unverified no licence file found · pointer only · 7597f9be3e9c4988 · report
prepare_tokenization idiap/nvib_selfattention/data_modules/SentEvalDataModule.py official repository unverified no licence file found · pointer only · 22f06b2223cfc27d · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Absolute Position EncodingsAdamAttentionBPEDense ConnectionsDropoutLabel SmoothingLayer NormalizationLinear LayerMulti-Head AttentionPosition-Wise Feed-Forward LayerResidual ConnectionSoftmaxTransformer

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