Papers › Generating Sentences from a Continuous Space

Generating Sentences from a Continuous Space

19 Nov 2015CONLL 2016 8arXiv:1511.06349archive 2025-07-28

Samuel R. Bowman, Luke Vilnis, Oriol Vinyals, Andrew M. Dai, Rafal Jozefowicz, Samy Bengio

The standard recurrent neural network language model (RNNLM) generates sentences one word at a time and does not work from an explicit global sentence representation. In this work, we introduce and study an RNN-based variational autoencoder generative model that incorporates distributed latent representations of entire sentences. This factorization allows it to explicitly model holistic properties of sentences such as style, topic, and high-level syntactic features. Samples from the prior over these sentence representations remarkably produce diverse and well-formed sentences through simple deterministic decoding. By examining paths through this latent space, we are able to generate coherent novel sentences that interpolate between known sentences. We present techniques for solving the difficult learning problem presented by this model, demonstrate its effectiveness in imputing missing words, explore many interesting properties of the model's latent sentence space, and present negative results on the use of the model in language modeling.

PaperPDFConference PDFCodeCode 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="1511.06349")

Code

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

By repository: community (archive-listed): 30 samples from 10 repositories, 12 ran; 1 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

17 repositories listed; official and paper-mentioned ones first.

GiuliaLanzillotta/exercises mentioned on GitHubtf report
NicGian/text_VAE mentioned on GitHubtf report
aaronbae/ModifiedSentenceVAE mentioned on GitHubpytorch report
arvind385801/paraphrasegen mentioned on GitHubpytorch report
clutr/clutr mentioned on GitHubpytorch report
isabelline/Text_VAE_tf mentioned on GitHubtf report
kefirski/pytorch_RVAE mentioned on GitHubpytorch report
pranjalg96/Stylized-Image-captioning mentioned on GitHubpytorch report
ryokamoi/original_textvae mentioned on GitHubtfMIT report
timbmg/Sentence-VAE mentioned on GitHubpytorch report
twairball/keras_lstm_vae mentioned on GitHubMIT report
wiseodd/controlled-text-generation mentioned on GitHubpytorch 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

31 samples harvested; 13 ran; 2 honoured the contract we drafted; 18 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 · honoured contract
1ran · our draft was wrong
10ran
18unverified

Licence: 19 of the 31 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 10 repositories linked to this paper, official or community; each sample names its own and says which. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “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.

