{"state_type":"pith_open_graph_state","state_version":"1.0","pith_number":"pith:2025:3CDZSCBKHFRUDKRK4OEFSXOJ3X","merge_version":"pith-open-graph-merge-v1","event_count":2,"valid_event_count":2,"invalid_event_count":0,"equivocation_count":0,"current":{"canonical_record":{"metadata":{"abstract_canon_sha256":"4fc3162c639b3984d2053fd6afeb33fc6debad6be7d7c7f7765fed30020e6ee7","cross_cats_sorted":["cs.AI","cs.CL"],"license":"http://creativecommons.org/licenses/by/4.0/","primary_cat":"cs.LG","submitted_at":"2025-06-07T07:50:01Z","title_canon_sha256":"7001091a504c62a1f76bf144abdf2018ad467e14ae8385a1a32589ae70e7acd9"},"schema_version":"1.0","source":{"id":"2506.06699","kind":"arxiv","version":1}},"source_aliases":[{"alias_kind":"arxiv","alias_value":"2506.06699","created_at":"2026-07-05T11:17:54Z"},{"alias_kind":"arxiv_version","alias_value":"2506.06699v1","created_at":"2026-07-05T11:17:54Z"},{"alias_kind":"doi","alias_value":"10.48550/arxiv.2506.06699","created_at":"2026-07-05T11:17:54Z"},{"alias_kind":"pith_short_12","alias_value":"3CDZSCBKHFRU","created_at":"2026-07-05T11:17:54Z"},{"alias_kind":"pith_short_16","alias_value":"3CDZSCBKHFRUDKRK","created_at":"2026-07-05T11:17:54Z"},{"alias_kind":"pith_short_8","alias_value":"3CDZSCBK","created_at":"2026-07-05T11:17:54Z"}],"graph_snapshots":[{"event_id":"sha256:143f7e8967fa3a30c0194c6930e68f8abf8a326ee6941a4df45992d09f1bccbd","target":"graph","created_at":"2026-07-05T11:17:54Z","signer":{"key_id":"pith-v1-2026-05","public_key_fingerprint":"8d4b5ee74e4693bcd1df2446408b0d54","signer_id":"pith.science","signer_type":"pith_registry"},"payload":{"graph_snapshot":{"author_claims":{"count":0,"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57","strong_count":0},"builder_version":"pith-number-builder-2026-05-17-v1","claims":{"count":0,"items":[],"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57"},"formal_canon":{"evidence_count":0,"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57"},"integrity":{"available":true,"clean":true,"detectors_run":[],"endpoint":"/pith/2506.06699/integrity.json","findings":[],"snapshot_sha256":"c28c3603d3b5d939e8dc4c7e95fa8dfce3d595e45f758748cecf8e644a296938","summary":{"advisory":0,"by_detector":{},"critical":0,"informational":0}},"paper":{"abstract_excerpt":"Large Language Models (LLMs) excel at few-shot learning via in-context learning (ICL). However, the effectiveness of ICL is often sensitive to the selection and ordering of demonstration examples. To address this, we present MarginSel: Max-Margin Demonstration Selection for LLMs, a two-step method that selects hard demonstration examples for the ICL prompt, adapting to each test instance. Our approach achieves 2-7% absolute improvement in F1-score across classification tasks, compared to a random selection of examples. We also provide theoretical insights and empirical evidence showing that Ma","authors_text":"James Lester, Rajeev Bhatt Ambati, Shashank Srivastava, Snigdha Chaturvedi","cross_cats":["cs.AI","cs.CL"],"headline":"","license":"http://creativecommons.org/licenses/by/4.0/","primary_cat":"cs.LG","submitted_at":"2025-06-07T07:50:01Z","title":"MarginSel : Max-Margin Demonstration Selection for LLMs"},"references":{"count":0,"internal_anchors":0,"resolved_work":0,"sample":[],"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57"},"source":{"id":"2506.06699","kind":"arxiv","version":1},"verdict":{"created_at":null,"id":null,"model_set":{},"one_line_summary":"","pipeline_version":null,"pith_extraction_headline":"","strongest_claim":"","weakest_assumption":""}},"verdict_id":null}}],"author_attestations":[],"timestamp_anchors":[],"storage_attestations":[],"citation_signatures":[],"replication_records":[],"corrections":[],"mirror_hints":[],"record_created":{"event_id":"sha256:703e61305bfb4b3f1c961914d1bea57ab3b72a819ce75266f0c3440a9f838085","target":"record","created_at":"2026-07-05T11:17:54Z","signer":{"key_id":"pith-v1-2026-05","public_key_fingerprint":"8d4b5ee74e4693bcd1df2446408b0d54","signer_id":"pith.science","signer_type":"pith_registry"},"payload":{"attestation_state":"computed","canonical_record":{"metadata":{"abstract_canon_sha256":"4fc3162c639b3984d2053fd6afeb33fc6debad6be7d7c7f7765fed30020e6ee7","cross_cats_sorted":["cs.AI","cs.CL"],"license":"http://creativecommons.org/licenses/by/4.0/","primary_cat":"cs.LG","submitted_at":"2025-06-07T07:50:01Z","title_canon_sha256":"7001091a504c62a1f76bf144abdf2018ad467e14ae8385a1a32589ae70e7acd9"},"schema_version":"1.0","source":{"id":"2506.06699","kind":"arxiv","version":1}},"canonical_sha256":"d88799082a396341aa2ae388595dc9ddf24dc5c155670e93b139b582171b78b5","receipt":{"algorithm":"ed25519","builder_version":"pith-number-builder-2026-05-17-v1","canonical_sha256":"d88799082a396341aa2ae388595dc9ddf24dc5c155670e93b139b582171b78b5","first_computed_at":"2026-07-05T11:17:54.187472Z","key_id":"pith-v1-2026-05","kind":"pith_receipt","last_reissued_at":"2026-07-05T11:17:54.187472Z","public_key_fingerprint":"8d4b5ee74e4693bcd1df2446408b0d54","receipt_version":"0.3","signature_b64":"oIp+r82xeAKEBVRSUZkdNGkM7/9Jar4qumAXjQOpzynWm/c1r4kPanrmTAWt5sqkSBJdEMshVwUvUUYnkq/3CQ==","signature_status":"signed_v1","signed_at":"2026-07-05T11:17:54.188055Z","signed_message":"canonical_sha256_bytes"},"source_id":"2506.06699","source_kind":"arxiv","source_version":1}}},"equivocations":[],"invalid_events":[],"applied_event_ids":["sha256:703e61305bfb4b3f1c961914d1bea57ab3b72a819ce75266f0c3440a9f838085","sha256:143f7e8967fa3a30c0194c6930e68f8abf8a326ee6941a4df45992d09f1bccbd"],"state_sha256":"00e5e6555f768c52831f7cad8eb7b3eb9fe053f0616666bc674efc9a3dde9fa8"}