<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Negative Sampling | Xin Chen</title><link>https://chenxin360104.github.io/tags/negative-sampling/</link><atom:link href="https://chenxin360104.github.io/tags/negative-sampling/index.xml" rel="self" type="application/rss+xml"/><description>Negative Sampling</description><generator>Hugo Blox Builder (https://hugoblox.com)</generator><language>en-us</language><lastBuildDate>Wed, 05 Aug 2026 00:00:00 +0000</lastBuildDate><image><url>https://chenxin360104.github.io/media/icon_hu7729264130191091259.png</url><title>Negative Sampling</title><link>https://chenxin360104.github.io/tags/negative-sampling/</link></image><item><title>SNAP-tFDP: Massively Scalable Graph Layouts via Sparse Negative Sampling</title><link>https://chenxin360104.github.io/publication/chen2026snaptfdp/</link><pubDate>Wed, 05 Aug 2026 00:00:00 +0000</pubDate><guid>https://chenxin360104.github.io/publication/chen2026snaptfdp/</guid><description>&lt;h3 id="results">Results&lt;/h3>
&lt;p>
&lt;figure id="figure-comparison-of-classical-spring-electrical-models-and-t-fdp-models-with-different-weighting-schemes">
&lt;div class="flex justify-center ">
&lt;div class="w-100" >&lt;img alt="fig2" srcset="
/publication/chen2026snaptfdp/fig2_hu5808763251815742193.webp 400w,
/publication/chen2026snaptfdp/fig2_hu10006787420541419497.webp 760w,
/publication/chen2026snaptfdp/fig2_hu1054243742726065754.webp 1200w"
src="https://chenxin360104.github.io/publication/chen2026snaptfdp/fig2_hu5808763251815742193.webp"
width="760"
height="507"
loading="lazy" data-zoomable />&lt;/div>
&lt;/div>&lt;figcaption>
Comparison of classical spring-electrical models and t-FDP models with different weighting schemes.
&lt;/figcaption>&lt;/figure>
&lt;/p>
&lt;p>
&lt;figure id="figure-comparison-of-different-degree-weighting-schemes-for-a-two-high-degree-nodes-and-b-a-high-degree-node-and-a-low-degree-node-the-attractive-force-fat-fdp-is-identical-in-all-cases-and-is-shown-as-a-black-solid-line-product-based-weighting-orange-produces-overly-strong-relative-repulsion-and-its-normalized-variant-purple-nearly-eliminates-repulsion-for-low-degree-nodes-while-linearly-normalized-degree-weighting-red-provides-effective-balance">
&lt;div class="flex justify-center ">
&lt;div class="w-100" >&lt;img alt="fig3" srcset="
/publication/chen2026snaptfdp/fig3_hu11807545506285348357.webp 400w,
/publication/chen2026snaptfdp/fig3_hu17501672768847073131.webp 760w,
/publication/chen2026snaptfdp/fig3_hu13394231696854189999.webp 1200w"
src="https://chenxin360104.github.io/publication/chen2026snaptfdp/fig3_hu11807545506285348357.webp"
width="760"
height="494"
loading="lazy" data-zoomable />&lt;/div>
&lt;/div>&lt;figcaption>
Comparison of different degree-weighting schemes for (a) two high-degree nodes and (b) a high-degree node and a low-degree node. The attractive force F&lt;sup>a&lt;/sup>&lt;sub>t-FDP&lt;/sub> is identical in all cases and is shown as a black solid line. Product-based weighting (orange) produces overly strong relative repulsion and its normalized variant (purple) nearly eliminates repulsion for low-degree nodes, while linearly normalized degree weighting (red) provides effective balance.
&lt;/figcaption>&lt;/figure>
&lt;/p>
&lt;p>
&lt;figure id="figure-validation-of-the-edge-centric-negative-sampling-strategy-a-energy-loss-curves-showing-that-the-actual-energy-of-snap-tfdp-converges-consistently-with-the-effective-energy-b-superimposition-of-layouts-by-snap-tfdp-colored-and-the-full-computation-gray">
&lt;div class="flex justify-center ">
&lt;div class="w-100" >&lt;img alt="fig4" srcset="
/publication/chen2026snaptfdp/fig4_hu9534160631149852598.webp 400w,
/publication/chen2026snaptfdp/fig4_hu6493938629520073843.webp 760w,
/publication/chen2026snaptfdp/fig4_hu660099166498743114.webp 1200w"
src="https://chenxin360104.github.io/publication/chen2026snaptfdp/fig4_hu9534160631149852598.webp"
width="760"
height="341"
loading="lazy" data-zoomable />&lt;/div>
&lt;/div>&lt;figcaption>
Validation of the edge-centric negative sampling strategy. (a) Energy loss curves showing that the actual energy of SNAP-tFDP converges consistently with the effective energy. (b) Superimposition of layouts by SNAP-tFDP (colored) and the full computation (gray).
&lt;/figcaption>&lt;/figure>
&lt;/p>
&lt;p>
&lt;figure id="figure-effect-of-the-number-of-negative-samples-k-a-layout-results-and-corresponding-runtime-of-the-serial-snap-tfdp-algorithm-for-different-k-on-the-aph-dataset-b-np-si-and-cq-scores-under-varying-k-results-for-individual-datasets-are-shown-in-gray-with-the-average-across-datasets-highlighted-in-red">
&lt;div class="flex justify-center ">
&lt;div class="w-100" >&lt;img alt="fig5" srcset="
/publication/chen2026snaptfdp/fig5_hu13351469104422727516.webp 400w,
/publication/chen2026snaptfdp/fig5_hu460557036188069133.webp 760w,
/publication/chen2026snaptfdp/fig5_hu4056712275236675224.webp 1200w"
src="https://chenxin360104.github.io/publication/chen2026snaptfdp/fig5_hu13351469104422727516.webp"
width="760"
height="711"
loading="lazy" data-zoomable />&lt;/div>
&lt;/div>&lt;figcaption>
Effect of the number of negative samples k. (a) Layout results and corresponding runtime of the serial SNAP-tFDP algorithm for different k on the APH dataset. (b) NP, SI, and CQ scores under varying k. Results for individual datasets are shown in gray, with the average across datasets highlighted in red.
&lt;/figcaption>&lt;/figure>
&lt;/p>
&lt;p>
&lt;figure id="figure-a-convergence-of-the-silhouette-index-si-for-the-serial-snap-tfdp-algorithm-and-its-two-lock-free-parallel-variants-on-the-largest-com-lj-graph-where-semi-transparent-points-indicate-the-results-of-five-independent-runs-b-layouts-at-four-different-epochs-for-clarity-only-the-top-20-largest-communities-are-shown">
&lt;div class="flex justify-center ">
&lt;div class="w-100" >&lt;img alt="fig6" srcset="
/publication/chen2026snaptfdp/fig6_hu18042111542645320548.webp 400w,
/publication/chen2026snaptfdp/fig6_hu5403829803727249661.webp 760w,
/publication/chen2026snaptfdp/fig6_hu6961304450803663599.webp 1200w"
src="https://chenxin360104.github.io/publication/chen2026snaptfdp/fig6_hu18042111542645320548.webp"
width="760"
height="515"
loading="lazy" data-zoomable />&lt;/div>
&lt;/div>&lt;figcaption>
(a) Convergence of the silhouette index (SI) for the serial SNAP-tFDP algorithm and its two lock-free parallel variants on the largest com-lj graph, where semi-transparent points indicate the results of five independent runs. (b) Layouts at four different epochs; for clarity, only the top 20 largest communities are shown.
&lt;/figcaption>&lt;/figure>
&lt;/p>
&lt;p>
&lt;figure id="figure-heatmaps-employing-a-pink-to-green-colormap-illustrate-the-scores-of-np-a-si-b-and-cq-c-for-layouts-generated-by-nine-methods-across-all-datasets-empty-cells-indicate-that-the-graph-was-too-large-to-be-processed-by-the-corresponding-method-each-row-corresponds-to-a-dataset-and-each-column-to-a-layout-method-colors-are-scaled-row-wise-based-on-the-best-and-worst-within-each-dataset">
&lt;div class="flex justify-center ">
&lt;div class="w-100" >&lt;img alt="fig7" srcset="
/publication/chen2026snaptfdp/fig7_hu9577589634416354660.webp 400w,
/publication/chen2026snaptfdp/fig7_hu16393305243607671241.webp 760w,
/publication/chen2026snaptfdp/fig7_hu7576723559161536092.webp 1200w"
src="https://chenxin360104.github.io/publication/chen2026snaptfdp/fig7_hu9577589634416354660.webp"
width="760"
height="136"
loading="lazy" data-zoomable />&lt;/div>
&lt;/div>&lt;figcaption>
Heatmaps employing a pink-to-green colormap illustrate the scores of NP (a), SI (b), and CQ (c) for layouts generated by nine methods across all datasets. Empty cells indicate that the graph was too large to be processed by the corresponding method. Each row corresponds to a dataset, and each column to a layout method. Colors are scaled row-wise based on the best and worst within each dataset.
&lt;/figcaption>&lt;/figure>
&lt;/p>
&lt;p>
&lt;figure id="figure-layouts-and-corresponding-runtimes-of-twelve-serial-methods-for-the-aircraft-dataset-snap-tfdp-lower-right-combines-degree-weighting-with-t-forces-yielding-clear-cluster-structures-with-the-lowest-runtime-as-fast-as-pure-pivot-mds">
&lt;div class="flex justify-center ">
&lt;div class="w-100" >&lt;img alt="fig8" srcset="
/publication/chen2026snaptfdp/fig8_hu6683486966943759184.webp 400w,
/publication/chen2026snaptfdp/fig8_hu15916024225961381397.webp 760w,
/publication/chen2026snaptfdp/fig8_hu8340299310538311352.webp 1200w"
src="https://chenxin360104.github.io/publication/chen2026snaptfdp/fig8_hu6683486966943759184.webp"
width="760"
height="571"
loading="lazy" data-zoomable />&lt;/div>
&lt;/div>&lt;figcaption>
Layouts and corresponding runtimes of twelve serial methods for the aircraft dataset. SNAP-tFDP (lower right) combines degree weighting with t-forces, yielding clear cluster structures with the lowest runtime, as fast as pure Pivot MDS.
&lt;/figcaption>&lt;/figure>
&lt;/p>
&lt;p>
&lt;figure id="figure-a-differences-in-visual-quality-scores-between-the-two-parallel-variants-and-the-serial-snap-tfdp-across-all-datasets-b-speedup-comparison-of-snap-tfdp-and-the-parallel-implementations-of-existing-methods-as-a-function-of-the-number-of-cpu-threads-on-the-largest-com-lj-dataset">
&lt;div class="flex justify-center ">
&lt;div class="w-100" >&lt;img alt="fig9" srcset="
/publication/chen2026snaptfdp/fig9_hu1829189144735592665.webp 400w,
/publication/chen2026snaptfdp/fig9_hu8982129478758850551.webp 760w,
/publication/chen2026snaptfdp/fig9_hu14054002427166997693.webp 1200w"
src="https://chenxin360104.github.io/publication/chen2026snaptfdp/fig9_hu1829189144735592665.webp"
width="760"
height="310"
loading="lazy" data-zoomable />&lt;/div>
&lt;/div>&lt;figcaption>
(a) Differences in visual quality scores between the two parallel variants and the serial SNAP-tFDP across all datasets. (b) Speedup comparison of SNAP-tFDP and the parallel implementations of existing methods as a function of the number of CPU threads on the largest com-lj dataset.
&lt;/figcaption>&lt;/figure>
&lt;/p>
&lt;p>
&lt;figure id="figure-figure-10-runtime-of-eight-layout-methods-together-with-the-gpu-implementations-of-fa2-t-fdp-and-snap-tfdp-across-all-datasets">
&lt;div class="flex justify-center ">
&lt;div class="w-100" >&lt;img alt="fig10" srcset="
/publication/chen2026snaptfdp/fig10_hu9996048820958516141.webp 400w,
/publication/chen2026snaptfdp/fig10_hu5880133816173078712.webp 760w,
/publication/chen2026snaptfdp/fig10_hu10754475357693187272.webp 1200w"
src="https://chenxin360104.github.io/publication/chen2026snaptfdp/fig10_hu9996048820958516141.webp"
width="760"
height="563"
loading="lazy" data-zoomable />&lt;/div>
&lt;/div>&lt;figcaption>
Figure 10: Runtime of eight layout methods, together with the GPU implementations of FA2, t-FDP, and SNAP-tFDP, across all datasets.
&lt;/figcaption>&lt;/figure>
&lt;/p>
&lt;p>
&lt;figure id="figure-figure-11-visualization-of-the-com-friendster-dataset-containing-over-656-million-nodes-and-18-billion-edges">
&lt;div class="flex justify-center ">
&lt;div class="w-100" >&lt;img alt="fig11" srcset="
/publication/chen2026snaptfdp/fig11_hu11035062737651489927.webp 400w,
/publication/chen2026snaptfdp/fig11_hu12028935488457859196.webp 760w,
/publication/chen2026snaptfdp/fig11_hu787841579282099620.webp 1200w"
src="https://chenxin360104.github.io/publication/chen2026snaptfdp/fig11_hu11035062737651489927.webp"
width="760"
height="760"
loading="lazy" data-zoomable />&lt;/div>
&lt;/div>&lt;figcaption>
Figure 11: Visualization of the com-friendster dataset, containing over 65.6 million nodes and 1.8 billion edges.
&lt;/figcaption>&lt;/figure>
&lt;/p>
&lt;h3 id="supplementary-material">Supplementary Material&lt;/h3>
&lt;p>The supplemental material file is available at &lt;a href="https://www.yunhaiwang.net/vis2026/SNAP-tFDP/files/supp-snap-tfdp.pdf" target="_blank" rel="noopener">https://www.yunhaiwang.net/vis2026/SNAP-tFDP/files/supp-snap-tfdp.pdf&lt;/a>.&lt;/p>
&lt;h3 id="acknowledgements">Acknowledgements&lt;/h3>
&lt;p>The authors like to thank the anonymous reviewers for their valuable input. This work is supported by the grants of the NSFC (No.62402284, No.6260072651, No.U2436209), the Beijing Natural Science Foundation (L247027), NSF of Shandong province (ZR2024QF212), the Liaoning Revitalization Talents Program (No. XLYCE2504024), Liaoning Provincial Doctoral Start-up Research Fund (No. 2026-BS-0096), the Fundamental Research Funds for the Central Universities, and the Research Funds of Renmin University of China.&lt;/p></description></item></channel></rss>