Dataset Viewer
Auto-converted to Parquet
problem
string
answer
string
num_symbols
int64
num_operations
int64
num_modifiers
int64
target_ops_count
int64
string_length
string
Definitions: % = pzm [ = imkw { = rmpj Operations: %^[ = mzpimkw %~[ = pzmimkw Solve: {~{^%^[ = ?
rmpjjpmrmzpimkw
3
2
0
3
3-4
Definitions: & = dszb { = mwk } = ivjg Operations: &>{ = mwkdszb &^{ = dszbmwk Solve: }^&>{>} = ?
ivjgivjgmwkdszb
3
2
0
3
3-4
Definitions: # = xgf @ = qbz ] = epl Operations: #+@ = fgxqbz #>@ = xgfqbz Solve: #+#>#+@ = ?
fgxxgffgxqbz
3
2
0
3
3-4
Definitions: % = kul } = grn Operations: %>} = kulgrn %^} = grnkul Solve: %^}^}>% = ?
grnkulgrnkul
3
2
0
3
3-4
Definitions: % = pxr ] = lwta { = wmrt Operations: %+] = rxplwta %/] = pxrlwta Solve: ]+%/]+% = ?
atwlpxratwlpxr
3
2
0
3
3-4
Definitions: # = ych & = hzd @ = ikc Operations: #^& = hcyhzd #~& = hzdych Solve: @^#~@~@ = ?
ckiikcikcych
3
2
0
3
3-4
Definitions: & = przb @ = cls { = mxv Operations: &!@ = przbcls &^@ = bzrpcls Solve: {!{^&^{ = ?
mxvvxmbzrpmxv
3
2
0
3
3-4
Definitions: $ = eaxl ] = mywc { = wih Operations: $!] = mywceaxl $+] = lxaemywc Solve: $+{!{!{ = ?
lxaewihwihwih
3
2
0
3
3-4
Definitions: { = dyck } = nmqf Operations: {/} = kcydnmqf {^} = nmqfdyck Solve: {/{^}/{ = ?
kcydfqmndyckdyck
3
2
0
3
3-4
Definitions: $ = dei [ = vxu { = pvrl Operations: $![ = vxudei $+[ = deivxu Solve: [!$+$!$ = ?
deideideivxu
3
2
0
3
3-4
Definitions: & = txw @ = oxt [ = nsq Operations: &*@ = oxttxw &+@ = txwoxt Solve: &+[*[+& = ?
txwnsqtxwnsq
3
2
0
3
3-4
Definitions: % = dgfe @ = xhg ] = frd Operations: %!@ = efgdxhg %~@ = xhgdgfe Solve: %~%!]!] = ?
efgddrffrddgfe
3
2
0
3
3-4
Definitions: $ = ovs % = dbx [ = yrt Operations: $>% = ovsdbx $^% = dbxovs Solve: $>%^[^[ = ?
ovsyrtyrtdbx
3
2
0
3
3-4
Definitions: @ = pwya [ = vmdc { = ovr Operations: @*[ = pwyavmdc @>[ = vmdcpwya Solve: @*{>@>[ = ?
pwyavmdcpwyaovr
3
2
0
3
3-4
Definitions: $ = mdn & = ney } = xprk Operations: $!& = mdnney $+& = neymdn Solve: $+&+}!$ = ?
xprkmdnneymdn
3
2
0
3
3-4
Definitions: $ = vguq @ = dyra { = vatb Operations: $/@ = vguqdyra $^@ = qugvdyra Solve: {/$^$/@ = ?
vatbqugvvguqdyra
3
2
0
3
3-4
Definitions: $ = qhd ] = jsw { = aun Operations: $*] = qhdjsw $+] = jswqhd Solve: ]+]*$+] = ?
jswjswqhdjsw
3
2
0
3
3-4
Definitions: # = cgbd $ = wklu } = rlv Operations: #*$ = dbgcwklu #>$ = cgbdwklu Solve: }>}*#*} = ?
rlvvlrdbgcrlv
3
2
0
3
3-4
Definitions: # = qca & = fokt @ = rey Operations: #!& = foktqca #*& = acqfokt Solve: #*#*&!@ = ?
acqacqreyfokt
3
2
0
3
3-4
Definitions: & = zjah { = sft } = mguf Operations: &<{ = sftzjah &^{ = zjahsft Solve: &<&<}^{ = ?
mgufsftzjahzjah
3
2
0
3
3-4
Definitions: @ = kmrp [ = wbzt ] = ohi Operations: @+[ = wbztkmrp @/[ = kmrpwbzt Solve: [+[/@+] = ?
wbztohikmrpwbzt
3
2
0
3
3-4
Definitions: $ = xsh % = cjo & = qjg Operations: $/% = xshcjo $~% = cjoxsh Solve: %~$~$/% = ?
xshcjoxshcjo
3
2
0
3
3-4
Definitions: @ = cojl { = wre } = mwcr Operations: @*{ = cojlwre @<{ = wrecojl Solve: }*@<{*{ = ?
mwcrwrewrecojl
3
2
0
3
3-4
Definitions: % = jqi [ = tly ] = ryv Operations: %![ = jqitly %~[ = iqjtly Solve: [~%!]~] = ?
yltjqivyrryv
3
2
0
3
3-4
Definitions: % = jey [ = byul Operations: %+[ = byuljey %<[ = jeybyul Solve: %<%<%+[ = ?
jeyjeybyuljey
3
2
0
3
3-4
Definitions: $ = ydgf ] = hnv } = wmde Operations: $<] = ydgfhnv $~] = hnvydgf Solve: }~$<$~] = ?
ydgfhnvydgfwmde
3
2
0
3
3-4
Definitions: $ = gnvs & = eqv ] = vow Operations: $<& = eqvgnvs $~& = gnvseqv Solve: $<&<$~& = ?
gnvseqveqvgnvs
3
2
0
3
3-4
Definitions: % = dbp & = loq ] = myb Operations: %/& = loqdbp %~& = dbploq Solve: %/]/&~& = ?
loqloqmybdbp
3
2
0
3
3-4
Definitions: # = wxc $ = iab { = evuj Operations: #/$ = cxwiab #^$ = iabwxc Solve: #^$/{/# = ?
baijuvewxcwxc
3
2
0
3
3-4
Definitions: @ = ebcz { = eohb Operations: @/{ = ebczeohb @>{ = eohbebcz Solve: @>{/@/@ = ?
eohbebczebczebcz
3
2
0
3
3-4
Definitions: $ = opx { = npvw } = hrmp Operations: $*{ = opxnpvw $<{ = xponpvw Solve: $<$*{<} = ?
xpoopxwvpnhrmp
3
2
0
3
3-4
Definitions: # = nyoi @ = mbg ] = sypf Operations: #<@ = nyoimbg #^@ = mbgnyoi Solve: #^#^]<] = ?
sypfsypfnyoinyoi
3
2
0
3
3-4
Definitions: ] = qyes { = yxf } = juxg Operations: ]/{ = seyqyxf ]^{ = qyesyxf Solve: }^{^}/] = ?
juxgyxfgxujqyes
3
2
0
3
3-4
Definitions: % = qdk & = xgp ] = nbpc Operations: %!& = kdqxgp %<& = qdkxgp Solve: ]!&<&!] = ?
cpbnxgppgxnbpc
3
2
0
3
3-4
Definitions: @ = qmpv { = ejg } = zaic Operations: @*{ = vpmqejg @~{ = qmpvejg Solve: @~}*}~{ = ?
qmpvciazzaicejg
3
2
0
3
3-4
Definitions: & = mac @ = jwo [ = ielv Operations: &!@ = macjwo &*@ = jwomac Solve: [*&*@!& = ?
jwomacmacielv
3
2
0
3
3-4
Definitions: $ = zgqc ] = hmxn } = lqpz Operations: $+] = hmxnzgqc $<] = zgqchmxn Solve: ]+]+$<} = ?
zgqclqpzhmxnhmxn
3
2
0
3
4-5
Definitions: & = wzul ] = tnkg } = mcrk Operations: &!] = luzwtnkg &*] = wzultnkg Solve: ]*}*}!& = ?
tnkgmcrkkrcmwzul
3
2
0
3
4-5
Definitions: & = cjxqt @ = cwsju [ = kevgn Operations: &*@ = cjxqtcwsju &~@ = cwsjucjxqt Solve: @~@*@~[ = ?
cwsjukevgncwsjucwsju
3
2
0
3
4-5
Definitions: [ = yoli ] = qzcl { = lrsuv Operations: [!] = yoliqzcl [+] = qzclyoli Solve: ]+{![+[ = ?
lrsuvyoliyoliqzcl
3
2
0
3
4-5
Definitions: # = yzihv $ = wasr % = bkig Operations: #+$ = yzihvwasr #^$ = wasryzihv Solve: %^%^$+% = ?
wasrbkigbkigbkig
3
2
0
3
4-5
Definitions: # = ofkp $ = ftysj Operations: #/$ = pkfoftysj #<$ = ftysjofkp Solve: #/#<#<# = ?
pkfoofkpofkpofkp
3
2
0
3
4-5
Definitions: # = keiod $ = duxc [ = vaqmt Operations: #/$ = doiekduxc #^$ = duxckeiod Solve: [/$/#^$ = ?
tmqavcxudduxckeiod
3
2
0
3
4-5
Definitions: # = mgdk @ = yrgs { = barj Operations: #*@ = kdgmyrgs #+@ = mgdkyrgs Solve: @*@+#+{ = ?
sgryyrgsmgdkbarj
3
2
0
3
4-5
Definitions: & = lswz [ = saqu } = bvszf Operations: &![ = lswzsaqu &*[ = zwslsaqu Solve: [!}*}![ = ?
saqufzsvbbvszfsaqu
3
2
0
3
4-5
Definitions: % = boaz @ = dvrux ] = qafvx Operations: %<@ = dvruxboaz %^@ = zaobdvrux Solve: @<]^%<% = ?
xvfaqboazboazdvrux
3
2
0
3
4-5
Definitions: # = jnzpq & = zgmi ] = qpsnt Operations: #+& = qpznjzgmi #^& = jnzpqzgmi Solve: #^&^]+& = ?
jnzpqzgmitnspqzgmi
3
2
0
3
4-5
Definitions: % = jkwbv & = xrlk ] = yasgv Operations: %!& = vbwkjxrlk %~& = jkwbvxrlk Solve: &~&~%!% = ?
xrlkxrlkvbwkjjkwbv
3
2
0
3
4-5
Definitions: % = gwud ] = atbz } = bkof Operations: %!] = gwudatbz %^] = duwgatbz Solve: ]!}^%^% = ?
atbzfokbduwggwud
3
2
0
3
4-5
Definitions: % = kolgj @ = quvzj { = qvzn Operations: %*@ = jglokquvzj %>@ = kolgjquvzj Solve: %*@>@>{ = ?
jglokquvzjquvzjqvzn
3
2
0
3
4-5
Definitions: @ = pugzx [ = yftzk } = mrsu Operations: @/[ = xzgupyftzk @<[ = yftzkpugzx Solve: }/[<}<[ = ?
usrmyftzkmrsuyftzk
3
2
0
3
4-5
Definitions: # = bktrq $ = phzw ] = thycu Operations: #+$ = bktrqphzw #~$ = phzwbktrq Solve: $~$+#+# = ?
phzwbktrqbktrqphzw
3
2
0
3
4-5
Definitions: & = tozsa [ = ustxv { = ovgqp Operations: &![ = aszotustxv &^[ = ustxvtozsa Solve: {!{^[^[ = ?
pqgvoustxvustxvovgqp
3
2
0
3
4-5
Definitions: % = dcnj @ = nlivj [ = skhe Operations: %<@ = dcnjnlivj %~@ = jncdnlivj Solve: %~%<[<@ = ?
jncddcnjskhenlivj
3
2
0
3
4-5
Definitions: % = qlpaj @ = lned Operations: %/@ = lnedqlpaj %>@ = japlqlned Solve: @/%>%/@ = ?
japlqlnedqlpajlned
3
2
0
3
4-5
Definitions: $ = imcjo % = oubvy ] = nbxgl Operations: $!% = oubvyimcjo $/% = imcjooubvy Solve: $!]!]/% = ?
nbxgloubvynbxglimcjo
3
2
0
3
4-5
Definitions: [ = qvoun { = nivgb } = zlts Operations: [+{ = nivgbqvoun [<{ = qvounnivgb Solve: [+[<[+} = ?
qvounzltsqvounqvoun
3
2
0
3
4-5
Definitions: % = gmvk & = ydhsr Operations: %<& = ydhsrgmvk %^& = kvmgydhsr Solve: %^&<&<& = ?
kvmgydhsrydhsrydhsr
3
2
0
3
4-5
Definitions: # = wnox ] = nwmsl { = cnyjp Operations: #+] = wnoxnwmsl #^] = nwmslwnox Solve: ]+{^#^] = ?
nwmslnwmslwnoxcnyjp
3
2
0
3
4-5
Definitions: % = qfmi ] = pkamw { = mbev Operations: %!] = pkamwqfmi %<] = imfqpkamw Solve: ]<]<]!{ = ?
wmakpwmakpmbevpkamw
3
2
0
3
4-5
Definitions: $ = qifk & = kywvl { = qrus Operations: $+& = kfiqkywvl $/& = kywvlqifk Solve: $/{+{/& = ?
surqkywvlqrusqifk
3
2
0
3
4-5
Definitions: & = dsmfr [ = jwvi { = ilacx Operations: &<[ = dsmfrjwvi &>[ = rfmsdjwvi Solve: &<{<[>& = ?
dsmfrilacxivwjdsmfr
3
2
0
3
4-5
Definitions: # = jspn ] = cihq { = neza Operations: #/] = cihqjspn #^] = jspncihq Solve: ]^]^{/# = ?
cihqcihqjspnneza
3
2
0
3
4-5
Definitions: $ = icwa & = cdws @ = ehrz Operations: $<& = icwacdws $>& = cdwsicwa Solve: &>@<$>@ = ?
ehrzehrzicwacdws
3
2
0
3
4-5
Definitions: % = wnoe ] = xlwuc { = dnvp Operations: %!] = eonwxlwuc %*] = xlwucwnoe Solve: %!]!%*] = ?
eonwcuwlxxlwucwnoe
3
2
0
3
4-5
Definitions: # = lfdew ] = eqph } = iotjp Operations: #+] = lfdeweqph #~] = wedfleqph Solve: ]~}+#+# = ?
hpqeiotjplfdewlfdew
3
2
0
3
4-5
Definitions: $ = uogxq [ = sdpo ] = qkxs Operations: $<[ = sdpouogxq $>[ = uogxqsdpo Solve: [>]>]<$ = ?
sdpoqkxsuogxqqkxs
3
2
0
3
4-5
Definitions: % = zajs ] = lhtp } = qxkcs Operations: %*] = sjazlhtp %~] = zajslhtp Solve: ]*]~%~% = ?
pthllhtpzajszajs
3
2
0
3
4-5
Definitions: $ = ngyr @ = vkcl { = wnsdf Operations: $*@ = vkclngyr $+@ = ngyrvkcl Solve: {+$+$*{ = ?
wnsdfngyrwnsdfngyr
3
2
0
3
4-5
Definitions: # = jxczv % = wyuvi [ = peuio Operations: #*% = jxczvwyuvi #>% = wyuvijxczv Solve: %*%>#>% = ?
wyuviwyuvijxczvwyuvi
3
2
0
3
4-5
Definitions: # = krglf { = xcmb } = vqxaj Operations: #!{ = krglfxcmb #/{ = flgrkxcmb Solve: #!#/#!} = ?
krglfflgrkkrglfvqxaj
3
2
0
3
4-5
Definitions: % = whfqc ] = egsvl { = gtqvw Operations: %!] = cqfhwegsvl %~] = whfqcegsvl Solve: %~]!{~{ = ?
whfqclvsgegtqvwgtqvw
3
2
0
3
4-5
Definitions: # = evfg % = xtey { = aezt Operations: #/% = evfgxtey #~% = xteyevfg Solve: #/%/%~#~{ = ?
evfgxteyaeztevfgxtey
3
2
0
4
3-4
Definitions: # = how @ = svyt { = sezo Operations: #<@ = svythow #~@ = wohsvyt Solve: @~{<{~{<# = ?
tyvsozeshowsezosezo
3
2
0
4
3-4
Definitions: # = gxlv ] = xzp Operations: #!] = xzpgxlv #*] = gxlvxzp Solve: ]!]*]!]*# = ?
xzpxzpgxlvxzpxzp
3
2
0
4
3-4
Definitions: @ = nap { = wxd } = ktgu Operations: @!{ = panwxd @<{ = wxdnap Solve: }<{!}<@!} = ?
dxwpanktguktguktgu
3
2
0
4
3-4
Definitions: [ = whd ] = vgit { = hpw Operations: [*] = dhwvgit [/] = vgitwhd Solve: [*[/]/]*{ = ?
dhwtigvhpwvgitwhd
3
2
0
4
3-4
Definitions: & = czyg @ = gftz [ = hobw Operations: &<@ = czyggftz &>@ = gyzcgftz Solve: @>[<[>@<@ = ?
ztfghobwwbohgftzgftz
3
2
0
4
3-4
Definitions: & = vhn ] = pumo } = zim Operations: &*] = vhnpumo &<] = nhvpumo Solve: &*}<}*}<} = ?
vhnmizzimmizzim
3
2
0
4
3-4
Definitions: $ = izy & = kla } = qki Operations: $<& = klaizy $^& = izykla Solve: &^$<}^$<& = ?
klaqkiklaizyizy
3
2
0
4
3-4
Definitions: $ = dnb @ = twcs [ = qnr Operations: $*@ = dnbtwcs $^@ = bndtwcs Solve: $*$*@^@^$ = ?
dnbdnbscwtscwtdnb
3
2
0
4
3-4
Definitions: $ = jogi & = qcgu } = mhs Operations: $+& = qcgujogi $<& = jogiqcgu Solve: }+$<$<&+} = ?
jogijogimhsqcgumhs
3
2
0
4
3-4
Definitions: $ = qli ] = jxbp } = nou Operations: $<] = jxbpqli $~] = ilqjxbp Solve: }<]~}<]~] = ?
pbxjpbxjjxbpnounou
3
2
0
4
3-4
Definitions: # = smpc % = iuf ] = cwks Operations: #+% = cpmsiuf #~% = smpciuf Solve: %+#~%+%~% = ?
fuismpcfuiiufiuf
3
2
0
4
3-4
Definitions: $ = slwv % = uqy @ = dbs Operations: $/% = vwlsuqy $~% = slwvuqy Solve: %~%~$/$/$ = ?
uqyuqyvwlsvwlsslwv
3
2
0
4
3-4
Definitions: $ = gkm ] = ikr { = xtmp Operations: $!] = mkgikr $<] = gkmikr Solve: {<]!]<$!] = ?
xtmprkiikrmkgikr
3
2
0
4
3-4
Definitions: [ = xls { = azb } = nhf Operations: [+{ = azbxls [>{ = xlsazb Solve: [+{>[+{>} = ?
azbazbnhfxlsxls
3
2
0
4
3-4
Definitions: & = uyx ] = ghlf { = jmno Operations: &<] = xyughlf &^] = uyxghlf Solve: ]^&<]^]<& = ?
ghlfxyughlfflhguyx
3
2
0
4
3-4
Definitions: [ = ocm ] = qwo } = kst Operations: [!] = ocmqwo [^] = mcoqwo Solve: }^[![^}![ = ?
tskocmmcokstocm
3
2
0
4
3-4
Definitions: $ = tlp [ = rql ] = kiqg Operations: $+[ = rqltlp $/[ = tlprql Solve: ]+]/]/[+$ = ?
kiqgkiqgtlprqlkiqg
3
2
0
4
3-4
Definitions: & = saly { = sjq } = cup Operations: &+{ = sjqsaly &<{ = ylassjq Solve: &+&<}+&<{ = ?
ylasylassjqcupsaly
3
2
0
4
3-4
Definitions: # = nyq % = zog [ = qes Operations: #*% = qynzog #^% = zognyq Solve: #^[*[^#*# = ?
seqqynnyqqesnyq
3
2
0
4
3-4
Definitions: $ = jtwx [ = lpt } = cdxw Operations: $/[ = xwtjlpt $>[ = lptjtwx Solve: }/}/}>$>$ = ?
wxdcwxdcjtwxjtwxcdxw
3
2
0
4
3-4
Definitions: # = etx $ = wnlx ] = lgtx Operations: #<$ = wnlxetx #>$ = etxwnlx Solve: $<#>$>$<] = ?
etxwnlxlgtxwnlxwnlx
3
2
0
4
3-4
Definitions: # = jlkq $ = worx { = qfn Operations: #<$ = worxjlkq #~$ = jlkqworx Solve: $<#~{~{<$ = ?
jlkqqfnworxqfnworx
3
2
0
4
3-4
Definitions: # = yzg $ = uxfp } = fwb Operations: #+$ = gzyuxfp #>$ = yzguxfp Solve: #>#+$>#+$ = ?
yzggzyuxfpgzyuxfp
3
2
0
4
3-4
Definitions: @ = imgd [ = saf { = jqn Operations: @*[ = imgdsaf @<[ = dgmisaf Solve: [<{<[*@*@ = ?
fasnqjsafimgdimgd
3
2
0
4
3-4
Definitions: % = dxb @ = ycd [ = btc Operations: %*@ = bxdycd %+@ = dxbycd Solve: %+@*[*%+% = ?
dxbdcyctbdxbdxb
3
2
0
4
3-4
Definitions: $ = hmn & = mpe { = ktg Operations: $*& = hmnmpe $~& = nmhmpe Solve: $~&~$*{*& = ?
nmhepmhmnktgmpe
3
2
0
4
3-4
Definitions: % = cvae [ = bay ] = mfx Operations: %/[ = eavcbay %~[ = baycvae Solve: [/%~[~[/] = ?
yabyabmfxbaycvae
3
2
0
4
3-4
End of preview. Expand in Data Studio

Dataset Card for ESCAIP

ESCAIP (Evaluating Symbolic Compositionality from Aligned Inductive Priors) is a procedurally-generated benchmark dataset designed to evaluate the compositional reasoning capabilities of language models through systematic string manipulation tasks. Each problem requires models to learn abstract symbolic operations from the provably minimal set of examples, and compose them to solve target expressions with more operations than the demonstrations. This length generalization is a critical capability for achieving robust generalization in AI systems.

NOTE: This dataset is a preview featuring only 3 operations and no modifiers.

Motivation

The goal is to provide a generalization benchmark that tests compositionality in an in-context learning setting. Benchmarks like ARC-AGI also do this, but human performance is predicated upon smuggling human inductive priors from our physical, embodied, multimodal intuitions. By being a text-only string-manipulation tasks, we seek to present a task with greater alignment between human and LLM inductive priors in order to more faithfully measure performance.

We hope to aid the research community in answering a fundamental challenge in AI: can models learn to compose learned primitives in novel ways?

Dataset Details

Dataset Description

ESCAIP presents models with symbolic string manipulation puzzles where they must:

  1. Learn operations from minimal examples (e.g., A+B = concatenation)
  2. Understand symbols that map to concrete strings (e.g., $ = "abc")
  3. Compose operations to solve complex target expressions (e.g., $+%^&+$ = ?)

The dataset systematically controls compositional complexity through:

  • Number of symbols (3-5): Basic building blocks
  • Number of operations (2-3): Available transformations (concatenation, reverse concatenation, reverse-then-concatenate)
  • Operation count in targets (3-5): Length of compositional chains
  • String lengths (3-5 characters): Concrete symbol mappings

The mappings between characters and strings and characters and operations is randomized in order to ensure pure in-context governs performance.

  • Created by: Ilija Lichkovski
  • License: MIT
  • Language: English (symbolic reasoning)
  • Size: 1,440 problems (1,296 train, 144 validation)

Dataset Sources

Uses

Direct Use

Primary Use Cases:

  • Compositional reasoning evaluation for language models
  • Length generalization testing (can models handle longer compositions than seen in training?)
  • Abstract reasoning benchmarks for AI systems
  • Few-shot learning evaluation (learning operations from minimal examples)
  • Systematic generalization research in neural networks

Ideal for RL Researchers:

  • Testing whether models can compose learned "skills" (operations) in novel ways
  • Evaluating systematic generalization beyond training distribution
  • Studying how models learn abstract rules from concrete examples
  • Benchmarking few-shot learning capabilities critical for adaptive RL agents

Out-of-Scope Use

This dataset focuses specifically on symbolic reasoning and may not directly evaluate:

  • Natural language understanding
  • Mathematical reasoning beyond string operations
  • Visual or multimodal reasoning
  • Real-world task performance

Dataset Structure

Data Fields

  • problem (string): The complete puzzle text including definitions, operation examples, and target expression
  • answer (string): The correct solution to the target expression
  • num_symbols (int): Number of symbols available (3-5)
  • num_operations (int): Number of operations available (2-3)
  • num_modifiers (int): Number of modifiers (always 0 in this dataset)
  • target_ops_count (int): Number of operations in the target expression (3-5)
  • string_length (string): Length range of symbol mappings (e.g., "3-4")

Data Splits

Split Examples
train 1,296
validation 144

Example Problem

Definitions:
% = pzm
[ = imkw  
{ = rmpj

Operations:
%^[ = mzpimkw
%~[ = pzmimkw

Solve: {~{^%^[ = ?

Answer: rmpjjpmrmzpimkw

This example demonstrates:

  • Symbol learning: %, [, { map to specific strings
  • Operation learning: ^ (interleave) and ~ (reverse-concat) from examples
  • Composition: Target requires chaining 3 operations with proper left-to-right parsing

Dataset Creation

Curation Rationale

The dataset addresses a critical gap in AI evaluation: systematic compositional reasoning. While models excel at pattern matching, they often fail when required to compose learned concepts in novel ways—a fundamental requirement for generally intelligent systems.

Key Design Principles:

  1. Minimal examples: Each operation demonstrated with just enough examples for unique identification
  2. Systematic variation: Controlled complexity progression across symbol count, operation count, and composition length
  3. Unambiguous parsing: Left-to-right evaluation removes parsing complexity, isolating compositional reasoning
  4. Random assignment: Operation symbols randomly assigned to prevent memorization

Source Data

Data Collection and Processing

Generation Process:

  1. DAG-based optimization: Uses dependency graphs to find minimal definition sets required for solvability
  2. Systematic sampling: Covers all combinations of (symbols: 3-5, operations: 2-3, target length: 3-5)
  3. Verification: Each puzzle verified for unique solvability given its definitions
  4. Clean generation: No modifiers included (simpler baseline for initial evaluation)

Operations Available:

  • Concatenation: A + B → AB
  • Reverse concatenation: A + B → BA
  • Reverse-then-concatenate: A + B → A_reversed + B

Who are the source data producers?

Generated algorithmically using a DAG-based puzzle generator. No human annotation required due to deterministic symbolic nature.

Annotations

No additional annotations beyond the algorithmic generation process. Each puzzle is automatically verified for correctness and minimal solvability.

Personal and Sensitive Information

The dataset contains only randomly generated symbolic strings (e.g., "pzm", "imkw"). No personal, sensitive, or private information is included.

Bias, Risks, and Limitations

Limitations:

  • Scope: Limited to string operations; doesn't test broader reasoning
  • Symbolic only: Abstract symbols may not transfer to real-world reasoning
  • Left-to-right parsing: Simplified parsing may not reflect natural language complexity
  • Operation set: Limited to 3 string operations

For RL Applications:

  • Results may not directly predict performance on continuous control or complex environments
  • String domain may not capture spatial or temporal reasoning critical for many RL tasks
  • Success here doesn't guarantee compositional reasoning in other modalities

Recommendations

Best Practices:

  • Use alongside other reasoning benchmarks for comprehensive evaluation
  • Focus on compositional patterns rather than absolute performance scores
  • Consider this a necessary but not sufficient condition for general reasoning
  • Examine model behavior on out-of-distribution composition lengths

For RL Researchers:

  • Treat as a controlled testbed for compositional reasoning principles
  • Use to validate architectural choices before deploying in complex environments
  • Consider performance here as a lower bound on compositional capabilities

Citation

BibTeX:

@dataset{lichkovski2024escaip,
  title={Evaluation of Symbolic Compositionality from Aligned Inductive Priors},
  author={Lichkovski, Ilija},
  year={2024},
  url={https://huggingface.co/datasets/ilijalichkovski/compositional-puzzles},
  note={1,440 symbolic reasoning problems testing compositional generalization}
}

Dataset Card Authors

Ilija Lichkovski

Dataset Card Contact

[email protected]

Downloads last month
9