SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2402.16829 · 2024

GISTEmbed: Guided In-sample Selection of Training Negatives for Text Embedding Fine-tuning

arXiv · PDF · Open in the Atlas

Code that ran

7 of 8 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 5 failures of our instrument; 1 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2402.16829.json · badge: /api/ran/2402.16829.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
avsolatorio/gistembed canonical (classifier label)
classifier basis: census
7 ran · 1 no recorded run
FunctionStatusWhere it lives
compute_pair Ran
ran; our contract draft was wrong, not the code
avsolatorio/gistembed/evaluation/mteb_eval.py
pointer only (licence: NONE) · get_code("bb58ccd905346a8b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, avsolatorio/gistembed when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

compute_sts Ran
ran; our contract draft was wrong, not the code
avsolatorio/gistembed/evaluation/mteb_eval.py
pointer only (licence: NONE) · get_code("0c8b53a0d94dfcd7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, avsolatorio/gistembed when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_embeddings Ran
ran; our contract draft was wrong, not the code
avsolatorio/gistembed/gist_embed/trainer/loss.py
pointer only (licence: NONE) · get_code("7f91a871ff0d03ed")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, avsolatorio/gistembed when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_guide_embeddings Ran
ran, honoured the contract we drafted
avsolatorio/gistembed/gist_embed/trainer/loss.py
pointer only (licence: NONE) · get_code("830f213b5c3ae41c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, avsolatorio/gistembed when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_output_folder Ran
ran; our contract draft was wrong, not the code
avsolatorio/gistembed/evaluation/mteb_eval.py
pointer only (licence: NONE) · get_code("684784c451b19b7c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, avsolatorio/gistembed when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

has_length Ran
ran on a synthesized input
avsolatorio/gistembed/gist_embed/trainer/trainer.py
pointer only (licence: NONE); the stored copy get_code serves, from yai12xlinq-b/imascl, is pointer only (licence: NONE) · get_code("fc0516e02c0038d1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, avsolatorio/gistembed when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

remove_diagonal Ran
ran; our contract draft was wrong, not the code
avsolatorio/gistembed/gist_embed/trainer/loss.py
pointer only (licence: NONE) · get_code("55c7889c25e9257c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, avsolatorio/gistembed when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

background_hf_model_upload Not yet run
unverified (harvested, no recorded run)
avsolatorio/gistembed/gist_embed/util.py
pointer only (licence: NONE) · get_code("26cf0c99b5908318")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, avsolatorio/gistembed when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 1 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 1 later) and 7 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
has_length 1 other paper
1 later
2405.16155 (2024-05)
Improving Multi-lingual Alignment Through Soft Contrastive Learning

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Embedding models are integral to AI applications like semantic search, personalized recommendations, and retrieval augmented generation for LLMs, necessitating high-quality training data. However, the limited scalability of manual data curation prompts the need for automated methods to ensure data integrity. Traditional unsupervised triplet mining automates training data generation, crucial for embedding model training, yet inadvertently injects biases and noise, thereby degrading model performance. Addressing this, we introduce GISTEmbed, a novel strategy that enhances in-batch negative selection during contrastive training through a guide model. This approach departs from reliance on random sampling and equal utility assumption of batch negatives, significantly reducing noise from data quality issues and improving model fine-tuning. Benchmarked against the Massive Text Embedding Benchmark (MTEB), GISTEmbed showcases consistent performance improvements across various model sizes and achieves state-of-the-art results in select categories. This framework enables significant enhancements for smaller models by leveraging the capabilities of powerful yet resource-intensive large models. GISTEmbed can potentially revolutionize the creation of highly efficient, smaller models, democratizing access to advanced AI technologies. Making these technologies more accessible and cost-effective, especially for applications constrained by resources, significantly expands the impact and accessibility of state-of-the-art AI solutions across diverse sectors.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2402.16829")
get_code_for_paper("2402.16829")
have("2402.16829")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2402.16829.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2402.16829.svg)](https://syntology.ai/paper/2402.16829)

Connect an agent — have() is free.