HermEs: Interactive Spreadsheet Formula Prediction via Hierarchical Formulet Expansion
Wanrong He, Haoyu Dong, Yihuai Gao, Zhichao Fan, Xingzhuo Guo, Zhitao Hou, Xiao Lv, Ran Jia, Shi Han, Dongmei Zhang
摘要
We propose HERMES, the first approach for spreadsheet formula prediction via HiEraRchical forMulet ExpanSion, where hierarchical expansion means generating formulas following the underlying parse tree structure, and Formulet refers to commonly-used multi-level patterns mined from real formula parse trees. HER-MES improves the formula prediction accuracy by (1) guaranteeing correct grammar by hierarchical generation rather than left-to-right generation and (2) significantly streamlining the token-level decoding with high-level Formulet. Notably, instead of generating formulas in a pre-defined fixed order, we propose a novel sampling strategy to systematically exploit a variety of hierarchical and multi-level expansion orders and provided solid mathematical proof, with the aim of meeting diverse human needs of the formula writing order in real applications. We further develop an interactive formula completion interface based on HER-MES, which shows a new user experience in https://github.com/formulet/HERMES .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- FLAME: A Small Language Model for Spreadsheet Formulas 引用了 Learning to Complete Code with Sketches
- SheetAgent: Towards a Generalist Agent for Spreadsheet Reasoning and Manipulation via Large Language Models 引用了 SpreadsheetCoder: Formula Prediction from Semi-structured Context
引用它的顶会 Paper2
- FLAME: A Small Language Model for Spreadsheet FormulasHarshit Joshi, Abishai Ebenezer, José Pablo Cambronero Sánchez, Sumit Gulwani 等AAAI 2024 · 21 次引用
- SheetAgent: Towards a Generalist Agent for Spreadsheet Reasoning and Manipulation via Large Language ModelsYibin Chen, Yifu Yuan, Zeyu Zhang, Yan Zheng 等WWW 2025 · 13 次引用
它引用的 Paper6
- TUTA: Tree-based Transformers for Generally Structured Table Pre-trainingZhiruo Wang, Haoyu Dong, Ran Jia, Jia Li 等KDD 2021 · 88 次引用
- Graph-to-Tree Neural Networks for Learning Structured Input-Output Translation with Applications to Semantic Parsing and Math Word ProblemShucheng Li, Lingfei Wu, Shiwei Feng, Fangli Xu 等EMNLP Findings 2020 · 71 次引用
- SpreadsheetCoder: Formula Prediction from Semi-structured ContextXinyun Chen, Petros Maniatis, Rishabh Singh, Charles Sutton 等ICML 2021 · 63 次引用
- Learning to Complete Code with SketchesDaya Guo, Alexey Svyatkovskiy, Jian Yin, Nan Duan 等ICLR 2022 · 42 次引用
- Blank Language ModelsTianxiao Shen, Victor Quach, Regina Barzilay, Tommi S. JaakkolaEMNLP 2020 · 8 次引用
相关 Paper
- FORTAP: Using Formulas for Numerical-Reasoning-Aware Table PretrainingZhoujun Cheng, Haoyu Dong, Ran Jia, Pengfei Wu 等ACL 2022
- SheetPT: Spreadsheet Pre-training Based on Hierarchical Attention NetworkRan Jia, Qiyu Li, Zihan Xu, Xiaoyuan Jin 等AAAI 2023 · 3 次引用
- Transformer-based model for symbolic regression via joint supervised learningWenqiang Li, Weijun Li, Linjun Sun, Min Wu 等ICLR 2023
- How Transformers Represent Hierarchies: A Local-to-Global MechanismZhiling Zhou, Tianhao Wang, Zhuoran YangICML 2026
- HMS: A Hierarchical Solver with Dependency-Enhanced Understanding for Math Word ProblemXin Lin, Zhenya Huang, Hongke Zhao, Enhong Chen 等AAAI 2021 · 70 次引用
