Papers › ScanDL: A Diffusion Model for Generating Synthetic Scanpaths on Texts

ScanDL: A Diffusion Model for Generating Synthetic Scanpaths on Texts

24 Oct 2023arXiv:2310.15587archive 2025-07-28

Lena S. Bolliger, David R. Reich, Patrick Haller, Deborah N. Jakobi, Paul Prasse, Lena A. Jäger

Eye movements in reading play a crucial role in psycholinguistic research studying the cognitive mechanisms underlying human language processing. More recently, the tight coupling between eye movements and cognition has also been leveraged for language-related machine learning tasks such as the interpretability, enhancement, and pre-training of language models, as well as the inference of reader- and text-specific properties. However, scarcity of eye movement data and its unavailability at application time poses a major challenge for this line of research. Initially, this problem was tackled by resorting to cognitive models for synthesizing eye movement data. However, for the sole purpose of generating human-like scanpaths, purely data-driven machine-learning-based methods have proven to be more suitable. Following recent advances in adapting diffusion processes to discrete data, we propose ScanDL, a novel discrete sequence-to-sequence diffusion model that generates synthetic scanpaths on texts. By leveraging pre-trained word representations and jointly embedding both the stimulus text and the fixation sequence, our model captures multi-modal interactions between the two inputs. We evaluate ScanDL within- and across-dataset and demonstrate that it significantly outperforms state-of-the-art scanpath generation methods. Finally, we provide an extensive psycholinguistic analysis that underlines the model's ability to exhibit human-like reading behavior. Our implementation is made available at https://github.com/DiLi-Lab/ScanDL.

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.15587")

Code

Syntology Ran 11 of 20 code samples harvested from 1 repository linked to this paper; 9 have no recorded run. Of those that ran: 2 ran · honoured contract; 3 ran · our draft was wrong; 6 ran with no contract checked.

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

dili-lab/scandl officialmentioned in papermentioned 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

20 samples harvested; 11 ran; 2 honoured the contract we drafted; 9 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
3ran · our draft was wrong
6ran
9unverified

Licence: 20 of the 20 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 DiLi-Lab/ScanDL. “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.

SiLU DiLi-Lab/ScanDL/scandl/sp_transformer_model.py official repository ran · metamorphic tier: invariant fingerprinted no licence file found · pointer only · f378e3c2e0e7259f · report
approx_standard_normal_cdf dili-lab/scandl/scandl/utils/losses.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · cfd76fd0d89574a4 · report
betas_for_alpha_bar dili-lab/scandl/scandl/sp_gaussian_diffusion.py official repository ran · honoured contract no licence file found · pointer only · 2ab2316ac6fdd869 · report
betas_for_alpha_bar_left dili-lab/scandl/scandl/sp_gaussian_diffusion.py official repository ran no licence file found · pointer only · ec3425eb7cd519f7 · report
denoised_fn_round dili-lab/scandl/scandl/sp_rounding.py official repository ran no licence file found · pointer only · 561d61dd0e3e3459 · report
discretized_gaussian_log_likelihood dili-lab/scandl/scandl/utils/losses.py official repository ran · our draft was wrong no licence file found · pointer only · cd33283d615fb3d7 · report
get_efficient_knn dili-lab/scandl/scandl/sp_rounding.py official repository ran fingerprinted no licence file found · pointer only · 4b8663c67f958eca · report
get_named_beta_schedule dili-lab/scandl/scandl/sp_gaussian_diffusion.py official repository ran no licence file found · pointer only · 7c426de92b7ed6df · report
make_output_format dili-lab/scandl/scandl/utils/logger.py official repository ran no licence file found · pointer only · bcd8b4acab199405 · report
normal_kl dili-lab/scandl/scandl/utils/losses.py official repository ran · honoured contract fingerprinted no licence file found · pointer only · cf2798b666b231ca · report
zero_module dili-lab/scandl/scandl/utils/nn.py official repository ran · our draft was wrong no licence file found · pointer only · 129b804760b3115f · report
TransformerNetModel DiLi-Lab/ScanDL/scandl/sp_transformer_model.py official repository unverified no licence file found · pointer only · 35e096f40fc8ed50 · report
avg_pool_nd dili-lab/scandl/scandl/utils/nn.py official repository unverified no licence file found · pointer only · ecd0fc28815b65ae · report
create_named_schedule_sampler dili-lab/scandl/scandl/step_sample.py official repository unverified no licence file found · pointer only · b6fb1c1dab4fdbf7 · report
get_knn dili-lab/scandl/scandl/sp_rounding.py official repository unverified no licence file found · pointer only · 9906cf99104415ef · report
make_master_params dili-lab/scandl/scandl/utils/fp16_util.py official repository unverified no licence file found · pointer only · a863803cdd5f3ce6 · report
mpi_weighted_mean dili-lab/scandl/scandl/utils/logger.py official repository unverified no licence file found · pointer only · e515a67f7f32e76d · report
profile dili-lab/scandl/scandl/utils/logger.py official repository unverified no licence file found · pointer only · 474a3911f75068af · report
scale_module dili-lab/scandl/scandl/utils/nn.py official repository unverified no licence file found · pointer only · 9136b5f9b735334b · report
unflatten_master_params dili-lab/scandl/scandl/utils/fp16_util.py official repository unverified no licence file found · pointer only · 30e43bcf12d042b0 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Diffusion

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