Size Should not Matter: Scale-invariant Stress Metrics

Reyan Ahmed, Cesim Erten, Stephen Kobourov, Jonah Lotz, Jacob Miller, Hamlet Taraz
{"title":"Size Should not Matter: Scale-invariant Stress Metrics","authors":"Reyan Ahmed, Cesim Erten, Stephen Kobourov, Jonah Lotz, Jacob Miller, Hamlet Taraz","doi":"arxiv-2408.04688","DOIUrl":null,"url":null,"abstract":"The normalized stress metric measures how closely distances between vertices\nin a graph drawing match the graph-theoretic distances between those vertices.\nIt is one of the most widely employed quality metrics for graph drawing, and is\neven the optimization goal of several popular graph layout algorithms. However,\nnormalized stress can be misleading when used to compare the outputs of two or\nmore algorithms, as it is sensitive to the size of the drawing compared to the\ngraph-theoretic distances used. Uniformly scaling a layout will change the\nvalue of stress despite not meaningfully changing the drawing. In fact, the\nchange in stress values can be so significant that a clearly better layout can\nappear to have a worse stress score than a random layout. In this paper, we\nstudy different variants for calculating stress used in the literature (raw\nstress, normalized stress, etc.) and show that many of them are affected by\nthis problem, which threatens the validity of experiments that compare the\nquality of one algorithm to that of another. We then experimentally justify one\nof the stress calculation variants, scale-normalized stress, as one that fairly\ncompares drawing outputs regardless of their size. We also describe an\nefficient computation for scale-normalized stress and provide an open source\nimplementation.","PeriodicalId":501570,"journal":{"name":"arXiv - CS - Computational Geometry","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2024-08-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Computational Geometry","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2408.04688","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

The normalized stress metric measures how closely distances between vertices in a graph drawing match the graph-theoretic distances between those vertices. It is one of the most widely employed quality metrics for graph drawing, and is even the optimization goal of several popular graph layout algorithms. However, normalized stress can be misleading when used to compare the outputs of two or more algorithms, as it is sensitive to the size of the drawing compared to the graph-theoretic distances used. Uniformly scaling a layout will change the value of stress despite not meaningfully changing the drawing. In fact, the change in stress values can be so significant that a clearly better layout can appear to have a worse stress score than a random layout. In this paper, we study different variants for calculating stress used in the literature (raw stress, normalized stress, etc.) and show that many of them are affected by this problem, which threatens the validity of experiments that compare the quality of one algorithm to that of another. We then experimentally justify one of the stress calculation variants, scale-normalized stress, as one that fairly compares drawing outputs regardless of their size. We also describe an efficient computation for scale-normalized stress and provide an open source implementation.
大小无关紧要:规模不变的应力指标
归一化应力指标衡量的是图形绘制中顶点之间的距离与这些顶点之间的图论距离的匹配程度,它是图形绘制中应用最广泛的质量指标之一,甚至是几种流行图形布局算法的优化目标。然而,在比较两种或更多算法的输出结果时,归一化应力可能会产生误导,因为与所使用的图论距离相比,它对绘图的大小非常敏感。均匀缩放布局会改变应力值,尽管并不会对绘图造成有意义的改变。事实上,应力值的变化可能非常明显,以至于一个明显更好的布局看起来会比随机布局的应力值更差。在本文中,我们研究了文献中使用的计算应力的不同变体(原始应力、归一化应力等),结果表明许多变体都受到这个问题的影响,这威胁到了将一种算法的质量与另一种算法的质量进行比较的实验的有效性。然后,我们通过实验证明了其中一种应力计算变体--标度归一化应力--是一种可以公平比较绘图输出(无论其大小)的算法。我们还描述了规模归一化应力的高效计算方法,并提供了一个开源实现。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信