Search arXiv⌕ Search

arXiv subjects

Zhonghan Lin

Publications and source records attributed to Zhonghan Lin.

2 recordsLinked to original sources

A 7-DOF PAM-Driven Anthropomorphic Arm with Load-Adaptive, History-Aware Neural Control

Pneumatic artificial muscle (PAM)-driven manipulators combine rigid-link kinematics with compliant soft actuation, but control is difficult because elongation depends on load, motion history, specimen variation, and long-term drift. We present a 7-DOF anthropomorphic pneumatic arm reproducing the shoulder--elbow--wrist chain and DANC, a Dual-Channel Adaptive Neural Controller for load-adaptive, history-aware PAM control. Twenty-two custom-fabricated multi-fiber PAMs arranged in antagonistic groups across three spherical joints drive the arm. Actuator and joint characterization links pressure--load--elongation behavior to torque, stiffness, and workspace, showing how actuator-level uncertainty accumulates in full-arm motion. DANC combines load-conditioned pressure inference using elongation history and target preview, adaptive mass-equivalent load estimation, and rapid stiffness-ratio calibration for cross-specimen transfer without retraining. Single-PAM experiments demonstrate tracking under 0--8 kg and changing loads. At 5 kg, 10-mm-step rise and 5% settling times are 0.17 and 0.62 s. Its second-order-reference-normalized time ratios are lowest among comparable published cases; ablations support its design. The 3-DOF joint tracks star-shaped paths with a best RMSE of 6.7 mm; the full arm executes coordinated 7-DOF motion with maximum sampled end-effector errors of 34.9 mm and 2.74$^\circ$. Additional tests cover one-PAM tracking after 12 months, arm operation after removing one PAM, and drag-following interaction.

cs.RO↗

Sample-Guided Exact Top-K Selection for Long-Context Sparse Attention

Sparse attention bounds downstream attention work by retaining a fixed-size subset of indexed tokens, but its standalone exact Top-$K$ stage must still process materialized score rows whose length grows with context. Production radix selectors discover their first actionable boundary only after a complete-row pass, forcing another row-scale traversal before exact refinement. We observe that locating a compact upper tail requires substantially less resolution than identifying the exact rank boundary, and that fixed-stride partial views of the current row remain calibrated to the corresponding complete-row rank across ragged lengths. We present HPC-Ops Top-K, a sample-guided exact selector for ragged sparse-attention score rows. A fixed-stride view proposes a row-local coarse boundary; the mandatory complete-row pass certifies its sufficiency, forms the admitted candidate set, and initializes exact FP32 refinement over the unresolved frontier. A nested secondary boundary and exact recovery handle underfilled proposals before any output is committed, so sampling controls common-path work but never correctness. The GPU implementation fuses complete-row certification and candidate formation, and combines persistent, KV-split, and direct-exact execution behind graph-capturable ragged-row dispatch. We evaluate HPC-Ops Top-K on indexer scores from Hy4-Preview. It outperforms the fastest verified external exact baseline by $1.29$--$1.75\times$ across 20 operator configurations, with a $1.55\times$ geometric-mean speedup. It further achieves $1.36\times$ and $1.48\times$ speedups on two framework-derived sparse-attention traces. The implementation is available in HPC-Ops, Tencent's open-source high-performance operator library for LLM inference, at https://github.com/Tencent/hpc-ops.

cs.DC↗