Research

TAB-PO — token-level preference optimization for ontology-driven structured generation

Motivation

  • Many practical LLM tasks do not ask for free-form text but for schema-valid structured records, where correctness is decided by a handful of ontology-bound tokens.
  • Direct Preference Optimization (DPO) is the standard tool for offline alignment, but it is poorly matched to this setting: preferred and rejected JSON often differ by only a few schema-defining tokens.
  • In this low-edit-distance regime, sequence-level DPO spreads gradient mass across non-critical serialization tokens (gradient dilution) and can even reduce the likelihood of rare preferred schema tokens (token erosion).

What we did

  • We developed a confusion-aware preference-construction strategy that combines expert-curated ambiguity patterns with structured-error modes observed on the validation set, producing minimally perturbed, schema-valid negatives for ontology-level decision errors.
  • We introduced Token-Adaptive Barrier Preference Optimization (TAB-PO), a post-SFT objective with a confidence-gated token-level barrier that anchors under-confident schema tokens.
  • On SciERC with Llama and Qwen models, TAB-PO improves ontology-critical semantic-label and relational-linking metrics by 11.59% relative to SFT, and surpasses the strongest frontier baselines on these metrics by 14.71% relative while improving textual grounding.
  • TAB-PO wins 100% of comparisons against the strongest token-level and sequence-level DPO variants; experiments span PV-Miner and SciERC across models from 1.5B to 70B parameters.
  • Mechanistic diagnostics show that TAB-PO concentrates optimization on schema-critical tokens while preserving preference separation.

Factorized Hypothesis Search (FHS) for evidence-to-taxonomy retrieval

Motivation

  • Retrieval over a large concept inventory usually assumes the input already expresses the target concept. In practice the input is often only indirect evidence — a table cell whose meaning depends on its row, column, datatype, and surrounding context.
  • We call this mismatch the retrieval readiness gap: the current index retrieves the target reliably when its semantics are explicit, while raw evidence leaves the target deep in the ranking.

What we did

  • We proposed Factorized Hypothesis Search (FHS), which maintains multiple partial interpretations of the evidence over named semantic dimensions such as concept family, event type, qualifier, scope, and temporal context.
  • These hypotheses support structured query rendering, multi-hypothesis retrieval, and dimension-level candidate verification within a single shared schema.
  • On both financial taxonomy tagging and CodiEsp clinical coding, FHS achieves the best Recall@1, MRR, and final accuracy among the non-oracle methods.
  • Ablations identify the factorized hypothesis path as the main driver of head ranking: replacing it with a free-text ensemble causes the largest drop, while sequential refinement adds no gain over the strong parallel first round.

Improve robustness of DNN for ECG signal classification

Motivation

  • Electrocardiogram (ECG) is often the first step for the diagnosis of heart conditions before using expensive cardiac medical imaging.
  • Researchers have been developing machine learning-based ECG signal analysis methods for decades. Deep learning have demonstrated superior performance in a wide range of applications and were successfully applied for automatic ECG signal diagnosis. However, DNNs are known to be vulnerable to adversarial noises.
  • To our best knowledge, this is the first work to improve DNN robustness against adversarial attacks for ECG classification.

What we did

  • We proposed a regularization method to improve the deep-learning-based electrocardiogram automatic diagnosis for better robustness.
  • We designed a multiple-layer perceptron (MLP) model for electrocardiogram data classification (from PhysionNet’s MIT-BIH dataset), whose prediction accuracy is 92%.
  • We designed and implemented a CNN model for a variant-length 12-lead electrocardiogram classification task (from the China Physiological Signal Challenge 2018) via Python, Pytorch, Pandas, Scikit-learn, etc., which achieved top performance in the challenge.
  • We evaluated the robustness of the models under PGD100, SAP and uniform white noises.
  • We did ablation study to show how sensitive this method is sensitive to the hyperparameters.
  • We defined a criterion for hyperparameter selection.

Increasing-margin adversarial (IMA) training to improve adversarial robustness of neural networks

