Salman Khan, Fahad Khan, Muhammad Akhtar Munir, Muhammad Haris Khan, Mohsen Ali
We lifted 1 functions out of this paper's own repositories and ran 0 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.
| Repository | Role | Ran |
|---|---|---|
| akhtarvision/cal-detr | canonical | 0 of 1 |
| Function | Status | Where it lives |
|---|---|---|
| DeformableDETR | Not yet run | akhtarvision/cal-detr/models/deformable_detr.py code served (permissive licence) · get_code("32d58d73d97868e4") |
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Albeit revealing impressive predictive performance for several computer vision tasks, deep neural networks (DNNs) are prone to making overconfident predictions. This limits the adoption and wider utilization of DNNs in many safety-critical applications. There have been recent efforts toward calibrating DNNs, however, almost all of them focus on the classification task. Surprisingly, very little attention has been devoted to calibrating modern DNN-based object detectors, especially detection transformers, which have recently demonstrated promising detection performance and are influential in many decision-making systems. In this work, we address the problem by proposing a mechanism for calibrated detection transformers (Cal-DETR), particularly for Deformable-DETR, UP-DETR and DINO. We pursue the train-time calibration route and make the following contributions. First, we propose a simple yet effective approach for quantifying uncertainty in transformerbased object detectors. Second, we develop an uncertainty-guided logit modulation mechanism that leverages the uncertainty to modulate the class logits. Third, we develop a logit mixing approach that acts as a regularizer with detection-specific losses and is also complementary to the uncertainty-guided logit modulation technique to further improve the calibration performance. Lastly, we conduct extensive experiments across three in-domain and four out-domain scenarios. Results corroborate the effectiveness of Cal-DETR against the competing train-time methods in calibrating both in-domain and out-domain detections while maintaining or even improving the detection performance. Our codebase and pre-trained models can be accessed at https://github.com/akhtarvision/cal-detr.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2311.03570")
get_code_for_paper("2311.03570")
have("2311.03570")
Connect an agent — have() is free.