ClutrEmbedding clutr/clutr/task_embed/clutr_RVAE/model/rvae.py community (archive-listed) ran licence not identified · pointer only · 01b38ffbbdc08e19 · report
Encoder clutr/clutr/task_embed/clutr_RVAE/model/rvae.py community (archive-listed) ran licence not identified · pointer only · 74b19fb734f820f4 · report
GeneralModel StijnVerdenius/Boosting_Text_Classifiers_by_Generative_Modelling/models/generators/SentenceVAE.py community (archive-listed) ran no licence file found · pointer only · 519ea45327d29280 · report
Highway clutr/clutr/task_embed/clutr_RVAE/model/rvae.py community (archive-listed) ran fingerprinted licence not identified · pointer only · e4359767bf930518 · report
SentenceVAE aaronbae/ModifiedSentenceVAE/model.py community (archive-listed) ran · metamorphic tier: deterministic no licence file found · pointer only · 70ae1759582e14cd · report
SentenceVAE timbmg/Sentence-VAE/model.py community (archive-listed) ran no licence file found · pointer only · 30bc598c6cdb8c2a · report
SentenceVAE StijnVerdenius/Boosting_Text_Classifiers_by_Generative_Modelling/models/generators/SentenceVAE.py community (archive-listed) ran no licence file found · pointer only · 5dcc088a465cd336 · report
VAE sindhusweety/VAE-Generating-Sentences-From-a-Continuous-Space/model.py community (archive-listed) ran no licence file found · pointer only · 7e6ae924c7773d3e · report
f_and kefirski/pytorch_RVAE/model/rvae.py community (archive-listed) ran fingerprinted MIT (permissive) · abef1871f56ceeb2 · report
fold kefirski/pytorch_RVAE/model/rvae.py community (archive-listed) ran MIT (permissive) · 0381de7a8ac5ced5 · report
kld_coef clutr/clutr/task_embed/clutr_RVAE/model/rvae.py community (archive-listed) ran · honoured contract fingerprinted licence not identified · pointer only · cb6715e93952a5b1 · report
to_var timbmg/Sentence-VAE/model.py community (archive-listed) ran · honoured contract fingerprinted no licence file found · pointer only · 36326e7b5eb789e9 · report
Decoder clutr/clutr/task_embed/clutr_RVAE/model/rvae.py community (archive-listed) unverified licence not identified · pointer only · 91e0f91c79cb5abd · report
Decoder kefirski/pytorch_RVAE/model/rvae.py community (archive-listed) unverified MIT (permissive) · 8e80e3c35950e569 · report
DiagonalGaussian Chung-I/Variational-Recurrent-Autoencoder-Tensorflow/seq2seq.py community (archive-listed) unverified no licence file found · pointer only · 3aa0fee32833e525 · report
Embedding kefirski/pytorch_RVAE/model/rvae.py community (archive-listed) unverified MIT (permissive) · f095a1e3a4e44d91 · report
Encoder kefirski/pytorch_RVAE/model/rvae.py community (archive-listed) unverified MIT (permissive) · 3f940d9bc8f717e1 · report
RNN_VAE wiseodd/controlled-text-generation/ctextgen/model.py community (archive-listed) unverified BSD-3-Clause (permissive) · 1e7396ef5e17180b · report
RNN_VAE pranjalg96/Stylized-Image-captioning/SST_files/ctextgen/model.py community (archive-listed) unverified BSD-3-Clause (permissive) · a431fd85f112cebc · report
RVAE clutr/clutr/task_embed/clutr_RVAE/model/rvae.py community (archive-listed) unverified licence not identified · pointer only · c00adaa69df91ca6 · report
RVAE kefirski/pytorch_RVAE/model/rvae.py community (archive-listed) unverified MIT (permissive) · 7e97f7b2da18a1ab · report
TDNN kefirski/pytorch_RVAE/model/rvae.py community (archive-listed) unverified MIT (permissive) · 80456d6dd2ae8003 · report
create_lstm_autoencoder twairball/keras_lstm_vae/lstm_vae/autoencoder.py community (archive-listed) unverified MIT (permissive) · 75924d8b8887223c · report
f_or kefirski/pytorch_RVAE/model/rvae.py community (archive-listed) unverified MIT (permissive) · c13de86adc9e9594 · report
gaussian_diag_logps Chung-I/Variational-Recurrent-Autoencoder-Tensorflow/seq2seq.py community (archive-listed) unverified no licence file found · pointer only · 6a3f97eabb0e0593 · report
parameters_allocation_check kefirski/pytorch_RVAE/model/rvae.py community (archive-listed) unverified MIT (permissive) · 8f395eeb81e91562 · report
sample Chung-I/Variational-Recurrent-Autoencoder-Tensorflow/seq2seq.py community (archive-listed) unverified no licence file found · pointer only · 2ce2edf795968921 · report
sequence_loss Chung-I/Variational-Recurrent-Autoencoder-Tensorflow/seq2seq.py community (archive-listed) unverified no licence file found · pointer only · 1f47f6d9b3d8e1b4 · report
sequence_loss_by_example Chung-I/Variational-Recurrent-Autoencoder-Tensorflow/seq2seq.py community (archive-listed) unverified no licence file found · pointer only · 8817ecd42aece095 · report
variational_autoencoder_with_buckets Chung-I/Variational-Recurrent-Autoencoder-Tensorflow/seq2seq.py community (archive-listed) unverified no licence file found · pointer only · 3efc2abded581bfb · report
to_var identical code first harvested elsewhere ran · our draft was wrong fingerprinted licence of this copy not recorded · 502c50812b7f31ab · report

Tasks

Language ModelingLanguage ModellingSentence

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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