Motivation

  • To improve the adversarial robustness of a DNN model, adversarial training is the most general strategy. However, training a model by adversarielly will significantly harm the model’s accuracy.
  • Our study aims to lift the trade off between adversarial robustness and standard accuracy: alleviate (or even avoid) the reduction in standard accuracy while improving adversarial robustness.

What we did

  • Proposed a training method via increasing margin ideas to improve the neural networks for better robustness.
  • Evaluated the proposed method with residual net classifiers on image datasets, PathMnist and Cifar10, and real-world medical images, Covid-19 CT.
  • Mitigate this method to medical image segmentation tasks.
  • The proposed method significantly improved the model’s robustness against adversarial noises with minimal accuracy degradation.

Improving Adversarial Robustness of Deep Neural Networks Via Adaptive Margin Evolution

Motivation

  • Adversarial training is the most popular and general strategy to improve Deep Neural Network (DNN) robustness against adversarial noises. Many adversarial training methods have been proposed in the past few years. However, most of these methods are highly susceptible to hyperparameters, especially the training noise upper bound. Tuning these hyperparameters is expensive and difficult for people not in the adversarial robustness research domain, which prevents adversarial training techniques from being used in many application fields.
  • We wanted to propose a hyperparamter-free adversarial training method.

What we did

  • We proposed a hyperparameter-free adversarial training method.
  • We proved the existence of the optimal convergence state.
  • We evaluated the proposed method with residual net classifiers on public image datasets, CIFAR10, TinyImageNet and SVHN.

Adaptive Adversarial Training to Improve Adversarial Robustness of DNNs for Medical Image Segmentation and Detection

Motivation

  • Deep Neural Networks are vulnerable to adversarial noises and variant defense methods have been proposed recently. However, most of the methods are proposed under the assumption of classification situation. Although there are similarities between classification tasks and other tasks, e.g., regression, there are still gaps between them, e.g, some defense methods uses misclassification creteria, which is well-defined in classification but not in regression. As a result, the defense methods proposed for classification may not be derectly applied to other tasks. On the other hand, in medical image application domain, non-classification tasks, e.g., segmentaion, location and detection, are more often seen than classification of a whole image. As a result, we wanted to propose a defense method that can be applied to variant types of deep learning-based tasks.
  • Vanilla adversarial training is a simple but effective defense method. Also, it can be applied to almost all kinds of tasks. However, Vanilla adversarial training has its inner drawbacks: it is higly sensitive to its fixed and unified training noise upper bound. A unsuitable training noise upper bound may either reduce the model’s accuracy significantly or make the adversarial-trained models not robust enough. As a result, we wanted to propose an adaptive adversarail training method that can adapt the training noise upper bound during the training process.

What we did

  • We proposed a general adaptive adversarial training to improve the deep learning applications.
  • We evaluated this methods in variant medical image application tasks:
    • Unet-based model (nnUnet) for Heart, Hippocampus and Prostate MRI images segmentation.
    • Multi-task Unet-based model for cephalometric landmark detection.
    • YOLO V5 for blood cell detection.
  • The experiments were conducted on Tesla V100 GPU and the results show that our proposed methods are effective in variant medical image application tasks.

Diversity driven adaptive test generation for concurrent data structures

Motivation

  • Testing concurrent data structures remains a notoriously challenging task, due to the nondeterminism of multi-threaded tests and the exponential explosion on the number of thread schedules.
  • Testing a concurrent data structure may raise more challenges than testing a concurrent program because a concurrent data structure cannot run on its own. A test case of a concurrent data structure is a multi-threaded program that makes simultaneous accesses to the concurrent data structure. Obviously, the test case space is infinite in general. Therefore, it gives rise to a fundamental problem on the automated generation of effective multi-threaded test cases (i.e., concurrent programs) for concurrent data structures.

What we did

  • We designed and developed a C++ generator via Python and C\C++ to automatically parse the C++ class (the concurrent data structure implemented with the pthread library) and to generate test cases that invoke the class.
  • We proposed two two diversity metrics and three adaptive algorithms to improve the C++ test case generation.
  • The proposed methods discovered up to 6% more potential concurrent errors and reduced the time cost by up to 10%, than the baseline method.