Guiding High-Performance SAT Solvers with Unsat-Core Predictions 2020-05-03

Guiding High-Performance SAT Solvers with Unsat-Core Predictions

Abstract

NeuroSAT is a method to improve CDCL solvers with predictions of unsat-cores.
can provide e?ective guidance to high-performance SAT solvers on real problems.

代碼:
 https://github.com/dselsam/neurocore-public

unsat-core : In mathematical logic, given an unsatisfiable Boolean propositional formula in conjunctive normal form, a subset of clauses whose conjunction is still unsatisfiable is called an unsatisfiable core of the original formula.

A minimum unsatisfiable core contains the smallest number of the original clauses required to still be unsatisfiable. No practical algorithms for computing the minimum core are known
An unsatisfiable core is called a minimal unsatisfiable core, if every proper subset (allowing removal of any arbitrary clause or clauses) of it is satisfiable. Thus, such a core is a local minimum, though not necessarily a global one. There are several practical methods of computing minimal unsatisfiable cores.[1][2]

Introduction

aim: 1.help inform variable branching decisions within high-performance SAT solvers on real problems

  1. how to make use of the predictions inside a SAT solver.

Our approach is to generate a supervised dataset mapping unsatis?able problems to the variables in their unsatis?able cores.
for some problems, the smallest core may include every variable, and of course for satis?able problems, there are no cores at all.
每一次variable branching decision都querying NeuroSAT 時間花費(fèi)過大错忱,所以選擇: 對現(xiàn)有heuritics算法進(jìn)行補(bǔ)充而不是試圖替代
branching on the free variable with the highest score.
refer to our integration strategy as periodic refocusing 稱積分策略為定期調(diào)整

pipeline:
1.通過抽取現(xiàn)有問題 Generate many unsatis?able problems
2.  generate a DRAT proof,   并且extract the variables that appear in the unsat core
3.Train NeuroSAT ( NeuroCore)夸浅, map unsat problem to vaiables in the core.
4.solver定期詢問 NeuroCore证膨,通過這個網(wǎng)絡(luò)的預(yù)測 reset variable activity scores士葫。

Data Generation

to predict which variables will be involved in unsat cores
現(xiàn)有數(shù)據(jù)集過小,通過unsatis?able subproblems of existing problems來generate數(shù)據(jù),獲得 problems with labeled cores。

Background on neural networks.

basic building block: MLP/ feed-forward network/ fully-connected network
放射變化+激活函數(shù)(recti?ed linear unit (ReLU:sets all negative numbers to zero.) )

NeuroCore architecture.


image.png

image.png

The goal is not to learn a perfect core predictor, but rather only to learn a coarse heuristic that broadly assigns higher score to more important variables.

Hybrid Solving: Extending CDCL with NeuroCore (混合求解)

Modern SAT solvers are based on the Con?ict-Driven Clause Learning (CDCL) algorithm


image.png

NeuroCore then returns a vector ? v ∈Rnv, where a higher score for a variable indicates that NeuroCore thinks the corresponding variable is more likely to be in the core.


image.png

decay factor ρ is often rather small

Word & Phrase

此后 hereafter, afterwards, henceforth, afterward, hence

To the extent 在某種程度上

integrate集成芥备,整合

each but the last 除了最后一個的每一個

specify them by hand

A toy problem : is a problem that doesn't have all the complexity of a real-world engineering problem. It could be a simplified or shallow version of a more difficult and intricate problem or class of problems.

Our results demonstrate that。舌菜。萌壳。

wonderful, fantastic, marvelous, intriguing, fantastical, marvellous

實(shí)用 practical, functional, pragmatic, functionary

tens of thousands of 數(shù)萬的

on-device sharing 設(shè)備共享

settle for less 退而求其次

