Results for "Guiding Language Models of Code with Global Context using Monitors"

November 5, 2023 ยท View on GitHub

Summary of Results (Table 1 in the paper)

configuration('Compilation Rate (CR)', 'score@1')('Compilation Rate (CR)', 'score@2')('Compilation Rate (CR)', 'score@3')('Compilation Rate (CR)', 'score@4')('Compilation Rate (CR)', 'score@5')('Compilation Rate (CR)', 'score@6')('Next Identifier Match (NIM)', 'score@1')('Next Identifier Match (NIM)', 'score@2')('Next Identifier Match (NIM)', 'score@3')('Next Identifier Match (NIM)', 'score@4')('Next Identifier Match (NIM)', 'score@5')('Next Identifier Match (NIM)', 'score@6')('Identifier Sequence Match (ISM)', 'score@1')('Identifier Sequence Match (ISM)', 'score@2')('Identifier Sequence Match (ISM)', 'score@3')('Identifier Sequence Match (ISM)', 'score@4')('Identifier Sequence Match (ISM)', 'score@5')('Identifier Sequence Match (ISM)', 'score@6')('Prefix Match (PM)', 'score@1')('Prefix Match (PM)', 'score@2')('Prefix Match (PM)', 'score@3')('Prefix Match (PM)', 'score@4')('Prefix Match (PM)', 'score@5')('Prefix Match (PM)', 'score@6')
CG-350M35.7243.0446.8249.2751.0452.4368.8972.6874.4175.5076.3076.9426.1028.7429.9930.7931.3831.8621.8124.1225.2325.9326.4526.86
CG-350M-MGD44.5853.7058.4161.4763.6965.3776.2279.8981.5382.5583.2683.8028.1530.9332.2733.1433.7934.3123.3825.7826.9427.6928.2528.69
CG-2B42.0548.7552.0754.2155.7857.0173.8177.2678.8579.8680.5781.1130.2032.9434.3135.2135.8636.3825.5227.9329.1229.9130.4930.95
CG-2B-MGD52.8861.2365.2367.7469.5270.9180.5283.7585.2186.1386.8087.3232.3635.3136.7837.7538.4639.0327.2829.8431.1131.9532.5733.06
CG-6B44.1950.5953.7755.8757.4258.6474.5377.8379.3380.2880.9881.5531.0133.7735.1236.0036.6637.1726.3528.7929.9530.7131.2631.69
CG-6B-MGD55.1862.9266.6669.1070.8872.2881.0984.1485.4886.3186.9087.3533.1735.9937.3938.3038.9939.5528.1230.5831.7632.5333.1033.56
SC44.7051.3254.6956.9358.6359.9775.7478.9180.3281.2181.8782.4031.8434.5935.9736.8937.5838.1426.7529.1030.2731.0531.6332.10
SC-MGD55.3463.5667.4969.9471.6973.0382.3085.2486.5387.3487.9488.4234.1437.0238.4639.4140.1240.6928.6031.1032.3533.1733.7734.25
SC-classExprTypes48.0655.4059.0461.4163.1764.5778.5781.6182.9683.8084.4284.9133.2136.0637.4838.4139.1139.6727.9330.4131.6432.4533.0633.55
SC-classExprTypes-MGD56.8065.2069.2371.7773.5975.0183.5586.3987.6288.3988.9489.3734.9237.8639.3140.2740.9941.5629.3031.8233.0633.8834.4934.98
SC-RLPG50.5957.7661.2463.4865.1166.3979.6582.5183.7584.5085.0385.4235.5738.5240.0341.0341.7742.3530.3432.9334.2335.0835.7136.21
SC-RLPG-MGD60.5068.7872.6675.0876.8078.1484.7187.2888.3789.0589.5389.8937.4840.5642.1143.1343.8844.4731.8134.5335.8836.7737.4437.97
SC-FIM51.7259.3162.9465.2566.9268.2379.5882.4283.6884.4985.0885.5635.5338.4939.9540.9141.6442.2230.3432.9334.1935.0235.6336.12
SC-FIM-MGD62.1670.7374.7177.1778.8980.1984.6887.2488.3389.0189.5089.8937.5540.6142.1343.1343.8944.5031.9434.6035.9036.7637.4037.91
SC-FIM-classExprTypes53.3061.4365.3567.8269.6070.9781.3684.1385.3286.0686.5886.9936.1039.0440.4841.4242.1242.6730.6233.1934.4435.2635.8736.36
SC-FIM-classExprTypes-MGD61.7170.6174.7077.2078.9780.3385.3287.8188.8989.5690.0490.4237.6840.6142.0242.9443.6344.1831.8834.5135.7936.6337.2537.75
TD-351.7156.7359.1160.6461.7762.6680.7683.4284.5685.2785.7886.1838.5741.4942.8743.7744.4444.9733.1335.6936.9037.7038.2938.77
TD-3-MGD61.2367.2770.1171.9373.2474.2686.3288.7189.7490.3790.8391.1940.6943.6745.1246.0746.7747.3334.2936.8438.0738.8739.4639.94

Effect of MGD on Models across Parameter Scale and Architectures (Ref. section 4.1)

Compilation Rate (CR) score@kRelative Change in Compilation Rate (CR) (score@6)
Next Identifier Match (NIM) score@kRelative Change in Next Identifier Match (NIM) (score@6)
:-------------------------::-------------------------:
Identifier Sequence Match (ISM) score@kRelative Change in Identifier Sequence Match (ISM) (score@6)
:-------------------------::-------------------------:
Prefix Match (PM) score@kRelative Change in Prefix Match (PM) (score@6)
:-------------------------::-------------------------:

Effect of MGD and Prompt Augmentation Strategies (Ref. section 4.2)

Compilation Rate (CR) score@kRelative Change in Compilation Rate (CR) (score@6)
Next Identifier Match (NIM) score@kRelative Change in Next Identifier Match (NIM) (score@6)
:-------------------------::-------------------------:
Identifier Sequence Match (ISM) score@kRelative Change in Identifier Sequence Match (ISM) (score@6)
:-------------------------::-------------------------:
Prefix Match (PM) score@kRelative Change in Prefix Match (PM) (score@6)
:-------------------------::-------------------------:

Effect of MGD on Fill-in-the-middle (FIM) Decoding (Ref. section 4.3 and appendix E)

Compilation Rate (CR) score@kRelative Change in Compilation Rate (CR) (score@6)
Next Identifier Match (NIM) score@kRelative Change in Next Identifier Match (NIM) (score@6)
:-------------------------::-------------------------:
Identifier Sequence Match (ISM) score@kRelative Change in Identifier Sequence Match (ISM) (score@6)
:-------------------------::-------------------------:
Prefix Match (PM) score@kRelative Change in Prefix Match (PM) (score@6)
:-------------------------::-------------------------:

Effect of Identifier Complexity on Next Identifier Match (Ref. section 4.4 and appendix F)

Distribution of methods by most complex identifier in DotPrompts

Next Identifier Match (NIM) score@6 by identifier complexity

NIM score@6Relative Change in NIM (score@6)
NIM score@6Relative Change in NIM (score@6)
:-------------------------::-------------------------:
NIM score@6Relative Change in NIM (score@6)
:-------------------------::-------------------------: