arXiv:2611.07682cs.CVNov 2026

Manuscript Offprint

arXiv:2611.07682

DEQ-Det: Dual Evidence Queries for Few-Shot Analog IC Device Detection

Zidong Zhao, Rong Huang, Chengxing Fan, Jie Hu, Malik Haris, Ghazal A. Fahmy, Morteza Mousazadeh, Guoqiang Zhang

Zidong Zhao1^{1}, Rong Huang2^{2}, Chengxing Fan1^{1}, Jie Hu1^{1}, Malik Haris1^{1}, Ghazal A. Fahmy3^{3}, Morteza Mousazadeh4^{4}, Guoqiang Zhang5†^{5\dagger}

1^{1}Zhejiang University, China, 2^{2}Donghua University, China, 3^{3}National Telecommunication Institute, Egypt, 4^{4}Urmia University, Iran, 5^{5}Ningbo Tech University, China

Abstract—Detecting analog integrated circuit (IC) devices in layout images supports circuit analysis and inspection. With only a few annotated examples, variation in device geometry and visual similarity to dummy or routing structures make reliable detection difficult. Foreground similarity alone can highlight plausible targets without distinguishing them from competing layout patterns. We propose Dual Evidence Queries for Detection (DEQ-Det), which constructs complementary foreground and background references from the same support images without additional annotations. Foreground references capture target morphology, while selected background references characterize surrounding layout patterns. Both sources guide query selection and region verification, combining target appearance with layout context. Across five held-out device categories and three random seeds, DEQ-Det achieves macro AP50 of 39.41 and 53.03 at 10 and 30 shots, exceeding the strongest listed baselines by 3.97 and 9.71 points, respectively. A matched 30-shot ablation further shows that RoI background evidence reduces pooled false positives at comparable recall, supporting its role in interference suppression.

Index Terms—few-shot object detection, analog IC layouts, background evidence, query selection, localization quality

I. INTRODUCTION

Integrated circuit (IC) device detection localizes resistors, capacitors, and transistors in layout images for circuit analysis, targeted inspection, and physical probing [1]. Layout representations can be reconstructed from optical microscopy or scanning electron microscopy (SEM) images [2]. Analog devices have customized geometries reflecting sizing and matching requirements [3], limiting the transferability of digital standard-cell templates to analog layouts. Dummy fills and repetitive routing patterns can resemble devices and cause false positives. Automated localization can focus manual inspection on candidate regions. Dense annotation for supervised detection is costly, with additional labeling often needed across fabrication processes.

Few-shot object detection (FSOD) adapts to targets defined by a small annotated support set [4], [5]. Existing approaches improve target representation through support-conditioned aggregation, contrastive learning, and prototype distillation [6]–[9]. DE-ViT and FSOD-VFM use transferable features for exemplar-based or cross-domain detection [10], [11]. For IC imagery, SSRNet combines few-shot segmentation and a

Figure

Fig. 1. Analog layout variability and ambiguity. Device geometries vary within categories; non-target dummy structures share outlines or repeated patterns with devices. Blue/green boxes indicate devices, and the red dashed region indicates dummies.

region classifier for packaged ICs in optical PCB images [12]. Detecting internal devices in analog layouts requires resolving customized geometries amid repeated, target-like structures.

Figure 1 illustrates device variability and resemblance to non-target structures. Foreground similarity can highlight plausible candidates while also responding to dummy fills or routing patterns. The same support images provide context that helps resolve this ambiguity: annotated devices specify the requested morphology, while selected background regions characterize competing layout patterns. Using both sources allows candidate selection and verification to account for the target and its surroundings.

We propose Dual Evidence Queries for Detection (DEQ-Det) to integrate device morphology and support-specific layout context throughout detection. Our contributions are twofold: (1) a dual-evidence framework that derives complementary foreground and background references without additional annotations and uses them in query selection and region verification to couple target selection with interference suppression; and (2) evaluation across five held-out device categories and three random seeds, demonstrating system-level AP50 gains. Matched controls establish the roles of support-guided allocation and quality-aware ranking, while a RoI background control shows fewer pooled false positives at comparable recall.

†^{\dagger}Corresponding author: Guoqiang Zhang (guoqiang_zhang@nbt.edu.cn).

Figure

Fig. 2. DEQ-Det. Foreground references guide target selection, and filtered background references supply layout context for interference suppression. Their means guide query selection, while individual bank records enter the RoI relation head. Foreground probability and predicted localization quality jointly rank candidate detections.