跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 分布式、并行与集群计算

arXiv:2604.25061 (cs)
[提交于 2026年4月27日]

标题:Spark Policy Toolkit: Semantic Contracts and Scalable Execution for Policy Learning in Spark

作者:Zeyu Bai
查看论文《Spark Policy Toolkit: Semantic Contracts and Scalable Execution for Policy Learning in Spark》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Custom policy-learning pipelines in Spark fail for two coupled systems reasons: rowwise Python execution makes inference impractical, and driver-side candidate materialization makes split search fragile at feature scale. We present Spark Policy Toolkit, a semantics-governed systems toolkit for scalable policy learning in Spark. The toolkit provides two Spark-native primitives: partition-initialized vectorized inference through mapInPandas and mapInArrow, and collect-less split search that scores candidates on executors. Both primitives are governed by one fixed-input semantic contract: the same rows, feature order, treatment vocabulary, preprocessing manifest, and split boundaries must preserve per-row score vectors, best-split decisions, and end-to-end learned policy outputs. The evaluation combines practical baseline ladders, backend parity checks, measured split-search scale results, synthetic and Hillstrom end-to-end policy preservation, missingness stress, partition and order perturbation tests, quantile-boundary sensitivity, and a concrete adversarial failure catalog. On a 40-worker Databricks cluster, mapInArrow reaches 4.72M rows/s at 10M matched rows and 7.23M rows/s at 50M rows, while collect-less split search remains valid from F = 10 through F = 1000 with 124000 candidate rows, where the driver-collect baseline is intentionally skipped. Across 24 backend-ablation settings, mapInArrow wins 18 while mapInPandas wins 6, so the paper treats backend choice as workload-dependent rather than universal. Once the fixed-input lock is enforced, all six tested repartition/coalesce/shuffle perturbations preserve identical signatures; before lock, all six drift. The central result is not speed alone: throughput and collect-less execution are the mechanisms that let policy semantics survive at Spark scale.
主题: 分布式、并行与集群计算 (cs.DC); 数据库 (cs.DB); 机器学习 (cs.LG); 性能 (cs.PF); 系统与控制 (cs.SY); 系统与控制 (eess.SY)
引用方式: arXiv:2604.25061 [cs.DC]
  (或者 arXiv:2604.25061v1 [cs.DC] 对于此版本)
  https://doi.org/10.48550/arXiv.2604.25061

提交历史

来自:Zeyu Bai
[v1] 2026年4月27日 星期一 23:23:12 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.DC
< 上一篇   |   下一篇 >
最新 | 近期 | 2026-04
切换浏览方式为:
cs
cs.DB
cs.LG
cs.PF
cs.SY
eess.SY

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站