Search arXiv⌕ Search

arXiv subjects

Yunsong Hong

Publications and source records attributed to Yunsong Hong.

2 recordsLinked to original sources

How Scoring Choices Affect Model Comparisons in Cross-Lingual Legal Document Classification

Cross-lingual topic assignment allows a document service trained in one language to index texts written in another. We test how scoring rules affect model comparisons on matched English, German, and Polish versions of 600 European Union laws. For each of two backbones, we compare two low-rank adaptation configurations selected on English development data under equal search budgets. We examine fixed and refitted English heads and estimate label offsets on 128 separate, unlabeled parallel laws. For the fixed heads, target-language mean R-precision rose from 33.47% to 44.87% (+11.40 percentage points, joint 95% interval 9.11 to 13.44). Document ordering within each language and topic was invariant to the score transformation. For fixed three-label output on Polish laws, the Qwen micro-F1 gap (rank 64 minus rank 16) shifted from -5.46 to +4.15 percentage points after alignment, reversing the two configurations' order. In the full candidate set, multilingual E5 had the highest point estimates on both legal metrics in both target languages under raw and aligned scoring. On held-out natural language inference, the two Qwen configurations kept the same ordering under the prespecified calibration test, while refitting the classifier reversed the SmolLM3 ordering under raw scoring. The results identify which model comparisons depend on the output rule, the classifier head, and the available calibration texts.

cs.CL↗

Learning How Much to Collaborate: Difficulty-Aware Topology Selection for Multi-Agent Code Generation

Multi-agent code-generation systems often use one communication topology for every problem. Across five topologies and 614 problems from APPS, HumanEval+ and LiveCodeBench, the advantage of hierarchical collaboration over a single agent grows from 2.4 points of pass@1 on the easiest third to 21.1 points on the hardest third, at about ten times the token cost. We propose the Difficulty-Aware Topology Selector (DATS), which predicts each topology's success probability and maximises predicted success minus cost. Its graph predictor treats topologies as nodes of a connectivity order. The complete graph-head comparison reports a 1.7-point advantage over a flat multi-label head while changing several mechanisms; capacity-matched adjacency controls show smaller descriptive differences. A scalar cost penalty can be recalibrated without retraining for approximately matched-spend comparisons when targets are attained. With a shared penalty, six methods span 21.6 percentage points of spend; two leading baselines fall behind DATS after method-specific calibration near the common target. At 40% of always-hierarchical cost, DATS reaches 77.7% pass@1 versus 73.6% for always-hierarchical and 74.3% for the strongest learned competitor. The main comparison includes Holm--Bonferroni-adjusted McNemar tests; unequal-cost differences do not imply matched-budget superiority. Backbone-specific gains are 4.07--4.23 points across four backbones. Alternatives to the 39 interpretable features, including a hybrid encoder, yield a largest observed gain of 1.3 points, with no significant pairwise improvement; this establishes neither equivalence nor an upper bound. A study on 400 mathematical reasoning problems reproduces difficulty-dependent collaboration gains, widening from 2.5 to 20.9 points.

cs.MA↗