基于感知的数独图像约束解法

IF 0.5 4区 计算机科学 Q4 COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE Constraints Pub Date : 2024-01-01 Epub Date: 2024-10-05 DOI:10.1007/s10601-024-09372-9
Maxime Mulamba, Jayanta Mandi, Ali İrfan Mahmutoğulları, Tias Guns
{"title":"基于感知的数独图像约束解法","authors":"Maxime Mulamba, Jayanta Mandi, Ali İrfan Mahmutoğulları, Tias Guns","doi":"10.1007/s10601-024-09372-9","DOIUrl":null,"url":null,"abstract":"<p><p>We consider the problem of <i>perception-based constraint solving</i>, where part of the problem specification is provided <i>indirectly</i> through an image provided by a user. As a pedagogical example, we use the complete image of a Sudoku grid. While the rules of the puzzle are assumed to be known, the image must be interpreted by a neural network to extract the values in the grid. In this paper, we investigate (1) <i>a hybrid modeling approach</i> combining machine learning and constraint solving for <i>joint inference</i>, knowing that blank cells need to be both predicted as being blank and filled-in to obtain a full solution; (2) the effect of <i>classifier calibration</i> on joint inference; and (3) how to deal with cases where the constraints of the reasoning system are not satisfied. More specifically, in the case of handwritten <i>user errors</i> in the image, a naive approach fails to obtain a feasible solution even if the interpretation is correct. Our framework <i>identifies</i> human mistakes by using a constraint solver and helps the user to <i>correct</i> these mistakes. We evaluate the performance of the proposed techniques on images taken through the Sudoku Assistant Android app, among other datasets. Our experiments show that (1) joint inference can correct classifier mistakes, (2) overall calibration improves the solution quality on all datasets, and (3) estimating and discriminating between user-written and original visual input while reasoning makes for a more robust system, even in the presence of user errors.</p>","PeriodicalId":55211,"journal":{"name":"Constraints","volume":"29 1-2","pages":"112-151"},"PeriodicalIF":0.5000,"publicationDate":"2024-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC11534853/pdf/","citationCount":"0","resultStr":"{\"title\":\"Perception-based constraint solving for sudoku images.\",\"authors\":\"Maxime Mulamba, Jayanta Mandi, Ali İrfan Mahmutoğulları, Tias Guns\",\"doi\":\"10.1007/s10601-024-09372-9\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<p><p>We consider the problem of <i>perception-based constraint solving</i>, where part of the problem specification is provided <i>indirectly</i> through an image provided by a user. As a pedagogical example, we use the complete image of a Sudoku grid. While the rules of the puzzle are assumed to be known, the image must be interpreted by a neural network to extract the values in the grid. In this paper, we investigate (1) <i>a hybrid modeling approach</i> combining machine learning and constraint solving for <i>joint inference</i>, knowing that blank cells need to be both predicted as being blank and filled-in to obtain a full solution; (2) the effect of <i>classifier calibration</i> on joint inference; and (3) how to deal with cases where the constraints of the reasoning system are not satisfied. More specifically, in the case of handwritten <i>user errors</i> in the image, a naive approach fails to obtain a feasible solution even if the interpretation is correct. Our framework <i>identifies</i> human mistakes by using a constraint solver and helps the user to <i>correct</i> these mistakes. We evaluate the performance of the proposed techniques on images taken through the Sudoku Assistant Android app, among other datasets. Our experiments show that (1) joint inference can correct classifier mistakes, (2) overall calibration improves the solution quality on all datasets, and (3) estimating and discriminating between user-written and original visual input while reasoning makes for a more robust system, even in the presence of user errors.</p>\",\"PeriodicalId\":55211,\"journal\":{\"name\":\"Constraints\",\"volume\":\"29 1-2\",\"pages\":\"112-151\"},\"PeriodicalIF\":0.5000,\"publicationDate\":\"2024-01-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC11534853/pdf/\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Constraints\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://doi.org/10.1007/s10601-024-09372-9\",\"RegionNum\":4,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"2024/10/5 0:00:00\",\"PubModel\":\"Epub\",\"JCR\":\"Q4\",\"JCRName\":\"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Constraints","FirstCategoryId":"94","ListUrlMain":"https://doi.org/10.1007/s10601-024-09372-9","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2024/10/5 0:00:00","PubModel":"Epub","JCR":"Q4","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0

摘要

我们考虑的是基于感知的约束条件求解问题,其中部分问题说明是通过用户提供的图像间接提供的。作为一个教学实例,我们使用数独网格的完整图像。虽然数独谜题的规则是已知的,但神经网络必须对图像进行解释,以提取网格中的数值。在本文中,我们研究了:(1) 结合机器学习和约束求解进行联合推理的混合建模方法,因为我们知道空白单元格既需要被预测为空白,也需要被填入才能得到完整的解决方案;(2) 分类器校准对联合推理的影响;以及 (3) 如何处理推理系统的约束条件无法满足的情况。更具体地说,在图像中出现用户手写错误的情况下,即使解释正确,天真的方法也无法获得可行的解决方案。我们的框架通过使用约束求解器来识别人为错误,并帮助用户纠正这些错误。我们对通过数独助手安卓应用和其他数据集拍摄的图像进行了评估。我们的实验表明:(1) 联合推理可以纠正分类器的错误;(2) 整体校准提高了所有数据集的解决方案质量;(3) 在推理的同时估计和区分用户编写的和原始的视觉输入,即使存在用户错误,也能使系统更加稳健。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
Perception-based constraint solving for sudoku images.

We consider the problem of perception-based constraint solving, where part of the problem specification is provided indirectly through an image provided by a user. As a pedagogical example, we use the complete image of a Sudoku grid. While the rules of the puzzle are assumed to be known, the image must be interpreted by a neural network to extract the values in the grid. In this paper, we investigate (1) a hybrid modeling approach combining machine learning and constraint solving for joint inference, knowing that blank cells need to be both predicted as being blank and filled-in to obtain a full solution; (2) the effect of classifier calibration on joint inference; and (3) how to deal with cases where the constraints of the reasoning system are not satisfied. More specifically, in the case of handwritten user errors in the image, a naive approach fails to obtain a feasible solution even if the interpretation is correct. Our framework identifies human mistakes by using a constraint solver and helps the user to correct these mistakes. We evaluate the performance of the proposed techniques on images taken through the Sudoku Assistant Android app, among other datasets. Our experiments show that (1) joint inference can correct classifier mistakes, (2) overall calibration improves the solution quality on all datasets, and (3) estimating and discriminating between user-written and original visual input while reasoning makes for a more robust system, even in the presence of user errors.

求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
Constraints
Constraints 工程技术-计算机:理论方法
CiteScore
2.20
自引率
0.00%
发文量
17
审稿时长
>12 weeks
期刊介绍: Constraints provides a common forum for the many disciplines interested in constraint programming and constraint satisfaction and optimization, and the many application domains in which constraint technology is employed. It covers all aspects of computing with constraints: theory and practice, algorithms and systems, reasoning and programming, logics and languages.
期刊最新文献
Plotting: a case study in lifted planning with constraints Applying constraint programming to minimal lottery designs Perception-based constraint solving for sudoku images. Optimal multivariate decision trees A feature commonality-based search strategy to find high $$t$$ -wise covering solutions in feature models
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1