arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.12759cs.LG
收藏

通用排序网络:一种基于注意力的神经网络,用于跨尺度和质量指标的排序

Versatile Ordering Network: An Attention-based Neural Network for Ordering Across Scales and Quality Metrics

School of Computer Science and Engineering, Sun Yat-sen University(中山大学计算机科学与工程学院);National Supercomputer Center in Guangzhou(广州国家超级计算中心)

Zehua Yu, Weihan Zhang, Sihan Pan, Jun Tao

AI总结:

本文提出通用排序网络(VON),利用质量指标与带有贪婪展开基线的强化学习自动学习排序策略,并通过注意力机制跨尺度重定位数据点,能处理不同分布数据并在多指标下取得与专用求解器相当的效果。

摘要:

排序在许多可视化应用(如坐标轴和矩阵重排序)中被广泛研究,原因很简单:排序会极大影响人们对数据模式的感知。人们提出了许多关于数据模式、感知和美学的质量指标,并开发了相应的优化算法。然而,与排序相关的优化问题通常难以求解(例如,TSP是NP完全的),且开发专门的优化算法成本高昂。在本文中,我们提出了通用排序网络(VON),它能在给定质量指标的情况下自动学习排序策略。VON利用质量指标评估其解决方案,并采用带有贪婪展开基线的强化学习来改进自身。这使得指标保持透明,并允许VON在不同指标上进行优化。此外,VON利用注意力机制跨尺度收集信息,并根据当前上下文重新定位数据点。这使得VON能够处理遵循不同分布的数据点。我们在不同使用场景和指标下检验了VON的有效性。结果表明,VON能产生与专用求解器相当的结果。代码可在https://github.com/sysuvis/VON获取。

英文摘要:

Ordering has been extensively studied in many visualization applications, such as axis and matrix reordering, for the simple reason that the order will greatly impact the perceived pattern of data. Many quality metrics concerning data pattern, perception, and aesthetics are proposed, and respective optimization algorithms are developed. However, the optimization problems related to ordering are often difficult to solve (e.g., TSP is NP-complete), and developing specialized optimization algorithms is costly. In this paper, we propose Versatile Ordering Network (VON), which automatically learns the strategy to order given a quality metric. VON uses the quality metric to evaluate its solutions, and leverages reinforcement learning with a greedy rollout baseline to improve itself. This keeps the metric transparent and allows VON to optimize over different metrics. Additionally, VON uses the attention mechanism to collect information across scales and reposition the data points with respect to the current context. This allows VONs to deal with data points following different distributions. We examine the effectiveness of VON under different usage scenarios and metrics. The results demonstrate that VON can produce comparable results to specialized solvers. The code is available at https://github.com/sysuvis/VON.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