The gains are even greater 收益更大

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末,一起剝皮案震驚了整個濱河市,隨后出現(xiàn)的幾起案子袱瓮,更是在濱河造成了極大的恐慌缤骨,老刑警劉巖,帶你破解...
    沈念sama閱讀 216,843評論 6 502
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件尺借,死亡現(xiàn)場離奇詭異荷憋,居然都是意外死亡,警方通過查閱死者的電腦和手機(jī)褐望,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 92,538評論 3 392
  • 文/潘曉璐 我一進(jìn)店門,熙熙樓的掌柜王于貴愁眉苦臉地迎上來串前,“玉大人瘫里,你說我怎么就攤上這事〉茨耄” “怎么了谨读?”我有些...
    開封第一講書人閱讀 163,187評論 0 353
  • 文/不壞的土叔 我叫張陵,是天一觀的道長坛吁。 經(jīng)常有香客問我劳殖,道長,這世上最難降的妖魔是什么拨脉? 我笑而不...
    開封第一講書人閱讀 58,264評論 1 292
  • 正文 為了忘掉前任哆姻,我火速辦了婚禮,結(jié)果婚禮上玫膀,老公的妹妹穿的比我還像新娘矛缨。我一直安慰自己,他們只是感情好帖旨,可當(dāng)我...
    茶點(diǎn)故事閱讀 67,289評論 6 390
  • 文/花漫 我一把揭開白布箕昭。 她就那樣靜靜地躺著,像睡著了一般解阅。 火紅的嫁衣襯著肌膚如雪落竹。 梳的紋絲不亂的頭發(fā)上,一...
    開封第一講書人閱讀 51,231評論 1 299
  • 那天货抄,我揣著相機(jī)與錄音述召,去河邊找鬼。 笑死蟹地,一個胖子當(dāng)著我的面吹牛桨武,可吹牛的內(nèi)容都是我干的。 我是一名探鬼主播锈津,決...
    沈念sama閱讀 40,116評論 3 418
  • 文/蒼蘭香墨 我猛地睜開眼呀酸,長吁一口氣:“原來是場噩夢啊……” “哼!你這毒婦竟也來了琼梆?” 一聲冷哼從身側(cè)響起性誉,我...
    開封第一講書人閱讀 38,945評論 0 275
  • 序言:老撾萬榮一對情侶失蹤窿吩,失蹤者是張志新(化名)和其女友劉穎,沒想到半個月后错览,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體纫雁,經(jīng)...
    沈念sama閱讀 45,367評論 1 313
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 37,581評論 2 333
  • 正文 我和宋清朗相戀三年倾哺,在試婚紗的時候發(fā)現(xiàn)自己被綠了轧邪。 大學(xué)時的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片。...
    茶點(diǎn)故事閱讀 39,754評論 1 348
  • 序言:一個原本活蹦亂跳的男人離奇死亡羞海,死狀恐怖忌愚,靈堂內(nèi)的尸體忽然破棺而出,到底是詐尸還是另有隱情却邓,我是刑警寧澤硕糊,帶...
    沈念sama閱讀 35,458評論 5 344
  • 正文 年R本政府宣布,位于F島的核電站腊徙,受9級特大地震影響简十,放射性物質(zhì)發(fā)生泄漏。R本人自食惡果不足惜撬腾,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 41,068評論 3 327
  • 文/蒙蒙 一螟蝙、第九天 我趴在偏房一處隱蔽的房頂上張望。 院中可真熱鬧民傻,春花似錦胶逢、人聲如沸。這莊子的主人今日做“春日...
    開封第一講書人閱讀 31,692評論 0 22
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽。三九已至彭雾,卻和暖如春碟刺,著一層夾襖步出監(jiān)牢的瞬間,已是汗流浹背薯酝。 一陣腳步聲響...
    開封第一講書人閱讀 32,842評論 1 269
  • 我被黑心中介騙來泰國打工半沽, 沒想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留,地道東北人吴菠。 一個月前我還...
    沈念sama閱讀 47,797評論 2 369
  • 正文 我出身青樓者填,卻偏偏與公主長得像,于是被迫代替她去往敵國和親做葵。 傳聞我的和親對象是個殘疾皇子占哟,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 44,654評論 2 354