Papers › An efficient framework for learning sentence representations

An efficient framework for learning sentence representations

7 Mar 2018ICLR 2018 1arXiv:1803.02893archive 2025-07-28

Lajanugen Logeswaran, Honglak Lee

In this work we propose a simple and efficient framework for learning sentence representations from unlabelled data. Drawing inspiration from the distributional hypothesis and recent work on learning sentence representations, we reformulate the problem of predicting the context in which a sentence appears as a classification problem. Given a sentence and its context, a classifier distinguishes context sentences from other contrastive sentences based on their vector representations. This allows us to efficiently learn different types of encoding functions, and we show that the model learns high-quality sentence representations. We demonstrate that our sentence representations outperform state-of-the-art unsupervised and supervised representation learning methods on several downstream NLP tasks that involve understanding sentence semantics while achieving an order of magnitude speedup in training time.

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

Code

Syntology Ran 0 of 21 code samples harvested from 3 repositories linked to this paper; 21 have no recorded run.

By repository: community (archive-listed): 21 samples from 3 repositories, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

RRisto/quickthoughts mentioned on GitHubpytorch report
asappresearch/dialog-intent-induction mentioned on GitHubpytorchMIT report
coleridge72/quick_thoughts mentioned on GitHubtf report
google/embedding-tests mentioned on GitHubtfApache-2.0 report
jcaip/quickthoughts mentioned on GitHubpytorch report
lajanugen/S2V mentioned on GitHubtfApache-2.0 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

21 samples harvested; 0 ran; 0 honoured the contract we drafted; 21 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.

21unverified

Licence: 1 of the 21 samples is 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 3 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.

build_ae_model google/embedding-tests/attribute/models.py community (archive-listed) unverified Apache-2.0 (permissive) · aa39e8c335b8b839 · report
build_model google/embedding-tests/attribute/models.py community (archive-listed) unverified Apache-2.0 (permissive) · b4689ebdf48c8bdf · report
build_vocabulary google/embedding-tests/authorship_text.py community (archive-listed) unverified Apache-2.0 (permissive) · 1699bd3e697065eb · report
create_lookup_tables google/embedding-tests/train_word_embedding_dp.py community (archive-listed) unverified Apache-2.0 (permissive) · f9c19e8923763bb4 · report
euclidean_metric asappresearch/dialog-intent-induction/model/utils.py community (archive-listed) unverified MIT (permissive) · 10c7d448434a5383 · report
filter_labels google/embedding-tests/inversion_bert.py community (archive-listed) unverified Apache-2.0 (permissive) · a3f2c032d2c01d6d · report
filter_sents_indices google/embedding-tests/save_text_embedding.py community (archive-listed) unverified Apache-2.0 (permissive) · 3012d3468a89592b · report
get_clusters asappresearch/dialog-intent-induction/datasets/askubuntu_preprocess.py community (archive-listed) unverified MIT (permissive) · 68f577055d00b15c · report
get_col_by_role asappresearch/dialog-intent-induction/labeled_unlabeled_merger.py community (archive-listed) unverified MIT (permissive) · 72d79342f5c121ac · report
get_fetch_by_layer google/embedding-tests/inversion_use.py community (archive-listed) unverified Apache-2.0 (permissive) · 603d9db381f4b2c1 · report
get_target google/embedding-tests/train_word_embedding_dp.py community (archive-listed) unverified Apache-2.0 (permissive) · 83f35794b2541212 · report
ids_to_sentence coleridge72/quick_thoughts/analysis.py community (archive-listed) unverified no licence file found · pointer only · deda7a319111941b · report
load_posts asappresearch/dialog-intent-induction/datasets/askubuntu_preprocess.py community (archive-listed) unverified MIT (permissive) · 10bf05d8748667ab · report
mean_pool google/embedding-tests/inversion_use.py community (archive-listed) unverified Apache-2.0 (permissive) · 69c3a9f159d38fe2 · report
pad_paragraphs asappresearch/dialog-intent-induction/model/utils.py community (archive-listed) unverified MIT (permissive) · bcc6353fd5a3afac · report
pad_sentences asappresearch/dialog-intent-induction/model/utils.py community (archive-listed) unverified MIT (permissive) · c88a716892640c81 · report
preprocess_raw_data google/embedding-tests/authorship_text.py community (archive-listed) unverified Apache-2.0 (permissive) · 7585f0e77d8e86db · report
read_posts_index asappresearch/dialog-intent-induction/datasets/askubuntu_preprocess.py community (archive-listed) unverified MIT (permissive) · db6c70abdf239846 · report
sents_to_sparse google/embedding-tests/inversion_use.py community (archive-listed) unverified Apache-2.0 (permissive) · ab56cab4551b8f35 · report
transform asappresearch/dialog-intent-induction/run_mvsc.py community (archive-listed) unverified MIT (permissive) · 962f3fb3209d777e · report
transform asappresearch/dialog-intent-induction/train_qt.py community (archive-listed) unverified MIT (permissive) · 855b1f313f931743 · report

Tasks

General ClassificationRepresentation LearningSentence

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